Function at 0x140001fd0
Capabilities:
Process ghostly hollowing

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, rcx
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x59], xmm1
mov r15, 0xffffffffffffffff
mov rbx, r15
nop dword [rax + rax]
inc rbx
cmp word [rcx + rbx*2], r12w
jne 0x140002020
movabs r14, 0x7ffffffffffffffe
cmp rbx, r14
ja 0x140002386
cmp rbx, 7
ja 0x14000206c
mov qword [rbp - 0x59], rbx
mov qword [rbp - 0x51], 7
add rbx, rbx
mov r8, rbx
mov rdx, rsi
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll_memcpy
mov word [rbp + rbx - 0x69], r12w
jmp 0x14000211d
mov rax, rbx
or rax, 7
cmp rax, r14
jbe 0x140002088
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x1400020ba
mov r14, rax
mov ecx, 0xa
cmp rax, rcx
cmovb r14, rcx
lea rcx, [r14 + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14000238c
add rcx, rcx
cmp rcx, 0x1000
jb 0x1400020e9
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000238c
mov rcx, rax
call fcn.140006460
test rax, rax
je 0x1400020e2
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400020fb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1400020f8
call fcn.140006460
mov rdi, rax
jmp 0x1400020fb
mov rdi, r12
mov qword [rbp - 0x69], rdi
mov qword [rbp - 0x59], rbx
mov qword [rbp - 0x51], r14
add rbx, rbx
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rdi], r12w
mov r8, qword [rbp - 0x59]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
sub rax, r8
cmp rax, 4
jb 0x1400021c4
lea rax, [r8 + 4]
mov qword [rbp - 0x59], rax
lea rdi, [rbp - 0x69]
cmp rcx, 7
cmova rdi, qword [rbp - 0x69]
lea rax, [0x140008cd0]
lea rsi, str.___
cmp rax, rdi
jbe 0x14000217b
lea rax, [rdi + r8*2]
cmp rsi, rax
ja 0x14000217b
cmp rdi, rsi
ja 0x140002170
mov rbx, r12
jmp 0x140002180
mov rbx, rdi
sub rbx, rsi
sar rbx, 1
jmp 0x140002180
mov ebx, 4
lea rcx, [rdi + 8]
lea r8, [r8*2 + 2]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
add rbx, rbx
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rdi]
mov r8d, 8
sub r8, rbx
lea rdx, [rsi + 8]
add rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x69]
jmp 0x1400021d9
mov ebx, 4
mov qword [rsp + 0x28], rbx
mov edx, ebx
lea rcx, [rbp - 0x69]
call fcn.140002b00
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x11], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 1], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rdx, qword [rbp - 0x51]
cmp rdx, 7
jbe 0x14000224a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002245
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002245
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000649c
movdqa xmm0, xmmword [0x140009a40]
movdqu xmmword [rbp - 0x59], xmm0
mov word [rbp - 0x69], r12w
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 7
cmova rdx, qword [rbp - 0x11]
lea rcx, [rbp + 0xf]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov qword [rbp - 0x41], 0x30
mov qword [rbp - 0x29], 0x40
mov qword [rbp - 0x39], r12
lea rax, [rbp + 0xf]
mov qword [rbp - 0x31], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x21], xmm0
movups xmmword [rbp + 0x1f], xmm0
mov qword [rbp - 0x49], r15
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], 3
lea r9, [rbp + 0x1f]
lea r8, [rbp - 0x41]
mov edx, 0xc0110000
lea rcx, [rbp - 0x49]
call qword [sym.imp.ntdll.dll_NtOpenFile]
mov ebx, eax
test eax, eax
jns 0x140002314
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.1400028f0
mov rcx, rax
lea rdx, [0x140001fb0]
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, [0x140002ac0]
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 0x140002318
mov r15, qword [rbp - 0x49]
mov rdx, qword [rbp + 7]
cmp rdx, 7
jbe 0x14000235b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002356
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002356
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000649c
mov rax, r15
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140006440
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140001f70
int3
call fcn.140001ed0
int3