Function at 0x140032c30
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0xd8
mov dword [rsp + 0xd0], edx
mov qword [rsp + 0xc8], rcx
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x7c], eax
call fcn.14002caf0
mov edx, dword [rsp + 0x7c]
mov ecx, eax
call fcn.14002cb50
test al, 1
jne 0x140032c7b
jmp 0x140032c93
mov ecx, dword [rsp + 0xd0]
call fcn.14002cb70
mov dword [rsp + 0xd4], eax
jmp 0x140032f58
mov rcx, qword [rsp + 0x70]
call fcn.14002c840
cmp rax, 0
je 0x140032d04
mov rcx, qword [rsp + 0x70]
call fcn.14002c840
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x68], rax
call fcn.14002c860
mov rcx, rax
mov rax, qword [rsp + 0x68]
cmp rax, rcx
jae 0x140032d04
mov ecx, dword [rsp + 0xd0]
call fcn.140020d00
mov rcx, qword [rsp + 0x70]
mov byte [rsp + 0x67], al
call fcn.14002cbc0
mov cl, byte [rsp + 0x67]
mov byte [rax], cl
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0xd4], eax
jmp 0x140032f58
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x80], 0
jne 0x140032d28
call fcn.14002caf0
mov dword [rsp + 0xd4], eax
jmp 0x140032f58
mov rcx, qword [rsp + 0x70]
call fcn.140033d80
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x68], 0
jne 0x140032da1
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x80]
mov qword [rsp + 0x58], rax
mov ecx, dword [rsp + 0xd0]
call fcn.140020d00
mov rdx, qword [rsp + 0x58]
mov cl, al
call fcn.140033dd0
test al, 1
jne 0x140032d78
jmp 0x140032d88
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x54], eax
jmp 0x140032d91
call fcn.14002caf0
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0xd4], eax
jmp 0x140032f58
mov qword [rsp + 0xc0], 0x20
mov ecx, dword [rsp + 0xd0]
call fcn.140020d00
mov rdx, qword [rsp + 0x70]
mov byte [rsp + 0x9f], al
mov rcx, qword [rdx + 0x68]
lea r8, [rsp + 0xc0]
lea r9, [rsp + 0xa0]
add rdx, 0x74
mov rax, rsp
lea r10, [rsp + 0x88]
mov qword [rax + 0x38], r10
mov qword [rax + 0x30], r8
lea r8, [rsp + 0xa0]
mov qword [rax + 0x28], r8
lea r8, [rsp + 0x90]
mov qword [rax + 0x20], r8
lea r8, [rsp + 0x9f]
call fcn.140033e00
mov ecx, eax
mov dword [rsp + 0x50], ecx
sub eax, 2
jb 0x140032e3b
jmp 0x140032e29
mov eax, dword [rsp + 0x50]
sub eax, 3
je 0x140032efe
jmp 0x140032f4c
mov rax, qword [rsp + 0x88]
lea rcx, [rsp + 0xa0]
sub rax, rcx
mov qword [rsp + 0x80], rax
xor eax, eax
cmp rax, qword [rsp + 0x80]
jae 0x140032ebb
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x48], rcx
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x80]
lea rcx, [rsp + 0xa0]
mov edx, 1
call fcn.1403a1624
mov rcx, rax
mov rax, qword [rsp + 0x48]
cmp rax, rcx
je 0x140032ebb
call fcn.14002caf0
mov dword [rsp + 0xd4], eax
jmp 0x140032f58
mov rax, qword [rsp + 0x70]
mov byte [rax + 0x71], 1
lea rax, [rsp + 0x9f]
cmp qword [rsp + 0x90], rax
je 0x140032eed
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0xd4], eax
jmp 0x140032f58
call fcn.14002caf0
mov dword [rsp + 0xd4], eax
jmp 0x140032f58
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax + 0x80]
mov cl, byte [rsp + 0x9f]
call fcn.140033dd0
test al, 1
jne 0x140032f23
jmp 0x140032f33
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x44], eax
jmp 0x140032f3c
call fcn.14002caf0
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0xd4], eax
jmp 0x140032f58
call fcn.14002caf0
mov dword [rsp + 0xd4], eax
mov eax, dword [rsp + 0xd4]
add rsp, 0xd8
ret