Function at 0x10014990
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x228]
sub esp, 0x228
push 0xffffffffffffffff
push 0x10036c18
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x1004f100]
xor eax, ebp
mov dword [ebp + 0x224], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor eax, eax
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], ebx
mov word [ebp + 4], ax
mov edi, dword [ebp + 0x230]
push esi
push edi
mov dword [ebp - 4], ebx
push str.StartWithExistProcessToken_Existprocid:_d_Cmd:_s
mov dword [ebp - 0x14], ebx
call fcn.1001af90
mov ecx, eax
call fcn.1001b3f0
add esp, 0xc
push edi
push ebx
push 0x1fffff
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jne 0x10014a58
push 0x17
push str.open_src_process_failed
lea ecx, [ebp]
call fcn.10001a60
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x10049464
lea ecx, [ebp - 0x40]
push ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x40], eax
call fcn.10028c35
lea edx, [ebp - 0x18]
push edx
push 0xf01ff
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, ebx
jne 0x10014a95
push 0x1f
push str.open_src_processs_token_failed
lea ecx, [ebp]
call fcn.10001a60
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x34], eax
push 0x10049464
lea eax, [ebp - 0x34]
push eax
call fcn.10028c35
mov ecx, dword [ebp - 0x18]
push ebx
push ecx
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
cmp eax, ebx
jne 0x10014ad1
push 0x1d
push str.open_src_processs_Evn_failed
lea ecx, [ebp]
call fcn.10001a60
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x38], eax
push 0x10049464
lea eax, [ebp - 0x38]
push eax
call fcn.10028c35
call fcn.10017960
push 0x206
lea edx, [ebp + 0x1e]
xor ecx, ecx
push ebx
push edx
mov word [ebp + 0x1c], cx
call fcn.100285e0
mov edx, esi
add esp, 0xc
mov edi, 0x7ffffffe
mov esi, 0x104
lea eax, [ebp + 0x1c]
lea ecx, [ecx]
test esi, esi
je 0x10014b1e
test edi, edi
je 0x10014b21
movzx ecx, word [edx]
test cx, cx
je 0x10014b21
mov word [eax], cx
add eax, 2
add edx, 2
dec esi
dec edi
inc ebx
jmp 0x10014b00
sub eax, 2
xor ecx, ecx
push 0x44
push ecx
lea edx, [ebp - 0x88]
push edx
mov word [eax], cx
call fcn.100285e0
mov edx, dword [ebp - 0x1c]
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x88]
push ecx
mov ecx, dword [ebp - 0x18]
push 0
push edx
push 0x430
push 0
push 0
push 0
lea eax, [ebp + 0x1c]
push eax
push 0
push ecx
mov dword [ebp - 0x88], 0x44
mov dword [ebp - 0x80], str.winsta0default
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
lea ecx, [ebp]
test eax, eax
jne 0x10014ba0
push str.start_dst_process_failed
call fcn.10001a20
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x10049464
lea edx, [ebp - 0x30]
push edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x30], eax
call fcn.10028c35
push str.success
call fcn.10001a20
cmp dword [ebp + 0x234], 0
je 0x10014bf6
mov eax, dword [ebp - 0x2c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10014bcc
mov dword [ebp - 0x14], 0x5b4
jmp 0x10014bda
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
call fcn.1001af90
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x14]
push ecx
push edx
push str.Command_Run__Rlt:_08x_Cmd:_s
mov ecx, eax
call fcn.1001b3f0
add esp, 0xc
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x10014c0d
push eax
call esi
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10014c17
push eax
call esi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x10014c21
push eax
call esi
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x10014c2b
push eax
call esi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10014c39
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x10014c45
lea eax, [ebp + 4]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 0x230]
push eax
mov eax, dword [ebp - 0x14]
push eax
push ecx
push edx
push str.Explorers_policy_check__restart_explorer_from:_d_to:_d__rlt:_08x_Info:_s
call fcn.1001af90
mov ecx, eax
call fcn.1001b3f0
mov esi, dword [ebp - 0x14]
add esp, 0x14
lea ecx, [ebp]
call fcn.100019f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x224]
xor ecx, ebp
call fcn.100269c5
add ebp, 0x228
mov esp, ebp
pop ebp
ret 8