Function at 0x4220e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1a
push 0
push 0
dec ecx
jne 0x4220e8
push ecx
push ebx
xor eax, eax
push ebp
push 0x422898
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x4228b0
call fcn.00414508
mov byte [ebp - 1], 0
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x427db8]
call fcn.00404d84
mov edx, 0x4228d4
call fcn.00404848
call fcn.004030b0
call fcn.0041cc94
test al, al
je 0x422818
lea eax, [ebp - 0x24]
call fcn.0041bf34
cmp dword [ebp - 0x24], 0
je 0x422818
lea eax, [ebp - 0x28]
call fcn.0041bfb8
cmp dword [ebp - 0x28], 0
je 0x422818
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x427db8]
call fcn.00404d84
mov edx, 0x4228fc
call fcn.00404848
call fcn.004030b0
mov bl, 1
lea ecx, [ebp - 8]
xor edx, edx
mov eax, 0x422924
call fcn.0041b7dc
call fcn.0041c1b0
test al, al
je 0x4221ad
lea ecx, [ebp - 0xc]
xor edx, edx
mov eax, 0x422930
call fcn.0041b7dc
jmp 0x4221bc
lea ecx, [ebp - 0xc]
xor edx, edx
mov eax, 0x42293c
call fcn.0041b7dc
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
call fcn.0041c5f8
mov eax, dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404478
mov eax, dword [ebp - 0x34]
mov edx, 0x422948
pop ecx
call fcn.0040cbcc
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 8]
call fcn.00404220
call fcn.0040d5bc
test al, al
je 0x42221d
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x42295c
mov edx, 0x422970
mov eax, dword [ebp - 8]
call fcn.0040cc40
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 8]
call fcn.00404220
call fcn.0041c0d0
test al, al
je 0x422259
mov eax, dword [0x427e84]
cmp dword [eax], 1
je 0x422259
lea eax, [ebp - 0x3c]
call fcn.0041b440
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0041b65c
push eax
lea eax, [ebp - 0x40]
call fcn.0041b568
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 8]
xor eax, eax
call fcn.0040c454
mov ebx, eax
test bl, bl
je 0x422818
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x427db8]
call fcn.00404d84
mov edx, 0x422984
call fcn.00404848
call fcn.004030b0
mov eax, 2
call fcn.0041cd3c
mov edx, 1
mov eax, 0x29
call fcn.004145e8
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x44]
call fcn.0041bfb8
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
call fcn.0041bf34
mov eax, dword [ebp - 0x48]
mov cl, 2
pop edx
call fcn.004215d0
mov ebx, eax
mov edx, 2
mov eax, 0x29
call fcn.004145e8
lea ecx, [ebp - 8]
xor edx, edx
mov eax, 0x4229ac
call fcn.0041b7dc
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
call fcn.0041c5f8
mov ecx, dword [ebp - 0x50]
mov edx, 0x422948
mov eax, dword [ebp - 8]
call fcn.0040cbcc
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 8]
call fcn.00404220
call fcn.0040d5bc
test al, al
je 0x422330
lea eax, [ebp - 0x54]
push eax
mov ecx, 0x4229b8
mov edx, 0x4229c8
mov eax, dword [ebp - 8]
call fcn.0040cc40
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 8]
call fcn.00404220
test bl, bl
je 0x422370
call fcn.0041c1b0
test al, al
je 0x422370
mov eax, dword [0x427e84]
cmp dword [eax], 1
je 0x422370
lea eax, [ebp - 0x58]
call fcn.0041b440
mov eax, dword [ebp - 0x58]
push eax
call fcn.0041b65c
push eax
lea eax, [ebp - 0x5c]
call fcn.0041b568
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 8]
xor eax, eax
call fcn.0040c454
mov ebx, eax
test bl, bl
je 0x422818
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x427db8]
call fcn.00404d84
mov edx, 0x4229d8
call fcn.00404848
call fcn.004030b0
lea eax, [ebp - 0x60]
call fcn.0041b23c
mov eax, dword [ebp - 0x60]
push eax
lea eax, [ebp - 0x64]
call fcn.0041b1c0
mov eax, dword [ebp - 0x64]
push eax
lea eax, [ebp - 0x68]
call fcn.0041b144
mov eax, dword [ebp - 0x68]
pop edx
pop ecx
call fcn.00417e0c
xor ebx, ebx
push 1
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x6c]
call fcn.0041c578
mov eax, dword [ebp - 0x6c]
mov cl, 1
mov edx, 0x422a00
call fcn.004185fc
mov eax, dword [ebp - 0x18]
call fcn.0041eadc
test al, al
je 0x4223f6
mov ebx, 1
lea eax, [ebp - 0x70]
call fcn.0041c360
mov eax, dword [ebp - 0x70]
mov edx, 0x422a0c
call fcn.00404578
jne 0x42247d
lea ecx, [ebp - 8]
xor edx, edx
mov eax, 0x422a28
call fcn.0041b7dc
lea eax, [ebp - 0x74]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 0x18]
call fcn.00407314
mov ecx, dword [ebp - 0x78]
mov edx, 0x422948
mov eax, dword [ebp - 8]
call fcn.0040cbcc
mov edx, dword [ebp - 0x74]
lea eax, [ebp - 8]
call fcn.00404220
jmp 0x422471
lea eax, [ebp - 0x7c]
call fcn.0041b440
mov eax, dword [ebp - 0x7c]
push eax
call fcn.0041b65c
push eax
push 0
lea eax, [ebp - 0x80]
call fcn.0041b5e0
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 8]
xor eax, eax
call fcn.0040c3c0
mov eax, dword [ebp - 0x18]
call fcn.0041eadc
test al, al
jne 0x422448
push 0x422a34
push dword [ebp - 0x18]
push 0x422a5c
lea eax, [ebp - 0x88]
call fcn.0041c360
push dword [ebp - 0x88]
lea eax, [ebp - 0x84]
mov edx, 4
call fcn.004044ec
mov eax, dword [ebp - 0x84]
call fcn.00414508
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x427db8]
call fcn.00404d84
mov edx, 0x422a70
call fcn.00404848
call fcn.004030b0
lea eax, [ebp - 0x8c]
call fcn.0041c360
mov eax, dword [ebp - 0x8c]
mov edx, 0x422a98
call fcn.00404578
jne 0x4224ff
mov dl, 1
mov eax, dword [ebp - 0x18]
call fcn.0041eecc
lea eax, [ebp - 0x90]
call fcn.0041c360
mov eax, dword [ebp - 0x90]
mov edx, 0x422ab0
call fcn.00404578
jne 0x422526
mov dl, 1
mov eax, dword [ebp - 0x18]
call fcn.0041ef28
lea eax, [ebp - 0x94]
call fcn.0041c360
mov eax, dword [ebp - 0x94]
mov edx, 0x422ac8
call fcn.00404578
jne 0x42254d
mov dl, 1
mov eax, dword [ebp - 0x18]
call fcn.0041ef84
lea eax, [ebp - 0x98]
call fcn.0041c360
mov eax, dword [ebp - 0x98]
mov edx, 0x422ae8
call fcn.00404578
je 0x422574
xor edx, edx
mov eax, dword [ebp - 0x18]
call fcn.0041ea54
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x427db8]
call fcn.00404d84
mov edx, 0x422b00
call fcn.00404848
call fcn.004030b0
mov eax, 0x422b28
call fcn.00414508
cmp ebx, 1
jne 0x4225b6
mov eax, dword [ebp - 0x18]
call fcn.0041eadc
test al, al
jne 0x4225b6
mov ebx, 2
call fcn.0041c3e0
test al, al
je 0x4225c4
cmp ebx, 2
je 0x4225c8
xor eax, eax
jmp 0x4225ca
mov al, 1
mov byte [ebp - 0x1d], al
lea edx, [ebp - 0x9c]
mov al, 1
call fcn.0040cdf8
mov eax, dword [ebp - 0x9c]
push eax
lea eax, [ebp - 0xa0]
call fcn.0041bfb8
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x14]
pop edx
call fcn.00404478
push 0x422b4c
lea eax, [ebp - 0xa4]
call fcn.0041becc
push dword [ebp - 0xa4]
push 0x422b68
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004044ec
mov eax, 3
call fcn.0041cd3c
mov edx, 1
mov eax, 0x2a
call fcn.004145e8
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x427db8]
call fcn.00404d84
mov edx, 0x422b74
call fcn.00404848
call fcn.004030b0
mov eax, dword [ebp - 0x10]
push eax
call fcn.0041c290
xor al, 1
push eax
lea edx, [ebp - 0xa8]
mov eax, dword [0x427df4]
mov eax, dword [eax]
call fcn.00415a2c
mov eax, dword [ebp - 0xa8]
push eax
lea eax, [ebp - 0xac]
call fcn.0041a93c
mov eax, dword [ebp - 0xac]
mov edx, dword [ebp - 0x14]
pop ecx
call fcn.0041f768
mov byte [ebp - 1], al
lea eax, [ebp - 0xb0]
call fcn.0041a93c
mov eax, dword [ebp - 0xb0]
xor edx, edx
call fcn.00413cb8
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x427db8]
call fcn.00404d84
mov edx, 0x422b9c
call fcn.00404848
call fcn.004030b0
mov edx, 2
mov eax, 0x2a
call fcn.004145e8
cmp byte [ebp - 1], 0
je 0x4226f9
call fcn.0041c674
call fcn.0041bb68
mov eax, dword [ebp - 0x14]
call fcn.0040716c
lea ecx, [ebp - 8]
xor edx, edx
mov eax, 0x422bc4
call fcn.0041b7dc
lea ecx, [ebp - 0xc]
xor edx, edx
mov eax, 0x422bd0
call fcn.0041b7dc
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xb8]
call fcn.0041c5f8
mov ecx, dword [ebp - 0xb8]
mov edx, 0x422948
mov eax, dword [ebp - 8]
call fcn.0040cbcc
mov edx, dword [ebp - 0xb4]
lea eax, [ebp - 8]
call fcn.00404220
mov bl, 1
cmp byte [ebp - 1], 0
je 0x422803
call fcn.0041c4ac
test al, al
jne 0x422775
mov eax, dword [0x427e84]
cmp dword [eax], 1
jne 0x422803
cmp byte [ebp - 0x1d], 0
je 0x4227cb
lea eax, [ebp - 0xbc]
call fcn.0041b440
mov eax, dword [ebp - 0xbc]
push eax
call fcn.0041b65c
push eax
lea eax, [ebp - 0xc0]
call fcn.0041b568
mov eax, dword [ebp - 0xc0]
push eax
lea eax, [ebp - 0xc4]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404478
mov edx, dword [ebp - 0xc4]
mov eax, 1
pop ecx
call fcn.0040c454
mov ebx, eax
jmp 0x422803
lea eax, [ebp - 0xc8]
call fcn.0041b440
mov eax, dword [ebp - 0xc8]
push eax
call fcn.0041b65c
push eax
push 0
lea eax, [ebp - 0xcc]
call fcn.0041b5e0
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ebp - 8]
mov eax, 1
call fcn.0040c3c0
test byte [ebp - 0x1d], bl
je 0x422818
push 5
mov eax, dword [ebp - 0x18]
call fcn.0040462c
push eax
call sub.kernel32.dll_WinExec
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x427db8]
call fcn.00404d84
mov edx, 0x422bdc
call fcn.00404848
call fcn.004030b0
lea edx, [ebp - 0xd4]
cmp byte [ebp - 1], 1
cmc
sbb eax, eax
call fcn.0040ccec
mov ecx, dword [ebp - 0xd4]
lea eax, [ebp - 0xd0]
mov edx, 0x422c04
call fcn.00404478
mov eax, dword [ebp - 0xd0]
call fcn.00414508
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42289f
lea eax, [ebp - 0xd4]
mov edx, 0x2d
call fcn.004041ac
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.004041ac
ret