Function at 0x64c278
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x64c281
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 0x64c5f6
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xf], 0
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x64c614
call fcn.0040a710
test eax, eax
jle 0x64c325
cmp byte [0x67e8ea], 0
jne 0x64c325
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x64c2da
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 4]
push eax
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x64c62c
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, 0x64c644
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, 0x64c654
call fcn.0040a710
test eax, eax
jle 0x64c39b
cmp byte [0x67e8ea], 1
jne 0x64c39b
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x64c350
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 4]
push eax
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x64c66c
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, 0x64c684
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, 0x64c694
call fcn.0040a710
test eax, eax
jle 0x64c441
lea eax, [ebp - 8]
push eax
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x64c6a8
call fcn.0040a710
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040a500
movzx eax, byte [0x64c6b0]
push eax
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov edx, 0x64c6c0
mov eax, dword [ebp - 8]
call fcn.0042b814
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 8]
call fcn.00409994
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x64c6d0
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 0x64c4cf
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x64c6e4
call fcn.0040a710
test eax, eax
jle 0x64c4cf
lea eax, [ebp - 8]
push eax
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x64c6f8
call fcn.0040a710
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040a500
movzx eax, byte [0x64c6b0]
push eax
lea eax, [ebp - 0x18]
push eax
xor ecx, ecx
mov edx, 0x64c70c
mov eax, dword [ebp - 8]
call fcn.0042b814
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 8]
call fcn.00409994
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x64c71c
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 0x64c501
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.004241e8
test al, al
je 0x64c501
push 1
push 1
movzx eax, byte [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
xor eax, eax
call fcn.0064a800
mov byte [ebp - 0xf], al
jmp 0x64c5b9
cmp byte [ebp - 0xe], 0
je 0x64c562
push 0x30
lea edx, [ebp - 0x1c]
mov eax, dword [0x67e8a4]
call fcn.00541928
mov eax, dword [ebp - 0x1c]
call fcn.0040a13c
push eax
push 0
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x64c730
mov edx, 0x64c740
mov eax, dword [0x67e8d8]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
xor edx, edx
call fcn.00643998
mov eax, dword [ebp - 0x20]
call fcn.0040a13c
push eax
mov eax, dword [0x6784f0]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
push eax
call sub.user32.dll_MessageBoxW
mov ecx, 1
mov edx, dword [ebp - 8]
mov eax, 0x64c760
call fcn.0040a710
test eax, eax
jne 0x64c59e
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.004241e8
test al, al
je 0x64c59e
push 1
push 0
movzx eax, byte [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
xor eax, eax
call fcn.0064a800
jmp 0x64c5b9
push 1
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.0040a13c
push eax
push 0x64c768
push 0
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64c5fd
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