; ; capture_previous_context from 0x18001fab8 to 0x18001fb2c (116 bytes) ; ; 2 xrefs: ; > __report_gsfailure @ 0x18001fa0a ; > @ 0x18004d160 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 12:15:45 +0000 ; push rbx ; +0x0, 0x18001fab8 push rsi ; +0x2, 0x18001faba push rdi ; +0x3, 0x18001fabb sub rsp, 40h ; +0x4, 0x18001fabc mov rbx, rcx ; +0x8, 0x18001fac0 call cs:RtlCaptureContext ; +0xb, 0x18001fac3 mov rsi, [rbx+0F8h] ; +0x11, 0x18001fac9 xor edi, edi ; +0x18, 0x18001fad0 xor r8d, r8d; HistoryTable ; +0x1a, 0x18001fad2 lea rdx, [rsp+58h+ImageBase]; ImageBase ; +0x1d, 0x18001fad5 mov rcx, rsi; ControlPc ; +0x22, 0x18001fada call cs:RtlLookupFunctionEntry ; +0x25, 0x18001fadd test rax, rax ; +0x2b, 0x18001fae3 jz short loc_18001FB24 ; +0x2e, 0x18001fae6 mov rdx, [rsp+58h+ImageBase]; ImageBase ; +0x30, 0x18001fae8 lea rcx, [rsp+58h+arg_8] ; +0x35, 0x18001faed mov [rsp+58h+ContextPointers], 0; ContextPointers ; +0x3a, 0x18001faf2 mov r9, rax; FunctionEntry ; +0x43, 0x18001fafb mov [rsp+58h+EstablisherFrame], rcx; EstablisherFrame ; +0x46, 0x18001fafe mov r8, rsi; ControlPc ; +0x4b, 0x18001fb03 lea rcx, [rsp+58h+arg_10] ; +0x4e, 0x18001fb06 mov [rsp+58h+HandlerData], rcx; HandlerData ; +0x53, 0x18001fb0b xor ecx, ecx; HandlerType ; +0x58, 0x18001fb10 mov [rsp+58h+ContextRecord], rbx; ContextRecord ; +0x5a, 0x18001fb12 call cs:RtlVirtualUnwind ; +0x5f, 0x18001fb17 inc edi ; +0x65, 0x18001fb1d cmp edi, 2 ; +0x67, 0x18001fb1f jl short loc_18001FAD2 ; +0x6a, 0x18001fb22 add rsp, 40h ; +0x6c, 0x18001fb24 pop rdi ; +0x70, 0x18001fb28 pop rsi ; +0x71, 0x18001fb29 pop rbx ; +0x72, 0x18001fb2a retn ; +0x73, 0x18001fb2b