Function at 0x4a59c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x33
push 0
push 0
dec ecx
jne 0x4a59c8
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4a5dd6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.004052a8
xor eax, eax
mov dword [ebp - 0x18], eax
xor edx, edx
mov eax, 2
call fcn.004a5594
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x140], 0x128
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 0x14]
call fcn.004a55b4
test eax, eax
je 0x4a5d7d
lea edx, [ebp - 0x14c]
mov eax, dword [0x5ab5fc]
mov eax, dword [eax]
call fcn.0046d0a8
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x148]
call fcn.0040a688
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x144]
call fcn.004097f8
mov eax, dword [ebp - 0x144]
push eax
lea eax, [ebp - 0x154]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00405518
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x150]
call fcn.004097f8
mov edx, dword [ebp - 0x150]
pop eax
call fcn.004056d0
jne 0x4a5a93
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 2
lea eax, [ebp - 8]
call fcn.004052a8
lea eax, [ebp - 0x15c]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00405518
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0x158]
call fcn.004097f8
mov edx, dword [ebp - 0x158]
mov eax, 0x4a5dec
call fcn.00405884
test eax, eax
jg 0x4a5ba1
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00405518
mov eax, dword [ebp - 0x164]
lea edx, [ebp - 0x160]
call fcn.004097f8
mov edx, dword [ebp - 0x160]
mov eax, 0x4a5df8
call fcn.00405884
test eax, eax
jg 0x4a5ba1
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00405518
mov eax, dword [ebp - 0x16c]
lea edx, [ebp - 0x168]
call fcn.004097f8
mov edx, dword [ebp - 0x168]
mov eax, 0x4a5e04
call fcn.00405884
test eax, eax
jg 0x4a5ba1
lea eax, [ebp - 0x174]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00405518
mov eax, dword [ebp - 0x174]
lea edx, [ebp - 0x170]
call fcn.004097f8
mov edx, dword [ebp - 0x170]
mov eax, 0x4a5e14
call fcn.00405884
test eax, eax
jg 0x4a5ba1
lea edx, [ebp - 8]
mov eax, dword [ebp - 0x138]
call fcn.004a6194
lea eax, [ebp - 4]
call fcn.004052a8
mov eax, dword [0x5ab28c]
mov eax, dword [eax]
mov edx, 0x4a5e20
call fcn.004056d0
jne 0x4a5bd6
lea eax, [ebp - 4]
mov edx, 0x4a5e2c
call fcn.00405340
lea eax, [ebp - 4]
mov edx, 0x4a5f18
call fcn.00405574
lea eax, [ebp - 0xc]
mov edx, 0x4a6000
call fcn.00405340
lea eax, [ebp - 0xc]
mov edx, 0x4a6094
call fcn.00405574
mov eax, dword [0x5ab4e4]
cmp dword [eax], 0
je 0x4a5c16
push dword [ebp - 4]
push 0x4a617c
mov eax, dword [0x5ab4e4]
push dword [eax]
lea eax, [ebp - 4]
mov edx, 3
call fcn.0040563c
lea edx, [ebp - 0x180]
mov eax, dword [0x5ab5fc]
mov eax, dword [eax]
call fcn.0046d0a8
mov eax, dword [ebp - 0x180]
lea edx, [ebp - 0x17c]
call fcn.0040a688
mov eax, dword [ebp - 0x17c]
lea edx, [ebp - 0x178]
call fcn.004097f8
mov eax, dword [ebp - 0x178]
push eax
lea eax, [ebp - 0x188]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00405518
mov eax, dword [ebp - 0x188]
lea edx, [ebp - 0x184]
call fcn.004097f8
mov edx, dword [ebp - 0x184]
pop eax
call fcn.004056d0
je 0x4a5d67
cmp dword [ebp - 4], 0
je 0x4a5d67
lea eax, [ebp - 0x190]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00405518
mov edx, dword [ebp - 0x190]
lea ecx, [ebp - 0x18c]
mov eax, dword [ebp - 4]
call fcn.004a626c
cmp dword [ebp - 0x18c], 0
je 0x4a5d0a
xor eax, eax
push ebp
push 0x4a5d00
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x194]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00405518
mov eax, dword [ebp - 0x194]
call fcn.004a6488
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a5d0a
lea ecx, [ebp - 0x198]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.004a626c
cmp dword [ebp - 0x198], 0
je 0x4a5d67
xor eax, eax
push ebp
push 0x4a5d5d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x19c]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00405518
mov eax, dword [ebp - 0x19c]
call fcn.004a6488
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a5d67
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 0x14]
call fcn.004a55d4
test eax, eax
jne 0x4a5a20
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CloseHandle_1
cmp dword [ebp - 0x18], 1
jne 0x4a5d91
call fcn.004a7c24
cmp dword [ebp - 0x18], 1
jne 0x4a5da3
push 0
push 0x4a6180
call sub.kernel32.dll_WinExec
mov eax, dword [ebp - 0x10]
call fcn.004052a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5ddd
lea eax, [ebp - 0x19c]
mov edx, 0x17
call fcn.004052cc
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004052cc
ret