Function at 0x140007c10
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 [0x140043040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, rcx
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
mov r15, 0xffffffffffffffff
mov r8, r15
nop dword [rax + rax]
inc r8
cmp word [rcx + r8*2], r12w
jne 0x140007c60
mov rdx, rsi
lea rcx, [rbp - 0x11]
call fcn.140006ee0
nop
mov r8, qword [rbp - 1]
mov rcx, qword [rbp + 7]
mov rax, rcx
sub rax, r8
lea r14, str.___
cmp rax, 4
jb 0x140007d1e
lea rax, [r8 + 4]
mov qword [rbp - 1], rax
lea rdi, [rbp - 0x11]
cmp rcx, 7
cmova rdi, qword [rbp - 0x11]
lea rax, [0x140031ca0]
cmp rax, rdi
jbe 0x140007cd5
lea rax, [rdi + r8*2]
cmp r14, rax
ja 0x140007cd5
cmp rdi, r14
ja 0x140007cca
mov rbx, r12
jmp 0x140007cda
mov rbx, rdi
sub rbx, r14
sar rbx, 1
jmp 0x140007cda
mov ebx, 4
lea rcx, [rdi + 8]
lea r8, [r8*2 + 2]
mov rdx, rdi
call fcn.14002ede0
add rbx, rbx
mov r8, rbx
mov rdx, r14
mov rcx, rdi
call fcn.14002ede0
lea rcx, [rbx + rdi]
mov r8d, 8
sub r8, rbx
lea rdx, [r14 + 8]
add rdx, rbx
call fcn.14002ede0
lea rax, [rbp - 0x11]
jmp 0x140007d3e
mov ebx, 4
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
lea rcx, [rbp - 0x11]
call fcn.140007010
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1f], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xf], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1f], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rdx, qword [rbp + 7]
cmp rdx, 7
jbe 0x140007dac
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007da7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007f14
call fcn.14000c540
movdqa xmm0, xmmword [0x140031d80]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r12w
xorps xmm0, xmm0
movups xmmword [rbp - 0x61], xmm0
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 7
cmova rdx, qword [rbp + 0xf]
lea rcx, [rbp - 0x61]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov qword [rbp - 0x51], 0x30
mov qword [rbp - 0x39], 0x40
mov qword [rbp - 0x49], r12
lea rax, [rbp - 0x61]
mov qword [rbp - 0x41], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x69], r15
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], 3
lea r9, [rbp - 0x21]
lea r8, [rbp - 0x51]
mov edx, 0xc0110000
lea rcx, [rbp - 0x69]
call qword [sym.imp.ntdll.dll_NtOpenFile]
mov ebx, eax
test eax, eax
jns 0x140007e76
lea rdx, str.Failed_to_open__status:
lea rcx, [0x140044600]
call fcn.1400012f0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ecx, dword [rdx + rax + 0x18]
and ecx, 0xfffff9ff
bts ecx, 0xb
mov dword [rdx + rax + 0x18], ecx
mov edx, ebx
mov rcx, rax
call fcn.140003190
mov rcx, rax
call fcn.140002330
jmp 0x140007ea7
lea rdx, str.___Created_temp_file:
lea rcx, [0x140044850]
call fcn.140006790
mov rcx, rax
mov rdx, rsi
call fcn.140006c20
mov rcx, rax
lea rdx, [0x14003184c]
call fcn.140006790
mov r15, qword [rbp - 0x69]
mov rdx, qword [rbp + 0x27]
cmp rdx, 7
jbe 0x140007ee3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007ede
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007f0e
call fcn.14000c540
mov rax, r15
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14000c660
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.140012364
nop
call fcn.140012364
nop
int3