Function at 0x416f80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4643fc
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 0x416fbe
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4171a0
push 0xffffffffffffffff
mov ecx, esi
call fcn.00416e00
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.004482c0
add esp, 8
test eax, eax
jne 0x417093
push ebx
lea ecx, [esp + 0x14]
call fcn.00404910
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.0041c350
mov eax, dword [esp + 0x18]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417034
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 0x417045
sub eax, edi
lea edx, [eax + edx + 2]
push edx
call fcn.00447107
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.00447d0e
mov edx, dword [esp + 0x20]
push edx
call fcn.004470fd
mov eax, dword [esp + 0x28]
push eax
mov byte [esp + 0x290], 0
call fcn.004470fd
add esp, 0x1c
jmp 0x4170a7
mov eax, dword [esi + 0x18]
push 0xffffffffffffffff
push eax
call fcn.00442cf0
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 0x4170b0
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 0x4170c1
sub eax, edi
lea ecx, [eax + edx + 4]
push ecx
call fcn.00447107
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.00447d0e
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 0x417130
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 0x41714b
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 0x417183
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x46c594
lea ecx, [esp + 0x16c]
call fcn.00443bf0
mov esi, eax
push 0x47c164
lea eax, [esp + 0x64]
mov ecx, 0x41
lea edi, [esp + 0x64]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0044777e
mov ecx, dword [esi]
push 0x3a98
push ecx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push edi
call fcn.004470fd
push ebx
call fcn.004470fd
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