Function at 0x470344
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x47034d
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.00405314
mov eax, dword [ebp - 8]
call fcn.00405314
mov eax, dword [ebp - 0xc]
call fcn.00405314
xor eax, eax
push ebp
push 0x47058b
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 8]
call fcn.0042d29c
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 8]
call fcn.00404ee0
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0xc]
call fcn.0042d29c
mov edx, dword [ebp - 0x7c]
lea eax, [ebp - 0xc]
call fcn.00404ee0
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov edx, 0x4705a4
mov eax, 0x80000000
call fcn.0042e2f8
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x14]
call fcn.0042d29c
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 0x14]
call fcn.00404ee0
lea eax, [ebp - 0x64]
xor ecx, ecx
mov edx, 0x44
call fcn.00403750
lea eax, [ebp - 0x74]
xor ecx, ecx
mov edx, 0x10
call fcn.00403750
mov dword [ebp - 0x64], 0x44
mov dword [ebp - 0x38], 1
mov word [ebp - 0x34], 3
lea eax, [ebp - 0x1c]
mov ecx, dword [0x57d784]
mov edx, 0x4705c8
call fcn.00405170
lea eax, [ebp - 0x10]
mov edx, 0x4705d8
call fcn.00404ee0
lea eax, [ebp - 0x10]
call fcn.0042d040
push dword [ebp - 0x10]
push dword [ebp - 4]
push 0x4705e8
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 8]
call fcn.00470260
push dword [ebp - 0x84]
push 0x4705fc
lea eax, [ebp - 0x8c]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.00405170
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x88]
call fcn.00470260
push dword [ebp - 0x88]
lea eax, [ebp - 0x10]
mov edx, 6
call fcn.004051e4
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x47060c
mov eax, dword [ebp - 0x14]
call fcn.0042e0b4
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.00405324
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x470543
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.0045bcc4
test eax, eax
je 0x470512
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 0x47052f
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 0x470560
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x90]
call fcn.00410728
mov edx, dword [ebp - 0x90]
mov al, 4
call fcn.0045b898
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470592
lea eax, [ebp - 0x90]
mov edx, 7
call fcn.00404e6c
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00404e6c
ret