Function at 0x14000c180
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x108
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov rax, qword [0x140292900]
xor rax, rsp
mov qword [rsp + 0xf0], rax
call fcn.14000b508
mov dword [rsp + 0x58], eax
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0x58]
call fcn.14000b534
movzx eax, al
test eax, eax
je 0x14000c1e7
lea rcx, [rsp + 0x118]
call fcn.14000c010
jmp 0x14000c5a5
mov rcx, qword [rsp + 0x110]
call fcn.14000c79c
test rax, rax
je 0x14000c254
mov rcx, qword [rsp + 0x110]
call fcn.14000c79c
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x110]
call fcn.14000b510
mov rcx, qword [rsp + 0x78]
cmp rcx, rax
jae 0x14000c254
lea rcx, [rsp + 0x118]
call fcn.14000cfc0
mov byte [rsp + 0x40], al
mov rcx, qword [rsp + 0x110]
call fcn.1400099f4
mov cl, byte [rsp + 0x40]
mov byte [rax], cl
mov eax, dword [rsp + 0x118]
jmp 0x14000c5a5
mov rax, qword [rsp + 0x110]
cmp qword [rax + 0x80], 0
jne 0x14000c270
call fcn.14000b508
jmp 0x14000c5a5
mov rcx, qword [rsp + 0x110]
call fcn.140009c90
mov rax, qword [rsp + 0x110]
cmp qword [rax + 0x68], 0
jne 0x14000c2da
lea rcx, [rsp + 0x118]
call fcn.14000cfc0
mov rcx, qword [rsp + 0x110]
mov rdx, qword [rcx + 0x80]
mov cl, al
call fcn.14000389c
movzx eax, al
test eax, eax
je 0x14000c2c3
mov eax, dword [rsp + 0x118]
mov dword [rsp + 0x48], eax
jmp 0x14000c2cc
call fcn.14000b508
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
jmp 0x14000c5a5
mov dword [rsp + 0x70], 8
lea rcx, [rsp + 0x118]
call fcn.14000cfc0
mov byte [rsp + 0xc8], al
xor r8d, r8d
mov edx, 8
lea rcx, [rsp + 0xd0]
call fcn.140004f30
nop
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0xd0]
call fcn.14000ab20
mov rcx, rax
call fcn.1400062c8
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0xd0]
call fcn.14000ce88
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0xd0]
call fcn.14000ab20
mov rcx, rax
call fcn.1400062c8
lea rcx, [rsp + 0xc9]
mov rdx, qword [rsp + 0x110]
add rdx, 0x74
lea r8, [rsp + 0xb8]
mov qword [rsp + 0x38], r8
mov r8, qword [rsp + 0x88]
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9, rcx
lea r8, [rsp + 0xc8]
mov rax, qword [rsp + 0x110]
mov rcx, qword [rax + 0x68]
call fcn.14000c114
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jl 0x14000c576
cmp dword [rsp + 0x44], 1
jle 0x14000c3f3
cmp dword [rsp + 0x44], 3
je 0x14000c523
jmp 0x14000c576
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0xd0]
call fcn.14000ab20
mov rcx, rax
call fcn.1400062c8
mov rcx, qword [rsp + 0xb8]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jbe 0x14000c48f
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0xd0]
call fcn.14000ab20
mov rcx, rax
call fcn.1400062c8
mov rcx, qword [rsp + 0x110]
mov r9, qword [rcx + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, rax
call fcn.1401b4008
cmp qword [rsp + 0x50], rax
je 0x14000c48f
call fcn.14000b508
mov dword [rsp + 0x5c], eax
lea rcx, [rsp + 0xd0]
call fcn.140005cb4
mov eax, dword [rsp + 0x5c]
jmp 0x14000c5a5
mov rax, qword [rsp + 0x110]
mov byte [rax + 0x71], 1
lea rax, [rsp + 0xc8]
cmp qword [rsp + 0xc0], rax
je 0x14000c4ce
mov eax, dword [rsp + 0x118]
mov dword [rsp + 0x60], eax
lea rcx, [rsp + 0xd0]
call fcn.140005cb4
mov eax, dword [rsp + 0x60]
jmp 0x14000c5a5
cmp qword [rsp + 0x50], 0
jbe 0x14000c4d8
jmp 0x14000c521
lea rcx, [rsp + 0xd0]
call fcn.14000ce88
cmp rax, 0x20
jae 0x14000c502
xor r8d, r8d
mov edx, 8
lea rcx, [rsp + 0xd0]
call fcn.14000a500
jmp 0x14000c521
call fcn.14000b508
mov dword [rsp + 0x64], eax
lea rcx, [rsp + 0xd0]
call fcn.140005cb4
mov eax, dword [rsp + 0x64]
jmp 0x14000c5a5
jmp 0x14000c592
mov rax, qword [rsp + 0x110]
mov rdx, qword [rax + 0x80]
mov cl, byte [rsp + 0xc8]
call fcn.14000389c
movzx eax, al
test eax, eax
je 0x14000c552
mov eax, dword [rsp + 0x118]
mov dword [rsp + 0x4c], eax
jmp 0x14000c55b
call fcn.14000b508
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x68], eax
lea rcx, [rsp + 0xd0]
call fcn.140005cb4
mov eax, dword [rsp + 0x68]
jmp 0x14000c5a5
call fcn.14000b508
mov dword [rsp + 0x6c], eax
lea rcx, [rsp + 0xd0]
call fcn.140005cb4
mov eax, dword [rsp + 0x6c]
jmp 0x14000c5a5
jmp 0x14000c30c
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1401a82a0
add rsp, 0x108
ret