Function at 0x14002eab0
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 [0x140228058]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rbx, r8
mov rdi, rdx
xor sil, sil
cmp qword [rcx + 0x10], 0
je 0x14002ed2f
lea r14, [rdx + 0x10]
cmp qword [r14], 0
je 0x14002ed2f
cmp qword [r8 + 0x10], 0
je 0x14002ed2f
lea r8, [0x1401d5390]
mov rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.140033ac0
nop
cmp qword [rdi + 0x18], 8
jb 0x14002eb25
mov rdi, qword [rdi]
mov r8, qword [r14]
mov rdx, rdi
mov rcx, rax
call fcn.140023040
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 0x14002eb9f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002eb9a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ed53
call fcn.14013db80
movdqa xmm0, xmmword [0x1401d8170]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r14w
xor sil, sil
cmp qword [rbp - 0x60], 0
je 0x14002ecf3
cmp qword [rbx + 0x10], 0
je 0x14002ecf3
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x50]
call fcn.14002e350
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 0x14002ecb6
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 0x14002ec6e
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.1400152b0
mov rax, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x14002ec8d
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.1400151c0
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x14002ecf3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002eced
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ed59
call fcn.14013db80
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x14002ed2f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ed2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ed4d
call fcn.14013db80
movzx eax, sil
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.14013df50
add rsp, 0x130
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14015fb1c
nop
call fcn.14015fb1c
nop
call fcn.14015fb1c
int3