Function at 0x18006f080
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0x100
mov rax, qword [0x180180040]
xor rax, rsp
mov qword [rbp + 7], rax
mov ecx, dword [0x180181788]
mov rbx, rdx
mov rax, qword gs:[0x58]
mov rdi, r8
mov edx, 4
movabs rsi, 0xcb3d6814b42e478
movabs r15, 0x7091631cb1197f8b
movabs r12, 0x8d909f3df4db56c4
movabs r13, 0xdf85db46e595ffbd
movabs r14, 0x79c4c16797ffa726
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x180182fa8], eax
jle 0x18006f37f
lea rcx, [0x180182fa8]
call fcn.1800dec30
cmp dword [0x180182fa8], 0xffffffff
jne 0x18006f37f
movabs rax, 0x33a44325893947bf
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
movabs rax, 0xb9b0a70dd4ef64e4
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
movabs rax, 0xffb1ec66dcaddf85
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
movabs rax, 0x4ef1e157a6df9314
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
movabs rax, 0x9c764088b508db9f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x60], rax
movabs rax, 0x2cf5e6a17b70c43b
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
movabs rax, 0x917d257b30192343
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x79], rax
movabs rax, 0x243d609b5eee741a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x71], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x69], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x61], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x59], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x51], rax
movabs rax, 0xd95673b09530efbf
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x49], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x41], rax
movabs rax, 0xa64e054a04391501
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x39], rax
movabs rax, 0x243d609b5edd473a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rsp + 0x40]
xorps xmm0, xmmword [rbp - 0x69]
movdqa xmm1, xmmword [rsp + 0x50]
xorps xmm1, xmmword [rbp - 0x59]
mov qword [rbp - 0x31], rax
movabs rax, 0x70f46375b1757fe8
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmm0, xmmword [rsp + 0x60]
xorps xmm0, xmmword [rbp - 0x49]
movdqa xmmword [rsp + 0x50], xmm1
movdqa xmm1, xmmword [rbp - 0x79]
xorps xmm1, xmmword [rbp - 0x39]
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmmword [rbp - 0x79], xmm1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x29], rax
movabs rax, 0x8df49f13f4af56aa
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x21], rax
movabs rax, 0xdf85db46e5f9ffd1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov qword [rbp - 0x19], rax
lea rcx, [rbp - 0x29]
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x11], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x69], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x61], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x59], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp - 0x29]
movdqa xmm1, xmmword [rbp - 0x19]
xorps xmm0, xmmword [rbp - 0x69]
mov qword [rbp - 0x51], rax
xorps xmm1, xmmword [rbp - 0x59]
movdqa xmmword [rbp - 0x29], xmm0
movdqa xmmword [rbp - 0x19], xmm1
call fcn.18007b560
lea rcx, [0x180182fa8]
mov qword [0x180182f90], rax
call fcn.1800debc4
mov rax, qword [0x180182f90]
test rax, rax
jne 0x18006f4f2
mov dl, 2
call fcn.1800795c0
movabs rax, 0x19f73c79d2780dff
lea rdx, [rbp - 0x69]
mov qword [rsp + 0x30], rax
mov r8d, edx
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x69], rax
movabs rax, 0xc4b0eb6286be22a8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x61], rax
movabs rax, 0xaca5bf2f89f489d3
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x59], rax
movabs rax, 0x1cb6b413f691c04f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x51], rax
movabs rax, 0xd95673b09530ef9e
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x49], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x41], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x29], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x21], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x19], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x11], rax
movabs rax, 0xd95673b09530efbf
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 9], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
movdqa xmm2, xmmword [rbp - 0x69]
xorps xmm2, xmmword [rbp - 0x29]
movdqa xmm0, xmmword [rbp - 0x59]
movq rcx, xmm2
movdqa xmm1, xmmword [rbp - 0x49]
xorps xmm0, xmmword [rbp - 0x19]
mov qword [rbp - 1], rax
lea rax, [rbp - 0x69]
xorps xmm1, xmmword [rbp - 9]
movdqa xmmword [rbp - 0x69], xmm2
movdqa xmmword [rbp - 0x59], xmm0
movdqa xmmword [rbp - 0x49], xmm1
test cl, cl
je 0x18006f4cb
nop dword [rax + rax]
inc rax
mov r8, rax
cmp byte [rax], 0
jne 0x18006f4c0
mov rcx, qword [0x180180ed8]
sub r8d, edx
lea rdx, [rbp - 0x69]
mov qword [rsp + 0x20], 0
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [0x180182f90]
mov r9b, 3
mov word [rsp + 0x20], 7
mov r8d, 0x1c300b
mov rdx, rdi
mov rcx, rbx
call rax
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1800dea20
mov rbx, qword [rsp + 0x140]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret