Function at 0x14006c900
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, qword [0x1402b9ae0]
cmp qword [rbx + 0x90], 0
je 0x14006c941
mov r8d, 0xe8e
lea rdx, str.Z:projectsmenu_thirdpartyimguiimgui.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 [rbx + 0x98], 0
je 0x14006c965
mov r8d, 0xe8f
lea rdx, str.Z:projectsmenu_thirdpartyimguiimgui.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 [rbx + 0x38]
xor r12d, r12d
test rax, rax
je 0x14006ca49
cmp byte [rbx + 1], r12b
je 0x14006ca49
mov byte [rax + 0x18], r12b
mov rdi, qword [rbx + 0x38]
test rdi, rdi
je 0x14006ca49
cmp byte [rdi + 0x18], r12b
je 0x14006c9b0
mov r8d, 0xc45
lea rdx, str.Z:projectsmenu_thirdpartyimguiimgui_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, rdi
call fcn.140090510
lea rcx, [rdi + 0x78]
call fcn.1400553f0
lea rcx, [rdi + 0x68]
call fcn.1400553f0
lea rcx, [rdi + 0x58]
call fcn.1400553f0
nop
mov r8, qword [0x1402b9ae0]
test r8, r8
je 0x14006ca40
mov r9d, dword [r8 + 0x3f98]
movsx rdx, word [r8 + 0x6110]
lea rcx, [r8 + 0x6114]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14006ca35
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6110], cx
movsx rax, cx
lea rcx, [r8 + 0x6114]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r12d
inc word [rcx + 6]
inc dword [r8 + 0x610c]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x38], r12
lea rcx, [rbx + 0x3da0]
call fcn.140066b50
cmp byte [rbx], 0
je 0x14006d2c9
cmp byte [rbx + 0x5f88], 0
je 0x14006caca
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x14006caca
mov rax, qword [0x1402b9ae0]
mov dword [rax + 0x5f8c], r12d
mov qword [rsp + 0x50], r12
lea rcx, [rsp + 0x50]
call fcn.140085770
mov rsi, rax
lea rdx, [0x140167b7c]
mov rcx, rdi
call fcn.140069680
mov rdi, rax
test rax, rax
je 0x14006caca
mov r9, rax
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, rsi
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]
mov rdi, qword [rbx + 0x5fd8]
movsxd rsi, dword [rbx + 0x5fd0]
shl rsi, 5
add rsi, rdi
cmp rdi, rsi
je 0x14006cafc
cmp dword [rdi + 4], 6
jne 0x14006caf3
mov rdx, rdi
mov rcx, rbx
call qword [rdi + 0x10]
add rdi, 0x20
cmp rdi, rsi
jne 0x14006cae4
mov ebp, r12d
cmp dword [rbx + 0x3fe0], r12d
jle 0x14006cbad
mov r14, r12
nop
mov rax, qword [rbx + 0x3fe8]
mov rsi, qword [r14 + rax]
test rsi, rsi
je 0x14006cb9b
mov rcx, rsi
call fcn.14006d910
mov rdi, qword [0x1402b9ae0]
test rdi, rdi
je 0x14006cb92
mov r8d, dword [rdi + 0x3f98]
movsx rdx, word [rdi + 0x6110]
lea rcx, [rdi + 0x6114]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r8d
je 0x14006cb88
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [rdi + 0x6110], cx
movsx rax, cx
lea rcx, [rdi + 0x6114]
lea rcx, [rcx + rax*8]
mov dword [rcx], r8d
mov dword [rcx + 4], r12d
inc word [rcx + 6]
inc dword [rdi + 0x610c]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
inc ebp
add r14, 8
cmp ebp, dword [rbx + 0x3fe0]
jl 0x14006cb10
lea rcx, [rbx + 0x3fe0]
call fcn.140066b50
lea rcx, [rbx + 0x3ff0]
call fcn.140066b50
lea rcx, [rbx + 0x4000]
call fcn.140066b50
mov qword [rbx + 0x4040], r12
mov r8, qword [rbx + 0x4018]
test r8, r8
je 0x14006cc69
mov qword [rbx + 0x4010], r12
mov rdi, qword [0x1402b9ae0]
test rdi, rdi
je 0x14006cc59
mov r9d, dword [rdi + 0x3f98]
movsx rdx, word [rdi + 0x6110]
lea rcx, [rdi + 0x6114]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14006cc4f
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [rdi + 0x6110], cx
movsx rax, cx
lea rcx, [rdi + 0x6114]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r12d
inc word [rcx + 6]
inc dword [rdi + 0x610c]
mov rcx, r8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x4018], r12
lea rcx, [rbx + 0x4020]
call fcn.140066b50
mov qword [rbx + 0x4b60], r12
mov qword [rbx + 0x4050], r12
mov qword [rbx + 0x4048], r12
mov qword [rbx + 0x40e0], r12
mov qword [rbx + 0x40c8], r12
mov qword [rbx + 0x4058], r12
mov eax, 0xffffffff
lea rdi, [rbx + 0x4858]
movsx rax, ax
mov ecx, 0x9a
rep stosw word [rdi], ax
lea rcx, [rbx + 0x4990]
call fcn.140066b50
lea rcx, [rbx + 0x49a0]
call fcn.140066b50
mov r8, qword [rbx + 0x4ac8]
test r8, r8
je 0x14006cd60
mov qword [rbx + 0x4ac0], r12
mov rdi, qword [0x1402b9ae0]
test rdi, rdi
je 0x14006cd50
mov r9d, dword [rdi + 0x3f98]
movsx rdx, word [rdi + 0x6110]
lea rcx, [rdi + 0x6114]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14006cd46
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [rdi + 0x6110], cx
movsx rax, cx
lea rcx, [rdi + 0x6114]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r12d
inc word [rcx + 6]
inc dword [rdi + 0x610c]
mov rcx, r8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x4ac8], r12
mov r8, qword [rbx + 0x4ad8]
test r8, r8
je 0x14006cdf1
mov qword [rbx + 0x4ad0], r12
mov rdi, qword [0x1402b9ae0]
test rdi, rdi
je 0x14006cde1
mov r9d, dword [rdi + 0x3f98]
movsx rdx, word [rdi + 0x6110]
lea rcx, [rdi + 0x6114]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14006cdd7
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [rdi + 0x6110], cx
movsx rax, cx
lea rcx, [rdi + 0x6114]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r12d
inc word [rcx + 6]
inc dword [rdi + 0x610c]
mov rcx, r8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x4ad8], r12
lea rcx, [rbx + 0x4ae0]
call fcn.140066b50
lea rcx, [rbx + 0x4b20]
call fcn.140066b50
lea rcx, [rbx + 0x4b30]
call fcn.140066b50
mov r8, qword [rbx + 0x4b48]
test r8, r8
je 0x14006cea6
mov qword [rbx + 0x4b40], r12
mov rdi, qword [0x1402b9ae0]
test rdi, rdi
je 0x14006ce96
mov r9d, dword [rdi + 0x3f98]
movsx rdx, word [rdi + 0x6110]
lea rcx, [rdi + 0x6114]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14006ce8c
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [rdi + 0x6110], cx
movsx rax, cx
lea rcx, [rdi + 0x6114]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r12d
inc word [rcx + 6]
inc dword [rdi + 0x610c]
mov rcx, r8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x4b48], r12
lea rcx, [rbx + 0x4b50]
call fcn.140087030
lea rcx, [rbx + 0x4ea8]
call fcn.140086bb0
mov r8, qword [rbx + 0x4ed8]
test r8, r8
je 0x14006cf4f
mov qword [rbx + 0x4ed0], r12
mov rdi, qword [0x1402b9ae0]
test rdi, rdi
je 0x14006cf3f
mov r9d, dword [rdi + 0x3f98]
movsx rdx, word [rdi + 0x6110]
lea rcx, [rdi + 0x6114]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14006cf35
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [rdi + 0x6110], cx
movsx rax, cx
lea rcx, [rdi + 0x6114]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r12d
inc word [rcx + 6]
inc dword [rdi + 0x610c]
mov rcx, r8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x4ed8], r12
mov r8, qword [rbx + 0x4ee8]
test r8, r8
je 0x14006cfe0
mov qword [rbx + 0x4ee0], r12
mov rdi, qword [0x1402b9ae0]
test rdi, rdi
je 0x14006cfd0
mov r9d, dword [rdi + 0x3f98]
movsx rdx, word [rdi + 0x6110]
lea rcx, [rdi + 0x6114]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14006cfc6
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [rdi + 0x6110], cx
movsx rax, cx
lea rcx, [rdi + 0x6114]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r12d
inc word [rcx + 6]
inc dword [rdi + 0x610c]
mov rcx, r8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x4ee8], r12
mov edi, r12d
cmp dword [rbx + 0x4e28], r12d
jle 0x14006d011
nop dword [rax]
movsxd rax, edi
lea rcx, [rax + rax*4]
mov rax, qword [rbx + 0x4e30]
lea rcx, [rax + rcx*8]
call fcn.14006a3f0
inc edi
cmp edi, dword [rbx + 0x4e28]
jl 0x14006cff0
mov r8, qword [rbx + 0x4e30]
test r8, r8
je 0x14006d0a2
mov qword [rbx + 0x4e28], r12
mov rdi, qword [0x1402b9ae0]
test rdi, rdi
je 0x14006d092
mov r9d, dword [rdi + 0x3f98]
movsx rdx, word [rdi + 0x6110]
lea rcx, [rdi + 0x6114]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14006d088
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [rdi + 0x6110], cx
movsx rax, cx
lea rcx, [rdi + 0x6114]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r12d
inc word [rcx + 6]
inc dword [rdi + 0x610c]
mov rcx, r8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x4e30], r12
lea rcx, [rbx + 0x4e58]
call fcn.140086d60
mov edi, r12d
cmp dword [rbx + 0x4e48], r12d
jle 0x14006d0e0
nop word [rax + rax]
movsxd rax, edi
imul rcx, rax, 0x88
add rcx, qword [rbx + 0x4e50]
call fcn.1400879e0
inc edi
cmp edi, dword [rbx + 0x4e48]
jl 0x14006d0c0
mov r8, qword [rbx + 0x4e50]
test r8, r8
je 0x14006d171
mov qword [rbx + 0x4e48], r12
mov rdi, qword [0x1402b9ae0]
test rdi, rdi
je 0x14006d161
mov r9d, dword [rdi + 0x3f98]
movsx rdx, word [rdi + 0x6110]
lea rcx, [rdi + 0x6114]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14006d157
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [rdi + 0x6110], cx
movsx rax, cx
lea rcx, [rdi + 0x6114]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r12d
inc word [rcx + 6]
inc dword [rdi + 0x610c]
mov rcx, r8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x4e50], r12
lea rcx, [rbx + 0x4e90]
call fcn.140066b50
lea rcx, [rbx + 0x5ee0]
call fcn.140066b50
lea rcx, [rbx + 0x5ef0]
call fcn.140066b50
lea rcx, [rbx + 0x4f30]
call fcn.140066b50
lea rcx, [rbx + 0x4f40]
call fcn.140066b50
lea rcx, [rbx + 0x4f50]
call fcn.140066b50
mov dword [rbx + 0x5db0], r12d
lea rcx, [rbx + 0x5db8]
call fcn.140066b50
lea rcx, [rbx + 0x5fb0]
call fcn.140066b50
mov r8, qword [rbx + 0x5fa8]
test r8, r8
je 0x14006d26a
mov qword [rbx + 0x5fa0], r12
mov rdi, qword [0x1402b9ae0]
test rdi, rdi
je 0x14006d25a
mov r9d, dword [rdi + 0x3f98]
movsx r10, word [rdi + 0x6110]
lea rdx, [rdi + 0x6114]
lea rdx, [rdx + r10*8]
cmp dword [rdx], r9d
je 0x14006d250
lea ecx, [r10 + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [rdi + 0x6110], cx
movsx rax, cx
lea rdx, [rdi + 0x6114]
lea rdx, [rdx + rax*8]
mov dword [rdx], r9d
mov dword [rdx + 4], r12d
inc word [rdx + 6]
inc dword [rdi + 0x610c]
mov rcx, r8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x5fa8], r12
cmp qword [rbx + 0x6030], 0
je 0x14006d29b
mov rdi, qword [rbx + 0x6030]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rdi, rax
je 0x14006d294
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rbx + 0x6030], r12
lea rcx, [rbx + 0x6038]
call fcn.140066b50
lea rcx, [rbx + 0x6070]
call fcn.140066b50
lea rcx, [rbx + 0x6080]
call fcn.140066b50
mov dword [rbx + 0x6090], r12d
mov byte [rbx], 0
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret