Function at 0x140064b50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x320
mov rax, qword [0x14034e010]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x140360448], eax
jle 0x140064c00
lea rcx, [0x140360448]
call fcn.140269f54
cmp dword [0x140360448], 0xffffffff
jne 0x140064c00
lea rax, [0x140360450]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [0x140360450]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov rcx, rax
call fcn.14002f340
lea rax, [0x140360450]
mov qword [rsp + 0x240], rax
lea rcx, [0x140310560]
call fcn.140269d78
lea rcx, [0x140360448]
call fcn.140269ef4
lea rax, [0x140360450]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx]
mov rax, qword [rax + 8]
sub rax, rcx
sar rax, 3
mov qword [rsp + 0x120], rax
cmp qword [rsp + 0x120], 0x123
jae 0x140064d2f
mov byte [rsp + 0x20], 1
lea rax, [0x140360450]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x98]
mov rcx, qword [rcx]
mov rax, qword [rax + 8]
sub rax, rcx
sar rax, 3
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
xor rax, 0xaac
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x248]
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0x130]
mov qword [rsp + 0xa8], rax
movzx eax, byte [rsp + 0x2e]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x22], al
mov r9, qword [rsp + 0xa0]
mov r8, qword [rsp + 0xa8]
movzx edx, byte [rsp + 0x22]
lea rcx, [rsp + 0x138]
call fcn.140182f60
nop
lea rax, [rsp + 0x138]
mov qword [rsp + 0x140], rax
mov rdx, qword [rsp + 0x140]
lea rcx, [0x140360450]
call fcn.140167a10
jmp 0x140064d3b
lea rcx, [0x140360450]
call fcn.140167970
lea rax, [rsp + 0x23]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x24]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x25]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx eax, byte [rsp + 0x23]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x38], al
movzx eax, byte [rsp + 0x25]
mov byte [rsp + 0x40], al
movabs rax, 0x2a68bd0843ebc754
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x230], rax
movabs rax, 0xc427e7653be1ac68
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x238], rax
lea rax, [rsp + 0x230]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x258]
mov qword [rsp + 0xb8], rax
movabs rax, 0x2a68bd0843eba523
mov qword [rsp + 0x300], rax
movabs rax, 0xc427e7653be1ac68
mov qword [rsp + 0x308], rax
lea rax, [rsp + 0x26]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx eax, byte [rsp + 0x26]
mov byte [rsp + 0x48], al
movdqa xmm0, xmmword [rsp + 0x300]
movdqa xmmword [rsp + 0x2c0], xmm0
mov rax, qword [rsp + 0x70]
movdqu xmm0, xmmword [rax]
movdqa xmmword [rsp + 0x2b0], xmm0
movdqa xmm0, xmmword [rsp + 0x2b0]
pxor xmm0, xmmword [rsp + 0x2c0]
movdqa xmmword [rsp + 0x2d0], xmm0
mov rax, qword [rsp + 0x70]
movdqa xmm0, xmmword [rsp + 0x2d0]
movdqu xmmword [rax], xmm0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x260]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x330]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x78]
cmp qword [rax + 0x18], 0x10
jb 0x140064ec6
mov dword [rsp + 0x54], 1
jmp 0x140064ece
mov dword [rsp + 0x54], 0
movzx eax, byte [rsp + 0x54]
mov byte [rsp + 0x27], al
movzx eax, byte [rsp + 0x27]
test eax, eax
je 0x140064f00
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xc0]
call fcn.1402dce68
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x1400654a9
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x140360448], eax
jle 0x140064fd8
lea rcx, [0x140360448]
call fcn.140269f54
cmp dword [0x140360448], 0xffffffff
jne 0x140064fd8
lea rax, [0x140360450]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [0x140360450]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov rcx, rax
call fcn.14002f340
lea rax, [0x140360450]
mov qword [rsp + 0x268], rax
lea rcx, [0x140310560]
call fcn.140269d78
lea rcx, [0x140360448]
call fcn.140269ef4
lea rax, [0x140360450]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc8]
mov rcx, qword [rcx]
mov rax, qword [rax + 8]
sub rax, rcx
sar rax, 3
mov qword [rsp + 0x170], rax
cmp qword [rsp + 0x170], 0x123
jae 0x14006510a
mov byte [rsp + 0x28], 1
lea rax, [0x140360450]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx]
mov rax, qword [rax + 8]
sub rax, rcx
sar rax, 3
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
xor rax, 0xaac
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x270]
mov qword [rsp + 0xd8], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x278]
mov qword [rsp + 0xe0], rax
lea rax, [rsp + 0x180]
mov qword [rsp + 0xe0], rax
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x29], al
movzx eax, byte [rsp + 0x29]
mov byte [rsp + 0x2a], al
mov r9, qword [rsp + 0xd8]
mov r8, qword [rsp + 0xe0]
movzx edx, byte [rsp + 0x2a]
lea rcx, [rsp + 0x188]
call fcn.140182f60
nop
lea rax, [rsp + 0x188]
mov qword [rsp + 0x190], rax
mov rdx, qword [rsp + 0x190]
lea rcx, [0x140360450]
call fcn.140167a10
jmp 0x140065198
lea rax, [0x140360450]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xe8]
add rax, 8
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax]
mov qword [rsp + 0x280], rax
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax]
mov qword [rsp + 0x288], rax
lea rax, [0x140360450]
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x290], rax
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf8]
mov rcx, qword [rcx]
mov qword [rax], rcx
mov rax, qword [rsp + 0x298]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x338]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x1a0], 0xa3547
mov rax, qword [rsp + 0x1a0]
xor rax, 4
mov qword [rsp + 0x1b8], rax
mov qword [rsp + 0x1a8], 4
mov rax, qword [0x14034ed70]
xor rax, 0x8b78
imul rax, rax, 5
mov qword [rsp + 0x1b0], rax
mov qword [rsp + 0x1c0], 0x77db2
mov rax, qword [rsp + 0x1a8]
mov rcx, qword [rsp + 0x1b0]
lea rax, [rax + rcx + 1]
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x1b8]
mov rcx, qword [rsp + 0x1c0]
sub rax, rcx
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x1c8]
mov rcx, qword [rsp + 0x1d0]
xor edx, edx
div rcx
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsp + 0x1d8]
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x2a0]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x338]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x18], 0x10
jb 0x1400652bb
mov dword [rsp + 0x58], 1
jmp 0x1400652c3
mov dword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x2b], al
movzx eax, byte [rsp + 0x2b]
test eax, eax
je 0x1400652f8
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x1e8], rax
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0x110], rax
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x108]
mov rdx, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x110]
call fcn.1402dd3c4
lea rdx, [0x140331cd4]
lea rcx, [rsp + 0x2e0]
call fcn.14001ea10
nop
mov rax, qword [rsp + 0x2f0]
mov qword [rsp + 0x1f8], rax
cmp qword [rsp + 0x1f8], 0xc
jae 0x1400653c3
mov rax, qword [rsp + 0x2f0]
mov qword [rsp + 0x200], rax
cmp qword [rsp + 0x200], 0
jne 0x140065392
mov dword [rsp + 0x5c], 1
jmp 0x14006539a
mov dword [rsp + 0x5c], 0
movzx eax, byte [rsp + 0x5c]
mov byte [rsp + 0x2c], al
movzx eax, byte [rsp + 0x2c]
test eax, eax
jne 0x1400653c3
lea rdx, [rsp + 0x2e0]
lea rcx, [rsp + 0x2e0]
call fcn.14001e8e0
jmp 0x1400653d3
xor edx, edx
lea rcx, [rsp + 0x2e0]
call fcn.1400294e0
nop
mov rax, qword [rsp + 0x2f0]
mov qword [rsp + 0x208], rax
cmp qword [rsp + 0x208], 0
jne 0x1400653f8
mov dword [rsp + 0x60], 1
jmp 0x140065400
mov dword [rsp + 0x60], 0
movzx eax, byte [rsp + 0x60]
mov byte [rsp + 0x2d], al
movzx eax, byte [rsp + 0x2d]
test eax, eax
je 0x14006548e
mov edx, 7
lea rcx, [rsp + 0x2e0]
call fcn.140168960
lea rax, str.Cleaner
mov qword [rsp + 0x210], rax
mov qword [rsp + 0x68], 0xffffffffffffffff
inc qword [rsp + 0x68]
mov rax, qword [rsp + 0x210]
mov rcx, qword [rsp + 0x68]
cmp byte [rax + rcx], 0
jne 0x14006543c
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x218], rax
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0x220], rax
mov r8, qword [rsp + 0x220]
lea rdx, str.Cleaner
lea rcx, [rsp + 0x2e0]
call fcn.140021ce0
nop
lea rcx, [rsp + 0x2e0]
call fcn.140021a50
mov rcx, qword [rsp + 0x88]
call fcn.1402dcef8
nop
mov rcx, qword [rsp + 0x330]
call fcn.140021a50
nop
mov rcx, qword [rsp + 0x338]
call fcn.140021a50
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.140269760
add rsp, 0x320
pop rdi
ret