Function at 0x14000f360
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 [0x140099fd0]
mov rax, qword [rdi + 0x38]
test rax, rax
je 0x14000f3dc
cmp byte [rdi + 1], 0
je 0x14000f3dc
mov byte [rax + 0x18], 0
mov rbx, qword [rdi + 0x38]
test rbx, rbx
je 0x14000f3dc
mov rcx, rbx
call fcn.14002f3f0
nop
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x14000f3b6
call fcn.140010670
nop
mov rcx, qword [rbx + 0x70]
test rcx, rcx
je 0x14000f3c5
call fcn.140010670
nop
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x14000f3d4
call fcn.140010670
nop
mov rcx, rbx
call fcn.140010670
xor r15d, r15d
mov qword [rdi + 0x38], r15
mov rcx, qword [rdi + 0x3d80]
test rcx, rcx
je 0x14000f402
mov qword [rdi + 0x3d78], r15
call fcn.140010670
mov qword [rdi + 0x3d80], r15
cmp byte [rdi], r15b
je 0x14000f9f5
cmp byte [rdi + 0x5ed0], r15b
je 0x14000f471
mov rbx, qword [rdi + 0x20]
test rbx, rbx
je 0x14000f471
mov rax, qword [0x140099fd0]
mov dword [rax + 0x5ed4], r15d
mov qword [rsp + 0x40], r15
lea rcx, [rsp + 0x40]
call fcn.1400228f0
mov rsi, rax
lea rdx, [0x14008ac68]
mov rcx, rbx
call fcn.14000d420
mov rbx, rax
test rax, rax
je 0x14000f471
mov r9, rax
mov r8, qword [rsp + 0x40]
mov edx, 1
mov rcx, rsi
call fcn.14004f6d4
mov rcx, rbx
call fcn.14004f0e4
mov rbx, qword [rdi + 0x5f20]
movsxd rsi, dword [rdi + 0x5f18]
shl rsi, 5
add rsi, rbx
cmp rbx, rsi
je 0x14000f4ab
nop dword [rax + rax]
cmp dword [rbx + 4], 6
jne 0x14000f4a2
mov rax, qword [rbx + 0x10]
mov rdx, rbx
mov rcx, rdi
call rax
add rbx, 0x20
cmp rbx, rsi
jne 0x14000f490
mov ebx, r15d
cmp dword [rdi + 0x3fa8], r15d
jle 0x14000f4ee
mov r14, r15
nop word [rax + rax]
mov rax, qword [rdi + 0x3fb0]
mov rsi, qword [r14 + rax]
test rsi, rsi
je 0x14000f4e0
mov rcx, rsi
call fcn.14000fec0
mov rcx, rsi
call fcn.140010670
inc ebx
add r14, 8
cmp ebx, dword [rdi + 0x3fa8]
jl 0x14000f4c0
mov rcx, qword [rdi + 0x3fb0]
test rcx, rcx
je 0x14000f50d
mov qword [rdi + 0x3fa8], r15
call fcn.140010670
mov qword [rdi + 0x3fb0], r15
mov rcx, qword [rdi + 0x3fc0]
test rcx, rcx
je 0x14000f52c
mov qword [rdi + 0x3fb8], r15
call fcn.140010670
mov qword [rdi + 0x3fc0], r15
mov rcx, qword [rdi + 0x3fd0]
test rcx, rcx
je 0x14000f54b
mov qword [rdi + 0x3fc8], r15
call fcn.140010670
mov qword [rdi + 0x3fd0], r15
mov qword [rdi + 0x4008], r15
mov rcx, qword [rdi + 0x3fe0]
test rcx, rcx
je 0x14000f571
mov qword [rdi + 0x3fd8], r15
call fcn.140010670
mov qword [rdi + 0x3fe0], r15
mov rcx, qword [rdi + 0x3ff0]
test rcx, rcx
je 0x14000f590
mov qword [rdi + 0x3fe8], r15
call fcn.140010670
mov qword [rdi + 0x3ff0], r15
mov qword [rdi + 0x4ad8], r15
mov qword [rdi + 0x4018], r15
mov qword [rdi + 0x4010], r15
mov qword [rdi + 0x40a0], r15
mov qword [rdi + 0x4088], r15
mov qword [rdi + 0x4020], r15
lea rcx, [rdi + 0x47e8]
call fcn.14000b8e0
mov rcx, qword [rdi + 0x4a38]
test rcx, rcx
je 0x14000f5e5
mov qword [rdi + 0x4a30], r15
call fcn.140010670
mov qword [rdi + 0x4a38], r15
mov rcx, qword [rdi + 0x4a48]
test rcx, rcx
je 0x14000f604
mov qword [rdi + 0x4a40], r15
call fcn.140010670
mov qword [rdi + 0x4a48], r15
mov rcx, qword [rdi + 0x4a58]
test rcx, rcx
je 0x14000f623
mov qword [rdi + 0x4a50], r15
call fcn.140010670
mov qword [rdi + 0x4a58], r15
mov rcx, qword [rdi + 0x4a98]
test rcx, rcx
je 0x14000f642
mov qword [rdi + 0x4a90], r15
call fcn.140010670
mov qword [rdi + 0x4a98], r15
mov rcx, qword [rdi + 0x4aa8]
test rcx, rcx
je 0x14000f661
mov qword [rdi + 0x4aa0], r15
call fcn.140010670
mov qword [rdi + 0x4aa8], r15
mov rcx, qword [rdi + 0x4ab8]
test rcx, rcx
je 0x14000f680
mov qword [rdi + 0x4ab0], r15
call fcn.140010670
mov qword [rdi + 0x4ab8], r15
mov ebp, r15d
cmp dword [rdi + 0x4ac8], r15d
jle 0x14000f70a
mov r14, r15
nop
mov rax, qword [rdi + 0x4ad0]
mov rbx, qword [r14 + rax]
test rbx, rbx
je 0x14000f6fc
mov rsi, qword [rbx + 0x38]
test rsi, rsi
je 0x14000f6b9
mov rcx, rsi
call fcn.14000b770
mov rcx, rsi
call fcn.140010670
mov rsi, qword [rbx + 0x40]
test rsi, rsi
je 0x14000f6d3
mov rcx, rsi
call fcn.14000b770
mov rcx, rsi
call fcn.140010670
nop
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x14000f6e5
call fcn.140010670
nop
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x14000f6f4
call fcn.140010670
nop
mov rcx, rbx
call fcn.140010670
inc ebp
add r14, 8
cmp ebp, dword [rdi + 0x4ac8]
jl 0x14000f690
mov rcx, qword [rdi + 0x4ad0]
test rcx, rcx
je 0x14000f729
mov qword [rdi + 0x4ac8], r15
call fcn.140010670
mov qword [rdi + 0x4ad0], r15
lea rcx, [rdi + 0x4e18]
call fcn.140023c50
mov rcx, qword [rdi + 0x4e48]
test rcx, rcx
je 0x14000f754
mov qword [rdi + 0x4e40], r15
call fcn.140010670
mov qword [rdi + 0x4e48], r15
mov rcx, qword [rdi + 0x4e58]
test rcx, rcx
je 0x14000f773
mov qword [rdi + 0x4e50], r15
call fcn.140010670
mov qword [rdi + 0x4e58], r15
mov ebx, r15d
cmp dword [rdi + 0x4d98], r15d
jle 0x14000f7b5
mov rsi, r15
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rdi + 0x4da0]
mov rcx, qword [rsi + rax + 0x20]
test rcx, rcx
je 0x14000f7a7
call fcn.140010670
nop
inc ebx
add rsi, 0x28
cmp ebx, dword [rdi + 0x4d98]
jl 0x14000f790
mov rcx, qword [rdi + 0x4da0]
test rcx, rcx
je 0x14000f7d4
mov qword [rdi + 0x4d98], r15
call fcn.140010670
mov qword [rdi + 0x4da0], r15
lea rcx, [rdi + 0x4dc8]
call fcn.140023d50
mov esi, r15d
cmp dword [rdi + 0x4db8], r15d
jle 0x14000f822
mov rbp, r15
nop
mov rbx, qword [rdi + 0x4dc0]
lea rcx, [rbx + 0x18]
add rcx, rbp
call fcn.14002ecf0
nop
mov rcx, qword [rbx + rbp + 0x28]
test rcx, rcx
je 0x14000f814
call fcn.140010670
nop
inc esi
add rbp, 0x78
cmp esi, dword [rdi + 0x4db8]
jl 0x14000f7f0
mov rcx, qword [rdi + 0x4dc0]
test rcx, rcx
je 0x14000f841
mov qword [rdi + 0x4db8], r15
call fcn.140010670
mov qword [rdi + 0x4dc0], r15
mov rcx, qword [rdi + 0x4e08]
test rcx, rcx
je 0x14000f860
mov qword [rdi + 0x4e00], r15
call fcn.140010670
mov qword [rdi + 0x4e08], r15
mov rcx, qword [rdi + 0x5e30]
test rcx, rcx
je 0x14000f87f
mov qword [rdi + 0x5e28], r15
call fcn.140010670
mov qword [rdi + 0x5e30], r15
mov rcx, qword [rdi + 0x5e40]
test rcx, rcx
je 0x14000f89e
mov qword [rdi + 0x5e38], r15
call fcn.140010670
mov qword [rdi + 0x5e40], r15
mov rcx, qword [rdi + 0x4ea8]
test rcx, rcx
je 0x14000f8bd
mov qword [rdi + 0x4ea0], r15
call fcn.140010670
mov qword [rdi + 0x4ea8], r15
mov rcx, qword [rdi + 0x4eb8]
test rcx, rcx
je 0x14000f8dc
mov qword [rdi + 0x4eb0], r15
call fcn.140010670
mov qword [rdi + 0x4eb8], r15
mov rcx, qword [rdi + 0x4ec8]
test rcx, rcx
je 0x14000f8fb
mov qword [rdi + 0x4ec0], r15
call fcn.140010670
mov qword [rdi + 0x4ec8], r15
mov dword [rdi + 0x5d18], r15d
mov rcx, qword [rdi + 0x5d28]
test rcx, rcx
je 0x14000f921
mov qword [rdi + 0x5d20], r15
call fcn.140010670
mov qword [rdi + 0x5d28], r15
mov rcx, qword [rdi + 0x5f00]
test rcx, rcx
je 0x14000f940
mov qword [rdi + 0x5ef8], r15
call fcn.140010670
mov qword [rdi + 0x5f00], r15
mov rcx, qword [rdi + 0x5ef0]
test rcx, rcx
je 0x14000f95f
mov qword [rdi + 0x5ee8], r15
call fcn.140010670
mov qword [rdi + 0x5ef0], r15
cmp qword [rdi + 0x5f78], 0
je 0x14000f98e
mov rbx, qword [rdi + 0x5f78]
mov ecx, 1
call fcn.14004f3b4
cmp rbx, rax
je 0x14000f987
mov rcx, rbx
call fcn.14004f0e4
mov qword [rdi + 0x5f78], r15
mov rcx, qword [rdi + 0x5f88]
test rcx, rcx
je 0x14000f9ad
mov qword [rdi + 0x5f80], r15
call fcn.140010670
mov qword [rdi + 0x5f88], r15
mov rcx, qword [rdi + 0x5fc0]
test rcx, rcx
je 0x14000f9cc
mov qword [rdi + 0x5fb8], r15
call fcn.140010670
mov qword [rdi + 0x5fc0], r15
mov rcx, qword [rdi + 0x5fd0]
test rcx, rcx
je 0x14000f9eb
mov qword [rdi + 0x5fc8], r15
call fcn.140010670
mov qword [rdi + 0x5fd0], r15
mov dword [rdi + 0x5fd8], 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