Function at 0x140001290
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 [0x140009040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, rcx
xor r15d, r15d
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x59], xmm1
mov r12, 0xffffffffffffffff
mov rbx, r12
nop dword [rax + rax]
inc rbx
cmp word [rcx + rbx*2], r15w
jne 0x1400012e0
movabs r14, 0x7ffffffffffffffe
cmp rbx, r14
ja 0x1400015e4
cmp rbx, 7
ja 0x14000132c
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], r15w
jmp 0x1400013da
mov rax, rbx
or rax, 7
cmp rax, r14
jbe 0x140001348
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x14000137a
mov r14, rax
mov ecx, 0xa
cmp rax, rcx
cmovb r14, rcx
lea rcx, [r14 + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x1400015ea
add rcx, rcx
cmp rcx, 0x1000
jb 0x1400013a6
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400015ea
mov rcx, rax
call fcn.140003a40
test rax, rax
je 0x1400014fb
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400013b8
test rcx, rcx
je 0x1400013b5
call fcn.140003a40
mov rdi, rax
jmp 0x1400013b8
mov rdi, r15
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], r15w
mov r8, qword [rbp - 0x59]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
sub rax, r8
cmp rax, 4
jb 0x140001481
lea rax, [r8 + 4]
mov qword [rbp - 0x59], rax
lea rdi, [rbp - 0x69]
cmp rcx, 7
cmova rdi, qword [rbp - 0x69]
lea rax, [0x140005660]
lea rsi, str.___
cmp rax, rdi
jbe 0x140001438
lea rax, [rdi + r8*2]
cmp rsi, rax
ja 0x140001438
cmp rdi, rsi
ja 0x14000142d
mov rbx, r15
jmp 0x14000143d
mov rbx, rdi
sub rbx, rsi
sar rbx, 1
jmp 0x14000143d
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 0x140001496
mov ebx, 4
mov qword [rsp + 0x28], rbx
mov edx, ebx
lea rcx, [rbp - 0x69]
call fcn.140003810
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], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov rdx, qword [rbp - 0x51]
cmp rdx, 7
jbe 0x140001507
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001502
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001502
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003a7c
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 dword [rbp - 0x41], 0x30
mov qword [rbp - 0x39], r15
mov dword [rbp - 0x29], 0x40
lea rax, [rbp + 0xf]
mov qword [rbp - 0x31], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x49], r12
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 rbx, qword [rbp - 0x49]
test eax, eax
cmovs rbx, r12
mov rdx, qword [rbp + 7]
cmp rdx, 7
jbe 0x1400015b9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400015b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400015b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003a7c
mov rax, rbx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140003a20
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.1400011b0
int3
call fcn.140001110
int3