; ; capture_current_context from 0x1801201c8 to 0x180120235 (109 bytes) ; ; 3 xrefs: ; > __report_securityfailure @ 0x180120152 ; > @ 0x180202444 ; > @ 0x180202450 ; ; 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 ; mov [rsp+arg_18], rbx ; +0x0, 0x1801201c8 push rdi ; +0x5, 0x1801201cd sub rsp, 40h ; +0x6, 0x1801201ce mov rbx, rcx ; +0xa, 0x1801201d2 call cs:RtlCaptureContext ; +0xd, 0x1801201d5 mov rdi, [rbx+0F8h] ; +0x13, 0x1801201db lea rdx, [rsp+48h+ImageBase]; ImageBase ; +0x1a, 0x1801201e2 mov rcx, rdi; ControlPc ; +0x1f, 0x1801201e7 xor r8d, r8d; HistoryTable ; +0x22, 0x1801201ea call cs:RtlLookupFunctionEntry ; +0x25, 0x1801201ed test rax, rax ; +0x2b, 0x1801201f3 jz short loc_18012022A ; +0x2e, 0x1801201f6 and [rsp+48h+var_10], 0 ; +0x30, 0x1801201f8 lea rcx, [rsp+48h+arg_8] ; +0x36, 0x1801201fe mov rdx, [rsp+48h+ImageBase]; ImageBase ; +0x3b, 0x180120203 mov r9, rax; FunctionEntry ; +0x40, 0x180120208 mov [rsp+48h+EstablisherFrame], rcx; EstablisherFrame ; +0x43, 0x18012020b mov r8, rdi; ControlPc ; +0x48, 0x180120210 lea rcx, [rsp+48h+arg_10] ; +0x4b, 0x180120213 mov [rsp+48h+HandlerData], rcx; HandlerData ; +0x50, 0x180120218 xor ecx, ecx; HandlerType ; +0x55, 0x18012021d mov [rsp+48h+ContextRecord], rbx; ContextRecord ; +0x57, 0x18012021f call cs:RtlVirtualUnwind ; +0x5c, 0x180120224 mov rbx, [rsp+48h+arg_18] ; +0x62, 0x18012022a add rsp, 40h ; +0x67, 0x18012022f pop rdi ; +0x6b, 0x180120233 retn ; +0x6c, 0x180120234