Function at 0x465738
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x465741
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.00404c88
mov eax, dword [ebp - 8]
call fcn.00404c88
mov eax, dword [ebp - 0xc]
call fcn.00404c88
xor eax, eax
push ebp
push 0x46597f
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 8]
call fcn.00423578
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 8]
call fcn.00404854
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0xc]
call fcn.00423578
mov edx, dword [ebp - 0x7c]
lea eax, [ebp - 0xc]
call fcn.00404854
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov edx, 0x465998
mov eax, 0x80000000
call fcn.004240a4
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x14]
call fcn.00423578
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 0x14]
call fcn.00404854
lea eax, [ebp - 0x64]
xor ecx, ecx
mov edx, 0x44
call fcn.004031a8
lea eax, [ebp - 0x74]
xor ecx, ecx
mov edx, 0x10
call fcn.004031a8
mov dword [ebp - 0x64], 0x44
mov dword [ebp - 0x38], 1
mov word [ebp - 0x34], 3
lea eax, [ebp - 0x1c]
mov ecx, dword [0x4bc784]
mov edx, 0x4659bc
call fcn.00404ae4
lea eax, [ebp - 0x10]
mov edx, 0x4659cc
call fcn.00404854
lea eax, [ebp - 0x10]
call fcn.004233d8
push dword [ebp - 0x10]
push dword [ebp - 4]
push 0x4659dc
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 8]
call fcn.00465654
push dword [ebp - 0x84]
push 0x4659f0
lea eax, [ebp - 0x8c]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.00404ae4
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x88]
call fcn.00465654
push dword [ebp - 0x88]
lea eax, [ebp - 0x10]
mov edx, 6
call fcn.00404b58
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x465a00
mov eax, dword [ebp - 0x14]
call fcn.00423e70
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.00404c98
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x465937
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.00451a9c
test eax, eax
je 0x465906
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 0x465923
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 0x465954
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x90]
call fcn.0040e688
mov edx, dword [ebp - 0x90]
mov al, 4
call fcn.00451670
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465986
lea eax, [ebp - 0x90]
mov edx, 7
call fcn.004047e0
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.004047e0
ret