Function at 0x18004c150
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x180223280]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov esi, edx
mov rbx, rcx
xor r15d, r15d
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
cmp eax, 0xffffffff
je 0x18004c3ab
mov qword [rbp - 0x68], r15
lea rdx, [rbp - 0x68]
mov ecx, eax
call qword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
test eax, eax
je 0x18004c3ab
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], rax
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rax
mov dword [rbp - 0x20], Ordinal_106
mov edi, 1
mov dword [rbp + 0x1c], edi
mov word [rbp + 0x20], r15w
mov r14d, r15d
mov eax, Ordinal_20
test esi, esi
cmove r14d, eax
lea rax, str.cmd.exe__c_
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], Ordinal_21
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x18004c21a
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbp - 0x78], xmm0
movabs rax, 0xc000000000000000
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x60], rdi
lea rax, [rbp - 0x80]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
movaps xmm1, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm1
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x48]
call fcn.18000a610
lea r8, [rbp - 0x48]
cmp qword [rbp - 0x30], 7
cmova r8, qword [rbp - 0x48]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor edx, edx
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov ebx, eax
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x18004c36a
mov rcx, qword [rbp - 0x60]
test esi, esi
je 0x18004c307
mov edx, esi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x60]
call fcn.180049dc0
mov rax, qword [rsp + 0x60]
jmp 0x18004c32b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x60]
call fcn.180049dc0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x60], rax
movabs rdx, 0x7fffffffc46535ff
cmp rax, rdx
je 0x18004c34f
mov ecx, 0xff
cmovl edi, ecx
test dil, dil
jns 0x18004c34f
add rax, 0x3b9aca00
jmp 0x18004c359
movabs rax, 0x7fffffffffffffff
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x60]
call fcn.18004ba90
mov bl, 1
mov rdx, qword [rbp - 0x30]
cmp rdx, 7
jbe 0x18004c3a6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004c3a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004c3d6
call fcn.18008ef10
movzx eax, bl
jmp 0x18004c3ad
xor al, al
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.18008eef0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.18009e1e4
int3