Function at 0x140009120
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 0x140009170
cmp byte [rcx + 1], 0
je 0x140009170
mov byte [rax], 0
mov rdi, qword [rcx + 0xa8]
test rdi, rdi
je 0x140009170
mov rcx, rdi
call fcn.140037110
mov rax, qword [0x140175650]
test rax, rax
je 0x140009167
dec dword [rax + 0x3b0]
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 0x140009950
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x58], rbp
cmp byte [rbx + 0x31a8], r12b
je 0x140009203
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x140009203
mov rsi, qword [0x140175650]
lea rcx, [rsp + 0x50]
mov qword [0x140175650], rbx
mov dword [rbx + 0x31ac], r12d
mov qword [rsp + 0x50], r12
call fcn.14001b470
lea rdx, [0x14008fb84]
mov rcx, rdi
mov rbp, rax
call fcn.140002f20
mov rdi, rax
test rax, rax
je 0x14000920a
mov r8, qword [rsp + 0x50]
lea edx, [r12 + 1]
mov r9, rax
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]
jmp 0x14000920a
mov rsi, qword [0x140175650]
mov qword [rsp + 0x28], r14
mov qword [0x140175650], rbx
call fcn.14001e4d0
mov eax, dword [rbx + 0x3170]
mov qword [0x140175650], rsi
mov esi, r12d
test eax, eax
jle 0x14000929f
mov rbp, r12
mov r14, r12
test rbp, rbp
js 0x14000923e
cmp esi, eax
jl 0x140009258
mov r8d, 0x5cb
lea rdx, str.D:ProyectosDesignOthersloaderimgui_dockingimgui.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 [rbx + 0x3178]
mov rdi, qword [rax + r14 + 8]
test rdi, rdi
je 0x14000928c
mov rcx, rdi
call fcn.140020410
mov rax, qword [0x140175650]
test rax, rax
je 0x140009283
dec dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [rbx + 0x3170]
inc esi
inc rbp
add r14, 0x10
cmp esi, eax
jl 0x140009235
mov edx, 6
mov rcx, rbx
call fcn.140006450
mov eax, dword [rbx + 0x1d28]
mov r15d, r12d
test eax, eax
jle 0x140009444
mov r14, r12
test r14, r14
js 0x1400092ca
cmp r15d, eax
jl 0x1400092e4
mov r8d, 0x5cb
lea rdx, str.D:ProyectosDesignOthersloaderimgui_dockingimgui.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 [rbx + 0x1d30]
mov rsi, qword [rax + r14*8]
test rsi, rsi
je 0x14000942f
lea rbp, [rsi + 0x320]
cmp qword [rsi + 0x318], rbp
je 0x140009322
mov r8d, 0xb51
lea rdx, str.D:ProyectosDesignOthersloaderimgui_dockingimgui.cpp
lea rcx, str.DrawList__DrawListInst
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rsi]
test rcx, rcx
je 0x140009342
mov rax, qword [0x140175650]
test rax, rax
je 0x14000933c
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [rsi + 0x2f8]
mov edi, r12d
test eax, eax
je 0x140009394
nop
test edi, edi
js 0x140009358
cmp edi, eax
jl 0x140009372
mov r8d, 0x5cb
lea rdx, str.D:ProyectosDesignOthersloaderimgui_dockingimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, edi
imul rcx, rax, 0x88
add rcx, qword [rsi + 0x300]
call fcn.140005940
mov eax, dword [rsi + 0x2f8]
inc edi
cmp edi, eax
jne 0x140009350
mov rcx, rbp
call fcn.140001170
mov rcx, qword [rsi + 0x300]
test rcx, rcx
je 0x1400093c0
mov rax, qword [0x140175650]
test rax, rax
je 0x1400093ba
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsi + 0x2f0]
test rcx, rcx
je 0x1400093e4
mov rax, qword [0x140175650]
test rax, rax
je 0x1400093de
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rsi + 0x118]
call fcn.140005870
mov rcx, qword [rsi + 0x110]
test rcx, rcx
je 0x140009414
mov rax, qword [0x140175650]
test rax, rax
je 0x14000940e
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x140175650]
test rax, rax
je 0x140009426
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [rbx + 0x1d28]
inc r15d
inc r14
cmp r15d, eax
jl 0x1400092c0
mov rcx, qword [rbx + 0x1d30]
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x58]
test rcx, rcx
je 0x140009485
mov rax, qword [0x140175650]
mov qword [rbx + 0x1d28], r12
test rax, rax
je 0x140009478
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1d30], r12
mov rcx, qword [rbx + 0x1d40]
test rcx, rcx
je 0x1400094b7
mov rax, qword [0x140175650]
mov qword [rbx + 0x1d38], r12
test rax, rax
je 0x1400094aa
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1d40], r12
mov rcx, qword [rbx + 0x1d50]
test rcx, rcx
je 0x1400094e9
mov rax, qword [0x140175650]
mov qword [rbx + 0x1d48], r12
test rax, rax
je 0x1400094dc
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1d50], r12
mov qword [rbx + 0x1d80], r12
mov rcx, qword [rbx + 0x1d60]
test rcx, rcx
je 0x140009522
mov rax, qword [0x140175650]
mov qword [rbx + 0x1d58], r12
test rax, rax
je 0x140009515
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1d60], r12
mov rcx, qword [rbx + 0x1d70]
test rcx, rcx
je 0x140009554
mov rax, qword [0x140175650]
mov qword [rbx + 0x1d68], r12
test rax, rax
je 0x140009547
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1d70], r12
mov qword [rbx + 0x1f60], r12
mov qword [rbx + 0x1d98], r12
mov qword [rbx + 0x1d90], r12
mov qword [rbx + 0x1d88], r12
mov qword [rbx + 0x1e20], r12
mov qword [rbx + 0x1e08], r12
mov qword [rbx + 0x1da8], r12
mov rcx, qword [rbx + 0x1ee0]
test rcx, rcx
je 0x1400095b7
mov rax, qword [0x140175650]
mov qword [rbx + 0x1ed8], r12
test rax, rax
je 0x1400095aa
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1ee0], r12
mov rcx, qword [rbx + 0x1ef0]
test rcx, rcx
je 0x1400095e9
mov rax, qword [0x140175650]
mov qword [rbx + 0x1ee8], r12
test rax, rax
je 0x1400095dc
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1ef0], r12
mov rcx, qword [rbx + 0x1f00]
test rcx, rcx
je 0x14000961b
mov rax, qword [0x140175650]
mov qword [rbx + 0x1ef8], r12
test rax, rax
je 0x14000960e
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1f00], r12
mov rcx, qword [rbx + 0x1f10]
test rcx, rcx
je 0x14000964d
mov rax, qword [0x140175650]
mov qword [rbx + 0x1f08], r12
test rax, rax
je 0x140009640
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1f10], r12
mov rcx, qword [rbx + 0x1f20]
test rcx, rcx
je 0x14000967f
mov rax, qword [0x140175650]
mov qword [rbx + 0x1f18], r12
test rax, rax
je 0x140009672
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1f20], r12
mov eax, dword [rbx + 0x1f28]
mov esi, r12d
mov qword [rbx + 0x1f50], r12
mov qword [rbx + 0x1f48], r12
mov qword [rbx + 0x1f40], r12
test eax, eax
jle 0x1400096e6
mov rdi, r12
test rdi, rdi
js 0x1400096ad
cmp esi, eax
jl 0x1400096c7
mov r8d, 0x5cb
lea rdx, str.D:ProyectosDesignOthersloaderimgui_dockingimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x1f30]
mov rcx, qword [rcx + rdi*8]
call fcn.14002a0f0
mov eax, dword [rbx + 0x1f28]
inc esi
inc rdi
cmp esi, eax
jl 0x1400096a4
mov rcx, qword [rbx + 0x1f30]
mov rsi, qword [rsp + 0x60]
test rcx, rcx
je 0x14000971d
mov rax, qword [0x140175650]
mov qword [rbx + 0x1f28], r12
test rax, rax
je 0x140009710
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1f30], r12
lea rcx, [rbx + 0x2190]
call fcn.140029350
mov rcx, qword [rbx + 0x21c0]
test rcx, rcx
je 0x14000975b
mov rax, qword [0x140175650]
mov qword [rbx + 0x21b8], r12
test rax, rax
je 0x14000974e
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x21c0], r12
mov rcx, qword [rbx + 0x21d0]
test rcx, rcx
je 0x14000978d
mov rax, qword [0x140175650]
mov qword [rbx + 0x21c8], r12
test rax, rax
je 0x140009780
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x21d0], r12
mov rcx, qword [rbx + 0x3138]
test rcx, rcx
je 0x1400097bf
mov rax, qword [0x140175650]
mov qword [rbx + 0x3130], r12
test rax, rax
je 0x1400097b2
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3138], r12
mov rcx, qword [rbx + 0x3148]
test rcx, rcx
je 0x1400097f1
mov rax, qword [0x140175650]
mov qword [rbx + 0x3140], r12
test rax, rax
je 0x1400097e4
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3148], r12
mov rcx, qword [rbx + 0x21f8]
test rcx, rcx
je 0x140009823
mov rax, qword [0x140175650]
mov qword [rbx + 0x21f0], r12
test rax, rax
je 0x140009816
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x21f8], r12
mov rcx, qword [rbx + 0x2208]
test rcx, rcx
je 0x140009855
mov rax, qword [0x140175650]
mov qword [rbx + 0x2200], r12
test rax, rax
je 0x140009848
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2208], r12
mov rcx, qword [rbx + 0x2218]
test rcx, rcx
je 0x140009887
mov rax, qword [0x140175650]
mov qword [rbx + 0x2210], r12
test rax, rax
je 0x14000987a
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2218], r12
mov rcx, qword [rbx + 0x31d8]
test rcx, rcx
je 0x1400098b9
mov rax, qword [0x140175650]
mov qword [rbx + 0x31d0], r12
test rax, rax
je 0x1400098ac
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x31d8], r12
mov rcx, qword [rbx + 0x31c8]
test rcx, rcx
je 0x1400098eb
mov rax, qword [0x140175650]
mov qword [rbx + 0x31c0], r12
test rax, rax
je 0x1400098de
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x31c8], r12
cmp qword [rbx + 0x31f8], r12
je 0x14000991b
mov rdi, qword [rbx + 0x31f8]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rdi, rax
je 0x140009914
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rbx + 0x31f8], r12
mov rcx, qword [rbx + 0x3208]
test rcx, rcx
je 0x14000994d
mov rax, qword [0x140175650]
mov qword [rbx + 0x3200], r12
test rax, rax
je 0x140009940
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3208], r12
mov byte [rbx], r12b
add rsp, 0x30
pop r12
pop rdi
pop rbx
ret