Function at 0x14000ae10
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
mov rax, qword [rcx + 0xa8]
mov rdi, rcx
test rax, rax
je 0x14000ae61
cmp byte [rcx + 1], 0
je 0x14000ae61
mov byte [rax + 0x18], 0
mov rbx, qword [rcx + 0xa8]
test rbx, rbx
je 0x14000ae61
mov rcx, rbx
call fcn.140027b00
mov rax, qword [0x14005aa98]
test rax, rax
je 0x14000ae58
dec dword [rax + 0x3b4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor r15d, r15d
mov qword [rdi + 0xa8], r15
cmp byte [rdi], r15b
je 0x14000b64a
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r14
cmp byte [rdi + 0x3031], r15b
je 0x14000aef8
mov rbx, qword [rdi + 0x20]
test rbx, rbx
je 0x14000aef8
mov rsi, qword [0x14005aa98]
lea rcx, [rsp + 0x40]
mov qword [0x14005aa98], rdi
mov dword [rdi + 0x3034], r15d
mov qword [rsp + 0x40], r15
call fcn.140019f50
lea rdx, [0x140049d8c]
mov rcx, rbx
mov rbp, rax
call fcn.1400053b0
mov rbx, rax
test rax, rax
je 0x14000aef1
mov r8, qword [rsp + 0x40]
lea edx, [r15 + 1]
mov r9, rax
mov rcx, rbp
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 qword [0x14005aa98], rsi
mov edx, 6
mov rcx, rdi
call fcn.140007f40
mov eax, dword [rdi + 0x1bb0]
mov ebp, r15d
test eax, eax
jle 0x14000af7a
mov rsi, r15
test rsi, rsi
js 0x14000af1e
cmp ebp, eax
jl 0x14000af38
mov r8d, 0x68b
lea rdx, str.D:mw19_chairSENTEXRAPE_THEM_ALL_USERImGuiimgui.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 [rdi + 0x1bb8]
mov rbx, qword [rax + rsi*8]
test rbx, rbx
je 0x14000af6b
mov rcx, rbx
call fcn.140007710
mov rax, qword [0x14005aa98]
test rax, rax
je 0x14000af62
dec dword [rax + 0x3b4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [rdi + 0x1bb0]
inc ebp
inc rsi
cmp ebp, eax
jl 0x14000af15
mov rcx, qword [rdi + 0x1bb8]
test rcx, rcx
je 0x14000afac
mov rax, qword [0x14005aa98]
mov qword [rdi + 0x1bb0], r15
test rax, rax
je 0x14000af9f
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x1bb8], r15
mov rcx, qword [rdi + 0x1bc8]
test rcx, rcx
je 0x14000afde
mov rax, qword [0x14005aa98]
mov qword [rdi + 0x1bc0], r15
test rax, rax
je 0x14000afd1
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x1bc8], r15
mov rcx, qword [rdi + 0x1bd8]
test rcx, rcx
je 0x14000b010
mov rax, qword [0x14005aa98]
mov qword [rdi + 0x1bd0], r15
test rax, rax
je 0x14000b003
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x1bd8], r15
mov qword [rdi + 0x1c10], r15
mov rcx, qword [rdi + 0x1be8]
test rcx, rcx
je 0x14000b049
mov rax, qword [0x14005aa98]
mov qword [rdi + 0x1be0], r15
test rax, rax
je 0x14000b03c
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x1be8], r15
mov rcx, qword [rdi + 0x1bf8]
test rcx, rcx
je 0x14000b07b
mov rax, qword [0x14005aa98]
mov qword [rdi + 0x1bf0], r15
test rax, rax
je 0x14000b06e
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x1bf8], r15
mov qword [rdi + 0x1dc8], r15
mov qword [rdi + 0x1c20], r15
mov qword [rdi + 0x1c18], r15
mov qword [rdi + 0x1ca0], r15
mov qword [rdi + 0x1c88], r15
mov qword [rdi + 0x1c28], r15
mov rcx, qword [rdi + 0x1d40]
test rcx, rcx
je 0x14000b0d7
mov rax, qword [0x14005aa98]
mov qword [rdi + 0x1d38], r15
test rax, rax
je 0x14000b0ca
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x1d40], r15
mov rcx, qword [rdi + 0x1d50]
test rcx, rcx
je 0x14000b109
mov rax, qword [0x14005aa98]
mov qword [rdi + 0x1d48], r15
test rax, rax
je 0x14000b0fc
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x1d50], r15
mov rcx, qword [rdi + 0x1d60]
test rcx, rcx
je 0x14000b13b
mov rax, qword [0x14005aa98]
mov qword [rdi + 0x1d58], r15
test rax, rax
je 0x14000b12e
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x1d60], r15
mov rcx, qword [rdi + 0x1da0]
test rcx, rcx
je 0x14000b16d
mov rax, qword [0x14005aa98]
mov qword [rdi + 0x1d98], r15
test rax, rax
je 0x14000b160
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x1da0], r15
mov rcx, qword [rdi + 0x1db0]
test rcx, rcx
je 0x14000b19f
mov rax, qword [0x14005aa98]
mov qword [rdi + 0x1da8], r15
test rax, rax
je 0x14000b192
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x1db0], r15
mov eax, dword [rdi + 0x1db8]
mov r14d, r15d
test eax, eax
jle 0x14000b2b8
mov rbp, r15
test rbp, rbp
js 0x14000b1bd
cmp r14d, eax
jl 0x14000b1d7
mov r8d, 0x68b
lea rdx, str.D:mw19_chairSENTEXRAPE_THEM_ALL_USERImGuiimgui.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 [rdi + 0x1dc0]
mov rbx, qword [rax + rbp*8]
test rbx, rbx
je 0x14000b2a3
mov rsi, qword [rbx + 0x30]
test rsi, rsi
je 0x14000b217
mov rcx, rsi
call fcn.140003db0
mov rax, qword [0x14005aa98]
test rax, rax
je 0x14000b20e
dec dword [rax + 0x3b4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, qword [rbx + 0x38]
test rsi, rsi
je 0x14000b243
mov rcx, rsi
call fcn.140003db0
mov rax, qword [0x14005aa98]
test rax, rax
je 0x14000b23a
dec dword [rax + 0x3b4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbx + 0x88]
test rcx, rcx
je 0x14000b267
mov rax, qword [0x14005aa98]
test rax, rax
je 0x14000b261
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbx + 0x78]
test rcx, rcx
je 0x14000b288
mov rax, qword [0x14005aa98]
test rax, rax
je 0x14000b282
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x14005aa98]
test rax, rax
je 0x14000b29a
dec dword [rax + 0x3b4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [rdi + 0x1db8]
inc r14d
inc rbp
cmp r14d, eax
jl 0x14000b1b3
mov rcx, qword [rdi + 0x1dc0]
test rcx, rcx
je 0x14000b2ea
mov rax, qword [0x14005aa98]
mov qword [rdi + 0x1db8], r15
test rax, rax
je 0x14000b2dd
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x1dc0], r15
lea rcx, [rdi + 0x2060]
call fcn.14001ab40
mov rcx, qword [rdi + 0x2090]
test rcx, rcx
je 0x14000b328
mov rax, qword [0x14005aa98]
mov qword [rdi + 0x2088], r15
test rax, rax
je 0x14000b31b
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x2090], r15
mov rcx, qword [rdi + 0x20a0]
test rcx, rcx
je 0x14000b35a
mov rax, qword [0x14005aa98]
mov qword [rdi + 0x2098], r15
test rax, rax
je 0x14000b34d
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x20a0], r15
lea rcx, [rdi + 0x2000]
call fcn.14001aca0
mov eax, dword [rdi + 0x2028]
mov esi, r15d
test eax, eax
jle 0x14000b414
mov r14, r15
mov rbp, r15
nop dword [rax]
test r14, r14
js 0x14000b389
cmp esi, eax
jl 0x14000b3a3
mov r8d, 0x68b
lea rdx, str.D:mw19_chairSENTEXRAPE_THEM_ALL_USERImGuiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [rdi + 0x2030]
mov rcx, qword [rbx + rbp + 0x40]
test rcx, rcx
je 0x14000b3cc
mov rax, qword [0x14005aa98]
test rax, rax
je 0x14000b3c6
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbx + 0x10]
add rcx, rbp
call fcn.1400273a0
mov rcx, qword [rbx + rbp + 0x20]
test rcx, rcx
je 0x14000b3fa
mov rax, qword [0x14005aa98]
test rax, rax
je 0x14000b3f4
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [rdi + 0x2028]
inc esi
inc r14
add rbp, 0x90
cmp esi, eax
jl 0x14000b380
mov rcx, qword [rdi + 0x2030]
mov r14, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
test rcx, rcx
je 0x14000b455
mov rax, qword [0x14005aa98]
mov qword [rdi + 0x2028], r15
test rax, rax
je 0x14000b448
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x2030], r15
mov rcx, qword [rdi + 0x2050]
test rcx, rcx
je 0x14000b487
mov rax, qword [0x14005aa98]
mov qword [rdi + 0x2048], r15
test rax, rax
je 0x14000b47a
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x2050], r15
mov rcx, qword [rdi + 0x3008]
test rcx, rcx
je 0x14000b4b9
mov rax, qword [0x14005aa98]
mov qword [rdi + 0x3000], r15
test rax, rax
je 0x14000b4ac
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x3008], r15
mov rcx, qword [rdi + 0x3018]
test rcx, rcx
je 0x14000b4eb
mov rax, qword [0x14005aa98]
mov qword [rdi + 0x3010], r15
test rax, rax
je 0x14000b4de
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x3018], r15
mov rcx, qword [rdi + 0x20c8]
test rcx, rcx
je 0x14000b51d
mov rax, qword [0x14005aa98]
mov qword [rdi + 0x20c0], r15
test rax, rax
je 0x14000b510
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x20c8], r15
mov rcx, qword [rdi + 0x20d8]
test rcx, rcx
je 0x14000b54f
mov rax, qword [0x14005aa98]
mov qword [rdi + 0x20d0], r15
test rax, rax
je 0x14000b542
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x20d8], r15
mov rcx, qword [rdi + 0x20e8]
test rcx, rcx
je 0x14000b581
mov rax, qword [0x14005aa98]
mov qword [rdi + 0x20e0], r15
test rax, rax
je 0x14000b574
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x20e8], r15
mov rcx, qword [rdi + 0x3060]
test rcx, rcx
je 0x14000b5b3
mov rax, qword [0x14005aa98]
mov qword [rdi + 0x3058], r15
test rax, rax
je 0x14000b5a6
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x3060], r15
mov rcx, qword [rdi + 0x3050]
test rcx, rcx
je 0x14000b5e5
mov rax, qword [0x14005aa98]
mov qword [rdi + 0x3048], r15
test rax, rax
je 0x14000b5d8
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x3050], r15
cmp qword [rdi + 0x3098], r15
je 0x14000b615
mov rbx, qword [rdi + 0x3098]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rbx, rax
je 0x14000b60e
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rdi + 0x3098], r15
mov rcx, qword [rdi + 0x30a8]
test rcx, rcx
je 0x14000b647
mov rax, qword [0x14005aa98]
mov qword [rdi + 0x30a0], r15
test rax, rax
je 0x14000b63a
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x30a8], r15
mov byte [rdi], r15b
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret