Function at 0x140001fa0
Capabilities:
Process ghostly hollowing

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov rax, qword [0x14000c008]
xor rax, rsp
mov qword [rbp + 0x3f], rax
xor r14d, r14d
mov qword [rbp - 0x59], r14
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], 7
mov word [rbp - 0x59], r14w
mov rsi, 0xffffffffffffffff
mov r8, rsi
inc r8
cmp word [rcx + r8*2], r14w
jne 0x140001ff0
mov rdx, rcx
lea rcx, [rbp - 0x59]
call fcn.1400027a0
nop
mov rcx, qword [rbp - 0x49]
mov rdx, qword [rbp - 0x41]
mov rax, rdx
sub rax, rcx
cmp rax, 4
jb 0x1400020ae
lea rax, [rcx + 4]
mov qword [rbp - 0x49], rax
lea rdi, [rbp - 0x59]
cmp rdx, 8
cmovae rdi, qword [rbp - 0x59]
lea r8, [rcx + rcx]
lea rax, [0x140008cc0]
lea r15, [0x140008cb8]
cmp rax, rdi
jbe 0x140002069
lea rax, [r8 + rdi]
cmp r15, rax
ja 0x140002069
cmp rdi, r15
ja 0x14000205e
mov rbx, r14
jmp 0x14000206e
mov rbx, rdi
sub rbx, r15
sar rbx, 1
jmp 0x14000206e
mov ebx, 4
lea rcx, [rdi + 8]
add r8, 2
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
add rbx, rbx
mov r8, rbx
mov rdx, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rdi]
mov r8d, 8
sub r8, rbx
lea rdx, [r15 + 8]
add rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x59]
jmp 0x1400020c3
mov ebx, 4
mov qword [rsp + 0x28], rbx
mov edx, ebx
lea rcx, [rbp - 0x59]
call fcn.140002b60
mov qword [rbp - 1], r14
mov qword [rbp + 0xf], r14
mov qword [rbp + 0x17], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp - 1], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xf], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rdx, qword [rbp - 0x41]
cmp rdx, 8
jb 0x140002131
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000212c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000212c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000646c
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], 7
mov word [rbp - 0x59], r14w
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f], xmm0
lea rdx, [rbp - 1]
cmp qword [rbp + 0x17], 8
cmovae rdx, qword [rbp - 1]
lea rcx, [rbp + 0x1f]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov qword [rbp - 0x31], 0x30
mov qword [rbp - 0x19], 0x40
mov qword [rbp - 0x29], r14
lea rax, [rbp + 0x1f]
mov qword [rbp - 0x21], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x11], xmm0
movups xmmword [rbp + 0x2f], xmm0
mov qword [rbp - 0x39], rsi
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], 3
lea r9, [rbp + 0x2f]
lea r8, [rbp - 0x31]
mov edx, 0xc0110000
lea rcx, [rbp - 0x39]
call qword [sym.imp.ntdll.dll_NtOpenFile]
mov ebx, eax
test eax, eax
jns 0x1400021fa
lea rdx, str.Failed_to_open__status:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002950
mov rcx, rax
lea rdx, [0x140001f80]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int____ptr64]
mov rcx, rax
lea rdx, [0x140002b20]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x1400021fe
mov rsi, qword [rbp - 0x39]
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x140002241
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000223c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000223c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000646c
mov rax, rsi
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140006410
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret