Function at 0x4a61e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x5c]
push ebx
mov dword [ebp - 4], eax
mov byte [ebp - 8], dl
mov eax, dword [ebp - 4]
call fcn.00408ee0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov eax, 1
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.0040de00
call fcn.0040fa10
push eax
test eax, eax
jne 0x4a640b
mov byte [ebp - 0xc], 0
cmp dword [ebp - 4], 0
je 0x4a640b
lea eax, [ebp - 0x14]
call fcn.0040a670
lea ebx, [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.0040a670
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.004a5da0
test al, al
je 0x4a63c3
mov edx, dword [ebp - 0x14]
mov eax, 0x5c4734
call fcn.0040af40
test eax, eax
jle 0x4a6336
mov edx, dword [ebp - 0x14]
mov eax, 0x5c45e4
call fcn.0040af40
test eax, eax
jne 0x4a62d1
cmp byte [ebp - 8], 0
je 0x4a62d1
mov eax, dword [ebp - 0x10]
call fcn.004a5a10
test al, al
jne 0x4a62d1
push 0
mov eax, 0x5c459c
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x4c], eax
mov eax, 0x5c459c
mov dword [ebp - 0x48], eax
lea edx, [ebp - 0x50]
lea eax, [ebp - 4]
mov ecx, 2
call fcn.00409280
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x14]
call fcn.0040b5c0
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x1c]
call fcn.0042b220
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], 0xb
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x1c]
mov ecx, 0
call fcn.004454d0
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x1c]
call fcn.00408f10
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x1c]
call fcn.0042b160
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x5c]
call fcn.0040b590
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x14]
call fcn.0040a8e0
jmp 0x4a6393
cmp byte [ebp - 8], 0
je 0x4a6372
mov edx, dword [ebp - 4]
mov al, 0x20
call fcn.00409e30
test eax, eax
jle 0x4a6372
push 0
mov eax, 0x5c459c
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x4c], eax
mov eax, 0x5c459c
mov dword [ebp - 0x48], eax
lea edx, [ebp - 0x50]
lea eax, [ebp - 4]
mov ecx, 2
call fcn.00409280
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 4]
call fcn.0042b160
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x5c]
call fcn.0040b590
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x14]
call fcn.0040a8e0
push 1
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4a63a3
mov eax, 0x60b2e0
push eax
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4a63b0
mov eax, 0x60b2e0
push eax
mov eax, str.open
push eax
push 0
call sub.shell32.dll_ShellExecuteW
mov dword [ebp - 0x18], eax
jmp 0x4a6403
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 4]
call fcn.0042b160
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x5c]
call fcn.0040b590
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x14]
call fcn.0040a8e0
push 1
push 0
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4a63f6
mov eax, 0x60b2e0
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteW
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x20
seta byte [ebp - 0xc]
call fcn.0040e080
lea eax, [ebp - 0x5c]
call fcn.0040a670
lea eax, [ebp - 0x58]
call fcn.00403df0
lea eax, [ebp - 0x54]
call fcn.0040b3a0
lea eax, [ebp - 0x10]
call fcn.0040a670
lea eax, [ebp - 0x14]
call fcn.0040a670
lea eax, [ebp - 0x1c]
call fcn.00403df0
lea eax, [ebp - 4]
call fcn.00403df0
pop eax
test eax, eax
je 0x4a6452
call fcn.0040e1b0
mov al, byte [ebp - 0xc]
pop ebx
leave
ret