{"type": "func", "start": 6443720812, "end": 6443720892, "name": "__acrt_lowio_destroy_handle_array", "pseudocode": "// \n// __acrt_lowio_destroy_handle_array from 0x18013606c to 0x1801360bc (80 bytes)\n// \n// 2 xrefs:\n// > __acrt_uninitialize_lowio @ 0x18013687c\n// > <???> @ 0x1802034c4\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall _acrt_lowio_destroy_handle_array(char *Block)\n{\n  struct _RTL_CRITICAL_SECTION *v1; // rsi\n  struct _RTL_CRITICAL_SECTION *v3; // rdi\n\n  if ( Block )\n  {\n    v1 = (struct _RTL_CRITICAL_SECTION *)(Block + 4608);\n    v3 = (struct _RTL_CRITICAL_SECTION *)Block;\n    do\n    {\n      DeleteCriticalSection(v3);\n      v3 = (struct _RTL_CRITICAL_SECTION *)((char *)v3 + 72);\n    }\n    while ( v3 != v1 );\n    free_base(Block);\n  }\n}", "assembly": "; \n; __acrt_lowio_destroy_handle_array from 0x18013606c to 0x1801360bc (80 bytes)\n; \n; 2 xrefs:\n; > __acrt_uninitialize_lowio @ 0x18013687c\n; > <???> @ 0x1802034c4\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\ntest    rcx, rcx                                                       ; +0x0, 0x18013606c\njz      short locret_1801360BB                                         ; +0x3, 0x18013606f\nmov     [rsp+arg_0], rbx                                               ; +0x5, 0x180136071\nmov     [rsp+arg_8], rsi                                               ; +0xa, 0x180136076\npush    rdi                                                            ; +0xf, 0x18013607b\nsub     rsp, 20h                                                       ; +0x10, 0x18013607c\nlea     rsi, [rcx+1200h]                                               ; +0x14, 0x180136080\nmov     rbx, rcx                                                       ; +0x1b, 0x180136087\nmov     rdi, rcx                                                       ; +0x1e, 0x18013608a\ncmp     rcx, rsi                                                       ; +0x21, 0x18013608d\njz      short loc_1801360A4                                            ; +0x24, 0x180136090\nmov     rcx, rdi; lpCriticalSection                                    ; +0x26, 0x180136092\ncall    cs:DeleteCriticalSection                                       ; +0x29, 0x180136095\nadd     rdi, 48h ; 'H'                                                 ; +0x2f, 0x18013609b\ncmp     rdi, rsi                                                       ; +0x33, 0x18013609f\njnz     short loc_180136092                                            ; +0x36, 0x1801360a2\nmov     rcx, rbx; Block                                                ; +0x38, 0x1801360a4\ncall    _free_base                                                     ; +0x3b, 0x1801360a7\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x40, 0x1801360ac\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x45, 0x1801360b1\nadd     rsp, 20h                                                       ; +0x4a, 0x1801360b6\npop     rdi                                                            ; +0x4e, 0x1801360ba\nretn                                                                   ; +0x4f, 0x1801360bb", "xrefs": ["__acrt_uninitialize_lowio @ 0x18013687c", "<???> @ 0x1802034c4"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}