Function at 0x1400299b0
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 [0x14011d9b0]
mov rdi, rax
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x140029a16
cmp byte [rax + 1], 0
je 0x140029a16
mov byte [rcx + 0x18], 0
mov rbx, qword [rax + 0x58]
test rbx, rbx
je 0x140029a16
mov rcx, rbx
call fcn.140060f10
mov rax, qword [0x14011d9b0]
test rax, rax
je 0x140029a06
dec dword [rax + 0xfc]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x14011d9b0]
xor r12d, r12d
mov qword [rdi + 0x58], r12
mov rcx, qword [rdi + 0x3d80]
test rcx, rcx
je 0x140029a4f
mov qword [rdi + 0x3d78], r12
test rax, rax
je 0x140029a3b
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 [0x14011d9b0]
cmp byte [rdi], r12b
je 0x14002a271
cmp byte [rdi + 0x5db0], r12b
je 0x140029ab9
mov rbx, qword [rdi + 0x20]
test rbx, rbx
je 0x140029ab9
mov dword [rax + 0x5db4], r12d
mov qword [rsp + 0x50], r12
lea rcx, [rsp + 0x50]
call fcn.140043120
mov rsi, rax
lea rdx, [0x1400db66c]
mov rcx, rbx
call fcn.1400263d0
mov rbx, rax
test rax, rax
je 0x140029ab9
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.140046770
mov esi, r12d
mov eax, dword [rdi + 0x5d70]
test eax, eax
jle 0x140029b3b
mov rbp, r12
mov r14, r12
test rbp, rbp
js 0x140029ada
cmp esi, eax
jl 0x140029af4
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 0x140029b28
mov rcx, rbx
call fcn.140048d00
mov rax, qword [0x14011d9b0]
test rax, rax
je 0x140029b1f
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 0x140029ad1
mov edx, 6
mov rcx, rdi
call fcn.14002a290
mov esi, r12d
cmp dword [rdi + 0x3fa8], r12d
jle 0x140029ba1
mov r14, r12
nop word [rax + rax]
mov rax, qword [rdi + 0x3fb0]
mov rbx, qword [r14 + rax]
test rbx, rbx
je 0x140029b93
mov rcx, rbx
call fcn.14002a9d0
mov rax, qword [0x14011d9b0]
test rax, rax
je 0x140029b8a
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 0x140029b60
mov rcx, qword [rdi + 0x3fb0]
test rcx, rcx
je 0x140029bd3
mov qword [rdi + 0x3fa8], r12
mov rax, qword [0x14011d9b0]
test rax, rax
je 0x140029bc6
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 0x140029c05
mov qword [rdi + 0x3fb8], r12
mov rax, qword [0x14011d9b0]
test rax, rax
je 0x140029bf8
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 0x140029c37
mov qword [rdi + 0x3fc8], r12
mov rax, qword [0x14011d9b0]
test rax, rax
je 0x140029c2a
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 0x140029c70
mov qword [rdi + 0x3fd8], r12
mov rax, qword [0x14011d9b0]
test rax, rax
je 0x140029c63
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 0x140029ca2
mov qword [rdi + 0x3fe8], r12
mov rax, qword [0x14011d9b0]
test rax, rax
je 0x140029c95
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.140024270
mov rcx, qword [rdi + 0x4978]
test rcx, rcx
je 0x140029d0a
mov qword [rdi + 0x4970], r12
mov rax, qword [0x14011d9b0]
test rax, rax
je 0x140029cfd
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 0x140029d3c
mov qword [rdi + 0x4980], r12
mov rax, qword [0x14011d9b0]
test rax, rax
je 0x140029d2f
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 0x140029d6e
mov qword [rdi + 0x4990], r12
mov rax, qword [0x14011d9b0]
test rax, rax
je 0x140029d61
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 0x140029da0
mov qword [rdi + 0x49d0], r12
mov rax, qword [0x14011d9b0]
test rax, rax
je 0x140029d93
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 0x140029dd2
mov qword [rdi + 0x49e0], r12
mov rax, qword [0x14011d9b0]
test rax, rax
je 0x140029dc5
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 0x140029e1e
mov rsi, r12
nop word [rax + rax]
mov rcx, qword [rdi + 0x4a00]
mov rcx, qword [rcx + rsi]
call fcn.140054740
inc ebx
lea rsi, [rsi + 8]
cmp ebx, dword [rdi + 0x49f8]
jl 0x140029e00
mov rcx, qword [rdi + 0x4a00]
test rcx, rcx
je 0x140029e50
mov qword [rdi + 0x49f8], r12
mov rax, qword [0x14011d9b0]
test rax, rax
je 0x140029e43
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.140052e40
mov rcx, qword [rdi + 0x4d58]
test rcx, rcx
je 0x140029e8e
mov qword [rdi + 0x4d50], r12
mov rax, qword [0x14011d9b0]
test rax, rax
je 0x140029e81
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 0x140029ec0
mov qword [rdi + 0x4d60], r12
mov rax, qword [0x14011d9b0]
test rax, rax
je 0x140029eb3
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 0x140029f08
mov rsi, r12
nop
mov rax, qword [rdi + 0x4cb0]
mov rcx, qword [rsi + rax + 0x20]
test rcx, rcx
je 0x140029efa
mov rax, qword [0x14011d9b0]
test rax, rax
je 0x140029ef3
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 0x140029ed0
mov rcx, qword [rdi + 0x4cb0]
test rcx, rcx
je 0x140029f3a
mov qword [rdi + 0x4ca8], r12
mov rax, qword [0x14011d9b0]
test rax, rax
je 0x140029f2d
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.140053020
mov esi, r12d
cmp dword [rdi + 0x4cc8], r12d
jle 0x140029fa5
mov rbp, r12
nop word [rax + rax]
mov rbx, qword [rdi + 0x4cd0]
lea rcx, [rbx + 0x10]
add rcx, rbp
call fcn.1400605b0
nop
mov rcx, qword [rbx + rbp + 0x20]
test rcx, rcx
je 0x140029f97
mov rax, qword [0x14011d9b0]
test rax, rax
je 0x140029f90
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 0x140029f60
mov rcx, qword [rdi + 0x4cd0]
test rcx, rcx
je 0x140029fd7
mov qword [rdi + 0x4cc8], r12
mov rax, qword [0x14011d9b0]
test rax, rax
je 0x140029fca
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 0x14002a009
mov qword [rdi + 0x4d10], r12
mov rax, qword [0x14011d9b0]
test rax, rax
je 0x140029ffc
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 0x14002a03b
mov qword [rdi + 0x5d28], r12
mov rax, qword [0x14011d9b0]
test rax, rax
je 0x14002a02e
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 0x14002a06d
mov qword [rdi + 0x5d38], r12
mov rax, qword [0x14011d9b0]
test rax, rax
je 0x14002a060
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 0x14002a09f
mov qword [rdi + 0x4da0], r12
mov rax, qword [0x14011d9b0]
test rax, rax
je 0x14002a092
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 0x14002a0d1
mov qword [rdi + 0x4db0], r12
mov rax, qword [0x14011d9b0]
test rax, rax
je 0x14002a0c4
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 0x14002a103
mov qword [rdi + 0x4dc0], r12
mov rax, qword [0x14011d9b0]
test rax, rax
je 0x14002a0f6
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 0x14002a13c
mov qword [rdi + 0x5c20], r12
mov rax, qword [0x14011d9b0]
test rax, rax
je 0x14002a12f
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 0x14002a16e
mov qword [rdi + 0x5dd8], r12
mov rax, qword [0x14011d9b0]
test rax, rax
je 0x14002a161
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 0x14002a1a0
mov qword [rdi + 0x5dc8], r12
mov rax, qword [0x14011d9b0]
test rax, rax
je 0x14002a193
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 0x14002a1d1
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 0x14002a1ca
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 0x14002a203
mov qword [rdi + 0x5e60], r12
mov rax, qword [0x14011d9b0]
test rax, rax
je 0x14002a1f6
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 0x14002a235
mov qword [rdi + 0x5e98], r12
mov rax, qword [0x14011d9b0]
test rax, rax
je 0x14002a228
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 0x14002a267
mov qword [rdi + 0x5ea8], r12
mov rax, qword [0x14011d9b0]
test rax, rax
je 0x14002a25a
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