Function at 0x4117a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x479f0c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x260
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
xor ebx, ebx
cmp eax, ebx
push edi
je 0x4117de
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4119c0
push 0xffffffffffffffff
mov ecx, esi
call fcn.00411620
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov dword [esi + 0x10], 0x103
mov dword [esp + 0x18], 0x44
mov dword [esp + 0x14], ebx
mov eax, dword [esi + 0x18]
push 0x5c
push eax
mov dword [esp + 0x27c], ebx
call fcn.0045a340
add esp, 8
test eax, eax
jne 0x4118b3
push ebx
lea ecx, [esp + 0x14]
call fcn.0040bf50
mov dword [esp + 0xc], ebx
mov ecx, dword [esp + 0x10]
push ebx
lea eax, [esp + 0x10]
push eax
push ecx
mov byte [esp + 0x280], 2
call fcn.00416250
mov eax, dword [esp + 0x18]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411854
sub eax, edx
mov edx, eax
mov eax, dword [esi + 0x18]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411865
sub eax, edi
lea edx, [eax + edx + 2]
push edx
call fcn.00459034
mov ecx, dword [esp + 0x10]
mov ebx, eax
mov eax, dword [esi + 0x18]
push eax
push ecx
push str._s_s
push ebx
mov dword [esp + 0x28], ebx
call fcn.00459600
mov edx, dword [esp + 0x20]
push edx
call fcn.00459039
mov eax, dword [esp + 0x28]
push eax
mov byte [esp + 0x290], 0
call fcn.00459039
add esp, 0x1c
jmp 0x4118c7
mov eax, dword [esi + 0x18]
push 0xffffffffffffffff
push eax
call fcn.0044b020
mov ebx, eax
add esp, 8
mov dword [esp + 0x14], ebx
mov eax, dword [esi + 0x18]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4118d0
sub eax, edx
mov edx, eax
mov eax, dword [esi + 0x1c]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4118e1
sub eax, edi
lea ecx, [eax + edx + 4]
push ecx
call fcn.00459034
mov edi, eax
mov dword [esp + 0x14], edi
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
push edx
push eax
push str.__s___s
push edi
mov byte [esp + 0x288], 3
call fcn.00459600
mov al, byte [ebp + 0xc]
mov ecx, dword [ebp + 8]
add esp, 0x14
neg al
push esi
sbb eax, eax
and eax, 0xf8000010
add eax, 0x8000000
cmp ecx, 0xffffffff
je 0x411950
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push eax
movzx eax, byte [esi + 0x14]
push eax
push 0
push 0
push edi
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
jmp 0x41196b
movzx edx, byte [esi + 0x14]
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push eax
push edx
push 0
push 0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4119a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.unable_to_launch_process
lea ecx, [esp + 0x16c]
call fcn.0044ba90
mov esi, eax
push 0x49859c
lea eax, [esp + 0x64]
mov ecx, 0x41
lea edi, [esp + 0x64]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00459658
mov ecx, dword [esi]
push 0x3a98
push ecx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push edi
call fcn.00459039
push ebx
call fcn.00459039
add esp, 8
mov ecx, dword [esp + 0x26c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8