Function at 0x180006680
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 [0x1801d6ee0]
cmp qword [rdi + 0x90], 0
je 0x1800066c3
mov r8d, 0xe22
lea rdx, str.D:PANELES_CCOSMOS_IMIGUISCOSMOS_PANEL_LINDOImGui_CHAMSimgui.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 0x1800066e7
mov r8d, 0xe23
lea rdx, str.D:PANELES_CCOSMOS_IMIGUISCOSMOS_PANEL_LINDOImGui_CHAMSimgui.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 0x180006764
cmp byte [rdi + 1], 0
je 0x180006764
mov byte [rax + 0x18], 0
mov rbx, qword [rdi + 0x38]
test rbx, rbx
je 0x180006764
cmp byte [rbx + 0x18], 0
je 0x180006723
mov r8d, 0xb40
lea rdx, str.D:PANELES_CCOSMOS_IMIGUISCOSMOS_PANEL_LINDOImGui_CHAMSimgui_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.18002ff50
nop
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x18000673e
call fcn.180007f90
nop
mov rcx, qword [rbx + 0x70]
test rcx, rcx
je 0x18000674d
call fcn.180007f90
nop
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x18000675c
call fcn.180007f90
nop
mov rcx, rbx
call fcn.180007f90
xor r15d, r15d
mov qword [rdi + 0x38], r15
mov rcx, qword [rdi + 0x3da0]
test rcx, rcx
je 0x18000678a
mov qword [rdi + 0x3d98], r15
call fcn.180007f90
mov qword [rdi + 0x3da0], r15
cmp byte [rdi], r15b
je 0x180006d77
cmp byte [rdi + 0x5f58], r15b
je 0x1800067fb
mov rbx, qword [rdi + 0x20]
test rbx, rbx
je 0x1800067fb
mov rax, qword [0x1801d6ee0]
mov dword [rax + 0x5f5c], r15d
mov qword [rsp + 0x40], r15
lea rcx, [rsp + 0x40]
call fcn.18001e930
mov rsi, rax
lea rdx, [0x1800857fc]
mov rcx, rbx
call fcn.180003f50
mov rbx, rax
test rax, rax
je 0x1800067fb
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 0x180006830
cmp dword [rbx + 4], 6
jne 0x180006827
mov rax, qword [rbx + 0x10]
mov rdx, rbx
mov rcx, rdi
call rax
add rbx, 0x20
cmp rbx, rsi
jne 0x180006815
mov ebx, r15d
cmp dword [rdi + 0x3fd8], r15d
jle 0x18000686e
mov r14, r15
nop
mov rax, qword [rdi + 0x3fe0]
mov rsi, qword [r14 + rax]
test rsi, rsi
je 0x180006860
mov rcx, rsi
call fcn.180007250
mov rcx, rsi
call fcn.180007f90
inc ebx
add r14, 8
cmp ebx, dword [rdi + 0x3fd8]
jl 0x180006840
mov rcx, qword [rdi + 0x3fe0]
test rcx, rcx
je 0x18000688d
mov qword [rdi + 0x3fd8], r15
call fcn.180007f90
mov qword [rdi + 0x3fe0], r15
mov rcx, qword [rdi + 0x3ff0]
test rcx, rcx
je 0x1800068ac
mov qword [rdi + 0x3fe8], r15
call fcn.180007f90
mov qword [rdi + 0x3ff0], r15
mov rcx, qword [rdi + 0x4000]
test rcx, rcx
je 0x1800068cb
mov qword [rdi + 0x3ff8], r15
call fcn.180007f90
mov qword [rdi + 0x4000], r15
mov qword [rdi + 0x4038], r15
mov rcx, qword [rdi + 0x4010]
test rcx, rcx
je 0x1800068f1
mov qword [rdi + 0x4008], r15
call fcn.180007f90
mov qword [rdi + 0x4010], r15
mov rcx, qword [rdi + 0x4020]
test rcx, rcx
je 0x180006910
mov qword [rdi + 0x4018], r15
call fcn.180007f90
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.180001c10
mov rcx, qword [rdi + 0x4a98]
test rcx, rcx
je 0x180006965
mov qword [rdi + 0x4a90], r15
call fcn.180007f90
mov qword [rdi + 0x4a98], r15
mov rcx, qword [rdi + 0x4aa8]
test rcx, rcx
je 0x180006984
mov qword [rdi + 0x4aa0], r15
call fcn.180007f90
mov qword [rdi + 0x4aa8], r15
mov rcx, qword [rdi + 0x4ab8]
test rcx, rcx
je 0x1800069a3
mov qword [rdi + 0x4ab0], r15
call fcn.180007f90
mov qword [rdi + 0x4ab8], r15
mov rcx, qword [rdi + 0x4af8]
test rcx, rcx
je 0x1800069c2
mov qword [rdi + 0x4af0], r15
call fcn.180007f90
mov qword [rdi + 0x4af8], r15
mov rcx, qword [rdi + 0x4b08]
test rcx, rcx
je 0x1800069e1
mov qword [rdi + 0x4b00], r15
call fcn.180007f90
mov qword [rdi + 0x4b08], r15
mov rcx, qword [rdi + 0x4b18]
test rcx, rcx
je 0x180006a00
mov qword [rdi + 0x4b10], r15
call fcn.180007f90
mov qword [rdi + 0x4b18], r15
mov ebp, r15d
cmp dword [rdi + 0x4b28], r15d
jle 0x180006a8a
mov r14, r15
nop
mov rax, qword [rdi + 0x4b30]
mov rbx, qword [r14 + rax]
test rbx, rbx
je 0x180006a7c
mov rsi, qword [rbx + 0x38]
test rsi, rsi
je 0x180006a39
mov rcx, rsi
call fcn.180001b70
mov rcx, rsi
call fcn.180007f90
mov rsi, qword [rbx + 0x40]
test rsi, rsi
je 0x180006a53
mov rcx, rsi
call fcn.180001b70
mov rcx, rsi
call fcn.180007f90
nop
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x180006a65
call fcn.180007f90
nop
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x180006a74
call fcn.180007f90
nop
mov rcx, rbx
call fcn.180007f90
inc ebp
add r14, 8
cmp ebp, dword [rdi + 0x4b28]
jl 0x180006a10
mov rcx, qword [rdi + 0x4b30]
test rcx, rcx
je 0x180006aa9
mov qword [rdi + 0x4b28], r15
call fcn.180007f90
mov qword [rdi + 0x4b30], r15
lea rcx, [rdi + 0x4e88]
call fcn.18001fe50
mov rcx, qword [rdi + 0x4eb8]
test rcx, rcx
je 0x180006ad4
mov qword [rdi + 0x4eb0], r15
call fcn.180007f90
mov qword [rdi + 0x4eb8], r15
mov rcx, qword [rdi + 0x4ec8]
test rcx, rcx
je 0x180006af3
mov qword [rdi + 0x4ec0], r15
call fcn.180007f90
mov qword [rdi + 0x4ec8], r15
mov ebx, r15d
cmp dword [rdi + 0x4e08], r15d
jle 0x180006b35
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 0x180006b27
call fcn.180007f90
nop
inc ebx
add rsi, 0x28
cmp ebx, dword [rdi + 0x4e08]
jl 0x180006b10
mov rcx, qword [rdi + 0x4e10]
test rcx, rcx
je 0x180006b54
mov qword [rdi + 0x4e08], r15
call fcn.180007f90
mov qword [rdi + 0x4e10], r15
lea rcx, [rdi + 0x4e38]
call fcn.18001ffa0
mov esi, r15d
cmp dword [rdi + 0x4e28], r15d
jle 0x180006ba2
mov rbp, r15
nop
mov rbx, qword [rdi + 0x4e30]
lea rcx, [rbx + 0x18]
add rcx, rbp
call fcn.18002f190
nop
mov rcx, qword [rbx + rbp + 0x28]
test rcx, rcx
je 0x180006b94
call fcn.180007f90
nop
inc esi
add rbp, 0x78
cmp esi, dword [rdi + 0x4e28]
jl 0x180006b70
mov rcx, qword [rdi + 0x4e30]
test rcx, rcx
je 0x180006bc1
mov qword [rdi + 0x4e28], r15
call fcn.180007f90
mov qword [rdi + 0x4e30], r15
mov rcx, qword [rdi + 0x4e78]
test rcx, rcx
je 0x180006be0
mov qword [rdi + 0x4e70], r15
call fcn.180007f90
mov qword [rdi + 0x4e78], r15
mov rcx, qword [rdi + 0x5eb8]
test rcx, rcx
je 0x180006bff
mov qword [rdi + 0x5eb0], r15
call fcn.180007f90
mov qword [rdi + 0x5eb8], r15
mov rcx, qword [rdi + 0x5ec8]
test rcx, rcx
je 0x180006c1e
mov qword [rdi + 0x5ec0], r15
call fcn.180007f90
mov qword [rdi + 0x5ec8], r15
mov rcx, qword [rdi + 0x4f18]
test rcx, rcx
je 0x180006c3d
mov qword [rdi + 0x4f10], r15
call fcn.180007f90
mov qword [rdi + 0x4f18], r15
mov rcx, qword [rdi + 0x4f28]
test rcx, rcx
je 0x180006c5c
mov qword [rdi + 0x4f20], r15
call fcn.180007f90
mov qword [rdi + 0x4f28], r15
mov rcx, qword [rdi + 0x4f38]
test rcx, rcx
je 0x180006c7b
mov qword [rdi + 0x4f30], r15
call fcn.180007f90
mov qword [rdi + 0x4f38], r15
mov dword [rdi + 0x5d88], r15d
mov rcx, qword [rdi + 0x5d98]
test rcx, rcx
je 0x180006ca1
mov qword [rdi + 0x5d90], r15
call fcn.180007f90
mov qword [rdi + 0x5d98], r15
mov rcx, qword [rdi + 0x5f88]
test rcx, rcx
je 0x180006cc0
mov qword [rdi + 0x5f80], r15
call fcn.180007f90
mov qword [rdi + 0x5f88], r15
mov rcx, qword [rdi + 0x5f78]
test rcx, rcx
je 0x180006cdf
mov qword [rdi + 0x5f70], r15
call fcn.180007f90
mov qword [rdi + 0x5f78], r15
cmp qword [rdi + 0x6000], 0
je 0x180006d10
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 0x180006d09
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 0x180006d2f
mov qword [rdi + 0x6008], r15
call fcn.180007f90
mov qword [rdi + 0x6010], r15
mov rcx, qword [rdi + 0x6048]
test rcx, rcx
je 0x180006d4e
mov qword [rdi + 0x6040], r15
call fcn.180007f90
mov qword [rdi + 0x6048], r15
mov rcx, qword [rdi + 0x6058]
test rcx, rcx
je 0x180006d6d
mov qword [rdi + 0x6050], r15
call fcn.180007f90
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