Function at 0x46ea50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x46ea59
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040514c
mov eax, dword [ebp - 8]
call fcn.0040514c
mov eax, dword [ebp - 0xc]
call fcn.0040514c
xor eax, eax
push ebp
push 0x46ec97
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 8]
call fcn.0042c888
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 8]
call fcn.00404d18
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0xc]
call fcn.0042c888
mov edx, dword [ebp - 0x7c]
lea eax, [ebp - 0xc]
call fcn.00404d18
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov edx, 0x46ecb0
mov eax, 0x80000000
call fcn.0042d3b4
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x14]
call fcn.0042c888
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 0x14]
call fcn.00404d18
lea eax, [ebp - 0x64]
xor ecx, ecx
mov edx, 0x44
call fcn.004033a0
lea eax, [ebp - 0x74]
xor ecx, ecx
mov edx, 0x10
call fcn.004033a0
mov dword [ebp - 0x64], 0x44
mov dword [ebp - 0x38], 1
mov word [ebp - 0x34], 3
lea eax, [ebp - 0x1c]
mov ecx, dword [0x55d784]
mov edx, 0x46ecd4
call fcn.00404fa8
lea eax, [ebp - 0x10]
mov edx, 0x46ece4
call fcn.00404d18
lea eax, [ebp - 0x10]
call fcn.0042c6e8
push dword [ebp - 0x10]
push dword [ebp - 4]
push 0x46ecf4
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 8]
call fcn.0046e96c
push dword [ebp - 0x84]
push 0x46ed08
lea eax, [ebp - 0x8c]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.00404fa8
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x88]
call fcn.0046e96c
push dword [ebp - 0x88]
lea eax, [ebp - 0x10]
mov edx, 6
call fcn.0040501c
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x46ed18
mov eax, dword [ebp - 0x14]
call fcn.0042d180
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push 0x4000020
push 0
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.0040515c
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x46ec4f
xor ebx, ebx
mov eax, dword [ebp - 0x74]
mov esi, eax
push 0x2710
push eax
call sub.user32.dll_WaitForInputIdle
push 0x7d0
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 0x6c]
call fcn.0045adb4
test eax, eax
je 0x46ec1e
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
call sub.user32.dll_SetWindowPos
push 0xffffffffffffffff
push esi
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0xffffffff
je 0x46ec3b
lea eax, [ebp - 0x20]
push eax
push esi
call sub.kernel32.dll_GetExitCodeProcess
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x74]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x46ec6c
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x90]
call fcn.0040f95c
mov edx, dword [ebp - 0x90]
mov al, 4
call fcn.0045a988
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ec9e
lea eax, [ebp - 0x90]
mov edx, 7
call fcn.00404ca4
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00404ca4
ret