Function at 0x10129360
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10185147
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x101fb008]
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 - 0x44], edx
mov edi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
cmp dword [edx + 0x10], 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x48], ecx
jne 0x1012945f
cmp dword [eax + 0x10], 0
jne 0x1012945f
mov dword [edi], 0xa80356
cmp dword [0x10201734], 0
je 0x101297c5
push 0
mov ecx, 0x10201734
call fcn.101146c0
mov eax, dword [0x10201734]
cmp byte [eax + 0x54], 0
je 0x101297c5
cmp dword [eax + 0x58], 2
jb 0x101297c5
mov al, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x29], al
call fcn.100063f0
push 0xb
push str.Valid_param
mov dword [ebp - 4], 0
call fcn.10006870
push 0x5dd
push str.RC::DM::CreateProcessBase
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinopcdomain_src_systemprocess_rcprocessdmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x10201734
push eax
push 2
call fcn.10115020
cmp byte [ebp - 0x29], 0
je 0x1012944b
lea eax, [ebp - 0x28]
mov ecx, 0x10201734
push eax
call fcn.10115340
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.100063b0
jmp 0x101297c5
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
push 0x10
mov dword [ebp - 4], 1
call fcn.10148008
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], 2
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 - 0x38], eax
test eax, eax
je 0x101294d9
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x38]
test eax, eax
je 0x1012950b
cmp dword [ebp - 0x3c], 0
je 0x1012950b
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], 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x38], 0
push dword [ebp - 0x38]
mov dword [ebp - 0x34], 0
push esi
mov dword [ebp - 0x30], 0
call fcn.1012cad0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x4c], esi
mov byte [ebp - 4], 1
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10129561
add eax, 0xc
cmp dword [eax], 0
jne 0x10129561
push eax
call ecx
mov ecx, dword [ebp - 0x44]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x40]
movlpd qword [ebp - 0xa0], xmm0
movlpd qword [ebp - 0x98], xmm0
cmp dword [ecx + 0x10], 0
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
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0xa4], 0x44
je 0x1012969b
cmp dword [eax + 0x14], 8
jb 0x101295be
mov eax, dword [eax]
cmp dword [ecx + 0x14], 8
jb 0x101295c6
mov ecx, dword [ecx]
lea edx, [ebp - 0x60]
push edx
lea edx, [ebp - 0xa4]
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 0x10129776
mov dword [edi], 0xa80357
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 4], eax
cmp dword [0x10201734], 0
je 0x1012968f
push 0
mov ecx, 0x10201734
call fcn.101146c0
mov eax, dword [0x10201734]
cmp byte [eax + 0x54], 0
je 0x1012968f
cmp dword [eax + 0x58], 2
jb 0x1012968f
mov al, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x29], al
call fcn.100063f0
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push str.Create_Process_Failed__errCode__d
push eax
call fcn.101154c0
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x10201734
push 0x600
push str.RC::DM::CreateProcessBase
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinopcdomain_src_systemprocess_rcprocessdmanager.cpp
push eax
push 2
call fcn.10115020
cmp byte [ebp - 0x29], 0
je 0x10129683
lea eax, [ebp - 0x28]
mov ecx, 0x10201734
push eax
call fcn.10115340
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.100063b0
mov dword [ebp - 4], 6
jmp 0x10129798
cmp dword [eax + 0x14], 8
jb 0x101296a3
mov eax, dword [eax]
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0xa4]
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 0x10129776
mov dword [edi], 0xa80357
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 4], eax
cmp dword [0x10201734], 0
je 0x1012976d
push 0
mov ecx, 0x10201734
call fcn.101146c0
mov eax, dword [0x10201734]
cmp byte [eax + 0x54], 0
je 0x1012976d
cmp dword [eax + 0x58], 2
jb 0x1012976d
mov al, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x29], al
call fcn.100063f0
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push str.Create_Process_Failed__errCode__d
push eax
call fcn.101154c0
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x10201734
push 0x614
push str.RC::DM::CreateProcessBase
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinopcdomain_src_systemprocess_rcprocessdmanager.cpp
push eax
push 2
call fcn.10115020
cmp byte [ebp - 0x29], 0
je 0x10129761
lea eax, [ebp - 0x28]
mov ecx, 0x10201734
push eax
call fcn.10115340
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.100063b0
mov dword [ebp - 4], 8
jmp 0x10129798
push dword [ebp - 0x48]
mov edx, dword [ebp - 0x58]
lea ecx, [ebp - 0x34]
call fcn.10128500
add esp, 4
mov ecx, dword [eax]
mov dword [edi], ecx
mov eax, dword [eax + 4]
mov dword [edi + 4], eax
mov dword [ebp - 4], 9
test esi, esi
je 0x101297be
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x101297be
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x101297be
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
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.10147fe4
mov esp, ebp
pop ebp
ret