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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r15
sub rsp, 0x140
and dword [rax - 0xc8], 0
mov rbp, rdx
xor edx, edx
mov rdi, r8
mov rsi, rcx
lea r8d, [rdx + 0x34]
lea rcx, [rax - 0xc4]
call sub.msvcrt.dll_memset
and qword [rsp + 0x70], 0
and dword [rsp + 0xd0], 0
xor edx, edx
lea rcx, [rsp + 0xd8]
lea r8d, [rdx + 0x60]
call sub.msvcrt.dll_memset
and qword [rsp + 0x78], 0
xor eax, eax
and qword [rsp + 0x68], rax
and qword [rsp + 0x60], rax
lea rcx, [rsp + 0x70]
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rax
call sub.USERENV.dll_CreateEnvironmentBlock
lea r15, [0x10002d220]
mov r12d, eax
test eax, eax
jne 0x100011a29
call fcn.10001e9f0
mov ebx, eax
mov rcx, qword [0x10002d220]
cmp rcx, r15
je 0x100011a13
test byte [rcx + 0x1c], 1
je 0x100011a13
mov rcx, qword [rcx + 0x10]
lea edx, [r12 + 0x14]
lea r8, [0x100001a58]
mov r9d, eax
call fcn.10000f078
lea rcx, [0x100005010]
mov edx, ebx
call fcn.10000eea8
test ebx, ebx
js 0x100011bec
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x100011a3e
call sub.MpClient.dll_MpFreeMemory
and qword [rsp + 0x60], 0
lea rdx, [0x10000324c]
lea rcx, [rsp + 0x60]
mov r8, rdi
call fcn.10000e284
mov ebx, eax
test eax, eax
js 0x100011bdd
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x100011a71
call sub.MpClient.dll_MpFreeMemory
and qword [rsp + 0x68], 0
lea rdx, [0x10000324c]
lea rcx, [rsp + 0x68]
mov r8, rbp
call fcn.10000e284
mov ebx, eax
test eax, eax
js 0x100011bdd
mov rax, qword [rsp + 0x60]
lea rdx, [rsp + 0x90]
mov rcx, rsi
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x90], 0x38
call qword [sym.imp.USERENV.dll_LoadUserProfileW]
mov edi, eax
test eax, eax
jne 0x100011afb
call fcn.10001e9f0
mov ebx, eax
mov rcx, qword [0x10002d220]
cmp rcx, r15
je 0x100011aed
test byte [rcx + 0x1c], 1
je 0x100011aed
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x15]
lea r8, [0x100001a58]
mov r9d, eax
call fcn.10000f078
lea rcx, [0x100005070]
mov edx, ebx
call fcn.10000eea8
test ebx, ebx
js 0x100011bc8
mov r8, qword [rsp + 0x68]
lea rax, [0x100003414]
xor r9d, r9d
mov qword [rsp + 0xe0], rax
lea rax, [rsp + 0x78]
xor edx, edx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0xd0]
mov rcx, rsi
mov qword [rsp + 0x48], rax
and qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x428
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
mov dword [rsp + 0xd0], 0x68
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x100011baf
call fcn.10001e9f0
mov ebx, eax
mov rcx, qword [0x10002d220]
cmp rcx, r15
je 0x100011b9f
test byte [rcx + 0x1c], 1
je 0x100011b9f
mov rcx, qword [rcx + 0x10]
lea r8, [0x100001a58]
mov edx, 0x16
mov r9d, eax
call fcn.10000f078
lea rcx, [0x1000050c0]
mov edx, ebx
call fcn.10000eea8
jmp 0x100011bc8
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x100011bdd
mov rdx, qword [rsp + 0xc0]
mov rcx, rsi
call qword [sym.imp.USERENV.dll_UnloadUserProfile]
test r12d, r12d
je 0x100011bec
mov rcx, qword [rsp + 0x70]
call sub.USERENV.dll_DestroyEnvironmentBlock
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x100011bfb
call sub.MpClient.dll_MpFreeMemory
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x100011c0a
call sub.MpClient.dll_MpFreeMemory
lea r11, [rsp + 0x140]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r12
pop rdi
ret