Function at 0x140009090
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 rsi, qword [0x1401a41e0]
cmp qword [rsi + 0x90], 0
je 0x1400090d1
mov r8d, 0xeb8
lea rdx, str.C:Users_sbaggDownloadsDx12_COD_Menuimgui_masterimgui.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 [rsi + 0x98], 0
je 0x1400090f5
mov r8d, 0xeb9
lea rdx, str.C:Users_sbaggDownloadsDx12_COD_Menuimgui_masterimgui.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 [rsi + 0x38]
test rax, rax
je 0x140009111
cmp byte [rsi + 1], 0
je 0x140009111
mov byte [rax + 0x18], 0
mov rcx, qword [rsi + 0x38]
call fcn.140032330
xor r12d, r12d
mov qword [rsi + 0x38], r12
lea rcx, [rsi + 0x3dc8]
call fcn.140001320
cmp byte [rsi], r12b
je 0x1400099b0
cmp byte [rsi + 0x5fd8], r12b
je 0x140009195
mov rdi, qword [rsi + 0x20]
test rdi, rdi
je 0x140009195
mov rax, qword [0x1401a41e0]
mov dword [rax + 0x5fdc], r12d
mov qword [rsp + 0x50], r12
lea rcx, [rsp + 0x50]
call fcn.140024730
mov rbx, rax
lea rdx, [0x1400c551c]
mov rcx, rdi
call fcn.140003d20
mov rdi, rax
test rax, rax
je 0x140009195
mov r9, rax
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, rbx
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 [rsi + 0x6028]
movsxd rbx, dword [rsi + 0x6020]
shl rbx, 5
add rbx, rdi
cmp rdi, rbx
je 0x1400091cb
nop
cmp dword [rdi + 4], 6
jne 0x1400091c2
mov rax, qword [rdi + 0x10]
mov rdx, rdi
mov rcx, rsi
call rax
add rdi, 0x20
cmp rdi, rbx
jne 0x1400091b0
mov ebp, r12d
cmp dword [rsi + 0x4008], r12d
jle 0x14000927d
mov r14, r12
nop
mov rax, qword [rsi + 0x4010]
mov rbx, qword [r14 + rax]
test rbx, rbx
je 0x14000926b
mov rcx, rbx
call fcn.14000a000
mov rdi, qword [0x1401a41e0]
test rdi, rdi
je 0x140009262
mov r8d, dword [rdi + 0x3fb0]
movsx rdx, word [rdi + 0x6168]
lea rcx, [rdi + 0x616c]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r8d
je 0x140009258
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 + 0x6168], cx
movsx rax, cx
lea rcx, [rdi + 0x616c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r8d
mov dword [rcx + 4], r12d
inc word [rcx + 6]
inc dword [rdi + 0x6164]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
inc ebp
add r14, 8
cmp ebp, dword [rsi + 0x4008]
jl 0x1400091e0
lea rcx, [rsi + 0x4008]
call fcn.140001320
lea rcx, [rsi + 0x4018]
call fcn.140001320
lea rcx, [rsi + 0x4028]
call fcn.140001320
mov qword [rsi + 0x4068], r12
mov r8, qword [rsi + 0x4040]
test r8, r8
je 0x140009339
mov qword [rsi + 0x4038], r12
mov rdi, qword [0x1401a41e0]
test rdi, rdi
je 0x140009329
mov r9d, dword [rdi + 0x3fb0]
movsx rdx, word [rdi + 0x6168]
lea rcx, [rdi + 0x616c]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14000931f
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 + 0x6168], cx
movsx rax, cx
lea rcx, [rdi + 0x616c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r12d
inc word [rcx + 6]
inc dword [rdi + 0x6164]
mov rcx, r8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x4040], r12
lea rcx, [rsi + 0x4048]
call fcn.140001320
mov qword [rsi + 0x4b98], r12
mov qword [rsi + 0x4078], r12
mov qword [rsi + 0x4070], r12
mov qword [rsi + 0x4110], r12
mov qword [rsi + 0x40f8], r12
mov qword [rsi + 0x4088], r12
mov eax, 0xffffffff
lea rdi, [rsi + 0x4888]
movsx rax, ax
mov ecx, 0x9a
rep stosw word [rdi], ax
lea rcx, [rsi + 0x49c0]
call fcn.140001320
lea rcx, [rsi + 0x49d0]
call fcn.140001320
mov r8, qword [rsi + 0x4af8]
test r8, r8
je 0x140009430
mov qword [rsi + 0x4af0], r12
mov rdi, qword [0x1401a41e0]
test rdi, rdi
je 0x140009420
mov r9d, dword [rdi + 0x3fb0]
movsx rdx, word [rdi + 0x6168]
lea rcx, [rdi + 0x616c]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140009416
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 + 0x6168], cx
movsx rax, cx
lea rcx, [rdi + 0x616c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r12d
inc word [rcx + 6]
inc dword [rdi + 0x6164]
mov rcx, r8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x4af8], r12
mov r8, qword [rsi + 0x4b08]
test r8, r8
je 0x1400094c1
mov qword [rsi + 0x4b00], r12
mov rdi, qword [0x1401a41e0]
test rdi, rdi
je 0x1400094b1
mov r9d, dword [rdi + 0x3fb0]
movsx rdx, word [rdi + 0x6168]
lea rcx, [rdi + 0x616c]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x1400094a7
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 + 0x6168], cx
movsx rax, cx
lea rcx, [rdi + 0x616c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r12d
inc word [rcx + 6]
inc dword [rdi + 0x6164]
mov rcx, r8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x4b08], r12
lea rcx, [rsi + 0x4b10]
call fcn.140001320
lea rcx, [rsi + 0x4b50]
call fcn.140001320
lea rcx, [rsi + 0x4b60]
call fcn.140001320
mov r8, qword [rsi + 0x4b78]
test r8, r8
je 0x140009576
mov qword [rsi + 0x4b70], r12
mov rdi, qword [0x1401a41e0]
test rdi, rdi
je 0x140009566
mov r9d, dword [rdi + 0x3fb0]
movsx rdx, word [rdi + 0x6168]
lea rcx, [rdi + 0x616c]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14000955c
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 + 0x6168], cx
movsx rax, cx
lea rcx, [rdi + 0x616c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r12d
inc word [rcx + 6]
inc dword [rdi + 0x6164]
mov rcx, r8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x4b78], r12
lea rcx, [rsi + 0x4b88]
call fcn.140030f30
lea rcx, [rsi + 0x4ef0]
call fcn.140030940
mov r8, qword [rsi + 0x4f20]
test r8, r8
je 0x14000961f
mov qword [rsi + 0x4f18], r12
mov rdi, qword [0x1401a41e0]
test rdi, rdi
je 0x14000960f
mov r9d, dword [rdi + 0x3fb0]
movsx rdx, word [rdi + 0x6168]
lea rcx, [rdi + 0x616c]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140009605
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 + 0x6168], cx
movsx rax, cx
lea rcx, [rdi + 0x616c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r12d
inc word [rcx + 6]
inc dword [rdi + 0x6164]
mov rcx, r8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x4f20], r12
mov r8, qword [rsi + 0x4f30]
test r8, r8
je 0x1400096b0
mov qword [rsi + 0x4f28], r12
mov rdi, qword [0x1401a41e0]
test rdi, rdi
je 0x1400096a0
mov r9d, dword [rdi + 0x3fb0]
movsx rdx, word [rdi + 0x6168]
lea rcx, [rdi + 0x616c]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140009696
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 + 0x6168], cx
movsx rax, cx
lea rcx, [rdi + 0x616c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r12d
inc word [rcx + 6]
inc dword [rdi + 0x6164]
mov rcx, r8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x4f30], r12
mov edi, r12d
cmp dword [rsi + 0x4e70], r12d
jle 0x1400096e5
nop dword [rax]
movsxd rax, edi
lea rcx, [rax + rax*4]
mov rax, qword [rsi + 0x4e78]
lea rcx, [rcx + 3]
lea rcx, [rax + rcx*8]
call fcn.1400306b0
inc edi
cmp edi, dword [rsi + 0x4e70]
jl 0x1400096c0
mov r8, qword [rsi + 0x4e78]
test r8, r8
je 0x140009776
mov qword [rsi + 0x4e70], r12
mov rdi, qword [0x1401a41e0]
test rdi, rdi
je 0x140009766
mov r9d, dword [rdi + 0x3fb0]
movsx rdx, word [rdi + 0x6168]
lea rcx, [rdi + 0x616c]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14000975c
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 + 0x6168], cx
movsx rax, cx
lea rcx, [rdi + 0x616c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r12d
inc word [rcx + 6]
inc dword [rdi + 0x6164]
mov rcx, r8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x4e78], r12
lea rcx, [rsi + 0x4ea0]
call fcn.140030af0
mov ebp, r12d
cmp dword [rsi + 0x4e90], r12d
jle 0x1400097c7
nop
movsxd rax, ebp
imul rbx, rax, 0x88
add rbx, qword [rsi + 0x4e98]
lea rcx, [rbx + 0x28]
call fcn.140071290
lea rcx, [rbx + 0x30]
call fcn.1400306b0
nop
lea rcx, [rbx + 0x10]
call fcn.1400306b0
inc ebp
cmp ebp, dword [rsi + 0x4e90]
jl 0x140009790
mov r8, qword [rsi + 0x4e98]
test r8, r8
je 0x140009858
mov qword [rsi + 0x4e90], r12
mov rdi, qword [0x1401a41e0]
test rdi, rdi
je 0x140009848
mov r9d, dword [rdi + 0x3fb0]
movsx rdx, word [rdi + 0x6168]
lea rcx, [rdi + 0x616c]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14000983e
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 + 0x6168], cx
movsx rax, cx
lea rcx, [rdi + 0x616c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r12d
inc word [rcx + 6]
inc dword [rdi + 0x6164]
mov rcx, r8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x4e98], r12
lea rcx, [rsi + 0x4ed8]
call fcn.140001320
lea rcx, [rsi + 0x5f30]
call fcn.140001320
lea rcx, [rsi + 0x5f40]
call fcn.140001320
lea rcx, [rsi + 0x4f78]
call fcn.140001320
lea rcx, [rsi + 0x4f88]
call fcn.140001320
lea rcx, [rsi + 0x4f98]
call fcn.140001320
mov dword [rsi + 0x5df8], r12d
lea rcx, [rsi + 0x5e00]
call fcn.140001320
lea rcx, [rsi + 0x6000]
call fcn.140001320
mov r8, qword [rsi + 0x5ff8]
test r8, r8
je 0x140009951
mov qword [rsi + 0x5ff0], r12
mov rdi, qword [0x1401a41e0]
test rdi, rdi
je 0x140009941
mov r9d, dword [rdi + 0x3fb0]
movsx r10, word [rdi + 0x6168]
lea rdx, [rdi + 0x616c]
lea rdx, [rdx + r10*8]
cmp dword [rdx], r9d
je 0x140009937
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 + 0x6168], cx
movsx rax, cx
lea rdx, [rdi + 0x616c]
lea rdx, [rdx + rax*8]
mov dword [rdx], r9d
mov dword [rdx + 4], r12d
inc word [rdx + 6]
inc dword [rdi + 0x6164]
mov rcx, r8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x5ff8], r12
cmp qword [rsi + 0x6088], 0
je 0x140009982
mov rdi, qword [rsi + 0x6088]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rdi, rax
je 0x14000997b
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rsi + 0x6088], r12
lea rcx, [rsi + 0x6090]
call fcn.140001320
lea rcx, [rsi + 0x60c8]
call fcn.140001320
lea rcx, [rsi + 0x60d8]
call fcn.140001320
mov dword [rsi + 0x60e8], r12d
mov byte [rsi], 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