Function at 0x14019e570
Capabilities:
Write file on windows

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa00
mov rax, qword [0x14034e010]
xor rax, rsp
mov qword [rsp + 0x9f0], rax
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x68], 0
mov dword [rsp + 0xd0], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0xd4], 0
mov dword [rsp + 0x1c0], 0
mov dword [rsp + 0xd8], 0
mov dword [rsp + 0xdc], 0
lea rax, [rsp + 0x1c8]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rsp + 0x1c8]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rax], 0
mov rax, qword [rsp + 0x88]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x88]
mov qword [rax + 0x10], 0
lea rax, [rsp + 0x1c8]
mov qword [rsp + 0x150], rax
lea rax, [rsp + 0x1c8]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xc8]
add rax, 8
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
mov qword [rsp + 0x160], rax
lea rax, [rsp + 0x1c8]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx]
mov qword [rax], rcx
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x1c4], 0
mov dword [rsp + 0x60], 0
lea rax, [rsp + 0x1c4]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0xa40]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0xa38]
movzx r8d, byte [rsp + 0xa28]
mov rdx, qword [rsp + 0xa20]
mov rcx, qword [rsp + 0xa18]
call fcn.14019e000
mov rax, qword [0x14035fad0]
mov qword [rsp + 0xf0], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xa38]
call qword [rsp + 0xf0]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x14019e7aa
mov dword [rsp + 0x80], 1
lea rcx, [rsp + 0x1c8]
call fcn.14002efd0
mov eax, dword [rsp + 0x80]
jmp 0x14019ebb6
mov dword [rsp + 0x30], 0x80000000
movzx eax, byte [rsp + 0xa28]
test eax, eax
je 0x14019e7e2
mov eax, dword [rsp + 0x30]
bts eax, 0x17
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
bts eax, 0xd
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
bts eax, 0xc
mov dword [rsp + 0x30], eax
mov rax, qword [0x14035fae0]
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xa10]
mov rcx, qword [rsp + 0x70]
call qword [rsp + 0xf8]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x14019e836
mov dword [rsp + 0x60], 2
jmp 0x14019eb51
mov rax, qword [0x14035faa8]
mov qword [rsp + 0x100], rax
lea r9, [rsp + 0x1c0]
mov r8d, 0x800
lea rdx, [rsp + 0x1f0]
mov rcx, qword [rsp + 0x68]
call qword [rsp + 0x100]
test eax, eax
je 0x14019e91a
mov eax, dword [rsp + 0x1c0]
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x1c0], 0
jne 0x14019e897
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x1c4], eax
cmp dword [rsp + 0x1c0], 0
jne 0x14019e8a3
jmp 0x14019e91a
lea rax, [rsp + 0x1c8]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xa8]
mov rcx, qword [rcx]
mov rax, qword [rax + 8]
sub rax, rcx
mov qword [rsp + 0x170], rax
mov dword [rsp + 0x38], 0
jmp 0x14019e8e9
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x1c0]
cmp dword [rsp + 0x38], eax
jae 0x14019e915
movsxd rax, dword [rsp + 0x38]
lea rax, [rsp + rax + 0x1f0]
mov rdx, rax
lea rcx, [rsp + 0x1c8]
call fcn.140167630
jmp 0x14019e8df
jmp 0x14019e836
cmp dword [rsp + 0x1c4], 0
jle 0x14019e939
mov eax, dword [rsp + 0x1c4]
cmp dword [rsp + 0x3c], eax
je 0x14019e939
mov dword [rsp + 0x60], 5
lea rax, [rsp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x35]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x36]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x40], al
movzx eax, byte [rsp + 0x35]
mov byte [rsp + 0x48], al
movzx eax, byte [rsp + 0x36]
mov byte [rsp + 0x50], al
movabs rax, 0x97ab3c44ddec0a80
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x140], rax
movabs rax, 0xc4cf903117af28f0
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x148], rax
lea rax, [rsp + 0x140]
mov qword [rsp + 0x90], rax
movabs rax, 0x97ab3c44ddec68f7
mov qword [rsp + 0x1e0], rax
movabs rax, 0xc4cf903117af28f0
mov qword [rsp + 0x1e8], rax
lea rax, [rsp + 0x37]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx eax, byte [rsp + 0x37]
mov byte [rsp + 0x58], al
movdqa xmm0, xmmword [rsp + 0x1e0]
movdqa xmmword [rsp + 0x1a0], xmm0
mov rax, qword [rsp + 0x90]
movdqu xmm0, xmmword [rax]
movdqa xmmword [rsp + 0x190], xmm0
movdqa xmm0, xmmword [rsp + 0x190]
pxor xmm0, xmmword [rsp + 0x1a0]
movdqa xmmword [rsp + 0x1b0], xmm0
mov rax, qword [rsp + 0x90]
movdqa xmm0, xmmword [rsp + 0x1b0]
movdqu xmmword [rax], xmm0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x118], rax
mov rdx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0xa30]
call fcn.1402dce78
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x14019eb51
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0x1c8]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx]
mov rax, qword [rax + 8]
sub rax, rcx
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0xc0], rax
mov r9, qword [rsp + 0x78]
mov r8, qword [rsp + 0xb8]
mov edx, 1
mov rcx, qword [rsp + 0xc0]
call fcn.1402dd3d4
mov rcx, qword [rsp + 0x78]
call fcn.1402dcf08
cmp qword [rsp + 0x68], 0
je 0x14019eb74
mov rax, qword [0x14035faa0]
mov qword [rsp + 0x130], rax
mov rcx, qword [rsp + 0x68]
call qword [rsp + 0x130]
cmp qword [rsp + 0x70], 0
je 0x14019eb97
mov rax, qword [0x14035faa0]
mov qword [rsp + 0x138], rax
mov rcx, qword [rsp + 0x70]
call qword [rsp + 0x138]
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x84], eax
lea rcx, [rsp + 0x1c8]
call fcn.14002efd0
mov eax, dword [rsp + 0x84]
mov rcx, qword [rsp + 0x9f0]
xor rcx, rsp
call fcn.140269770
add rsp, 0xa00
pop rdi
ret