Function at 0x140011330
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 0x140011380
cmp byte [rcx + 1], 0
je 0x140011380
mov byte [rax], 0
mov rdi, qword [rcx + 0xa8]
test rdi, rdi
je 0x140011380
mov rcx, rdi
call fcn.14003f1f0
mov rax, qword [0x1401dbf40]
test rax, rax
je 0x140011377
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 0x140011b60
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x58], rbp
cmp byte [rbx + 0x31a8], r12b
je 0x140011413
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x140011413
mov rsi, qword [0x1401dbf40]
lea rcx, [rsp + 0x50]
mov qword [0x1401dbf40], rbx
mov dword [rbx + 0x31ac], r12d
mov qword [rsp + 0x50], r12
call fcn.1400230f0
lea rdx, [0x140111c64]
mov rcx, rdi
mov rbp, rax
call fcn.14000b510
mov rdi, rax
test rax, rax
je 0x14001141a
mov r8, qword [rsp + 0x50]
mov r9, rax
mov edx, 1
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 0x14001141a
mov rsi, qword [0x1401dbf40]
mov qword [rsp + 0x28], r14
mov qword [0x1401dbf40], rbx
call fcn.1400261d0
mov eax, dword [rbx + 0x3170]
mov qword [0x1401dbf40], rsi
mov esi, r12d
test eax, eax
jle 0x1400114af
mov rbp, r12
mov r14, r12
test rbp, rbp
js 0x14001144e
cmp esi, eax
jl 0x140011468
mov r8d, 0x5cb
lea rdx, str.C:UsersAlexSeykerXDDesktopDesing_MrgarabatoSourceimgui_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 + 0x3178]
mov rdi, qword [rax + r14 + 8]
test rdi, rdi
je 0x14001149c
mov rcx, rdi
call fcn.140028080
mov rax, qword [0x1401dbf40]
test rax, rax
je 0x140011493
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 + 0x3170]
inc esi
inc rbp
add r14, 0x10
cmp esi, eax
jl 0x140011445
mov edx, 6
mov rcx, rbx
call fcn.14000e740
mov eax, dword [rbx + 0x1d28]
mov r15d, r12d
test eax, eax
jle 0x140011654
mov r14, r12
test r14, r14
js 0x1400114da
cmp r15d, eax
jl 0x1400114f4
mov r8d, 0x5cb
lea rdx, str.C:UsersAlexSeykerXDDesktopDesing_MrgarabatoSourceimgui_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 + 0x1d30]
mov rsi, qword [rax + r14*8]
test rsi, rsi
je 0x14001163f
lea rbp, [rsi + 0x320]
cmp qword [rsi + 0x318], rbp
je 0x140011532
mov r8d, 0xb51
lea rdx, str.C:UsersAlexSeykerXDDesktopDesing_MrgarabatoSourceimgui_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 0x140011552
mov rax, qword [0x1401dbf40]
test rax, rax
je 0x14001154c
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 0x1400115a4
nop
test edi, edi
js 0x140011568
cmp edi, eax
jl 0x140011582
mov r8d, 0x5cb
lea rdx, str.C:UsersAlexSeykerXDDesktopDesing_MrgarabatoSourceimgui_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.14000dbf0
mov eax, dword [rsi + 0x2f8]
inc edi
cmp edi, eax
jne 0x140011560
mov rcx, rbp
call fcn.1400097c0
mov rcx, qword [rsi + 0x300]
test rcx, rcx
je 0x1400115d0
mov rax, qword [0x1401dbf40]
test rax, rax
je 0x1400115ca
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 0x1400115f4
mov rax, qword [0x1401dbf40]
test rax, rax
je 0x1400115ee
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rsi + 0x118]
call fcn.14000db20
mov rcx, qword [rsi + 0x110]
test rcx, rcx
je 0x140011624
mov rax, qword [0x1401dbf40]
test rax, rax
je 0x14001161e
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x1401dbf40]
test rax, rax
je 0x140011636
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 + 0x1d28]
inc r15d
inc r14
cmp r15d, eax
jl 0x1400114d0
mov rcx, qword [rbx + 0x1d30]
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x58]
test rcx, rcx
je 0x140011695
mov rax, qword [0x1401dbf40]
mov qword [rbx + 0x1d28], r12
test rax, rax
je 0x140011688
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1d30], r12
mov rcx, qword [rbx + 0x1d40]
test rcx, rcx
je 0x1400116c7
mov rax, qword [0x1401dbf40]
mov qword [rbx + 0x1d38], r12
test rax, rax
je 0x1400116ba
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1d40], r12
mov rcx, qword [rbx + 0x1d50]
test rcx, rcx
je 0x1400116f9
mov rax, qword [0x1401dbf40]
mov qword [rbx + 0x1d48], r12
test rax, rax
je 0x1400116ec
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1d50], r12
mov qword [rbx + 0x1d80], r12
mov rcx, qword [rbx + 0x1d60]
test rcx, rcx
je 0x140011732
mov rax, qword [0x1401dbf40]
mov qword [rbx + 0x1d58], r12
test rax, rax
je 0x140011725
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1d60], r12
mov rcx, qword [rbx + 0x1d70]
test rcx, rcx
je 0x140011764
mov rax, qword [0x1401dbf40]
mov qword [rbx + 0x1d68], r12
test rax, rax
je 0x140011757
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1d70], r12
mov qword [rbx + 0x1f60], r12
mov qword [rbx + 0x1d98], r12
mov qword [rbx + 0x1d90], r12
mov qword [rbx + 0x1d88], r12
mov qword [rbx + 0x1e20], r12
mov qword [rbx + 0x1e08], r12
mov qword [rbx + 0x1da8], r12
mov rcx, qword [rbx + 0x1ee0]
test rcx, rcx
je 0x1400117c7
mov rax, qword [0x1401dbf40]
mov qword [rbx + 0x1ed8], r12
test rax, rax
je 0x1400117ba
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1ee0], r12
mov rcx, qword [rbx + 0x1ef0]
test rcx, rcx
je 0x1400117f9
mov rax, qword [0x1401dbf40]
mov qword [rbx + 0x1ee8], r12
test rax, rax
je 0x1400117ec
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1ef0], r12
mov rcx, qword [rbx + 0x1f00]
test rcx, rcx
je 0x14001182b
mov rax, qword [0x1401dbf40]
mov qword [rbx + 0x1ef8], r12
test rax, rax
je 0x14001181e
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1f00], r12
mov rcx, qword [rbx + 0x1f10]
test rcx, rcx
je 0x14001185d
mov rax, qword [0x1401dbf40]
mov qword [rbx + 0x1f08], r12
test rax, rax
je 0x140011850
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1f10], r12
mov rcx, qword [rbx + 0x1f20]
test rcx, rcx
je 0x14001188f
mov rax, qword [0x1401dbf40]
mov qword [rbx + 0x1f18], r12
test rax, rax
je 0x140011882
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1f20], r12
mov eax, dword [rbx + 0x1f28]
mov esi, r12d
mov qword [rbx + 0x1f50], r12
mov qword [rbx + 0x1f48], r12
mov qword [rbx + 0x1f40], r12
test eax, eax
jle 0x1400118f6
mov rdi, r12
test rdi, rdi
js 0x1400118bd
cmp esi, eax
jl 0x1400118d7
mov r8d, 0x5cb
lea rdx, str.C:UsersAlexSeykerXDDesktopDesing_MrgarabatoSourceimgui_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 + 0x1f30]
mov rcx, qword [rcx + rdi*8]
call fcn.140032510
mov eax, dword [rbx + 0x1f28]
inc esi
inc rdi
cmp esi, eax
jl 0x1400118b4
mov rcx, qword [rbx + 0x1f30]
mov rsi, qword [rsp + 0x60]
test rcx, rcx
je 0x14001192d
mov rax, qword [0x1401dbf40]
mov qword [rbx + 0x1f28], r12
test rax, rax
je 0x140011920
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1f30], r12
lea rcx, [rbx + 0x2190]
call fcn.140031220
mov rcx, qword [rbx + 0x21c0]
test rcx, rcx
je 0x14001196b
mov rax, qword [0x1401dbf40]
mov qword [rbx + 0x21b8], r12
test rax, rax
je 0x14001195e
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x21c0], r12
mov rcx, qword [rbx + 0x21d0]
test rcx, rcx
je 0x14001199d
mov rax, qword [0x1401dbf40]
mov qword [rbx + 0x21c8], r12
test rax, rax
je 0x140011990
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x21d0], r12
mov rcx, qword [rbx + 0x3138]
test rcx, rcx
je 0x1400119cf
mov rax, qword [0x1401dbf40]
mov qword [rbx + 0x3130], r12
test rax, rax
je 0x1400119c2
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3138], r12
mov rcx, qword [rbx + 0x3148]
test rcx, rcx
je 0x140011a01
mov rax, qword [0x1401dbf40]
mov qword [rbx + 0x3140], r12
test rax, rax
je 0x1400119f4
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3148], r12
mov rcx, qword [rbx + 0x21f8]
test rcx, rcx
je 0x140011a33
mov rax, qword [0x1401dbf40]
mov qword [rbx + 0x21f0], r12
test rax, rax
je 0x140011a26
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x21f8], r12
mov rcx, qword [rbx + 0x2208]
test rcx, rcx
je 0x140011a65
mov rax, qword [0x1401dbf40]
mov qword [rbx + 0x2200], r12
test rax, rax
je 0x140011a58
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2208], r12
mov rcx, qword [rbx + 0x2218]
test rcx, rcx
je 0x140011a97
mov rax, qword [0x1401dbf40]
mov qword [rbx + 0x2210], r12
test rax, rax
je 0x140011a8a
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2218], r12
mov rcx, qword [rbx + 0x31d8]
test rcx, rcx
je 0x140011ac9
mov rax, qword [0x1401dbf40]
mov qword [rbx + 0x31d0], r12
test rax, rax
je 0x140011abc
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x31d8], r12
mov rcx, qword [rbx + 0x31c8]
test rcx, rcx
je 0x140011afb
mov rax, qword [0x1401dbf40]
mov qword [rbx + 0x31c0], r12
test rax, rax
je 0x140011aee
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x31c8], r12
cmp qword [rbx + 0x31f8], r12
je 0x140011b2b
mov rdi, qword [rbx + 0x31f8]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rdi, rax
je 0x140011b24
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rbx + 0x31f8], r12
mov rcx, qword [rbx + 0x3208]
test rcx, rcx
je 0x140011b5d
mov rax, qword [0x1401dbf40]
mov qword [rbx + 0x3200], r12
test rax, rax
je 0x140011b50
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3208], r12
mov byte [rbx], r12b
add rsp, 0x30
pop r12
pop rdi
pop rbx
ret