Function at 0x101257c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101810d7
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x101f6008]
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 0x101258bf
cmp dword [eax + 0x10], 0
jne 0x101258bf
mov dword [edi], 0xa80356
cmp dword [0x101fc64c], 0
je 0x10125c25
push 0
mov ecx, 0x101fc64c
call fcn.10110b10
mov eax, dword [0x101fc64c]
cmp byte [eax + 0x54], 0
je 0x10125c25
cmp dword [eax + 0x58], 2
jb 0x10125c25
mov al, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x29], al
call fcn.10006310
push 0xb
push str.Valid_param
mov dword [ebp - 4], 0
call fcn.10006790
push 0x5dd
push str.RC::DM::CreateProcessBase
push str.d:workcode_git_rhinopcdomain_src_systemprocess_rcprocessdmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x101fc64c
push eax
push 2
call fcn.10111470
cmp byte [ebp - 0x29], 0
je 0x101258ab
lea eax, [ebp - 0x28]
mov ecx, 0x101fc64c
push eax
call fcn.10111790
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.100062d0
jmp 0x10125c25
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
push 0x10
mov dword [ebp - 4], 1
call fcn.10144448
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 0x10125939
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x38]
test eax, eax
je 0x1012596b
cmp dword [ebp - 0x3c], 0
je 0x1012596b
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.10128f30
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 0x101259c1
add eax, 0xc
cmp dword [eax], 0
jne 0x101259c1
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 0x10125afb
cmp dword [eax + 0x14], 8
jb 0x10125a1e
mov eax, dword [eax]
cmp dword [ecx + 0x14], 8
jb 0x10125a26
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 0x10125bd6
mov dword [edi], 0xa80357
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 4], eax
cmp dword [0x101fc64c], 0
je 0x10125aef
push 0
mov ecx, 0x101fc64c
call fcn.10110b10
mov eax, dword [0x101fc64c]
cmp byte [eax + 0x54], 0
je 0x10125aef
cmp dword [eax + 0x58], 2
jb 0x10125aef
mov al, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x29], al
call fcn.10006310
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.10111910
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x101fc64c
push 0x600
push str.RC::DM::CreateProcessBase
push str.d:workcode_git_rhinopcdomain_src_systemprocess_rcprocessdmanager.cpp
push eax
push 2
call fcn.10111470
cmp byte [ebp - 0x29], 0
je 0x10125ae3
lea eax, [ebp - 0x28]
mov ecx, 0x101fc64c
push eax
call fcn.10111790
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.100062d0
mov dword [ebp - 4], 6
jmp 0x10125bf8
cmp dword [eax + 0x14], 8
jb 0x10125b03
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 0x10125bd6
mov dword [edi], 0xa80357
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 4], eax
cmp dword [0x101fc64c], 0
je 0x10125bcd
push 0
mov ecx, 0x101fc64c
call fcn.10110b10
mov eax, dword [0x101fc64c]
cmp byte [eax + 0x54], 0
je 0x10125bcd
cmp dword [eax + 0x58], 2
jb 0x10125bcd
mov al, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x29], al
call fcn.10006310
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.10111910
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x101fc64c
push 0x614
push str.RC::DM::CreateProcessBase
push str.d:workcode_git_rhinopcdomain_src_systemprocess_rcprocessdmanager.cpp
push eax
push 2
call fcn.10111470
cmp byte [ebp - 0x29], 0
je 0x10125bc1
lea eax, [ebp - 0x28]
mov ecx, 0x101fc64c
push eax
call fcn.10111790
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.100062d0
mov dword [ebp - 4], 8
jmp 0x10125bf8
push dword [ebp - 0x48]
mov edx, dword [ebp - 0x58]
lea ecx, [ebp - 0x34]
call fcn.10124960
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 0x10125c1e
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x10125c1e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x10125c1e
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.10144424
mov esp, ebp
pop ebp
ret