Function at 0x1400076e0
Capabilities:
Write file on windows

Disassembly:
push rbx
push r12
sub rsp, 0x38
mov rbx, qword [0x14008d3e0]
cmp qword [rbx + 0xa0], 0
je 0x14000772d
lea rcx, str.Forgot_to_shutdown_Platform_backend_
call fcn.14001ab30
test al, al
je 0x14000772d
cmp qword [rbx + 0xa0], 0
je 0x14000772d
mov r8d, 0x1049
lea rdx, str.D:VisualStudioProjectsFrame_Decoderimgui.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 + 0xa8], 0
je 0x14000776b
lea rcx, str.Forgot_to_shutdown_Renderer_backend_
call fcn.14001ab30
test al, al
je 0x14000776b
cmp qword [rbx + 0xa8], 0
je 0x14000776b
mov r8d, 0x104a
lea rdx, str.D:VisualStudioProjectsFrame_Decoderimgui.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]
test rax, rax
je 0x140007787
cmp byte [rbx + 1], 0
je 0x140007787
mov byte [rax + 0x18], 0
mov rcx, qword [rbx + 0x38]
call fcn.1400363b0
xor r12d, r12d
lea rcx, [rbx + 0x3f48]
mov qword [rbx + 0x38], r12
call fcn.140001030
cmp byte [rbx], r12b
je 0x140008169
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x20], r15
cmp byte [rbx + 0x54d8], r12b
je 0x14000781f
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x14000781f
mov rax, qword [0x14008d3e0]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], r12
mov dword [rax + 0x54dc], r12d
call fcn.140023d20
lea rdx, [0x14007593c]
mov rcx, rdi
mov rsi, rax
call fcn.140002d80
mov rdi, rax
test rax, rax
je 0x14000781f
mov r8, qword [rsp + 0x50]
lea edx, [r12 + 1]
mov r9, rax
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 rax, qword [0x14008d3e0]
mov rdi, qword [rax + 0x4d48]
movsxd rax, dword [rax + 0x4d40]
lea rsi, [rdi + rax*8]
cmp rdi, rsi
je 0x140007851
nop dword [rax]
mov rcx, qword [rdi]
call fcn.1400274c0
add rdi, 8
cmp rdi, rsi
jne 0x140007840
mov eax, dword [rbx + 0x5498]
mov ebp, r12d
mov qword [rsp + 0x28], r14
test eax, eax
jle 0x140007936
mov r14, r12
mov r15, r12
nop dword [rax]
test r14, r14
js 0x140007879
cmp ebp, eax
jl 0x140007893
mov r8d, 0x875
lea rdx, str.D:VisualStudioProjectsFrame_Decoderimgui.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 + 0x54a0]
mov rsi, qword [rax + r15 + 8]
test rsi, rsi
je 0x14000791f
mov rcx, rsi
call fcn.1400298a0
mov rdi, qword [0x14008d3e0]
test rdi, rdi
je 0x140007916
movsx rdx, word [rdi + 0x56d0]
lea rcx, [rdi + 0x56d4]
mov r8d, dword [rdi + 0x4130]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r8d
je 0x14000790c
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 + 0x56d0], cx
movsx rax, cx
lea rcx, [rdi + 0x56d4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r8d
mov dword [rcx + 4], r12d
inc word [rcx + 6]
inc dword [rdi + 0x56cc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [rbx + 0x5498]
inc ebp
inc r14
add r15, 0x10
cmp ebp, eax
jl 0x140007870
mov rdi, qword [rbx + 0x5528]
movsxd rsi, dword [rbx + 0x5520]
shl rsi, 5
add rsi, rdi
cmp rdi, rsi
je 0x140007968
cmp dword [rdi + 4], 6
jne 0x14000795f
mov rdx, rdi
mov rcx, rbx
call qword [rdi + 0x10]
add rdi, 0x20
cmp rdi, rsi
jne 0x140007950
mov ebp, r12d
cmp dword [rbx + 0x4188], r12d
jle 0x140007a1d
mov r14, r12
nop dword [rax + rax]
mov rax, qword [rbx + 0x4190]
mov rsi, qword [r14 + rax]
test rsi, rsi
je 0x140007a0b
mov rcx, rsi
call fcn.140008880
mov rdi, qword [0x14008d3e0]
test rdi, rdi
je 0x140007a02
movsx rdx, word [rdi + 0x56d0]
lea rcx, [rdi + 0x56d4]
mov r8d, dword [rdi + 0x4130]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r8d
je 0x1400079f8
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 + 0x56d0], cx
movsx rax, cx
lea rcx, [rdi + 0x56d4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r8d
mov dword [rcx + 4], r12d
inc word [rcx + 6]
inc dword [rdi + 0x56cc]
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 + 0x4188]
jl 0x140007980
lea rcx, [rbx + 0x4188]
call fcn.140001030
lea rcx, [rbx + 0x4198]
call fcn.140001030
lea rcx, [rbx + 0x41a8]
call fcn.140001030
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x58]
mov qword [rbx + 0x41e8], r12
mov r8, qword [rbx + 0x41c0]
test r8, r8
je 0x140007ae8
mov rdi, qword [0x14008d3e0]
mov qword [rbx + 0x41b8], r12
test rdi, rdi
je 0x140007ad8
movsx rdx, word [rdi + 0x56d0]
lea rcx, [rdi + 0x56d4]
mov r9d, dword [rdi + 0x4130]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140007ace
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 + 0x56d0], cx
movsx rax, cx
lea rcx, [rdi + 0x56d4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r12d
inc word [rcx + 6]
inc dword [rdi + 0x56cc]
mov rcx, r8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x41c0], r12
lea rcx, [rbx + 0x41c8]
call fcn.140001030
mov qword [rbx + 0x4dc0], r12
lea rdi, [rbx + 0x4a10]
mov qword [rbx + 0x41f8], r12
mov eax, 0xffffffff
movsx rax, ax
mov ecx, 0x9a
mov qword [rbx + 0x41f0], r12
mov qword [rbx + 0x4298], r12
mov qword [rbx + 0x4280], r12
mov qword [rbx + 0x4208], r12
rep stosw word [rdi], ax
lea rcx, [rbx + 0x4b48]
call fcn.140001030
lea rcx, [rbx + 0x4b58]
call fcn.140001030
mov r8, qword [rbx + 0x4cb8]
test r8, r8
je 0x140007bdf
mov rdi, qword [0x14008d3e0]
mov qword [rbx + 0x4cb0], r12
test rdi, rdi
je 0x140007bcf
movsx rdx, word [rdi + 0x56d0]
lea rcx, [rdi + 0x56d4]
mov r9d, dword [rdi + 0x4130]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140007bc5
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 + 0x56d0], cx
movsx rax, cx
lea rcx, [rdi + 0x56d4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r12d
inc word [rcx + 6]
inc dword [rdi + 0x56cc]
mov rcx, r8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x4cb8], r12
mov r8, qword [rbx + 0x4cc8]
test r8, r8
je 0x140007c70
mov rdi, qword [0x14008d3e0]
mov qword [rbx + 0x4cc0], r12
test rdi, rdi
je 0x140007c60
movsx rdx, word [rdi + 0x56d0]
lea rcx, [rdi + 0x56d4]
mov r9d, dword [rdi + 0x4130]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140007c56
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 + 0x56d0], cx
movsx rax, cx
lea rcx, [rdi + 0x56d4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r12d
inc word [rcx + 6]
inc dword [rdi + 0x56cc]
mov rcx, r8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x4cc8], r12
lea rcx, [rbx + 0x4cd0]
call fcn.140001030
lea rcx, [rbx + 0x4d10]
call fcn.140001030
lea rcx, [rbx + 0x4d20]
call fcn.140001030
mov r8, qword [rbx + 0x4d38]
test r8, r8
je 0x140007d25
mov rdi, qword [0x14008d3e0]
mov qword [rbx + 0x4d30], r12
test rdi, rdi
je 0x140007d15
movsx rdx, word [rdi + 0x56d0]
lea rcx, [rdi + 0x56d4]
mov r9d, dword [rdi + 0x4130]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140007d0b
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 + 0x56d0], cx
movsx rax, cx
lea rcx, [rdi + 0x56d4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r12d
inc word [rcx + 6]
inc dword [rdi + 0x56cc]
mov rcx, r8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x4d38], r12
lea rcx, [rbx + 0x4d40]
mov qword [rbx + 0x4d60], r12
mov qword [rbx + 0x4d58], r12
mov qword [rbx + 0x4d50], r12
call fcn.140035130
lea rcx, [rbx + 0x5118]
call fcn.140034d10
mov r8, qword [rbx + 0x5148]
test r8, r8
je 0x140007de3
mov rdi, qword [0x14008d3e0]
mov qword [rbx + 0x5140], r12
test rdi, rdi
je 0x140007dd3
movsx rdx, word [rdi + 0x56d0]
lea rcx, [rdi + 0x56d4]
mov r9d, dword [rdi + 0x4130]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140007dc9
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 + 0x56d0], cx
movsx rax, cx
lea rcx, [rdi + 0x56d4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r12d
inc word [rcx + 6]
inc dword [rdi + 0x56cc]
mov rcx, r8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x5148], r12
mov r8, qword [rbx + 0x5158]
test r8, r8
je 0x140007e74
mov rdi, qword [0x14008d3e0]
mov qword [rbx + 0x5150], r12
test rdi, rdi
je 0x140007e64
movsx rdx, word [rdi + 0x56d0]
lea rcx, [rdi + 0x56d4]
mov r9d, dword [rdi + 0x4130]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140007e5a
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 + 0x56d0], cx
movsx rax, cx
lea rcx, [rdi + 0x56d4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r12d
inc word [rcx + 6]
inc dword [rdi + 0x56cc]
mov rcx, r8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x5158], r12
mov edi, r12d
cmp dword [rbx + 0x5098], r12d
jle 0x140007ea1
movsxd rax, edi
lea rcx, [rax + rax*4]
mov rax, qword [rbx + 0x50a0]
lea rcx, [rax + rcx*8]
call fcn.140003c30
inc edi
cmp edi, dword [rbx + 0x5098]
jl 0x140007e80
mov r8, qword [rbx + 0x50a0]
test r8, r8
je 0x140007f32
mov rdi, qword [0x14008d3e0]
mov qword [rbx + 0x5098], r12
test rdi, rdi
je 0x140007f22
movsx rdx, word [rdi + 0x56d0]
lea rcx, [rdi + 0x56d4]
mov r9d, dword [rdi + 0x4130]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140007f18
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 + 0x56d0], cx
movsx rax, cx
lea rcx, [rdi + 0x56d4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r12d
inc word [rcx + 6]
inc dword [rdi + 0x56cc]
mov rcx, r8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x50a0], r12
lea rcx, [rbx + 0x50c8]
call fcn.140034e90
mov edi, r12d
mov rsi, qword [rsp + 0x60]
cmp dword [rbx + 0x50b8], r12d
jle 0x140007f70
nop
movsxd rax, edi
imul rcx, rax, 0x88
add rcx, qword [rbx + 0x50c0]
call fcn.140035db0
inc edi
cmp edi, dword [rbx + 0x50b8]
jl 0x140007f50
mov r8, qword [rbx + 0x50c0]
test r8, r8
je 0x140008001
mov rdi, qword [0x14008d3e0]
mov qword [rbx + 0x50b8], r12
test rdi, rdi
je 0x140007ff1
movsx rdx, word [rdi + 0x56d0]
lea rcx, [rdi + 0x56d4]
mov r9d, dword [rdi + 0x4130]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140007fe7
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 + 0x56d0], cx
movsx rax, cx
lea rcx, [rdi + 0x56d4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r12d
inc word [rcx + 6]
inc dword [rdi + 0x56cc]
mov rcx, r8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x50c0], r12
lea rcx, [rbx + 0x5100]
call fcn.140001030
lea rcx, [rbx + 0x51e8]
call fcn.140034ae0
lea rcx, [rbx + 0x51d8]
call fcn.140034c30
lea rcx, [rbx + 0x53e8]
call fcn.140001030
lea rcx, [rbx + 0x53f8]
call fcn.140001030
lea rcx, [rbx + 0x5250]
call fcn.140001030
lea rcx, [rbx + 0x5260]
call fcn.140001030
lea rcx, [rbx + 0x52b0]
mov dword [rbx + 0x52a8], r12d
call fcn.140001030
lea rcx, [rbx + 0x5500]
call fcn.140001030
mov r8, qword [rbx + 0x54f8]
test r8, r8
je 0x140008106
mov rdi, qword [0x14008d3e0]
mov qword [rbx + 0x54f0], r12
test rdi, rdi
je 0x1400080f6
movsx r10, word [rdi + 0x56d0]
lea rdx, [rdi + 0x56d4]
mov r9d, dword [rdi + 0x4130]
lea rdx, [rdx + r10*8]
cmp dword [rdx], r9d
je 0x1400080ec
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
lea rdx, [rdi + 0x56d4]
sub ecx, eax
mov word [rdi + 0x56d0], cx
movsx rax, cx
lea rdx, [rdx + rax*8]
mov dword [rdx], r9d
mov dword [rdx + 4], r12d
inc word [rdx + 6]
inc dword [rdi + 0x56cc]
mov rcx, r8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x54f8], r12
cmp qword [rbx + 0x55a8], r12
je 0x140008136
mov rdi, qword [rbx + 0x55a8]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rdi, rax
je 0x14000812f
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rbx + 0x55a8], r12
lea rcx, [rbx + 0x55b0]
call fcn.140001030
lea rcx, [rbx + 0x5630]
call fcn.140001030
lea rcx, [rbx + 0x5640]
call fcn.140001030
mov rdi, qword [rsp + 0x30]
mov dword [rbx + 0x5650], r12d
mov byte [rbx], r12b
add rsp, 0x38
pop r12
pop rbx
ret