Function at 0x4e42f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595052
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
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 - 0x30], edi
mov eax, dword [ebp + 0xc]
mov ecx, 0x6355a1
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], 0
call fcn.00561ea5
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
mov eax, dword [ebp - 0x40]
mov dword [ebp - 4], 0
mov dword [ebp - 0x4c], 1
cmp dword [eax + 0x10], 0
jne 0x4e441d
cmp dword [esi + 0x10], 0
jne 0x4e441d
mov dword [edi], 0xa80356
cmp dword [0x6321a8], 0
je 0x4e47a0
push ecx
mov ecx, 0x6321a8
call fcn.004d1b40
mov eax, dword [0x6321a8]
cmp byte [eax + 0x54], 0
je 0x4e47a0
cmp dword [eax + 0x58], 2
jb 0x4e47a0
mov al, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x29], al
call fcn.00403f80
push 0xb
push str.Valid_param
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.00404640
push 0x5dd
push str.RC::DM::CreateProcessBase
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 byte [ebp - 0x29], 0
je 0x4e440c
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 0x4e47a0
mov dword [ebp - 4], 3
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
push 0x10
mov dword [ebp - 4], 4
call fcn.0052f564
mov esi, eax
add esp, 4
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 5
push str.IsWow64Process
push str.kernel32
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [ebp - 0x3c], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x4e449e
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x30]
test eax, eax
je 0x4e44d0
cmp dword [ebp - 0x3c], 0
je 0x4e44d0
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.Wow64DisableWow64FsRedirection
push eax
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Wow64RevertWow64FsRedirection
push dword [esi]
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 4], eax
mov byte [ebp - 4], 4
mov byte [ebp - 0x30], 0
mov byte [ebp - 4], 6
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
push dword [ebp - 0x30]
push esi
call fcn.004eb7e0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x50], esi
mov byte [ebp - 4], 4
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4e453a
add eax, 0xc
cmp dword [eax], 0
jne 0x4e453a
push eax
call ecx
mov ecx, dword [ebp - 0x40]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x44]
movlpd qword [ebp - 0xa4], xmm0
movlpd qword [ebp - 0x9c], xmm0
cmp dword [ecx + 0x10], 0
movlpd qword [ebp - 0x94], xmm0
movlpd qword [ebp - 0x8c], xmm0
movlpd qword [ebp - 0x84], xmm0
movlpd qword [ebp - 0x7c], xmm0
movlpd qword [ebp - 0x74], xmm0
movlpd qword [ebp - 0x6c], xmm0
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0xa8], 0x44
je 0x4e4676
cmp dword [eax + 0x14], 8
jb 0x4e459a
mov eax, dword [eax]
cmp dword [ecx + 0x14], 8
jb 0x4e45a2
mov ecx, dword [ecx]
lea edx, [ebp - 0x64]
push edx
lea edx, [ebp - 0xa8]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4e4750
mov dword [edi], 0xa80357
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 4], eax
cmp dword [0x6321a8], 0
je 0x4e466a
push ecx
mov ecx, 0x6321a8
call fcn.004d1b40
mov eax, dword [0x6321a8]
cmp byte [eax + 0x54], 0
je 0x4e466a
cmp dword [eax + 0x58], 2
jb 0x4e466a
mov al, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x29], al
call fcn.00403f80
mov byte [ebp - 4], 0x12
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push str.Create_Process_Failed__errCode__d
push eax
call fcn.004d29e0
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x6321a8
push 0x600
push str.RC::DM::CreateProcessBase
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinopcdomain_src_systemprocess_rcprocessdmanager.cpp
push eax
push 2
call fcn.004d2490
cmp byte [ebp - 0x29], 0
je 0x4e465e
lea eax, [ebp - 0x28]
mov ecx, 0x6321a8
push eax
call fcn.004d27d0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00403de0
mov dword [ebp - 4], 0x13
jmp 0x4e4776
cmp dword [eax + 0x14], 8
jb 0x4e467e
mov eax, dword [eax]
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0xa8]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4e4750
mov dword [edi], 0xa80357
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 4], eax
cmp dword [0x6321a8], 0
je 0x4e4747
push ecx
mov ecx, 0x6321a8
call fcn.004d1b40
mov eax, dword [0x6321a8]
cmp byte [eax + 0x54], 0
je 0x4e4747
cmp dword [eax + 0x58], 2
jb 0x4e4747
mov al, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x29], al
call fcn.00403f80
mov byte [ebp - 4], 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push str.Create_Process_Failed__errCode__d
push eax
call fcn.004d29e0
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x6321a8
push 0x614
push str.RC::DM::CreateProcessBase
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinopcdomain_src_systemprocess_rcprocessdmanager.cpp
push eax
push 2
call fcn.004d2490
cmp byte [ebp - 0x29], 0
je 0x4e473b
lea eax, [ebp - 0x28]
mov ecx, 0x6321a8
push eax
call fcn.004d27d0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00403de0
mov dword [ebp - 4], 0x15
jmp 0x4e4776
push dword [ebp - 0x48]
mov edx, dword [ebp - 0x5c]
lea ecx, [ebp - 0x38]
call fcn.004e3520
add esp, 4
mov byte [ebp - 4], 0x16
mov ecx, dword [eax]
mov dword [edi], ecx
mov eax, dword [eax + 4]
mov dword [edi + 4], eax
mov dword [ebp - 4], 0x17
test esi, esi
je 0x4e479c
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x4e479c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x4e479c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 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