Function at 0x140008ac0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, qword [0x140057908]
cmp qword [rdi + 0xa0], 0
je 0x140008af5
lea rcx, str.Forgot_to_shutdown_Platform_backend_
call fcn.140017070
cmp qword [rdi + 0xa8], 0
je 0x140008b0b
lea rcx, str.Forgot_to_shutdown_Renderer_backend_
call fcn.140017070
mov rax, qword [rdi + 0x38]
test rax, rax
je 0x140008b68
cmp byte [rdi + 1], 0
je 0x140008b68
mov byte [rax + 0x18], 0
mov rbx, qword [rdi + 0x38]
test rbx, rbx
je 0x140008b68
mov rcx, rbx
call fcn.14002b560
nop
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x140008b42
call fcn.14000a1e0
nop
mov rcx, qword [rbx + 0x70]
test rcx, rcx
je 0x140008b51
call fcn.14000a1e0
nop
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x140008b60
call fcn.14000a1e0
nop
mov rcx, rbx
call fcn.14000a1e0
xor r15d, r15d
mov qword [rdi + 0x38], r15
mov rcx, qword [rdi + 0x3e18]
test rcx, rcx
je 0x140008b8e
mov qword [rdi + 0x3e10], r15
call fcn.14000a1e0
mov qword [rdi + 0x3e18], r15
cmp byte [rdi], r15b
je 0x14000921c
cmp byte [rdi + 0x52b0], r15b
je 0x140008bff
mov rbx, qword [rdi + 0x20]
test rbx, rbx
je 0x140008bff
mov rax, qword [0x140057908]
mov dword [rax + 0x52b4], r15d
mov qword [rsp + 0x40], r15
lea rcx, [rsp + 0x40]
call fcn.14001e630
mov rsi, rax
lea rdx, [0x1400493d4]
mov rcx, rbx
call fcn.140005450
mov rbx, rax
test rax, rax
je 0x140008bff
mov r9, rax
mov r8, qword [rsp + 0x40]
mov edx, 1
mov rcx, rsi
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 rbx, qword [rdi + 0x5300]
movsxd rsi, dword [rdi + 0x52f8]
shl rsi, 5
add rsi, rbx
cmp rbx, rsi
je 0x140008c3b
nop dword [rax]
cmp dword [rbx + 4], 6
jne 0x140008c32
mov rax, qword [rbx + 0x10]
mov rdx, rbx
mov rcx, rdi
call rax
add rbx, 0x20
cmp rbx, rsi
jne 0x140008c20
mov ebx, r15d
cmp dword [rdi + 0x4050], r15d
jle 0x140008c7e
mov r14, r15
nop word [rax + rax]
mov rax, qword [rdi + 0x4058]
mov rsi, qword [r14 + rax]
test rsi, rsi
je 0x140008c70
mov rcx, rsi
call fcn.140009710
mov rcx, rsi
call fcn.14000a1e0
inc ebx
add r14, 8
cmp ebx, dword [rdi + 0x4050]
jl 0x140008c50
mov rcx, qword [rdi + 0x4058]
test rcx, rcx
je 0x140008c9d
mov qword [rdi + 0x4050], r15
call fcn.14000a1e0
mov qword [rdi + 0x4058], r15
mov rcx, qword [rdi + 0x4068]
test rcx, rcx
je 0x140008cbc
mov qword [rdi + 0x4060], r15
call fcn.14000a1e0
mov qword [rdi + 0x4068], r15
mov rcx, qword [rdi + 0x4078]
test rcx, rcx
je 0x140008cdb
mov qword [rdi + 0x4070], r15
call fcn.14000a1e0
mov qword [rdi + 0x4078], r15
mov qword [rdi + 0x40b0], r15
mov rcx, qword [rdi + 0x4088]
test rcx, rcx
je 0x140008d01
mov qword [rdi + 0x4080], r15
call fcn.14000a1e0
mov qword [rdi + 0x4088], r15
mov rcx, qword [rdi + 0x4098]
test rcx, rcx
je 0x140008d20
mov qword [rdi + 0x4090], r15
call fcn.14000a1e0
mov qword [rdi + 0x4098], r15
mov qword [rdi + 0x4bf0], r15
mov qword [rdi + 0x40c0], r15
mov qword [rdi + 0x40b8], r15
mov qword [rdi + 0x4160], r15
mov qword [rdi + 0x4148], r15
mov qword [rdi + 0x40d0], r15
lea rcx, [rdi + 0x48d8]
call fcn.140004730
mov rcx, qword [rdi + 0x4b50]
test rcx, rcx
je 0x140008d75
mov qword [rdi + 0x4b48], r15
call fcn.14000a1e0
mov qword [rdi + 0x4b50], r15
mov rcx, qword [rdi + 0x4b60]
test rcx, rcx
je 0x140008d94
mov qword [rdi + 0x4b58], r15
call fcn.14000a1e0
mov qword [rdi + 0x4b60], r15
mov rcx, qword [rdi + 0x4b70]
test rcx, rcx
je 0x140008db3
mov qword [rdi + 0x4b68], r15
call fcn.14000a1e0
mov qword [rdi + 0x4b70], r15
mov rcx, qword [rdi + 0x4bb0]
test rcx, rcx
je 0x140008dd2
mov qword [rdi + 0x4ba8], r15
call fcn.14000a1e0
mov qword [rdi + 0x4bb0], r15
mov rcx, qword [rdi + 0x4bc0]
test rcx, rcx
je 0x140008df1
mov qword [rdi + 0x4bb8], r15
call fcn.14000a1e0
mov qword [rdi + 0x4bc0], r15
mov rcx, qword [rdi + 0x4bd0]
test rcx, rcx
je 0x140008e10
mov qword [rdi + 0x4bc8], r15
call fcn.14000a1e0
mov qword [rdi + 0x4bd0], r15
mov ebp, r15d
cmp dword [rdi + 0x4bd8], r15d
jle 0x140008e9a
mov r14, r15
nop
mov rax, qword [rdi + 0x4be0]
mov rbx, qword [r14 + rax]
test rbx, rbx
je 0x140008e8c
mov rsi, qword [rbx + 0x40]
test rsi, rsi
je 0x140008e49
mov rcx, rsi
call fcn.1400045a0
mov rcx, rsi
call fcn.14000a1e0
mov rsi, qword [rbx + 0x48]
test rsi, rsi
je 0x140008e63
mov rcx, rsi
call fcn.1400045a0
mov rcx, rsi
call fcn.14000a1e0
nop
mov rcx, qword [rbx + 0xa8]
test rcx, rcx
je 0x140008e75
call fcn.14000a1e0
nop
mov rcx, qword [rbx + 0x68]
test rcx, rcx
je 0x140008e84
call fcn.14000a1e0
nop
mov rcx, rbx
call fcn.14000a1e0
inc ebp
add r14, 8
cmp ebp, dword [rdi + 0x4bd8]
jl 0x140008e20
mov rcx, qword [rdi + 0x4be0]
test rcx, rcx
je 0x140008eb9
mov qword [rdi + 0x4bd8], r15
call fcn.14000a1e0
mov qword [rdi + 0x4be0], r15
lea rcx, [rdi + 0x4f40]
call fcn.14001fa40
mov rcx, qword [rdi + 0x4f70]
test rcx, rcx
je 0x140008ee4
mov qword [rdi + 0x4f68], r15
call fcn.14000a1e0
mov qword [rdi + 0x4f70], r15
mov rcx, qword [rdi + 0x4f80]
test rcx, rcx
je 0x140008f03
mov qword [rdi + 0x4f78], r15
call fcn.14000a1e0
mov qword [rdi + 0x4f80], r15
mov ebx, r15d
cmp dword [rdi + 0x4ec0], r15d
jle 0x140008f45
mov rsi, r15
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rdi + 0x4ec8]
mov rcx, qword [rsi + rax + 0x20]
test rcx, rcx
je 0x140008f37
call fcn.14000a1e0
nop
inc ebx
add rsi, 0x28
cmp ebx, dword [rdi + 0x4ec0]
jl 0x140008f20
mov rcx, qword [rdi + 0x4ec8]
test rcx, rcx
je 0x140008f64
mov qword [rdi + 0x4ec0], r15
call fcn.14000a1e0
mov qword [rdi + 0x4ec8], r15
lea rcx, [rdi + 0x4ef0]
call fcn.14001fb40
mov ebp, r15d
cmp dword [rdi + 0x4ee0], r15d
jle 0x140008fc5
mov rsi, r15
nop
mov r14, qword [rdi + 0x4ee8]
lea rbx, [rsi + r14]
lea rcx, [rbx + 0x28]
call fcn.14002ad10
nop
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x140008fa4
call fcn.14000a1e0
nop
mov rcx, qword [rsi + r14 + 0x18]
test rcx, rcx
je 0x140008fb4
call fcn.14000a1e0
nop
inc ebp
add rsi, 0x88
cmp ebp, dword [rdi + 0x4ee0]
jl 0x140008f80
mov rcx, qword [rdi + 0x4ee8]
test rcx, rcx
je 0x140008fe4
mov qword [rdi + 0x4ee0], r15
call fcn.14000a1e0
mov qword [rdi + 0x4ee8], r15
mov rcx, qword [rdi + 0x4f30]
test rcx, rcx
je 0x140009003
mov qword [rdi + 0x4f28], r15
call fcn.14000a1e0
mov qword [rdi + 0x4f30], r15
mov rcx, qword [rdi + 0x5028]
test rcx, rcx
je 0x140009022
mov qword [rdi + 0x5020], r15
call fcn.14000a1e0
mov qword [rdi + 0x5028], r15
mov rcx, qword [rdi + 0x5018]
test rcx, rcx
je 0x140009041
mov qword [rdi + 0x5010], r15
call fcn.14000a1e0
mov qword [rdi + 0x5018], r15
mov qword [rdi + 0x5030], r15
mov ebx, r15d
cmp dword [rdi + 0x5000], r15d
jle 0x140009085
mov rsi, r15
nop word [rax + rax]
mov rax, qword [rdi + 0x5008]
mov rcx, qword [rsi + rax + 8]
test rcx, rcx
je 0x140009077
call fcn.14000a1e0
nop
inc ebx
add rsi, 0x60
cmp ebx, dword [rdi + 0x5000]
jl 0x140009060
mov rcx, qword [rdi + 0x5008]
test rcx, rcx
je 0x1400090a4
mov qword [rdi + 0x5000], r15
call fcn.14000a1e0
mov qword [rdi + 0x5008], r15
mov rcx, qword [rdi + 0x5210]
test rcx, rcx
je 0x1400090c3
mov qword [rdi + 0x5208], r15
call fcn.14000a1e0
mov qword [rdi + 0x5210], r15
mov rcx, qword [rdi + 0x5220]
test rcx, rcx
je 0x1400090e2
mov qword [rdi + 0x5218], r15
call fcn.14000a1e0
mov qword [rdi + 0x5220], r15
mov rcx, qword [rdi + 0x5080]
test rcx, rcx
je 0x140009101
mov qword [rdi + 0x5078], r15
call fcn.14000a1e0
mov qword [rdi + 0x5080], r15
mov rcx, qword [rdi + 0x5090]
test rcx, rcx
je 0x140009120
mov qword [rdi + 0x5088], r15
call fcn.14000a1e0
mov qword [rdi + 0x5090], r15
mov dword [rdi + 0x50d0], r15d
mov rcx, qword [rdi + 0x50e0]
test rcx, rcx
je 0x140009146
mov qword [rdi + 0x50d8], r15
call fcn.14000a1e0
mov qword [rdi + 0x50e0], r15
mov rcx, qword [rdi + 0x52e0]
test rcx, rcx
je 0x140009165
mov qword [rdi + 0x52d8], r15
call fcn.14000a1e0
mov qword [rdi + 0x52e0], r15
mov rcx, qword [rdi + 0x52d0]
test rcx, rcx
je 0x140009184
mov qword [rdi + 0x52c8], r15
call fcn.14000a1e0
mov qword [rdi + 0x52d0], r15
cmp qword [rdi + 0x5368], 0
je 0x1400091b5
mov rbx, qword [rdi + 0x5368]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rbx, rax
je 0x1400091ae
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rdi + 0x5368], r15
mov rcx, qword [rdi + 0x5378]
test rcx, rcx
je 0x1400091d4
mov qword [rdi + 0x5370], r15
call fcn.14000a1e0
mov qword [rdi + 0x5378], r15
mov rcx, qword [rdi + 0x53f8]
test rcx, rcx
je 0x1400091f3
mov qword [rdi + 0x53f0], r15
call fcn.14000a1e0
mov qword [rdi + 0x53f8], r15
mov rcx, qword [rdi + 0x5408]
test rcx, rcx
je 0x140009212
mov qword [rdi + 0x5400], r15
call fcn.14000a1e0
mov qword [rdi + 0x5408], r15
mov dword [rdi + 0x5410], r15d
mov byte [rdi], 0
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret