Function at 0x140044a10
Capabilities:
Create process on windows
Impersonate user

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2f]
sub rsp, 0x100
lea rcx, [rbp - 0x21]
mov r12, r9
mov r13, r8
mov r15, rdx
call fcn.140044800
lea rcx, [rbp - 0x21]
call fcn.140045178
xor ebx, ebx
test al, al
je 0x140044d67
lea r8d, [rbx + 0x38]
lea rcx, [rbp - 0x59]
xor edx, edx
mov qword [rsp + 0x60], rbx
mov edi, ebx
mov r14d, ebx
mov esi, ebx
mov qword [rbp - 0x69], rbx
mov qword [rbp - 0x61], rbx
mov qword [rsp + 0x68], rbx
mov qword [rbp - 0x71], rbx
call fcn.140029370
mov eax, dword [rbp + 0x57]
lea edx, [rbx + 1]
movzx ecx, bl
test dl, al
mov r9, r12
mov r8, r13
cmovne ecx, edx
mov rdx, r15
mov dword [rbp - 0x59], gethostname
mov dword [rbp + 0x5f], ecx
lea rcx, [rsp + 0x60]
mov qword [rbp - 0x51], r15
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x20], eax
call fcn.140045128
test al, al
je 0x140044cf2
test byte [rbp + 0x57], 2
je 0x140044b0d
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x70]
lea r9d, [rbx + 2]
mov qword [rsp + 0x28], rax
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x140044cf2
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x60], rax
lea rcx, str.winsta0
xor edx, edx
mov r8d, 0x60000
call qword [sym.imp.USER32.dll_OpenWindowStationW]
mov rdi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140044cf2
call qword [sym.imp.USER32.dll_GetProcessWindowStation]
mov rcx, rdi
mov qword [rbp - 0x61], rax
call qword [sym.imp.USER32.dll_SetProcessWindowStation]
test eax, eax
je 0x140044cf2
lea rcx, str.default
mov r9d, 0x60081
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_OpenDesktopW]
mov r14, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140044cf2
mov rdx, qword [rsp + 0x60]
lea r8, [rbp - 0x69]
call fcn.140045254
mov rsi, qword [rbp - 0x69]
test al, al
je 0x140044cf2
lea r9, [rsp + 0x70]
mov r8, rsi
mov rdx, rdi
mov word [rsp + 0x70], 0xb00
mov dword [rsp + 0x74], 0xf0000000
mov word [rbp - 0x7d], 0x400
mov dword [rbp - 0x79], 0xf037f
call fcn.1400443f0
test al, al
je 0x140044cf2
lea r9, [rsp + 0x70]
mov r8, rsi
mov rdx, r14
mov word [rsp + 0x70], bx
mov dword [rsp + 0x74], 0xf01ff
call fcn.140044194
test al, al
je 0x140044cf2
mov r15, qword [rbp + 0x7f]
mov r13, qword [rbp + 0x67]
lea rcx, str.winsta0default
mov r12d, dword [r15 + 0x3c]
mov qword [r15 + 0x10], rcx
and r12d, 0x100
test r13, r13
je 0x140044c44
mov rcx, r13
call fcn.1400292f8
lea rcx, [rax + 1]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140029168
mov rdx, r13
mov rcx, rax
mov qword [rsp + 0x68], rax
call fcn.140029340
cmp byte [rbp + 0x5f], bl
je 0x140044c60
mov rcx, qword [rsp + 0x60]
lea rdx, [rbp - 0x59]
call qword [sym.imp.USERENV.dll_LoadUserProfileW]
test eax, eax
je 0x140044ceb
test byte [rbp + 0x57], 4
jne 0x140044c7c
mov rdx, qword [rsp + 0x60]
lea rcx, [rbp - 0x71]
xor r8d, r8d
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x140044ceb
mov rax, qword [rbp + 0x77]
mov ecx, dword [rbp + 0x6f]
mov r13, qword [rbp + 0x87]
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], rax
mov rax, qword [rbp - 0x71]
bts ecx, 0xa
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ecx
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x28], r12d
mov r12, qword [rsp + 0x68]
xor edx, edx
mov r8, r12
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x140044cf5
cmp byte [rbp + 0x5f], bl
je 0x140044ce6
lea r9, [rsp + 0x60]
lea r8, [rbp - 0x29]
mov rdx, r13
call fcn.140045318
mov r15b, 1
jmp 0x140044d0c
mov r12, qword [rsp + 0x68]
jmp 0x140044cf5
mov r12, rbx
mov rdx, qword [rbp - 0x29]
test rdx, rdx
je 0x140044d09
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USERENV.dll_UnloadUserProfile]
mov r15b, bl
mov rcx, rsi
call fcn.1400447d8
test rdi, rdi
je 0x140044d22
mov rcx, rdi
call qword [sym.imp.USER32.dll_CloseWindowStation]
test r14, r14
je 0x140044d30
mov rcx, r14
call qword [sym.imp.USER32.dll_CloseDesktop]
mov rax, qword [rbp - 0x61]
test rax, rax
je 0x140044d42
mov rcx, rax
call qword [sym.imp.USER32.dll_SetProcessWindowStation]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r12
call fcn.140029210
mov rcx, qword [rbp - 0x71]
test rcx, rcx
je 0x140044d64
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov bl, r15b
lea rcx, [rbp - 0x21]
call fcn.14004486c
lea r11, [rsp + 0x100]
mov al, bl
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret