Function at 0x18013f9c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov r15, r8
lea r9, [rbp + 0x88]
xor r12d, r12d
lea r8, [rsp + 0x40]
mov qword [rsp + 0x40], r12
mov rsi, rdx
mov dword [rbp + 0x88], r12d
mov r14, rcx
call fcn.180145ac0
test eax, eax
jne 0x18013fbe5
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call fcn.1801404e0
mov rbx, rax
test rdi, rdi
je 0x18013faf8
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
jne 0x18013faf8
movdqa xmm0, xmmword [0x1801620a0]
lea rdx, [rsp + 0x48]
movdqa xmm1, xmmword [0x180160500]
lea rcx, [rbp]
movabs rax, 0x8488351c950cfdf5
mov qword [rsp + 0x68], rax
movabs rax, 0xffd248db3b5cd2f8
mov qword [rsp + 0x70], rax
movabs rax, 0x2b7ae7f98d26cfe2
mov qword [rsp + 0x78], rax
movdqu xmmword [rsp + 0x48], xmm0
movdqu xmmword [rsp + 0x58], xmm1
call fcn.1800084e0
lea r8, [rbp - 0x20]
mov edx, 0x100000
movups xmm1, xmmword [rax]
movups xmmword [rbp - 0x20], xmm1
movsd xmm0, qword [rax + 0x10]
movsd qword [rbp - 0x10], xmm0
mov ecx, dword [rax + 0x18]
mov dword [rbp - 8], ecx
lea rcx, [0x18017bd90]
movzx eax, word [rax + 0x1c]
mov word [rbp - 4], ax
call fcn.1800010e0
mov rcx, qword [0x18017bd78]
lea r9, [0x18017bd80]
mov r8d, eax
mov dword [0x18017bd84], eax
lea rdx, [0x18017bd90]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
test rbx, rbx
jne 0x18013fc03
mov rcx, rsi
call fcn.18013fc70
mov rbx, rax
test rax, rax
jne 0x18013fc03
movdqa xmm0, xmmword [0x180161500]
lea rdx, [rbp - 0x70]
movdqa xmm1, xmmword [str.:paV]
lea rcx, [rbp]
movabs rax, 0xf437ff3808c16f2b
mov dword [rbp - 0x40], 0x6f59a6b
mov qword [rbp - 0x38], rax
movabs rax, 0xc7df4ab33a54122c
mov qword [rbp - 0x30], rax
movabs rax, 0x4f46522c986050cc
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x28], rax
movdqa xmm0, xmmword [0x180161890]
movdqu xmmword [rbp - 0x60], xmm1
mov dword [rbp - 0x3c], 0xa0a5e6
movdqu xmmword [rbp - 0x50], xmm0
call fcn.180008d80
lea r8, [rsp + 0x48]
mov edx, 0x100000
lea rcx, [0x18017bd90]
movups xmm2, xmmword [rax]
movups xmmword [rsp + 0x48], xmm2
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rsp + 0x68], xmm1
movsd xmm0, qword [rax + 0x30]
movsd qword [rsp + 0x78], xmm0
call fcn.1800010e0
mov rcx, qword [0x18017bd78]
lea r9, [0x18017bd80]
mov r8d, eax
mov dword [0x18017bd84], eax
lea rdx, [0x18017bd90]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor eax, eax
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea rdx, [rbp + 0x88]
mov dword [rbp + 0x88], r12d
mov rcx, rbx
call fcn.1801436e0
mov rcx, rbx
mov rdi, rax
call fcn.180146f60
test rdi, rdi
je 0x18013fbe5
mov ecx, dword [rbp + 0x88]
lea rax, [rdi + 5]
add ecx, 0xfffffffb
mov qword [rbp - 0x78], rax
mov rax, qword [r14 + 0x110]
xor r9d, r9d
mov dword [rbp - 0x80], ecx
xor r8d, r8d
mov qword [rsp + 0x30], r15
lea rcx, [rbp - 0x80]
mov dword [rsp + 0x28], r12d
xor edx, edx
mov qword [rsp + 0x20], r12
call rax
jmp 0x18013fbe7