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
sub rsp, 0x160
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov r14, rcx
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x18], xmm1
mov r15, 0xffffffffffffffff
mov rbx, r15
inc rbx
cmp word [rcx + rbx*2], r12w
jne 0x140002022
movabs rsi, 0x7ffffffffffffffe
cmp rbx, rsi
ja 0x140002486
cmp rbx, 7
ja 0x14000206e
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x20], 7
add rbx, rbx
mov r8, rbx
mov rdx, r14
lea rcx, [rbp + 8]
call sub.VCRUNTIME140.dll_memcpy
mov word [rbp + rbx + 8], r12w
jmp 0x14000211f
mov rax, rbx
or rax, 7
cmp rax, rsi
jbe 0x14000208a
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x1400020bc
mov rsi, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rsi, rcx
lea rcx, [rsi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14000248c
add rcx, rcx
cmp rcx, 0x1000
jb 0x1400020eb
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000248c
mov rcx, rax
call fcn.14000a1c0
test rax, rax
je 0x1400020e4
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400020fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1400020fa
call fcn.14000a1c0
mov rdi, rax
jmp 0x1400020fd
mov rdi, r12
mov qword [rbp + 8], rdi
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x20], rsi
add rbx, rbx
mov r8, rbx
mov rdx, r14
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rdi], r12w
mov r8, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
sub rax, r8
cmp rax, 4
jb 0x1400021c6
lea rax, [r8 + 4]
mov qword [rbp + 0x18], rax
lea rdi, [rbp + 8]
cmp rcx, 7
cmova rdi, qword [rbp + 8]
lea rax, [0x14000ccb8]
lea rsi, str.___
cmp rax, rdi
jbe 0x14000217d
lea rax, [rdi + r8*2]
cmp rsi, rax
ja 0x14000217d
cmp rdi, rsi
ja 0x140002172
mov rbx, r12
jmp 0x140002182
mov rbx, rdi
sub rbx, rsi
sar rbx, 1
jmp 0x140002182
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 + 8]
jmp 0x1400021db
mov ebx, 4
mov qword [rsp + 0x28], rbx
mov edx, ebx
lea rcx, [rbp + 8]
call fcn.140003330
xorps xmm0, xmm0
movups xmmword [rbp + 0x98], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xa8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x98], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xa8], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rdx, qword [rbp + 0x20]
cmp rdx, 7
jbe 0x140002258
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002253
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002253
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000a1fc
movdqa xmm0, xmmword [0x14000cd30]
movdqu xmmword [rbp + 0x18], xmm0
mov word [rbp + 8], r12w
xorps xmm0, xmm0
movups xmmword [rbp + 0xb8], xmm0
lea rdx, [rbp + 0x98]
cmp qword [rbp + 0xb0], 7
cmova rdx, qword [rbp + 0x98]
lea rcx, [rbp + 0xb8]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov qword [rbp + 0x68], 0x30
mov qword [rbp + 0x80], 0x40
mov qword [rbp + 0x70], r12
lea rax, [rbp + 0xb8]
mov qword [rbp + 0x78], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x88], xmm0
movups xmmword [rbp + 0xc8], xmm0
mov qword [rbp + 0x60], r15
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], 3
lea r9, [rbp + 0xc8]
lea r8, [rbp + 0x68]
mov edx, 0xc0110000
lea rcx, [rbp + 0x60]
call qword [sym.imp.ntdll.dll_NtOpenFile]
mov ebx, eax
test eax, eax
jns 0x14000240b
mov r8, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movabs rax, 0xa6cd6dcec74e6b73
mov qword [rbp], rax
mov rcx, qword [rbp]
mov qword [rbp + 0x40], rcx
movabs rax, 0xe8604abfbfbd51b1
mov qword [rbp], rax
mov rcx, qword [rbp]
mov qword [rbp + 0x48], rcx
movabs rax, 0xcdf05df4aaa967c4
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
movabs rcx, 0xc7be0e70576f5fe8
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
movabs rax, 0xd2ed09abab270a35
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xe0], rax
movabs rax, 0xc84c24dacfd271de
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xe8], rax
movabs rax, 0xedca2e81dec813b7
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xf0], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0xf8], rax
vmovdqu ymm0, ymmword [rbp + 0x40]
vpxor ymm1, ymm0, ymmword [rbp + 0xe0]
vmovdqa ymmword [rbp + 0x40], ymm1
lea rdx, [rbp + 0x40]
mov rcx, r8
vzeroupper
call fcn.140003120
lea rdx, [0x140001fb0]
mov rcx, rax
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 edx, ebx
mov rcx, rax
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]
lea rdx, [0x1400032f0]
mov rcx, rax
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 0x14000240f
mov r15, qword [rbp + 0x60]
mov rdx, qword [rbp + 0xb0]
cmp rdx, 7
jbe 0x140002458
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002453
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002453
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000a1fc
mov rax, r15
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.14000a1a0
lea r11, [rsp + 0x160]
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