Function at 0x653308
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x653311
xchg dword [ebp - 4], ecx
push ebx
mov byte [ebp - 0xe], cl
mov byte [ebp - 0xd], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00409650
xor eax, eax
push ebp
push 0x653693
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xf], 0
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x6536b4
call fcn.0040a710
test eax, eax
jle 0x6533b5
cmp byte [0x6858ef], 0
jne 0x6533b5
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x65336a
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 4]
push eax
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x6536cc
call fcn.0040a710
mov edx, eax
add edx, 4
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.0040a500
lea eax, [ebp - 4]
push eax
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x6536e4
call fcn.0040a710
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040a500
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x6536f4
call fcn.0040a710
test eax, eax
jle 0x65342b
cmp byte [0x6858ef], 1
jne 0x65342b
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x6533e0
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 4]
push eax
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x65370c
call fcn.0040a710
mov edx, eax
add edx, 4
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.0040a500
lea eax, [ebp - 4]
push eax
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x653724
call fcn.0040a710
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040a500
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00409994
lea eax, [ebp - 0xc]
call fcn.0040956c
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x653734
call fcn.0040a710
test eax, eax
jle 0x6534d1
lea eax, [ebp - 8]
push eax
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x653748
call fcn.0040a710
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040a500
movzx eax, byte [0x653750]
push eax
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov edx, 0x653760
mov eax, dword [ebp - 8]
call fcn.0042b81c
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 8]
call fcn.00409994
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x653770
call fcn.0040a710
mov ecx, eax
lea eax, [ebp - 4]
mov edx, 1
call fcn.0040a548
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00409994
jmp 0x65355f
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x653784
call fcn.0040a710
test eax, eax
jle 0x65355f
lea eax, [ebp - 8]
push eax
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x653798
call fcn.0040a710
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040a500
movzx eax, byte [0x653750]
push eax
lea eax, [ebp - 0x18]
push eax
xor ecx, ecx
mov edx, 0x6537ac
mov eax, dword [ebp - 8]
call fcn.0042b81c
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 8]
call fcn.00409994
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x6537bc
call fcn.0040a710
mov ecx, eax
lea eax, [ebp - 4]
mov edx, 1
call fcn.0040a548
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00409994
cmp byte [ebp - 0xd], 0
je 0x653599
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.004241f0
test al, al
je 0x653599
push 1
push 1
movzx eax, byte [ebp + 8]
push eax
mov eax, dword [0x68589c]
call fcn.0054aaec
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.006519e4
mov byte [ebp - 0xf], al
jmp 0x653656
cmp byte [ebp - 0xe], 0
je 0x6535f7
push 0x30
lea edx, [ebp - 0x1c]
mov eax, dword [0x68589c]
call fcn.005418c8
mov eax, dword [ebp - 0x1c]
call fcn.0040a13c
push eax
push 0
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x6537d0
mov edx, 0x6537e0
mov eax, dword [0x6858dc]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
xor edx, edx
call fcn.00649bf8
mov eax, dword [ebp - 0x20]
call fcn.0040a13c
push eax
mov eax, dword [0x68589c]
call fcn.0054aaec
push eax
call sub.user32.dll_MessageBoxW
mov ecx, 1
mov edx, dword [ebp - 8]
mov eax, 0x653800
call fcn.0040a710
test eax, eax
jne 0x65363b
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.004241f0
test al, al
je 0x65363b
push 1
push 0
movzx eax, byte [ebp + 8]
push eax
mov eax, dword [0x68589c]
call fcn.0054aaec
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.006519e4
jmp 0x653656
push 1
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.0040a13c
push eax
push 0x653808
push 0
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x65369a
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004095cc
lea eax, [ebp - 0x1c]
call fcn.0040956c
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004095cc
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004095cc
ret