Function at 0x140006cd0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r12
sub rsp, 0x30
mov rax, qword [rcx + 0xa8]
mov rbx, rcx
test rax, rax
je 0x140006d20
cmp byte [rcx + 1], 0
je 0x140006d20
mov byte [rax], 0
mov rdi, qword [rcx + 0xa8]
test rdi, rdi
je 0x140006d20
mov rcx, rdi
call fcn.1400231c0
mov rax, qword [0x1400a93a0]
test rax, rax
je 0x140006d17
dec dword [rax + 0x3bc]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor r12d, r12d
mov qword [rbx + 0xa8], r12
cmp byte [rbx], r12b
je 0x140007445
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
cmp byte [rbx + 0x3071], r12b
je 0x140006db8
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x140006db8
mov rsi, qword [0x1400a93a0]
lea rcx, [rsp + 0x50]
mov qword [0x1400a93a0], rbx
mov dword [rbx + 0x3074], r12d
mov qword [rsp + 0x50], r12
call fcn.140014660
lea rdx, [0x1400371d4]
mov rcx, rdi
mov rbp, rax
call fcn.140002a50
mov rdi, rax
test rax, rax
je 0x140006db1
mov r8, qword [rsp + 0x50]
mov r9, rax
mov edx, 1
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [0x1400a93a0], rsi
mov eax, dword [rbx + 0x1a78]
mov r14d, r12d
test eax, eax
jle 0x140006f52
mov qword [rsp + 0x20], r15
mov r15, r12
cmp r12d, eax
jl 0x140006df0
mov r8d, 0x58a
lea rdx, str.C:Users_santosDownloads_sem_janela_sem_janelaimgui.h
lea rcx, str.i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x1a80]
mov rdi, qword [r15 + rax]
test rdi, rdi
je 0x140006f37
lea rbp, [rdi + 0x2d8]
cmp qword [rdi + 0x2d0], rbp
je 0x140006e2e
mov r8d, 0xafc
lea rdx, str.C:Users_santosDownloads_sem_janela_sem_janelaimgui.cpp
lea rcx, str.DrawList__DrawListInst
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rdi]
test rcx, rcx
je 0x140006e4e
mov rax, qword [0x1400a93a0]
test rax, rax
je 0x140006e48
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [rdi + 0x2b8]
mov esi, r12d
test eax, eax
je 0x140006e9c
cmp r12d, eax
jl 0x140006e7a
mov r8d, 0x58a
lea rdx, str.C:Users_santosDownloads_sem_janela_sem_janelaimgui.h
lea rcx, str.i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, esi
imul rcx, rax, 0x88
add rcx, qword [rdi + 0x2c0]
call fcn.140004490
mov eax, dword [rdi + 0x2b8]
inc esi
cmp esi, eax
jne 0x140006e5e
mov rcx, rbp
call fcn.140001010
mov rcx, qword [rdi + 0x2c0]
test rcx, rcx
je 0x140006ec8
mov rax, qword [0x1400a93a0]
test rax, rax
je 0x140006ec2
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rdi + 0x2b0]
test rcx, rcx
je 0x140006eec
mov rax, qword [0x1400a93a0]
test rax, rax
je 0x140006ee6
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rdi + 0xd8]
call fcn.1400043c0
mov rcx, qword [rdi + 0xd0]
test rcx, rcx
je 0x140006f1c
mov rax, qword [0x1400a93a0]
test rax, rax
je 0x140006f16
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x1400a93a0]
test rax, rax
je 0x140006f2e
dec dword [rax + 0x3bc]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [rbx + 0x1a78]
inc r14d
add r15, 8
cmp r14d, eax
jl 0x140006df0
mov r15, qword [rsp + 0x20]
mov rcx, qword [rbx + 0x1a80]
mov r14, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
test rcx, rcx
je 0x140006f93
mov rax, qword [0x1400a93a0]
mov qword [rbx + 0x1a78], r12
test rax, rax
je 0x140006f86
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1a80], r12
mov rcx, qword [rbx + 0x1a90]
test rcx, rcx
je 0x140006fc5
mov rax, qword [0x1400a93a0]
mov qword [rbx + 0x1a88], r12
test rax, rax
je 0x140006fb8
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1a90], r12
mov rcx, qword [rbx + 0x1aa0]
test rcx, rcx
je 0x140006ff7
mov rax, qword [0x1400a93a0]
mov qword [rbx + 0x1a98], r12
test rax, rax
je 0x140006fea
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1aa0], r12
mov qword [rbx + 0x1ad0], r12
mov rcx, qword [rbx + 0x1ab0]
test rcx, rcx
je 0x140007030
mov rax, qword [0x1400a93a0]
mov qword [rbx + 0x1aa8], r12
test rax, rax
je 0x140007023
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1ab0], r12
mov rcx, qword [rbx + 0x1ac0]
test rcx, rcx
je 0x140007062
mov rax, qword [0x1400a93a0]
mov qword [rbx + 0x1ab8], r12
test rax, rax
je 0x140007055
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1ac0], r12
mov qword [rbx + 0x1c50], r12
mov qword [rbx + 0x1ae8], r12
mov qword [rbx + 0x1ae0], r12
mov qword [rbx + 0x1ad8], r12
mov qword [rbx + 0x1b68], r12
mov qword [rbx + 0x1b50], r12
mov qword [rbx + 0x1af0], r12
mov rcx, qword [rbx + 0x1c08]
test rcx, rcx
je 0x1400070c5
mov rax, qword [0x1400a93a0]
mov qword [rbx + 0x1c00], r12
test rax, rax
je 0x1400070b8
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1c08], r12
mov rcx, qword [rbx + 0x1c18]
test rcx, rcx
je 0x1400070f7
mov rax, qword [0x1400a93a0]
mov qword [rbx + 0x1c10], r12
test rax, rax
je 0x1400070ea
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1c18], r12
mov rcx, qword [rbx + 0x1c28]
test rcx, rcx
je 0x140007129
mov rax, qword [0x1400a93a0]
mov qword [rbx + 0x1c20], r12
test rax, rax
je 0x14000711c
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1c28], r12
mov rcx, qword [rbx + 0x1c38]
test rcx, rcx
je 0x14000715b
mov rax, qword [0x1400a93a0]
mov qword [rbx + 0x1c30], r12
test rax, rax
je 0x14000714e
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1c38], r12
mov rcx, qword [rbx + 0x1c48]
test rcx, rcx
je 0x14000718d
mov rax, qword [0x1400a93a0]
mov qword [rbx + 0x1c40], r12
test rax, rax
je 0x140007180
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1c48], r12
mov rcx, qword [rbx + 0x1e10]
test rcx, rcx
je 0x1400071bf
mov rax, qword [0x1400a93a0]
mov qword [rbx + 0x1e08], r12
test rax, rax
je 0x1400071b2
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1e10], r12
cmp qword [rbx + 0x1e20], r12
je 0x1400071fa
mov qword [rbx + 0x1e18], r12
mov rcx, qword [rbx + 0x1e20]
test rcx, rcx
je 0x1400071ed
mov rax, qword [0x1400a93a0]
test rax, rax
je 0x1400071ed
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1e20], r12
lea rcx, [rbx + 0x1e30]
call fcn.14001dec0
lea rcx, [rbx + 0x1f10]
call fcn.14001dec0
lea rcx, [rbx + 0x20a0]
call fcn.140015210
mov rcx, qword [rbx + 0x20d0]
test rcx, rcx
je 0x140007250
mov rax, qword [0x1400a93a0]
mov qword [rbx + 0x20c8], r12
test rax, rax
je 0x140007243
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x20d0], r12
mov rcx, qword [rbx + 0x20e0]
test rcx, rcx
je 0x140007282
mov rax, qword [0x1400a93a0]
mov qword [rbx + 0x20d8], r12
test rax, rax
je 0x140007275
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x20e0], r12
mov rcx, qword [rbx + 0x3048]
test rcx, rcx
je 0x1400072b4
mov rax, qword [0x1400a93a0]
mov qword [rbx + 0x3040], r12
test rax, rax
je 0x1400072a7
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3048], r12
mov rcx, qword [rbx + 0x3058]
test rcx, rcx
je 0x1400072e6
mov rax, qword [0x1400a93a0]
mov qword [rbx + 0x3050], r12
test rax, rax
je 0x1400072d9
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3058], r12
mov rcx, qword [rbx + 0x2108]
test rcx, rcx
je 0x140007318
mov rax, qword [0x1400a93a0]
mov qword [rbx + 0x2100], r12
test rax, rax
je 0x14000730b
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2108], r12
mov rcx, qword [rbx + 0x2118]
test rcx, rcx
je 0x14000734a
mov rax, qword [0x1400a93a0]
mov qword [rbx + 0x2110], r12
test rax, rax
je 0x14000733d
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2118], r12
mov rcx, qword [rbx + 0x2128]
test rcx, rcx
je 0x14000737c
mov rax, qword [0x1400a93a0]
mov qword [rbx + 0x2120], r12
test rax, rax
je 0x14000736f
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2128], r12
mov rcx, qword [rbx + 0x30a0]
test rcx, rcx
je 0x1400073ae
mov rax, qword [0x1400a93a0]
mov qword [rbx + 0x3098], r12
test rax, rax
je 0x1400073a1
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x30a0], r12
mov rcx, qword [rbx + 0x3090]
test rcx, rcx
je 0x1400073e0
mov rax, qword [0x1400a93a0]
mov qword [rbx + 0x3088], r12
test rax, rax
je 0x1400073d3
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3090], r12
cmp qword [rbx + 0x30b0], r12
je 0x140007410
mov rdi, qword [rbx + 0x30b0]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rdi, rax
je 0x140007409
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rbx + 0x30b0], r12
mov rcx, qword [rbx + 0x30c0]
test rcx, rcx
je 0x140007442
mov rax, qword [0x1400a93a0]
mov qword [rbx + 0x30b8], r12
test rax, rax
je 0x140007435
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x30c0], r12
mov byte [rbx], r12b
add rsp, 0x30
pop r12
pop rdi
pop rbx
ret