Function at 0x14002c100
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 [0x1401219b0]
mov rdi, rax
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x14002c166
cmp byte [rax + 1], 0
je 0x14002c166
mov byte [rcx + 0x18], 0
mov rbx, qword [rax + 0x58]
test rbx, rbx
je 0x14002c166
mov rcx, rbx
call fcn.1400639e0
mov rax, qword [0x1401219b0]
test rax, rax
je 0x14002c156
dec dword [rax + 0xfc]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x1401219b0]
xor r12d, r12d
mov qword [rdi + 0x58], r12
mov rcx, qword [rdi + 0x3d80]
test rcx, rcx
je 0x14002c19f
mov qword [rdi + 0x3d78], r12
test rax, rax
je 0x14002c18b
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 [0x1401219b0]
cmp byte [rdi], r12b
je 0x14002c9c1
cmp byte [rdi + 0x5db0], r12b
je 0x14002c209
mov rbx, qword [rdi + 0x20]
test rbx, rbx
je 0x14002c209
mov dword [rax + 0x5db4], r12d
mov qword [rsp + 0x50], r12
lea rcx, [rsp + 0x50]
call fcn.140045790
mov rsi, rax
lea rdx, [0x1400df90c]
mov rcx, rbx
call fcn.140028d70
mov rbx, rax
test rax, rax
je 0x14002c209
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.140048de0
mov esi, r12d
mov eax, dword [rdi + 0x5d70]
test eax, eax
jle 0x14002c28b
mov rbp, r12
mov r14, r12
test rbp, rbp
js 0x14002c22a
cmp esi, eax
jl 0x14002c244
mov r8d, 0x754
lea rdx, str.E:Ovix_FilesOvixRDRLoaderimguiimgui.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 0x14002c278
mov rcx, rbx
call fcn.14004b390
mov rax, qword [0x1401219b0]
test rax, rax
je 0x14002c26f
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 0x14002c221
mov edx, 6
mov rcx, rdi
call fcn.14002c9e0
mov esi, r12d
cmp dword [rdi + 0x3fa8], r12d
jle 0x14002c2f1
mov r14, r12
nop word [rax + rax]
mov rax, qword [rdi + 0x3fb0]
mov rbx, qword [r14 + rax]
test rbx, rbx
je 0x14002c2e3
mov rcx, rbx
call fcn.14002d120
mov rax, qword [0x1401219b0]
test rax, rax
je 0x14002c2da
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 0x14002c2b0
mov rcx, qword [rdi + 0x3fb0]
test rcx, rcx
je 0x14002c323
mov qword [rdi + 0x3fa8], r12
mov rax, qword [0x1401219b0]
test rax, rax
je 0x14002c316
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 0x14002c355
mov qword [rdi + 0x3fb8], r12
mov rax, qword [0x1401219b0]
test rax, rax
je 0x14002c348
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 0x14002c387
mov qword [rdi + 0x3fc8], r12
mov rax, qword [0x1401219b0]
test rax, rax
je 0x14002c37a
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 0x14002c3c0
mov qword [rdi + 0x3fd8], r12
mov rax, qword [0x1401219b0]
test rax, rax
je 0x14002c3b3
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 0x14002c3f2
mov qword [rdi + 0x3fe8], r12
mov rax, qword [0x1401219b0]
test rax, rax
je 0x14002c3e5
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.140026c10
mov rcx, qword [rdi + 0x4978]
test rcx, rcx
je 0x14002c45a
mov qword [rdi + 0x4970], r12
mov rax, qword [0x1401219b0]
test rax, rax
je 0x14002c44d
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 0x14002c48c
mov qword [rdi + 0x4980], r12
mov rax, qword [0x1401219b0]
test rax, rax
je 0x14002c47f
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 0x14002c4be
mov qword [rdi + 0x4990], r12
mov rax, qword [0x1401219b0]
test rax, rax
je 0x14002c4b1
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 0x14002c4f0
mov qword [rdi + 0x49d0], r12
mov rax, qword [0x1401219b0]
test rax, rax
je 0x14002c4e3
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 0x14002c522
mov qword [rdi + 0x49e0], r12
mov rax, qword [0x1401219b0]
test rax, rax
je 0x14002c515
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 0x14002c56e
mov rsi, r12
nop word [rax + rax]
mov rcx, qword [rdi + 0x4a00]
mov rcx, qword [rsi + rcx]
call fcn.140057100
inc ebx
lea rsi, [rsi + 8]
cmp ebx, dword [rdi + 0x49f8]
jl 0x14002c550
mov rcx, qword [rdi + 0x4a00]
test rcx, rcx
je 0x14002c5a0
mov qword [rdi + 0x49f8], r12
mov rax, qword [0x1401219b0]
test rax, rax
je 0x14002c593
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.140055780
mov rcx, qword [rdi + 0x4d58]
test rcx, rcx
je 0x14002c5de
mov qword [rdi + 0x4d50], r12
mov rax, qword [0x1401219b0]
test rax, rax
je 0x14002c5d1
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 0x14002c610
mov qword [rdi + 0x4d60], r12
mov rax, qword [0x1401219b0]
test rax, rax
je 0x14002c603
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 0x14002c658
mov rsi, r12
nop
mov rax, qword [rdi + 0x4cb0]
mov rcx, qword [rsi + rax + 0x20]
test rcx, rcx
je 0x14002c64a
mov rax, qword [0x1401219b0]
test rax, rax
je 0x14002c643
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 0x14002c620
mov rcx, qword [rdi + 0x4cb0]
test rcx, rcx
je 0x14002c68a
mov qword [rdi + 0x4ca8], r12
mov rax, qword [0x1401219b0]
test rax, rax
je 0x14002c67d
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.140055940
mov esi, r12d
cmp dword [rdi + 0x4cc8], r12d
jle 0x14002c6f5
mov rbp, r12
nop word [rax + rax]
mov rbx, qword [rdi + 0x4cd0]
lea rcx, [rbx + 0x10]
add rcx, rbp
call fcn.140063070
nop
mov rcx, qword [rbx + rbp + 0x20]
test rcx, rcx
je 0x14002c6e7
mov rax, qword [0x1401219b0]
test rax, rax
je 0x14002c6e0
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 0x14002c6b0
mov rcx, qword [rdi + 0x4cd0]
test rcx, rcx
je 0x14002c727
mov qword [rdi + 0x4cc8], r12
mov rax, qword [0x1401219b0]
test rax, rax
je 0x14002c71a
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 0x14002c759
mov qword [rdi + 0x4d10], r12
mov rax, qword [0x1401219b0]
test rax, rax
je 0x14002c74c
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 0x14002c78b
mov qword [rdi + 0x5d28], r12
mov rax, qword [0x1401219b0]
test rax, rax
je 0x14002c77e
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 0x14002c7bd
mov qword [rdi + 0x5d38], r12
mov rax, qword [0x1401219b0]
test rax, rax
je 0x14002c7b0
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 0x14002c7ef
mov qword [rdi + 0x4da0], r12
mov rax, qword [0x1401219b0]
test rax, rax
je 0x14002c7e2
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 0x14002c821
mov qword [rdi + 0x4db0], r12
mov rax, qword [0x1401219b0]
test rax, rax
je 0x14002c814
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 0x14002c853
mov qword [rdi + 0x4dc0], r12
mov rax, qword [0x1401219b0]
test rax, rax
je 0x14002c846
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 0x14002c88c
mov qword [rdi + 0x5c20], r12
mov rax, qword [0x1401219b0]
test rax, rax
je 0x14002c87f
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 0x14002c8be
mov qword [rdi + 0x5dd8], r12
mov rax, qword [0x1401219b0]
test rax, rax
je 0x14002c8b1
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 0x14002c8f0
mov qword [rdi + 0x5dc8], r12
mov rax, qword [0x1401219b0]
test rax, rax
je 0x14002c8e3
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 0x14002c921
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 0x14002c91a
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 0x14002c953
mov qword [rdi + 0x5e60], r12
mov rax, qword [0x1401219b0]
test rax, rax
je 0x14002c946
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 0x14002c985
mov qword [rdi + 0x5e98], r12
mov rax, qword [0x1401219b0]
test rax, rax
je 0x14002c978
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 0x14002c9b7
mov qword [rdi + 0x5ea8], r12
mov rax, qword [0x1401219b0]
test rax, rax
je 0x14002c9aa
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