Function at 0x140005510
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, qword [0x14010fb48]
mov rax, qword [rdi + 0x38]
test rax, rax
je 0x1400055ac
cmp byte [rdi + 1], 0
je 0x1400055ac
mov byte [rax + 0x18], 0
mov rbx, qword [rdi + 0x38]
test rbx, rbx
je 0x1400055ac
cmp byte [rbx + 0x18], 0
je 0x14000556b
mov r8d, 0xb79
lea rdx, str.C:UsersJunior_CairesDesktopimgui_phobia_2.0imgui_phobia_2.0imgui_draw.cpp
lea rcx, str._Locked___Cannot_modify_a_locked_ImFontAtlas_between_NewFrame___and_EndFrame_Render____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, rbx
call fcn.14002b900
nop
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x140005586
call fcn.140006de0
nop
mov rcx, qword [rbx + 0x70]
test rcx, rcx
je 0x140005595
call fcn.140006de0
nop
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x1400055a4
call fcn.140006de0
nop
mov rcx, rbx
call fcn.140006de0
xor r15d, r15d
mov qword [rdi + 0x38], r15
mov rcx, qword [rdi + 0x3da0]
test rcx, rcx
je 0x1400055d2
mov qword [rdi + 0x3d98], r15
call fcn.140006de0
mov qword [rdi + 0x3da0], r15
cmp byte [rdi], r15b
je 0x140005bc7
cmp byte [rdi + 0x5f18], r15b
je 0x140005643
mov rbx, qword [rdi + 0x20]
test rbx, rbx
je 0x140005643
mov rax, qword [0x14010fb48]
mov dword [rax + 0x5f1c], r15d
mov qword [rsp + 0x40], r15
lea rcx, [rsp + 0x40]
call fcn.14001be70
mov rsi, rax
lea rdx, [0x1400cd91c]
mov rcx, rbx
call fcn.1400032e0
mov rbx, rax
test rax, rax
je 0x140005643
mov r9, rax
mov r8, qword [rsp + 0x40]
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]
mov rbx, qword [rdi + 0x5f68]
movsxd rsi, dword [rdi + 0x5f60]
shl rsi, 5
add rsi, rbx
cmp rbx, rsi
je 0x14000567b
nop dword [rax]
cmp dword [rbx + 4], 6
jne 0x140005672
mov rax, qword [rbx + 0x10]
mov rdx, rbx
mov rcx, rdi
call rax
add rbx, 0x20
cmp rbx, rsi
jne 0x140005660
mov ebx, r15d
cmp dword [rdi + 0x3fd8], r15d
jle 0x1400056be
mov r14, r15
nop word [rax + rax]
mov rax, qword [rdi + 0x3fe0]
mov rsi, qword [r14 + rax]
test rsi, rsi
je 0x1400056b0
mov rcx, rsi
call fcn.1400060a0
mov rcx, rsi
call fcn.140006de0
inc ebx
add r14, 8
cmp ebx, dword [rdi + 0x3fd8]
jl 0x140005690
mov rcx, qword [rdi + 0x3fe0]
test rcx, rcx
je 0x1400056dd
mov qword [rdi + 0x3fd8], r15
call fcn.140006de0
mov qword [rdi + 0x3fe0], r15
mov rcx, qword [rdi + 0x3ff0]
test rcx, rcx
je 0x1400056fc
mov qword [rdi + 0x3fe8], r15
call fcn.140006de0
mov qword [rdi + 0x3ff0], r15
mov rcx, qword [rdi + 0x4000]
test rcx, rcx
je 0x14000571b
mov qword [rdi + 0x3ff8], r15
call fcn.140006de0
mov qword [rdi + 0x4000], r15
mov qword [rdi + 0x4038], r15
mov rcx, qword [rdi + 0x4010]
test rcx, rcx
je 0x140005741
mov qword [rdi + 0x4008], r15
call fcn.140006de0
mov qword [rdi + 0x4010], r15
mov rcx, qword [rdi + 0x4020]
test rcx, rcx
je 0x140005760
mov qword [rdi + 0x4018], r15
call fcn.140006de0
mov qword [rdi + 0x4020], r15
mov qword [rdi + 0x4b08], r15
mov qword [rdi + 0x4048], r15
mov qword [rdi + 0x4040], r15
mov qword [rdi + 0x40d0], r15
mov qword [rdi + 0x40b8], r15
mov qword [rdi + 0x4050], r15
lea rcx, [rdi + 0x4818]
call fcn.140001270
mov rcx, qword [rdi + 0x4a68]
test rcx, rcx
je 0x1400057b5
mov qword [rdi + 0x4a60], r15
call fcn.140006de0
mov qword [rdi + 0x4a68], r15
mov rcx, qword [rdi + 0x4a78]
test rcx, rcx
je 0x1400057d4
mov qword [rdi + 0x4a70], r15
call fcn.140006de0
mov qword [rdi + 0x4a78], r15
mov rcx, qword [rdi + 0x4a88]
test rcx, rcx
je 0x1400057f3
mov qword [rdi + 0x4a80], r15
call fcn.140006de0
mov qword [rdi + 0x4a88], r15
mov rcx, qword [rdi + 0x4ac8]
test rcx, rcx
je 0x140005812
mov qword [rdi + 0x4ac0], r15
call fcn.140006de0
mov qword [rdi + 0x4ac8], r15
mov rcx, qword [rdi + 0x4ad8]
test rcx, rcx
je 0x140005831
mov qword [rdi + 0x4ad0], r15
call fcn.140006de0
mov qword [rdi + 0x4ad8], r15
mov rcx, qword [rdi + 0x4ae8]
test rcx, rcx
je 0x140005850
mov qword [rdi + 0x4ae0], r15
call fcn.140006de0
mov qword [rdi + 0x4ae8], r15
mov ebp, r15d
cmp dword [rdi + 0x4af8], r15d
jle 0x1400058da
mov r14, r15
nop
mov rax, qword [rdi + 0x4b00]
mov rbx, qword [r14 + rax]
test rbx, rbx
je 0x1400058cc
mov rsi, qword [rbx + 0x38]
test rsi, rsi
je 0x140005889
mov rcx, rsi
call fcn.1400010f0
mov rcx, rsi
call fcn.140006de0
mov rsi, qword [rbx + 0x40]
test rsi, rsi
je 0x1400058a3
mov rcx, rsi
call fcn.1400010f0
mov rcx, rsi
call fcn.140006de0
nop
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x1400058b5
call fcn.140006de0
nop
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x1400058c4
call fcn.140006de0
nop
mov rcx, rbx
call fcn.140006de0
inc ebp
add r14, 8
cmp ebp, dword [rdi + 0x4af8]
jl 0x140005860
mov rcx, qword [rdi + 0x4b00]
test rcx, rcx
je 0x1400058f9
mov qword [rdi + 0x4af8], r15
call fcn.140006de0
mov qword [rdi + 0x4b00], r15
lea rcx, [rdi + 0x4e48]
call fcn.14001d380
mov rcx, qword [rdi + 0x4e78]
test rcx, rcx
je 0x140005924
mov qword [rdi + 0x4e70], r15
call fcn.140006de0
mov qword [rdi + 0x4e78], r15
mov rcx, qword [rdi + 0x4e88]
test rcx, rcx
je 0x140005943
mov qword [rdi + 0x4e80], r15
call fcn.140006de0
mov qword [rdi + 0x4e88], r15
mov ebx, r15d
cmp dword [rdi + 0x4dc8], r15d
jle 0x140005985
mov rsi, r15
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rdi + 0x4dd0]
mov rcx, qword [rsi + rax + 0x20]
test rcx, rcx
je 0x140005977
call fcn.140006de0
nop
inc ebx
add rsi, 0x28
cmp ebx, dword [rdi + 0x4dc8]
jl 0x140005960
mov rcx, qword [rdi + 0x4dd0]
test rcx, rcx
je 0x1400059a4
mov qword [rdi + 0x4dc8], r15
call fcn.140006de0
mov qword [rdi + 0x4dd0], r15
lea rcx, [rdi + 0x4df8]
call fcn.14001d4d0
mov esi, r15d
cmp dword [rdi + 0x4de8], r15d
jle 0x1400059f2
mov rbp, r15
nop
mov rbx, qword [rdi + 0x4df0]
lea rcx, [rbx + 0x18]
add rcx, rbp
call fcn.14002afc0
nop
mov rcx, qword [rbx + rbp + 0x28]
test rcx, rcx
je 0x1400059e4
call fcn.140006de0
nop
inc esi
add rbp, 0x78
cmp esi, dword [rdi + 0x4de8]
jl 0x1400059c0
mov rcx, qword [rdi + 0x4df0]
test rcx, rcx
je 0x140005a11
mov qword [rdi + 0x4de8], r15
call fcn.140006de0
mov qword [rdi + 0x4df0], r15
mov rcx, qword [rdi + 0x4e38]
test rcx, rcx
je 0x140005a30
mov qword [rdi + 0x4e30], r15
call fcn.140006de0
mov qword [rdi + 0x4e38], r15
mov rcx, qword [rdi + 0x5e78]
test rcx, rcx
je 0x140005a4f
mov qword [rdi + 0x5e70], r15
call fcn.140006de0
mov qword [rdi + 0x5e78], r15
mov rcx, qword [rdi + 0x5e88]
test rcx, rcx
je 0x140005a6e
mov qword [rdi + 0x5e80], r15
call fcn.140006de0
mov qword [rdi + 0x5e88], r15
mov rcx, qword [rdi + 0x4ed8]
test rcx, rcx
je 0x140005a8d
mov qword [rdi + 0x4ed0], r15
call fcn.140006de0
mov qword [rdi + 0x4ed8], r15
mov rcx, qword [rdi + 0x4ee8]
test rcx, rcx
je 0x140005aac
mov qword [rdi + 0x4ee0], r15
call fcn.140006de0
mov qword [rdi + 0x4ee8], r15
mov rcx, qword [rdi + 0x4ef8]
test rcx, rcx
je 0x140005acb
mov qword [rdi + 0x4ef0], r15
call fcn.140006de0
mov qword [rdi + 0x4ef8], r15
mov dword [rdi + 0x5d48], r15d
mov rcx, qword [rdi + 0x5d58]
test rcx, rcx
je 0x140005af1
mov qword [rdi + 0x5d50], r15
call fcn.140006de0
mov qword [rdi + 0x5d58], r15
mov rcx, qword [rdi + 0x5f48]
test rcx, rcx
je 0x140005b10
mov qword [rdi + 0x5f40], r15
call fcn.140006de0
mov qword [rdi + 0x5f48], r15
mov rcx, qword [rdi + 0x5f38]
test rcx, rcx
je 0x140005b2f
mov qword [rdi + 0x5f30], r15
call fcn.140006de0
mov qword [rdi + 0x5f38], r15
cmp qword [rdi + 0x5fc0], 0
je 0x140005b60
mov rbx, qword [rdi + 0x5fc0]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rbx, rax
je 0x140005b59
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rdi + 0x5fc0], r15
mov rcx, qword [rdi + 0x5fd0]
test rcx, rcx
je 0x140005b7f
mov qword [rdi + 0x5fc8], r15
call fcn.140006de0
mov qword [rdi + 0x5fd0], r15
mov rcx, qword [rdi + 0x6008]
test rcx, rcx
je 0x140005b9e
mov qword [rdi + 0x6000], r15
call fcn.140006de0
mov qword [rdi + 0x6008], r15
mov rcx, qword [rdi + 0x6018]
test rcx, rcx
je 0x140005bbd
mov qword [rdi + 0x6010], r15
call fcn.140006de0
mov qword [rdi + 0x6018], r15
mov dword [rdi + 0x6020], r15d
mov byte [rdi], 0
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret