Function at 0x100eb4a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10189b10
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x10207514]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], edx
mov edi, ecx
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov esi, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
mov eax, dword [0x10212774]
movlpd qword [ebp - 0x98], xmm0
movlpd qword [ebp - 0x90], xmm0
movlpd qword [ebp - 0x88], xmm0
movlpd qword [ebp - 0x80], xmm0
movlpd qword [ebp - 0x78], xmm0
movlpd qword [ebp - 0x70], xmm0
movlpd qword [ebp - 0x68], xmm0
movlpd qword [ebp - 0x60], xmm0
mov dword [ebp - 0x9c], 0x44
movups xmmword [ebp - 0x58], xmm0
test eax, eax
jne 0x100eb619
mov eax, dword [0x10212750]
test eax, eax
jne 0x100eb554
push str.Wtsapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x10212750], eax
test eax, eax
je 0x100eb56d
push str.WTSGetActiveConsoleSessionId
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10212774], eax
test eax, eax
jne 0x100eb619
mov dword [edi], 0xa80357
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 4], eax
cmp dword [0x10212884], 0
je 0x100eba4b
push 0
mov ecx, 0x10212884
call fcn.1012e070
mov eax, dword [0x10212884]
cmp byte [eax + 0x54], 0
je 0x100eba4b
cmp dword [eax + 0x58], 2
jb 0x100eba4b
mov al, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x29], al
call fcn.10007940
push 0x1a
push str.WTSQueryUserToken_not_find
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.100094b0
push 0x55f
push str.RC::DM::RCCreateProcessBySystemAfterVista
push str.d:workcode_git_rhinopc_newdomain_src_systemprocess_rcprocessdmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x10212884
push eax
push 2
call fcn.1012e9e0
cmp byte [ebp - 0x29], 0
je 0x100eb605
lea eax, [ebp - 0x28]
mov ecx, 0x10212884
push eax
call fcn.1012ed00
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.100078b0
jmp 0x100eba4b
call eax
mov ecx, eax
mov dword [ebp - 0x34], 0
mov eax, dword [0x10212770]
mov dword [ebp - 0x3c], ecx
test eax, eax
jne 0x100eb6fa
mov eax, dword [0x10212750]
test eax, eax
jne 0x100eb651
push str.Wtsapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x10212750], eax
test eax, eax
je 0x100eb66d
push str.WTSQueryUserToken
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x3c]
mov dword [0x10212770], eax
test eax, eax
jne 0x100eb6fa
mov dword [edi], 0xa80357
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 4], eax
cmp dword [0x10212884], 0
je 0x100eba4b
push 0
mov ecx, 0x10212884
call fcn.1012e070
mov eax, dword [0x10212884]
cmp byte [eax + 0x54], 0
je 0x100eba4b
cmp dword [eax + 0x58], 2
jb 0x100eba4b
mov al, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x29], al
call fcn.10007940
push 0x1a
push str.WTSQueryUserToken_not_find
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.100094b0
push 0x56d
push str.RC::DM::RCCreateProcessBySystemAfterVista
push str.d:workcode_git_rhinopc_newdomain_src_systemprocess_rcprocessdmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x10212884
push eax
push 2
call fcn.1012e9e0
cmp byte [ebp - 0x29], 0
jmp 0x100eb5f5
lea edx, [ebp - 0x34]
push edx
push ecx
call eax
test eax, eax
jne 0x100eb796
mov dword [edi], 0xa80357
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 4], eax
cmp dword [0x10212884], 0
je 0x100eba4b
push 0
mov ecx, 0x10212884
call fcn.1012e070
mov eax, dword [0x10212884]
cmp byte [eax + 0x54], 0
je 0x100eba4b
cmp dword [eax + 0x58], 2
jb 0x100eba4b
mov al, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x29], al
call fcn.10007940
push 0x18
push str.WTSQueryUserToken_Failed
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 2
call fcn.100094b0
push 0x575
push str.RC::DM::RCCreateProcessBySystemAfterVista
push str.d:workcode_git_rhinopc_newdomain_src_systemprocess_rcprocessdmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x10212884
push eax
push 2
call fcn.1012e9e0
cmp byte [ebp - 0x29], 0
jmp 0x100eb5f5
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push 1
push 1
push 0
push 0x2000000
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
jne 0x100eb858
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x100eb7cb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0xa80357
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 4], eax
cmp dword [0x10212884], 0
je 0x100eba4b
push 0
mov ecx, 0x10212884
call fcn.1012e070
mov eax, dword [0x10212884]
cmp byte [eax + 0x54], 0
je 0x100eba4b
cmp dword [eax + 0x58], 2
jb 0x100eba4b
mov al, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x29], al
call fcn.10007940
push 0x17
push str.DuplicateTokenEx_Failed
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 3
call fcn.100094b0
push 0x588
push str.RC::DM::RCCreateProcessBySystemAfterVista
push str.d:workcode_git_rhinopc_newdomain_src_systemprocess_rcprocessdmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x10212884
push eax
push 2
call fcn.1012e9e0
cmp byte [ebp - 0x29], 0
jmp 0x100eb5f5
push 0
push dword [ebp - 0x30]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0
push eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
jne 0x100eb91d
mov eax, dword [ebp - 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x100eb886
push eax
call esi
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x100eb890
push eax
call esi
mov dword [edi], 0xa80357
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 4], eax
cmp dword [0x10212884], 0
je 0x100eba4b
push 0
mov ecx, 0x10212884
call fcn.1012e070
mov eax, dword [0x10212884]
cmp byte [eax + 0x54], 0
je 0x100eba4b
cmp dword [eax + 0x58], 2
jb 0x100eba4b
mov al, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x29], al
call fcn.10007940
push 0x17
push str.DuplicateTokenEx_Failed
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 4
call fcn.100094b0
push 0x59d
push str.RC::DM::RCCreateProcessBySystemAfterVista
push str.d:workcode_git_rhinopc_newdomain_src_systemprocess_rcprocessdmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x10212884
push eax
push 2
call fcn.1012e9e0
cmp byte [ebp - 0x29], 0
jmp 0x100eb5f5
cmp dword [esi + 0x14], 8
jb 0x100eb925
mov esi, dword [esi]
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x14], 8
jb 0x100eb930
mov eax, dword [eax]
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x9c]
push ecx
push 0
push dword [ebp - 0x38]
push 0x430
push 0
push 0
push 0
push esi
push eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x100eba13
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x100eb96c
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov eax, dword [ebp - 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x100eb97c
push eax
call esi
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x100eb986
push eax
call esi
mov dword [edi], 0xa80357
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 4], eax
cmp dword [0x10212884], 0
je 0x100eba4b
push 0
mov ecx, 0x10212884
call fcn.1012e070
mov eax, dword [0x10212884]
cmp byte [eax + 0x54], 0
je 0x100eba4b
cmp dword [eax + 0x58], 2
jb 0x100eba4b
mov al, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x29], al
call fcn.10007940
push 0x1a
push str.CreateProcessAsUser_Failed
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 5
call fcn.100094b0
push 0x5be
push str.RC::DM::RCCreateProcessBySystemAfterVista
push str.d:workcode_git_rhinopc_newdomain_src_systemprocess_rcprocessdmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x10212884
push eax
push 2
call fcn.1012e9e0
cmp byte [ebp - 0x29], 0
jmp 0x100eb5f5
push dword [ebp - 0x44]
mov edx, dword [ebp - 0x50]
lea ecx, [ebp - 0x48]
call fcn.100eac50
mov ecx, eax
add esp, 4
mov eax, dword [ecx]
mov dword [edi], eax
cmp dword [edi], 0
mov eax, dword [ecx + 4]
mov dword [edi + 4], eax
jne 0x100eba4b
push dword [ebp - 0x58]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x54]
call esi
mov dword [edi], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10161f63
mov esp, ebp
pop ebp
ret