Function at 0x49a7fc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x12
push 0
push 0
dec ecx
jne 0x49a805
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.00406f14
mov eax, dword [ebp - 8]
call fcn.00406f14
mov eax, dword [ebp - 0xc]
call fcn.00406f14
xor eax, eax
push ebp
push 0x49aa63
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 8]
call fcn.00445f30
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 8]
call fcn.00406790
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0xc]
call fcn.00445f30
mov edx, dword [ebp - 0x7c]
lea eax, [ebp - 0xc]
call fcn.00406790
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov edx, 0x49aa80
mov eax, 0x80000000
call fcn.00446e30
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x14]
call fcn.00445f30
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 0x14]
call fcn.00406790
lea eax, [ebp - 0x64]
xor ecx, ecx
mov edx, 0x44
call fcn.00404bdc
lea eax, [ebp - 0x74]
xor ecx, ecx
mov edx, 0x10
call fcn.00404bdc
mov dword [ebp - 0x64], 0x44
mov dword [ebp - 0x38], 1
mov word [ebp - 0x34], 3
lea eax, [ebp - 0x1c]
mov ecx, dword [0x531e54]
mov edx, 0x49aaa8
call fcn.00406bd0
lea eax, [ebp - 0x10]
mov edx, 0x49aabc
call fcn.00406790
lea eax, [ebp - 0x10]
call fcn.00445c30
push dword [ebp - 0x10]
push dword [ebp - 4]
push 0x49aad0
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 8]
call fcn.0049a6ac
push dword [ebp - 0x84]
push 0x49aae8
lea eax, [ebp - 0x8c]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.00406bd0
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x88]
call fcn.0049a6ac
push dword [ebp - 0x88]
lea eax, [ebp - 0x10]
mov edx, 6
call fcn.00406cc0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x49aafc
mov eax, dword [ebp - 0x14]
call fcn.00446a98
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.00406f24
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x49a9fa
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_2
mov eax, dword [ebp - 0x6c]
call fcn.0048424c
test eax, eax
je 0x49a9c9
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 0x49a9e6
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 0x49aa2d
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x94]
call fcn.00416bf4
mov edx, dword [ebp - 0x94]
lea eax, [ebp - 0x90]
mov ecx, 0
call fcn.004078c8
mov edx, dword [ebp - 0x90]
mov al, 4
call fcn.00483d6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49aa6a
lea eax, [ebp - 0x94]
call fcn.00407664
lea eax, [ebp - 0x90]
mov edx, 7
call fcn.00406704
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00406704
ret