Function at 0x4e3e60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x594fcb
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x62f018]
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 dword [ebp - 0x38], edi
mov eax, dword [ebp + 0xc]
mov ecx, 0x6355a1
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], 0
call fcn.00561ea5
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov eax, dword [0x632208]
mov dword [ebp - 0x3c], 1
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 0x4e3fdf
mov eax, dword [0x6321e4]
test eax, eax
jne 0x4e3f40
push str.Wtsapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x6321e4], eax
test eax, eax
je 0x4e3f59
push str.WTSGetActiveConsoleSessionId
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x632208], eax
test eax, eax
jne 0x4e3fdf
mov dword [edi], 0xa80357
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 2
mov ecx, 0x6321a8
mov dword [edi + 4], eax
call fcn.004d2400
mov esi, eax
test esi, esi
je 0x4e42c4
lea ecx, [ebp - 0x28]
call fcn.00403f80
push 0x1a
push str.WTSQueryUserToken_not_find
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.00404640
push 0x55f
push str.RC::DM::RCCreateProcessBySystemAfterVista
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinopcdomain_src_systemprocess_rcprocessdmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x6321a8
push eax
push 2
call fcn.004d2490
cmp esi, 1
jbe 0x4e3fce
lea eax, [ebp - 0x28]
mov ecx, 0x6321a8
push eax
call fcn.004d27d0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00403de0
jmp 0x4e42c4
call eax
mov ecx, eax
mov dword [ebp - 0x30], 0
mov eax, dword [0x632204]
mov dword [ebp - 0x38], ecx
test eax, eax
jne 0x4e407c
mov eax, dword [0x6321e4]
test eax, eax
jne 0x4e4017
push str.Wtsapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x6321e4], eax
test eax, eax
je 0x4e402f
push str.WTSQueryUserToken
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x38]
mov dword [0x632204], eax
test eax, eax
jne 0x4e407c
mov dword [edi], 0xa80357
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 2
mov ecx, 0x6321a8
mov dword [edi + 4], eax
call fcn.004d2400
mov esi, eax
test esi, esi
je 0x4e42c4
lea ecx, [ebp - 0x28]
call fcn.00403f80
push 0x1a
push str.WTSQueryUserToken_not_find
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 2
call fcn.00404640
push 0x56d
jmp 0x4e3fa1
lea edx, [ebp - 0x30]
push edx
push ecx
call eax
test eax, eax
jne 0x4e40d4
mov dword [edi], 0xa80357
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 2
mov ecx, 0x6321a8
mov dword [edi + 4], eax
call fcn.004d2400
mov esi, eax
test esi, esi
je 0x4e42c4
lea ecx, [ebp - 0x28]
call fcn.00403f80
push 0x18
push str.WTSQueryUserToken_Failed
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 3
call fcn.00404640
push 0x575
jmp 0x4e3fa1
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push 1
push 1
push 0
push 0x2000000
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
jne 0x4e4152
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4e4105
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0xa80357
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 2
mov ecx, 0x6321a8
mov dword [edi + 4], eax
call fcn.004d2400
mov esi, eax
test esi, esi
je 0x4e42c4
lea ecx, [ebp - 0x28]
call fcn.00403f80
push 0x17
push str.DuplicateTokenEx_Failed
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 4
call fcn.00404640
push 0x588
jmp 0x4e3fa1
push 0
push dword [ebp - 0x2c]
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
jne 0x4e41d3
mov eax, dword [ebp - 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4e417c
push eax
call esi
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4e4186
push eax
call esi
mov dword [edi], 0xa80357
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 2
mov ecx, 0x6321a8
mov dword [edi + 4], eax
call fcn.004d2400
mov esi, eax
test esi, esi
je 0x4e42c4
lea ecx, [ebp - 0x28]
call fcn.00403f80
push 0x17
push str.DuplicateTokenEx_Failed
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 5
call fcn.00404640
push 0x59d
jmp 0x4e3fa1
cmp dword [esi + 0x14], 8
jb 0x4e41db
mov esi, dword [esi]
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x14], 8
jb 0x4e41e6
mov eax, dword [eax]
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x9c]
push ecx
push 0
push dword [ebp - 0x34]
push 0x430
push 0
push 0
push 0
push esi
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x4e4281
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4e421e
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov eax, dword [ebp - 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4e422e
push eax
call esi
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4e4238
push eax
call esi
mov dword [edi], 0xa80357
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 2
mov ecx, 0x6321a8
mov dword [edi + 4], eax
call fcn.004d2400
mov esi, eax
test esi, esi
je 0x4e42c4
lea ecx, [ebp - 0x28]
call fcn.00403f80
push 0x1a
push str.CreateProcessAsUser_Failed
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 6
call fcn.00404640
push 0x5be
jmp 0x4e3fa1
push dword [ebp - 0x44]
mov edx, dword [ebp - 0x50]
lea ecx, [ebp - 0x48]
call fcn.004e3520
add esp, 4
mov ecx, eax
mov dword [ebp - 4], 7
mov eax, dword [ecx]
mov dword [edi], eax
mov eax, dword [ecx + 4]
mov dword [edi + 4], eax
mov byte [ebp - 4], 0
cmp dword [edi], 0
jne 0x4e42c4
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.0052f553
mov esp, ebp
pop ebp
ret