; ; capture_previous_context from 0x180120238 to 0x1801202a9 (113 bytes) ; ; 2 xrefs: ; > __report_gsfailure @ 0x18012006a ; > @ 0x18020245c ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; push rbx ; +0x0, 0x180120238 push rsi ; +0x2, 0x18012023a push rdi ; +0x3, 0x18012023b sub rsp, 40h ; +0x4, 0x18012023c mov rbx, rcx ; +0x8, 0x180120240 call cs:RtlCaptureContext ; +0xb, 0x180120243 mov rsi, [rbx+0F8h] ; +0x11, 0x180120249 xor edi, edi ; +0x18, 0x180120250 xor r8d, r8d; HistoryTable ; +0x1a, 0x180120252 lea rdx, [rsp+58h+ImageBase]; ImageBase ; +0x1d, 0x180120255 mov rcx, rsi; ControlPc ; +0x22, 0x18012025a call cs:RtlLookupFunctionEntry ; +0x25, 0x18012025d test rax, rax ; +0x2b, 0x180120263 jz short loc_1801202A1 ; +0x2e, 0x180120266 and [rsp+58h+var_20], 0 ; +0x30, 0x180120268 lea rcx, [rsp+58h+arg_8] ; +0x36, 0x18012026e mov rdx, [rsp+58h+ImageBase]; ImageBase ; +0x3b, 0x180120273 mov r9, rax; FunctionEntry ; +0x40, 0x180120278 mov [rsp+58h+EstablisherFrame], rcx; EstablisherFrame ; +0x43, 0x18012027b mov r8, rsi; ControlPc ; +0x48, 0x180120280 lea rcx, [rsp+58h+arg_10] ; +0x4b, 0x180120283 mov [rsp+58h+HandlerData], rcx; HandlerData ; +0x50, 0x180120288 xor ecx, ecx; HandlerType ; +0x55, 0x18012028d mov [rsp+58h+ContextRecord], rbx; ContextRecord ; +0x57, 0x18012028f call cs:RtlVirtualUnwind ; +0x5c, 0x180120294 inc edi ; +0x62, 0x18012029a cmp edi, 2 ; +0x64, 0x18012029c jl short loc_180120252 ; +0x67, 0x18012029f add rsp, 40h ; +0x69, 0x1801202a1 pop rdi ; +0x6d, 0x1801202a5 pop rsi ; +0x6e, 0x1801202a6 pop rbx ; +0x6f, 0x1801202a7 retn ; +0x70, 0x1801202a8