Function at 0x1400300f0
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 [0x14022b078]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rbx, r8
mov rdi, rdx
xor sil, sil
cmp qword [rcx + 0x10], 0
je 0x14003036f
lea r14, [rdx + 0x10]
cmp qword [r14], 0
je 0x14003036f
cmp qword [r8 + 0x10], 0
je 0x14003036f
lea r8, [0x1401d7a40]
mov rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.140034fe0
nop
cmp qword [rdi + 0x18], 8
jb 0x140030165
mov rdi, qword [rdi]
mov r8, qword [r14]
mov rdx, rdi
mov rcx, rax
call fcn.140024680
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 0x1400301df
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400301da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030393
call fcn.14013f180
movdqa xmm0, xmmword [0x1401da830]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r14w
xor sil, sil
cmp qword [rbp - 0x60], 0
je 0x140030333
cmp qword [rbx + 0x10], 0
je 0x140030333
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x50]
call fcn.14002f990
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 0x1400302f6
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 0x1400302ae
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.1400168f0
mov rax, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x1400302cd
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.140016800
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140030333
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003032d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030399
call fcn.14013f180
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x14003036f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003036a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003038d
call fcn.14013f180
movzx eax, sil
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.14013f550
add rsp, 0x130
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14016111c
nop
call fcn.14016111c
nop
call fcn.14016111c
int3