Function at 0x1400085a0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r12
sub rsp, 0x30
mov rax, qword [rcx + 0xa8]
mov rbx, rcx
test rax, rax
je 0x1400085f0
cmp byte [rcx + 1], 0
je 0x1400085f0
mov byte [rax], 0
mov rdi, qword [rcx + 0xa8]
test rdi, rdi
je 0x1400085f0
mov rcx, rdi
call fcn.1400344c0
mov rax, qword [0x140066920]
test rax, rax
je 0x1400085e7
dec dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor r12d, r12d
mov qword [rbx + 0xa8], r12
cmp byte [rbx], r12b
je 0x140008dd0
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x20], r15
cmp byte [rbx + 0x2fb8], r12b
je 0x140008683
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x140008683
mov rsi, qword [0x140066920]
lea rcx, [rsp + 0x50]
mov qword [0x140066920], rbx
mov dword [rbx + 0x2fbc], r12d
mov qword [rsp + 0x50], r12
call fcn.14001a0a0
lea rdx, [0x140054b34]
mov rcx, rdi
mov rbp, rax
call fcn.140002c20
mov rdi, rax
test rax, rax
je 0x14000868a
mov r8, qword [rsp + 0x50]
lea edx, [r12 + 1]
mov r9, rax
mov rcx, rbp
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]
jmp 0x14000868a
mov rsi, qword [0x140066920]
mov qword [rsp + 0x28], r14
mov qword [0x140066920], rbx
call fcn.14001cf50
mov eax, dword [rbx + 0x2f80]
mov qword [0x140066920], rsi
mov esi, r12d
test eax, eax
jle 0x14000871f
mov rbp, r12
mov r14, r12
test rbp, rbp
js 0x1400086be
cmp esi, eax
jl 0x1400086d8
mov r8d, 0x5c3
lea rdx, str.F:octaneImGui_Loader_Base_masterImGui_Loader_Base_masterimgui_dockingimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x2f88]
mov rdi, qword [rax + r14 + 8]
test rdi, rdi
je 0x14000870c
mov rcx, rdi
call fcn.14001ed70
mov rax, qword [0x140066920]
test rax, rax
je 0x140008703
dec dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [rbx + 0x2f80]
inc esi
inc rbp
add r14, 0x10
cmp esi, eax
jl 0x1400086b5
mov edx, 6
mov rcx, rbx
call fcn.1400059f0
mov eax, dword [rbx + 0x1b38]
mov r15d, r12d
test eax, eax
jle 0x1400088c4
mov r14, r12
test r14, r14
js 0x14000874a
cmp r15d, eax
jl 0x140008764
mov r8d, 0x5c3
lea rdx, str.F:octaneImGui_Loader_Base_masterImGui_Loader_Base_masterimgui_dockingimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x1b40]
mov rsi, qword [rax + r14*8]
test rsi, rsi
je 0x1400088af
lea rbp, [rsi + 0x320]
cmp qword [rsi + 0x318], rbp
je 0x1400087a2
mov r8d, 0xb52
lea rdx, str.F:octaneImGui_Loader_Base_masterImGui_Loader_Base_masterimgui_dockingimgui.cpp
lea rcx, str.DrawList__DrawListInst
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400087c2
mov rax, qword [0x140066920]
test rax, rax
je 0x1400087bc
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [rsi + 0x2f8]
mov edi, r12d
test eax, eax
je 0x140008814
nop
test edi, edi
js 0x1400087d8
cmp edi, eax
jl 0x1400087f2
mov r8d, 0x5c3
lea rdx, str.F:octaneImGui_Loader_Base_masterImGui_Loader_Base_masterimgui_dockingimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, edi
imul rcx, rax, 0x88
add rcx, qword [rsi + 0x300]
call fcn.140005160
mov eax, dword [rsi + 0x2f8]
inc edi
cmp edi, eax
jne 0x1400087d0
mov rcx, rbp
call fcn.1400010a0
mov rcx, qword [rsi + 0x300]
test rcx, rcx
je 0x140008840
mov rax, qword [0x140066920]
test rax, rax
je 0x14000883a
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsi + 0x2f0]
test rcx, rcx
je 0x140008864
mov rax, qword [0x140066920]
test rax, rax
je 0x14000885e
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rsi + 0x118]
call fcn.140005090
mov rcx, qword [rsi + 0x110]
test rcx, rcx
je 0x140008894
mov rax, qword [0x140066920]
test rax, rax
je 0x14000888e
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x140066920]
test rax, rax
je 0x1400088a6
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [rbx + 0x1b38]
inc r15d
inc r14
cmp r15d, eax
jl 0x140008740
mov rcx, qword [rbx + 0x1b40]
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x58]
test rcx, rcx
je 0x140008905
mov rax, qword [0x140066920]
mov qword [rbx + 0x1b38], r12
test rax, rax
je 0x1400088f8
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1b40], r12
mov rcx, qword [rbx + 0x1b50]
test rcx, rcx
je 0x140008937
mov rax, qword [0x140066920]
mov qword [rbx + 0x1b48], r12
test rax, rax
je 0x14000892a
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1b50], r12
mov rcx, qword [rbx + 0x1b60]
test rcx, rcx
je 0x140008969
mov rax, qword [0x140066920]
mov qword [rbx + 0x1b58], r12
test rax, rax
je 0x14000895c
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1b60], r12
mov qword [rbx + 0x1b90], r12
mov rcx, qword [rbx + 0x1b70]
test rcx, rcx
je 0x1400089a2
mov rax, qword [0x140066920]
mov qword [rbx + 0x1b68], r12
test rax, rax
je 0x140008995
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1b70], r12
mov rcx, qword [rbx + 0x1b80]
test rcx, rcx
je 0x1400089d4
mov rax, qword [0x140066920]
mov qword [rbx + 0x1b78], r12
test rax, rax
je 0x1400089c7
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1b80], r12
mov qword [rbx + 0x1d70], r12
mov qword [rbx + 0x1ba8], r12
mov qword [rbx + 0x1ba0], r12
mov qword [rbx + 0x1b98], r12
mov qword [rbx + 0x1c30], r12
mov qword [rbx + 0x1c18], r12
mov qword [rbx + 0x1bb8], r12
mov rcx, qword [rbx + 0x1cf0]
test rcx, rcx
je 0x140008a37
mov rax, qword [0x140066920]
mov qword [rbx + 0x1ce8], r12
test rax, rax
je 0x140008a2a
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1cf0], r12
mov rcx, qword [rbx + 0x1d00]
test rcx, rcx
je 0x140008a69
mov rax, qword [0x140066920]
mov qword [rbx + 0x1cf8], r12
test rax, rax
je 0x140008a5c
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1d00], r12
mov rcx, qword [rbx + 0x1d10]
test rcx, rcx
je 0x140008a9b
mov rax, qword [0x140066920]
mov qword [rbx + 0x1d08], r12
test rax, rax
je 0x140008a8e
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1d10], r12
mov rcx, qword [rbx + 0x1d20]
test rcx, rcx
je 0x140008acd
mov rax, qword [0x140066920]
mov qword [rbx + 0x1d18], r12
test rax, rax
je 0x140008ac0
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1d20], r12
mov rcx, qword [rbx + 0x1d30]
test rcx, rcx
je 0x140008aff
mov rax, qword [0x140066920]
mov qword [rbx + 0x1d28], r12
test rax, rax
je 0x140008af2
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1d30], r12
mov eax, dword [rbx + 0x1d38]
mov edi, r12d
mov qword [rbx + 0x1d60], r12
mov qword [rbx + 0x1d58], r12
mov qword [rbx + 0x1d50], r12
test eax, eax
jle 0x140008b66
mov rsi, r12
test rsi, rsi
js 0x140008b2d
cmp edi, eax
jl 0x140008b47
mov r8d, 0x5c3
lea rdx, str.F:octaneImGui_Loader_Base_masterImGui_Loader_Base_masterimgui_dockingimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x1d40]
mov rcx, qword [rcx + rsi*8]
call fcn.1400287e0
mov eax, dword [rbx + 0x1d38]
inc edi
inc rsi
cmp edi, eax
jl 0x140008b24
mov rcx, qword [rbx + 0x1d40]
mov rsi, qword [rsp + 0x60]
test rcx, rcx
je 0x140008b9d
mov rax, qword [0x140066920]
mov qword [rbx + 0x1d38], r12
test rax, rax
je 0x140008b90
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1d40], r12
lea rcx, [rbx + 0x1fa0]
call fcn.1400279a0
mov rcx, qword [rbx + 0x1fd0]
test rcx, rcx
je 0x140008bdb
mov rax, qword [0x140066920]
mov qword [rbx + 0x1fc8], r12
test rax, rax
je 0x140008bce
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1fd0], r12
mov rcx, qword [rbx + 0x1fe0]
test rcx, rcx
je 0x140008c0d
mov rax, qword [0x140066920]
mov qword [rbx + 0x1fd8], r12
test rax, rax
je 0x140008c00
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1fe0], r12
mov rcx, qword [rbx + 0x2f48]
test rcx, rcx
je 0x140008c3f
mov rax, qword [0x140066920]
mov qword [rbx + 0x2f40], r12
test rax, rax
je 0x140008c32
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2f48], r12
mov rcx, qword [rbx + 0x2f58]
test rcx, rcx
je 0x140008c71
mov rax, qword [0x140066920]
mov qword [rbx + 0x2f50], r12
test rax, rax
je 0x140008c64
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2f58], r12
mov rcx, qword [rbx + 0x2008]
test rcx, rcx
je 0x140008ca3
mov rax, qword [0x140066920]
mov qword [rbx + 0x2000], r12
test rax, rax
je 0x140008c96
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2008], r12
mov rcx, qword [rbx + 0x2018]
test rcx, rcx
je 0x140008cd5
mov rax, qword [0x140066920]
mov qword [rbx + 0x2010], r12
test rax, rax
je 0x140008cc8
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2018], r12
mov rcx, qword [rbx + 0x2028]
test rcx, rcx
je 0x140008d07
mov rax, qword [0x140066920]
mov qword [rbx + 0x2020], r12
test rax, rax
je 0x140008cfa
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2028], r12
mov rcx, qword [rbx + 0x2fe8]
test rcx, rcx
je 0x140008d39
mov rax, qword [0x140066920]
mov qword [rbx + 0x2fe0], r12
test rax, rax
je 0x140008d2c
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2fe8], r12
mov rcx, qword [rbx + 0x2fd8]
test rcx, rcx
je 0x140008d6b
mov rax, qword [0x140066920]
mov qword [rbx + 0x2fd0], r12
test rax, rax
je 0x140008d5e
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2fd8], r12
cmp qword [rbx + 0x3008], r12
je 0x140008d9b
mov rdi, qword [rbx + 0x3008]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rdi, rax
je 0x140008d94
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rbx + 0x3008], r12
mov rcx, qword [rbx + 0x3018]
test rcx, rcx
je 0x140008dcd
mov rax, qword [0x140066920]
mov qword [rbx + 0x3010], r12
test rax, rax
je 0x140008dc0
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3018], r12
mov byte [rbx], r12b
add rsp, 0x30
pop r12
pop rdi
pop rbx
ret