Function at 0x14002aed0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rax, qword [0x14011c338]
mov rdi, rax
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x14002af36
cmp byte [rax + 1], 0
je 0x14002af36
mov byte [rcx + 0x18], 0
mov rbx, qword [rax + 0x58]
test rbx, rbx
je 0x14002af36
mov rcx, rbx
call fcn.1400627b0
mov rax, qword [0x14011c338]
test rax, rax
je 0x14002af26
dec dword [rax + 0xfc]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x14011c338]
xor r12d, r12d
mov qword [rdi + 0x58], r12
mov rcx, qword [rdi + 0x3d80]
test rcx, rcx
je 0x14002af6f
mov qword [rdi + 0x3d78], r12
test rax, rax
je 0x14002af5b
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x3d80], r12
mov rax, qword [0x14011c338]
cmp byte [rdi], r12b
je 0x14002b791
cmp byte [rdi + 0x5db0], r12b
je 0x14002afd9
mov rbx, qword [rdi + 0x20]
test rbx, rbx
je 0x14002afd9
mov dword [rax + 0x5db4], r12d
mov qword [rsp + 0x50], r12
lea rcx, [rsp + 0x50]
call fcn.140044560
mov rsi, rax
lea rdx, [0x1400d900c]
mov rcx, rbx
call fcn.140027b40
mov rbx, rax
test rax, rax
je 0x14002afd9
mov r9, rax
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
call fcn.140047bb0
mov esi, r12d
mov eax, dword [rdi + 0x5d70]
test eax, eax
jle 0x14002b05b
mov rbp, r12
mov r14, r12
test rbp, rbp
js 0x14002affa
cmp esi, eax
jl 0x14002b014
mov r8d, 0x754
lea rdx, str.F:OvixLoaderimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rdi + 0x5d78]
mov rbx, qword [rax + r14 + 8]
test rbx, rbx
je 0x14002b048
mov rcx, rbx
call fcn.14004a160
mov rax, qword [0x14011c338]
test rax, rax
je 0x14002b03f
dec dword [rax + 0xfc]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
inc esi
inc rbp
add r14, 0x10
mov eax, dword [rdi + 0x5d70]
cmp esi, eax
jl 0x14002aff1
mov edx, 6
mov rcx, rdi
call fcn.14002b7b0
mov esi, r12d
cmp dword [rdi + 0x3fa8], r12d
jle 0x14002b0c1
mov r14, r12
nop word [rax + rax]
mov rax, qword [rdi + 0x3fb0]
mov rbx, qword [r14 + rax]
test rbx, rbx
je 0x14002b0b3
mov rcx, rbx
call fcn.14002bef0
mov rax, qword [0x14011c338]
test rax, rax
je 0x14002b0aa
dec dword [rax + 0xfc]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
inc esi
add r14, 8
cmp esi, dword [rdi + 0x3fa8]
jl 0x14002b080
mov rcx, qword [rdi + 0x3fb0]
test rcx, rcx
je 0x14002b0f3
mov qword [rdi + 0x3fa8], r12
mov rax, qword [0x14011c338]
test rax, rax
je 0x14002b0e6
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x3fb0], r12
mov rcx, qword [rdi + 0x3fc0]
test rcx, rcx
je 0x14002b125
mov qword [rdi + 0x3fb8], r12
mov rax, qword [0x14011c338]
test rax, rax
je 0x14002b118
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x3fc0], r12
mov rcx, qword [rdi + 0x3fd0]
test rcx, rcx
je 0x14002b157
mov qword [rdi + 0x3fc8], r12
mov rax, qword [0x14011c338]
test rax, rax
je 0x14002b14a
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x3fd0], r12
mov qword [rdi + 0x4008], r12
mov rcx, qword [rdi + 0x3fe0]
test rcx, rcx
je 0x14002b190
mov qword [rdi + 0x3fd8], r12
mov rax, qword [0x14011c338]
test rax, rax
je 0x14002b183
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x3fe0], r12
mov rcx, qword [rdi + 0x3ff0]
test rcx, rcx
je 0x14002b1c2
mov qword [rdi + 0x3fe8], r12
mov rax, qword [0x14011c338]
test rax, rax
je 0x14002b1b5
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x3ff0], r12
mov qword [rdi + 0x4a58], r12
mov qword [rdi + 0x4018], r12
mov qword [rdi + 0x4010], r12
mov qword [rdi + 0x40a0], r12
mov qword [rdi + 0x4088], r12
mov qword [rdi + 0x4020], r12
lea rcx, [rdi + 0x4740]
call fcn.1400259e0
mov rcx, qword [rdi + 0x4978]
test rcx, rcx
je 0x14002b22a
mov qword [rdi + 0x4970], r12
mov rax, qword [0x14011c338]
test rax, rax
je 0x14002b21d
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x4978], r12
mov rcx, qword [rdi + 0x4988]
test rcx, rcx
je 0x14002b25c
mov qword [rdi + 0x4980], r12
mov rax, qword [0x14011c338]
test rax, rax
je 0x14002b24f
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x4988], r12
mov rcx, qword [rdi + 0x4998]
test rcx, rcx
je 0x14002b28e
mov qword [rdi + 0x4990], r12
mov rax, qword [0x14011c338]
test rax, rax
je 0x14002b281
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x4998], r12
mov rcx, qword [rdi + 0x49d8]
test rcx, rcx
je 0x14002b2c0
mov qword [rdi + 0x49d0], r12
mov rax, qword [0x14011c338]
test rax, rax
je 0x14002b2b3
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x49d8], r12
mov rcx, qword [rdi + 0x49e8]
test rcx, rcx
je 0x14002b2f2
mov qword [rdi + 0x49e0], r12
mov rax, qword [0x14011c338]
test rax, rax
je 0x14002b2e5
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x49e8], r12
mov qword [rdi + 0x4a20], r12
mov qword [rdi + 0x4a18], r12
mov qword [rdi + 0x4a10], r12
mov ebx, r12d
cmp dword [rdi + 0x49f8], r12d
jle 0x14002b33e
mov rsi, r12
nop word [rax + rax]
mov rcx, qword [rdi + 0x4a00]
mov rcx, qword [rsi + rcx]
call fcn.140055ed0
inc ebx
lea rsi, [rsi + 8]
cmp ebx, dword [rdi + 0x49f8]
jl 0x14002b320
mov rcx, qword [rdi + 0x4a00]
test rcx, rcx
je 0x14002b370
mov qword [rdi + 0x49f8], r12
mov rax, qword [0x14011c338]
test rax, rax
je 0x14002b363
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x4a00], r12
lea rcx, [rdi + 0x4d28]
call fcn.140054550
mov rcx, qword [rdi + 0x4d58]
test rcx, rcx
je 0x14002b3ae
mov qword [rdi + 0x4d50], r12
mov rax, qword [0x14011c338]
test rax, rax
je 0x14002b3a1
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x4d58], r12
mov rcx, qword [rdi + 0x4d68]
test rcx, rcx
je 0x14002b3e0
mov qword [rdi + 0x4d60], r12
mov rax, qword [0x14011c338]
test rax, rax
je 0x14002b3d3
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x4d68], r12
mov ebx, r12d
cmp dword [rdi + 0x4ca8], r12d
jle 0x14002b428
mov rsi, r12
nop
mov rax, qword [rdi + 0x4cb0]
mov rcx, qword [rsi + rax + 0x20]
test rcx, rcx
je 0x14002b41a
mov rax, qword [0x14011c338]
test rax, rax
je 0x14002b413
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
inc ebx
add rsi, 0x28
cmp ebx, dword [rdi + 0x4ca8]
jl 0x14002b3f0
mov rcx, qword [rdi + 0x4cb0]
test rcx, rcx
je 0x14002b45a
mov qword [rdi + 0x4ca8], r12
mov rax, qword [0x14011c338]
test rax, rax
je 0x14002b44d
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x4cb0], r12
lea rcx, [rdi + 0x4cd8]
call fcn.140054710
mov esi, r12d
cmp dword [rdi + 0x4cc8], r12d
jle 0x14002b4c5
mov rbp, r12
nop word [rax + rax]
mov rbx, qword [rdi + 0x4cd0]
lea rcx, [rbx + 0x10]
add rcx, rbp
call fcn.140061e40
nop
mov rcx, qword [rbx + rbp + 0x20]
test rcx, rcx
je 0x14002b4b7
mov rax, qword [0x14011c338]
test rax, rax
je 0x14002b4b0
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
inc esi
add rbp, 0x70
cmp esi, dword [rdi + 0x4cc8]
jl 0x14002b480
mov rcx, qword [rdi + 0x4cd0]
test rcx, rcx
je 0x14002b4f7
mov qword [rdi + 0x4cc8], r12
mov rax, qword [0x14011c338]
test rax, rax
je 0x14002b4ea
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x4cd0], r12
mov rcx, qword [rdi + 0x4d18]
test rcx, rcx
je 0x14002b529
mov qword [rdi + 0x4d10], r12
mov rax, qword [0x14011c338]
test rax, rax
je 0x14002b51c
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x4d18], r12
mov rcx, qword [rdi + 0x5d30]
test rcx, rcx
je 0x14002b55b
mov qword [rdi + 0x5d28], r12
mov rax, qword [0x14011c338]
test rax, rax
je 0x14002b54e
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x5d30], r12
mov rcx, qword [rdi + 0x5d40]
test rcx, rcx
je 0x14002b58d
mov qword [rdi + 0x5d38], r12
mov rax, qword [0x14011c338]
test rax, rax
je 0x14002b580
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x5d40], r12
mov rcx, qword [rdi + 0x4da8]
test rcx, rcx
je 0x14002b5bf
mov qword [rdi + 0x4da0], r12
mov rax, qword [0x14011c338]
test rax, rax
je 0x14002b5b2
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x4da8], r12
mov rcx, qword [rdi + 0x4db8]
test rcx, rcx
je 0x14002b5f1
mov qword [rdi + 0x4db0], r12
mov rax, qword [0x14011c338]
test rax, rax
je 0x14002b5e4
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x4db8], r12
mov rcx, qword [rdi + 0x4dc8]
test rcx, rcx
je 0x14002b623
mov qword [rdi + 0x4dc0], r12
mov rax, qword [0x14011c338]
test rax, rax
je 0x14002b616
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x4dc8], r12
mov dword [rdi + 0x5c18], r12d
mov rcx, qword [rdi + 0x5c28]
test rcx, rcx
je 0x14002b65c
mov qword [rdi + 0x5c20], r12
mov rax, qword [0x14011c338]
test rax, rax
je 0x14002b64f
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x5c28], r12
mov rcx, qword [rdi + 0x5de0]
test rcx, rcx
je 0x14002b68e
mov qword [rdi + 0x5dd8], r12
mov rax, qword [0x14011c338]
test rax, rax
je 0x14002b681
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x5de0], r12
mov rcx, qword [rdi + 0x5dd0]
test rcx, rcx
je 0x14002b6c0
mov qword [rdi + 0x5dc8], r12
mov rax, qword [0x14011c338]
test rax, rax
je 0x14002b6b3
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x5dd0], r12
cmp qword [rdi + 0x5e58], 0
je 0x14002b6f1
mov rbx, qword [rdi + 0x5e58]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rbx, rax
je 0x14002b6ea
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rdi + 0x5e58], r12
mov rcx, qword [rdi + 0x5e68]
test rcx, rcx
je 0x14002b723
mov qword [rdi + 0x5e60], r12
mov rax, qword [0x14011c338]
test rax, rax
je 0x14002b716
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x5e68], r12
mov rcx, qword [rdi + 0x5ea0]
test rcx, rcx
je 0x14002b755
mov qword [rdi + 0x5e98], r12
mov rax, qword [0x14011c338]
test rax, rax
je 0x14002b748
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x5ea0], r12
mov rcx, qword [rdi + 0x5eb0]
test rcx, rcx
je 0x14002b787
mov qword [rdi + 0x5ea8], r12
mov rax, qword [0x14011c338]
test rax, rax
je 0x14002b77a
dec dword [rax + 0xfc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x5eb0], r12
mov dword [rdi + 0x5eb8], r12d
mov byte [rdi], 0
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret