Function at 0x4709a4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x4709ad
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.004052dc
mov eax, dword [ebp - 8]
call fcn.004052dc
mov eax, dword [ebp - 0xc]
call fcn.004052dc
xor eax, eax
push ebp
push 0x470beb
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 8]
call fcn.0042c3b0
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 8]
call fcn.00404ea8
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0xc]
call fcn.0042c3b0
mov edx, dword [ebp - 0x7c]
lea eax, [ebp - 0xc]
call fcn.00404ea8
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov edx, 0x470c04
mov eax, 0x80000000
call fcn.0042cefc
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x14]
call fcn.0042c3b0
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 0x14]
call fcn.00404ea8
lea eax, [ebp - 0x64]
xor ecx, ecx
mov edx, 0x44
call fcn.0040374c
lea eax, [ebp - 0x74]
xor ecx, ecx
mov edx, 0x10
call fcn.0040374c
mov dword [ebp - 0x64], 0x44
mov dword [ebp - 0x38], 1
mov word [ebp - 0x34], 3
lea eax, [ebp - 0x1c]
mov ecx, dword [0x587778]
mov edx, 0x470c28
call fcn.00405138
lea eax, [ebp - 0x10]
mov edx, 0x470c38
call fcn.00404ea8
lea eax, [ebp - 0x10]
call fcn.0042c210
push dword [ebp - 0x10]
push dword [ebp - 4]
push 0x470c48
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 8]
call fcn.004708c0
push dword [ebp - 0x84]
push 0x470c5c
lea eax, [ebp - 0x8c]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.00405138
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x88]
call fcn.004708c0
push dword [ebp - 0x88]
lea eax, [ebp - 0x10]
mov edx, 6
call fcn.004051ac
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x470c6c
mov eax, dword [ebp - 0x14]
call fcn.0042ccb8
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.004052ec
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x470ba3
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.0045cadc
test eax, eax
je 0x470b72
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 0x470b8f
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 0x470bc0
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x90]
call fcn.0040d9f8
mov edx, dword [ebp - 0x90]
mov al, 4
call fcn.0045c6b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470bf2
lea eax, [ebp - 0x90]
mov edx, 7
call fcn.00404e34
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00404e34
ret