Function at 0x140006090
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 [0x1401a6b50]
cmp qword [rdi + 0x90], 0
je 0x1400060d3
mov r8d, 0xe22
lea rdx, str.C:UsersdenisDesktopmenuimgui.cpp
lea rcx, str._g.IO.BackendPlatformUserData__0____Forgot_to_shutdown_Platform_backend__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp qword [rdi + 0x98], 0
je 0x1400060f7
mov r8d, 0xe23
lea rdx, str.C:UsersdenisDesktopmenuimgui.cpp
lea rcx, str._g.IO.BackendRendererUserData__0____Forgot_to_shutdown_Renderer_backend__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rdi + 0x38]
test rax, rax
je 0x140006174
cmp byte [rdi + 1], 0
je 0x140006174
mov byte [rax + 0x18], 0
mov rbx, qword [rdi + 0x38]
test rbx, rbx
je 0x140006174
cmp byte [rbx + 0x18], 0
je 0x140006133
mov r8d, 0xb40
lea rdx, str.C:UsersdenisDesktopmenuimgui_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.1400304d0
nop
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x14000614e
call fcn.140007aa0
nop
mov rcx, qword [rbx + 0x70]
test rcx, rcx
je 0x14000615d
call fcn.140007aa0
nop
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x14000616c
call fcn.140007aa0
nop
mov rcx, rbx
call fcn.140007aa0
xor r15d, r15d
mov qword [rdi + 0x38], r15
mov rcx, qword [rdi + 0x3da0]
test rcx, rcx
je 0x14000619a
mov qword [rdi + 0x3d98], r15
call fcn.140007aa0
mov qword [rdi + 0x3da0], r15
cmp byte [rdi], r15b
je 0x140006787
cmp byte [rdi + 0x5f58], r15b
je 0x14000620b
mov rbx, qword [rdi + 0x20]
test rbx, rbx
je 0x14000620b
mov rax, qword [0x1401a6b50]
mov dword [rax + 0x5f5c], r15d
mov qword [rsp + 0x40], r15
lea rcx, [rsp + 0x40]
call fcn.14001f040
mov rsi, rax
lea rdx, [0x1400ed45c]
mov rcx, rbx
call fcn.1400038e0
mov rbx, rax
test rax, rax
je 0x14000620b
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 + 0x5fa8]
movsxd rsi, dword [rdi + 0x5fa0]
shl rsi, 5
add rsi, rbx
cmp rbx, rsi
je 0x140006240
cmp dword [rbx + 4], 6
jne 0x140006237
mov rax, qword [rbx + 0x10]
mov rdx, rbx
mov rcx, rdi
call rax
add rbx, 0x20
cmp rbx, rsi
jne 0x140006225
mov ebx, r15d
cmp dword [rdi + 0x3fd8], r15d
jle 0x14000627e
mov r14, r15
nop
mov rax, qword [rdi + 0x3fe0]
mov rsi, qword [r14 + rax]
test rsi, rsi
je 0x140006270
mov rcx, rsi
call fcn.140006c60
mov rcx, rsi
call fcn.140007aa0
inc ebx
add r14, 8
cmp ebx, dword [rdi + 0x3fd8]
jl 0x140006250
mov rcx, qword [rdi + 0x3fe0]
test rcx, rcx
je 0x14000629d
mov qword [rdi + 0x3fd8], r15
call fcn.140007aa0
mov qword [rdi + 0x3fe0], r15
mov rcx, qword [rdi + 0x3ff0]
test rcx, rcx
je 0x1400062bc
mov qword [rdi + 0x3fe8], r15
call fcn.140007aa0
mov qword [rdi + 0x3ff0], r15
mov rcx, qword [rdi + 0x4000]
test rcx, rcx
je 0x1400062db
mov qword [rdi + 0x3ff8], r15
call fcn.140007aa0
mov qword [rdi + 0x4000], r15
mov qword [rdi + 0x4038], r15
mov rcx, qword [rdi + 0x4010]
test rcx, rcx
je 0x140006301
mov qword [rdi + 0x4008], r15
call fcn.140007aa0
mov qword [rdi + 0x4010], r15
mov rcx, qword [rdi + 0x4020]
test rcx, rcx
je 0x140006320
mov qword [rdi + 0x4018], r15
call fcn.140007aa0
mov qword [rdi + 0x4020], r15
mov qword [rdi + 0x4b38], 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 + 0x4830]
call fcn.1400015a0
mov rcx, qword [rdi + 0x4a98]
test rcx, rcx
je 0x140006375
mov qword [rdi + 0x4a90], r15
call fcn.140007aa0
mov qword [rdi + 0x4a98], r15
mov rcx, qword [rdi + 0x4aa8]
test rcx, rcx
je 0x140006394
mov qword [rdi + 0x4aa0], r15
call fcn.140007aa0
mov qword [rdi + 0x4aa8], r15
mov rcx, qword [rdi + 0x4ab8]
test rcx, rcx
je 0x1400063b3
mov qword [rdi + 0x4ab0], r15
call fcn.140007aa0
mov qword [rdi + 0x4ab8], r15
mov rcx, qword [rdi + 0x4af8]
test rcx, rcx
je 0x1400063d2
mov qword [rdi + 0x4af0], r15
call fcn.140007aa0
mov qword [rdi + 0x4af8], r15
mov rcx, qword [rdi + 0x4b08]
test rcx, rcx
je 0x1400063f1
mov qword [rdi + 0x4b00], r15
call fcn.140007aa0
mov qword [rdi + 0x4b08], r15
mov rcx, qword [rdi + 0x4b18]
test rcx, rcx
je 0x140006410
mov qword [rdi + 0x4b10], r15
call fcn.140007aa0
mov qword [rdi + 0x4b18], r15
mov ebp, r15d
cmp dword [rdi + 0x4b28], r15d
jle 0x14000649a
mov r14, r15
nop
mov rax, qword [rdi + 0x4b30]
mov rbx, qword [r14 + rax]
test rbx, rbx
je 0x14000648c
mov rsi, qword [rbx + 0x38]
test rsi, rsi
je 0x140006449
mov rcx, rsi
call fcn.140001500
mov rcx, rsi
call fcn.140007aa0
mov rsi, qword [rbx + 0x40]
test rsi, rsi
je 0x140006463
mov rcx, rsi
call fcn.140001500
mov rcx, rsi
call fcn.140007aa0
nop
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x140006475
call fcn.140007aa0
nop
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x140006484
call fcn.140007aa0
nop
mov rcx, rbx
call fcn.140007aa0
inc ebp
add r14, 8
cmp ebp, dword [rdi + 0x4b28]
jl 0x140006420
mov rcx, qword [rdi + 0x4b30]
test rcx, rcx
je 0x1400064b9
mov qword [rdi + 0x4b28], r15
call fcn.140007aa0
mov qword [rdi + 0x4b30], r15
lea rcx, [rdi + 0x4e88]
call fcn.140020560
mov rcx, qword [rdi + 0x4eb8]
test rcx, rcx
je 0x1400064e4
mov qword [rdi + 0x4eb0], r15
call fcn.140007aa0
mov qword [rdi + 0x4eb8], r15
mov rcx, qword [rdi + 0x4ec8]
test rcx, rcx
je 0x140006503
mov qword [rdi + 0x4ec0], r15
call fcn.140007aa0
mov qword [rdi + 0x4ec8], r15
mov ebx, r15d
cmp dword [rdi + 0x4e08], r15d
jle 0x140006545
mov rsi, r15
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rdi + 0x4e10]
mov rcx, qword [rsi + rax + 0x20]
test rcx, rcx
je 0x140006537
call fcn.140007aa0
nop
inc ebx
add rsi, 0x28
cmp ebx, dword [rdi + 0x4e08]
jl 0x140006520
mov rcx, qword [rdi + 0x4e10]
test rcx, rcx
je 0x140006564
mov qword [rdi + 0x4e08], r15
call fcn.140007aa0
mov qword [rdi + 0x4e10], r15
lea rcx, [rdi + 0x4e38]
call fcn.1400206b0
mov esi, r15d
cmp dword [rdi + 0x4e28], r15d
jle 0x1400065b2
mov rbp, r15
nop
mov rbx, qword [rdi + 0x4e30]
lea rcx, [rbx + 0x18]
add rcx, rbp
call fcn.14002f710
nop
mov rcx, qword [rbx + rbp + 0x28]
test rcx, rcx
je 0x1400065a4
call fcn.140007aa0
nop
inc esi
add rbp, 0x78
cmp esi, dword [rdi + 0x4e28]
jl 0x140006580
mov rcx, qword [rdi + 0x4e30]
test rcx, rcx
je 0x1400065d1
mov qword [rdi + 0x4e28], r15
call fcn.140007aa0
mov qword [rdi + 0x4e30], r15
mov rcx, qword [rdi + 0x4e78]
test rcx, rcx
je 0x1400065f0
mov qword [rdi + 0x4e70], r15
call fcn.140007aa0
mov qword [rdi + 0x4e78], r15
mov rcx, qword [rdi + 0x5eb8]
test rcx, rcx
je 0x14000660f
mov qword [rdi + 0x5eb0], r15
call fcn.140007aa0
mov qword [rdi + 0x5eb8], r15
mov rcx, qword [rdi + 0x5ec8]
test rcx, rcx
je 0x14000662e
mov qword [rdi + 0x5ec0], r15
call fcn.140007aa0
mov qword [rdi + 0x5ec8], r15
mov rcx, qword [rdi + 0x4f18]
test rcx, rcx
je 0x14000664d
mov qword [rdi + 0x4f10], r15
call fcn.140007aa0
mov qword [rdi + 0x4f18], r15
mov rcx, qword [rdi + 0x4f28]
test rcx, rcx
je 0x14000666c
mov qword [rdi + 0x4f20], r15
call fcn.140007aa0
mov qword [rdi + 0x4f28], r15
mov rcx, qword [rdi + 0x4f38]
test rcx, rcx
je 0x14000668b
mov qword [rdi + 0x4f30], r15
call fcn.140007aa0
mov qword [rdi + 0x4f38], r15
mov dword [rdi + 0x5d88], r15d
mov rcx, qword [rdi + 0x5d98]
test rcx, rcx
je 0x1400066b1
mov qword [rdi + 0x5d90], r15
call fcn.140007aa0
mov qword [rdi + 0x5d98], r15
mov rcx, qword [rdi + 0x5f88]
test rcx, rcx
je 0x1400066d0
mov qword [rdi + 0x5f80], r15
call fcn.140007aa0
mov qword [rdi + 0x5f88], r15
mov rcx, qword [rdi + 0x5f78]
test rcx, rcx
je 0x1400066ef
mov qword [rdi + 0x5f70], r15
call fcn.140007aa0
mov qword [rdi + 0x5f78], r15
cmp qword [rdi + 0x6000], 0
je 0x140006720
mov rbx, qword [rdi + 0x6000]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rbx, rax
je 0x140006719
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rdi + 0x6000], r15
mov rcx, qword [rdi + 0x6010]
test rcx, rcx
je 0x14000673f
mov qword [rdi + 0x6008], r15
call fcn.140007aa0
mov qword [rdi + 0x6010], r15
mov rcx, qword [rdi + 0x6048]
test rcx, rcx
je 0x14000675e
mov qword [rdi + 0x6040], r15
call fcn.140007aa0
mov qword [rdi + 0x6048], r15
mov rcx, qword [rdi + 0x6058]
test rcx, rcx
je 0x14000677d
mov qword [rdi + 0x6050], r15
call fcn.140007aa0
mov qword [rdi + 0x6058], r15
mov dword [rdi + 0x6060], 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