Function at 0x14001db70
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 [0x140196dd0]
cmp qword [rdi + 0x90], 0
je 0x14001dbb3
mov r8d, 0xe8e
lea rdx, str.C:UsersShovenDesktopmenuimgui.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 0x14001dbd7
mov r8d, 0xe8f
lea rdx, str.C:UsersShovenDesktopmenuimgui.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 0x14001dc54
cmp byte [rdi + 1], 0
je 0x14001dc54
mov byte [rax + 0x18], 0
mov rbx, qword [rdi + 0x38]
test rbx, rbx
je 0x14001dc54
cmp byte [rbx + 0x18], 0
je 0x14001dc13
mov r8d, 0xc45
lea rdx, str.C:UsersShovenDesktopmenuimgui_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.140046c80
nop
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x14001dc2e
call fcn.14001f1b0
nop
mov rcx, qword [rbx + 0x70]
test rcx, rcx
je 0x14001dc3d
call fcn.14001f1b0
nop
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x14001dc4c
call fcn.14001f1b0
nop
mov rcx, rbx
call fcn.14001f1b0
xor r15d, r15d
mov qword [rdi + 0x38], r15
mov rcx, qword [rdi + 0x3da8]
test rcx, rcx
je 0x14001dc7a
mov qword [rdi + 0x3da0], r15
call fcn.14001f1b0
mov qword [rdi + 0x3da8], r15
cmp byte [rdi], r15b
je 0x14001e27a
cmp byte [rdi + 0x5f88], r15b
je 0x14001dceb
mov rbx, qword [rdi + 0x20]
test rbx, rbx
je 0x14001dceb
mov rax, qword [0x140196dd0]
mov dword [rax + 0x5f8c], r15d
mov qword [rsp + 0x40], r15
lea rcx, [rsp + 0x40]
call fcn.140036da0
mov rsi, rax
lea rdx, [0x1401555dc]
mov rcx, rbx
call fcn.14001b580
mov rbx, rax
test rax, rax
je 0x14001dceb
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 + 0x5fd8]
movsxd rsi, dword [rdi + 0x5fd0]
shl rsi, 5
add rsi, rbx
cmp rbx, rsi
je 0x14001dd20
cmp dword [rbx + 4], 6
jne 0x14001dd17
mov rax, qword [rbx + 0x10]
mov rdx, rbx
mov rcx, rdi
call rax
add rbx, 0x20
cmp rbx, rsi
jne 0x14001dd05
mov ebx, r15d
cmp dword [rdi + 0x3fe0], r15d
jle 0x14001dd5e
mov r14, r15
nop
mov rax, qword [rdi + 0x3fe8]
mov rsi, qword [r14 + rax]
test rsi, rsi
je 0x14001dd50
mov rcx, rsi
call fcn.14001e760
mov rcx, rsi
call fcn.14001f1b0
inc ebx
add r14, 8
cmp ebx, dword [rdi + 0x3fe0]
jl 0x14001dd30
mov rcx, qword [rdi + 0x3fe8]
test rcx, rcx
je 0x14001dd7d
mov qword [rdi + 0x3fe0], r15
call fcn.14001f1b0
mov qword [rdi + 0x3fe8], r15
mov rcx, qword [rdi + 0x3ff8]
test rcx, rcx
je 0x14001dd9c
mov qword [rdi + 0x3ff0], r15
call fcn.14001f1b0
mov qword [rdi + 0x3ff8], r15
mov rcx, qword [rdi + 0x4008]
test rcx, rcx
je 0x14001ddbb
mov qword [rdi + 0x4000], r15
call fcn.14001f1b0
mov qword [rdi + 0x4008], r15
mov qword [rdi + 0x4040], r15
mov rcx, qword [rdi + 0x4018]
test rcx, rcx
je 0x14001dde1
mov qword [rdi + 0x4010], r15
call fcn.14001f1b0
mov qword [rdi + 0x4018], r15
mov rcx, qword [rdi + 0x4028]
test rcx, rcx
je 0x14001de00
mov qword [rdi + 0x4020], r15
call fcn.14001f1b0
mov qword [rdi + 0x4028], r15
mov qword [rdi + 0x4b60], r15
mov qword [rdi + 0x4050], r15
mov qword [rdi + 0x4048], r15
mov qword [rdi + 0x40e0], r15
mov qword [rdi + 0x40c8], r15
mov qword [rdi + 0x4058], r15
lea rcx, [rdi + 0x4858]
call fcn.1400190b0
mov rcx, qword [rdi + 0x4ac8]
test rcx, rcx
je 0x14001de55
mov qword [rdi + 0x4ac0], r15
call fcn.14001f1b0
mov qword [rdi + 0x4ac8], r15
mov rcx, qword [rdi + 0x4ad8]
test rcx, rcx
je 0x14001de74
mov qword [rdi + 0x4ad0], r15
call fcn.14001f1b0
mov qword [rdi + 0x4ad8], r15
mov rcx, qword [rdi + 0x4ae8]
test rcx, rcx
je 0x14001de93
mov qword [rdi + 0x4ae0], r15
call fcn.14001f1b0
mov qword [rdi + 0x4ae8], r15
mov rcx, qword [rdi + 0x4b28]
test rcx, rcx
je 0x14001deb2
mov qword [rdi + 0x4b20], r15
call fcn.14001f1b0
mov qword [rdi + 0x4b28], r15
mov rcx, qword [rdi + 0x4b38]
test rcx, rcx
je 0x14001ded1
mov qword [rdi + 0x4b30], r15
call fcn.14001f1b0
mov qword [rdi + 0x4b38], r15
mov rcx, qword [rdi + 0x4b48]
test rcx, rcx
je 0x14001def0
mov qword [rdi + 0x4b40], r15
call fcn.14001f1b0
mov qword [rdi + 0x4b48], r15
mov ebp, r15d
cmp dword [rdi + 0x4b50], r15d
jle 0x14001df7a
mov r14, r15
nop
mov rax, qword [rdi + 0x4b58]
mov rbx, qword [r14 + rax]
test rbx, rbx
je 0x14001df6c
mov rsi, qword [rbx + 0x38]
test rsi, rsi
je 0x14001df29
mov rcx, rsi
call fcn.140018f30
mov rcx, rsi
call fcn.14001f1b0
mov rsi, qword [rbx + 0x40]
test rsi, rsi
je 0x14001df43
mov rcx, rsi
call fcn.140018f30
mov rcx, rsi
call fcn.14001f1b0
nop
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x14001df55
call fcn.14001f1b0
nop
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x14001df64
call fcn.14001f1b0
nop
mov rcx, rbx
call fcn.14001f1b0
inc ebp
add r14, 8
cmp ebp, dword [rdi + 0x4b50]
jl 0x14001df00
mov rcx, qword [rdi + 0x4b58]
test rcx, rcx
je 0x14001df99
mov qword [rdi + 0x4b50], r15
call fcn.14001f1b0
mov qword [rdi + 0x4b58], r15
lea rcx, [rdi + 0x4ea8]
call fcn.140038240
mov rcx, qword [rdi + 0x4ed8]
test rcx, rcx
je 0x14001dfc4
mov qword [rdi + 0x4ed0], r15
call fcn.14001f1b0
mov qword [rdi + 0x4ed8], r15
mov rcx, qword [rdi + 0x4ee8]
test rcx, rcx
je 0x14001dfe3
mov qword [rdi + 0x4ee0], r15
call fcn.14001f1b0
mov qword [rdi + 0x4ee8], r15
mov ebx, r15d
cmp dword [rdi + 0x4e28], r15d
jle 0x14001e025
mov rsi, r15
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rdi + 0x4e30]
mov rcx, qword [rsi + rax + 0x20]
test rcx, rcx
je 0x14001e017
call fcn.14001f1b0
nop
inc ebx
add rsi, 0x28
cmp ebx, dword [rdi + 0x4e28]
jl 0x14001e000
mov rcx, qword [rdi + 0x4e30]
test rcx, rcx
je 0x14001e044
mov qword [rdi + 0x4e28], r15
call fcn.14001f1b0
mov qword [rdi + 0x4e30], r15
lea rcx, [rdi + 0x4e58]
call fcn.140038390
mov ebp, r15d
cmp dword [rdi + 0x4e48], r15d
jle 0x14001e0a5
mov rsi, r15
nop
mov r14, qword [rdi + 0x4e50]
lea rbx, [rsi + r14]
lea rcx, [rbx + 0x28]
call fcn.140045de0
nop
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x14001e084
call fcn.14001f1b0
nop
mov rcx, qword [rsi + r14 + 0x18]
test rcx, rcx
je 0x14001e094
call fcn.14001f1b0
nop
inc ebp
add rsi, 0x88
cmp ebp, dword [rdi + 0x4e48]
jl 0x14001e060
mov rcx, qword [rdi + 0x4e50]
test rcx, rcx
je 0x14001e0c4
mov qword [rdi + 0x4e48], r15
call fcn.14001f1b0
mov qword [rdi + 0x4e50], r15
mov rcx, qword [rdi + 0x4e98]
test rcx, rcx
je 0x14001e0e3
mov qword [rdi + 0x4e90], r15
call fcn.14001f1b0
mov qword [rdi + 0x4e98], r15
mov rcx, qword [rdi + 0x5ee8]
test rcx, rcx
je 0x14001e102
mov qword [rdi + 0x5ee0], r15
call fcn.14001f1b0
mov qword [rdi + 0x5ee8], r15
mov rcx, qword [rdi + 0x5ef8]
test rcx, rcx
je 0x14001e121
mov qword [rdi + 0x5ef0], r15
call fcn.14001f1b0
mov qword [rdi + 0x5ef8], r15
mov rcx, qword [rdi + 0x4f38]
test rcx, rcx
je 0x14001e140
mov qword [rdi + 0x4f30], r15
call fcn.14001f1b0
mov qword [rdi + 0x4f38], r15
mov rcx, qword [rdi + 0x4f48]
test rcx, rcx
je 0x14001e15f
mov qword [rdi + 0x4f40], r15
call fcn.14001f1b0
mov qword [rdi + 0x4f48], r15
mov rcx, qword [rdi + 0x4f58]
test rcx, rcx
je 0x14001e17e
mov qword [rdi + 0x4f50], r15
call fcn.14001f1b0
mov qword [rdi + 0x4f58], r15
mov dword [rdi + 0x5db0], r15d
mov rcx, qword [rdi + 0x5dc0]
test rcx, rcx
je 0x14001e1a4
mov qword [rdi + 0x5db8], r15
call fcn.14001f1b0
mov qword [rdi + 0x5dc0], r15
mov rcx, qword [rdi + 0x5fb8]
test rcx, rcx
je 0x14001e1c3
mov qword [rdi + 0x5fb0], r15
call fcn.14001f1b0
mov qword [rdi + 0x5fb8], r15
mov rcx, qword [rdi + 0x5fa8]
test rcx, rcx
je 0x14001e1e2
mov qword [rdi + 0x5fa0], r15
call fcn.14001f1b0
mov qword [rdi + 0x5fa8], r15
cmp qword [rdi + 0x6030], 0
je 0x14001e213
mov rbx, qword [rdi + 0x6030]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rbx, rax
je 0x14001e20c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rdi + 0x6030], r15
mov rcx, qword [rdi + 0x6040]
test rcx, rcx
je 0x14001e232
mov qword [rdi + 0x6038], r15
call fcn.14001f1b0
mov qword [rdi + 0x6040], r15
mov rcx, qword [rdi + 0x6078]
test rcx, rcx
je 0x14001e251
mov qword [rdi + 0x6070], r15
call fcn.14001f1b0
mov qword [rdi + 0x6078], r15
mov rcx, qword [rdi + 0x6088]
test rcx, rcx
je 0x14001e270
mov qword [rdi + 0x6080], r15
call fcn.14001f1b0
mov qword [rdi + 0x6088], r15
mov dword [rdi + 0x6090], 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