Function at 0x14002f8c0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov rax, qword [0x140200d38]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rbx, r8
mov rdi, rdx
xor sil, sil
cmp qword [rcx + 0x10], 0
je 0x14002fb3f
lea r14, [rdx + 0x10]
cmp qword [r14], 0
je 0x14002fb3f
cmp qword [r8 + 0x10], 0
je 0x14002fb3f
lea r8, [0x1401b295c]
mov rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.140033530
nop
cmp qword [rdi + 0x18], 8
jb 0x14002f935
mov rdi, qword [rdi]
mov r8, qword [r14]
mov rdx, rdi
mov rcx, rax
call fcn.140021f10
xor r14d, r14d
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14002f9af
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f9aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002fb63
call fcn.1401218ec
movdqa xmm0, xmmword [0x1401b5bd0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r14w
xor sil, sil
cmp qword [rbp - 0x60], 0
je 0x14002fb03
cmp qword [rbx + 0x10], 0
je 0x14002fb03
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x50]
call fcn.14002f1e0
nop
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rcx, qword [rbp - 0x50]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14002fac6
xor eax, eax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
mov qword [rbp], rax
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rax
mov qword [rsp + 0x78], r14
cmp qword [sym.imp.KERNEL32.dll_CloseHandle], rax
je 0x14002fa7e
lea rax, vtable.std::_Func_impl_no_alloc_int____cdecl___void____ptr64___int__void____ptr64_.0
mov qword [rsp + 0x40], rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x78], rax
lea r8, [rsp + 0x40]
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.1400149d0
mov rax, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x14002fa9d
mov rbx, qword [rbx]
lea r8d, [rax + rax]
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x78]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne sil
lea rcx, [rbp - 0x30]
call fcn.140014900
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x14002fb03
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fafd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002fb69
call fcn.1401218ec
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x14002fb3f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fb3a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002fb5d
call fcn.1401218ec
movzx eax, sil
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140121cc0
add rsp, 0x130
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1401431fc
nop
call fcn.1401431fc
nop
call fcn.1401431fc
int3