Function at 0x420a18
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x17
push 0
push 0
dec ecx
jne 0x420a20
push ecx
push ebx
xor eax, eax
push ebp
push 0x4210ec
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x425d40]
call fcn.00404d84
mov edx, 0x421104
call fcn.00404848
call fcn.004030b0
call fcn.0041b6b4
test al, al
je 0x42109f
lea eax, [ebp - 0x24]
call fcn.0041a954
cmp dword [ebp - 0x24], 0
je 0x42109f
lea eax, [ebp - 0x28]
call fcn.0041a9d8
cmp dword [ebp - 0x28], 0
je 0x42109f
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x425d40]
call fcn.00404d84
mov edx, 0x42112c
call fcn.00404848
call fcn.004030b0
mov bl, 1
lea ecx, [ebp - 8]
xor edx, edx
mov eax, 0x421154
call fcn.0041a1fc
call fcn.0041abd0
test al, al
je 0x420adb
lea ecx, [ebp - 0xc]
xor edx, edx
mov eax, 0x421160
call fcn.0041a1fc
jmp 0x420aea
lea ecx, [ebp - 0xc]
xor edx, edx
mov eax, 0x42116c
call fcn.0041a1fc
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
call fcn.0041b018
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, 0x421178
pop ecx
call fcn.0040c9e0
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 8]
call fcn.00404220
call fcn.0041aaf0
test al, al
je 0x420b5d
mov eax, dword [0x425e08]
cmp dword [eax], 1
je 0x420b5d
lea eax, [ebp - 0x38]
call fcn.00419e60
mov eax, dword [ebp - 0x38]
push eax
call fcn.0041a07c
push eax
lea eax, [ebp - 0x3c]
call fcn.00419f88
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 8]
xor eax, eax
call fcn.0040c340
mov ebx, eax
test bl, bl
je 0x42109f
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x425d40]
call fcn.00404d84
mov edx, 0x42118c
call fcn.00404848
call fcn.004030b0
mov eax, 2
call fcn.0041b75c
mov edx, 1
mov eax, 0x29
call fcn.0041b7c4
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x40]
call fcn.0041a9d8
mov eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
call fcn.0041a954
mov eax, dword [ebp - 0x44]
mov cl, 2
pop edx
call fcn.004200a4
mov ebx, eax
mov edx, 2
mov eax, 0x29
call fcn.0041b7c4
lea ecx, [ebp - 8]
xor edx, edx
mov eax, 0x4211b4
call fcn.0041a1fc
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
call fcn.0041b018
mov ecx, dword [ebp - 0x4c]
mov edx, 0x421178
mov eax, dword [ebp - 8]
call fcn.0040c9e0
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 8]
call fcn.00404220
test bl, bl
je 0x420c4a
call fcn.0041abd0
test al, al
je 0x420c4a
mov eax, dword [0x425e08]
cmp dword [eax], 1
je 0x420c4a
lea eax, [ebp - 0x50]
call fcn.00419e60
mov eax, dword [ebp - 0x50]
push eax
call fcn.0041a07c
push eax
lea eax, [ebp - 0x54]
call fcn.00419f88
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 8]
xor eax, eax
call fcn.0040c340
mov ebx, eax
test bl, bl
je 0x42109f
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x425d40]
call fcn.00404d84
mov edx, 0x4211c0
call fcn.00404848
call fcn.004030b0
lea eax, [ebp - 0x58]
call fcn.00419c5c
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
call fcn.00419be0
mov eax, dword [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
call fcn.00419b64
mov eax, dword [ebp - 0x60]
pop edx
pop ecx
call fcn.00416be0
xor ebx, ebx
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x64]
call fcn.0041af98
mov eax, dword [ebp - 0x64]
mov cl, 1
mov edx, 0x4211e8
call fcn.0041721c
mov eax, dword [ebp - 0x18]
call fcn.0041d6d4
test al, al
je 0x420cce
mov ebx, 1
lea eax, [ebp - 0x68]
call fcn.0041ad80
mov eax, dword [ebp - 0x68]
mov edx, 0x4211f4
call fcn.00404578
jne 0x420d55
lea ecx, [ebp - 8]
xor edx, edx
mov eax, 0x421210
call fcn.0041a1fc
lea eax, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 0x18]
call fcn.004072f8
mov ecx, dword [ebp - 0x70]
mov edx, 0x421178
mov eax, dword [ebp - 8]
call fcn.0040c9e0
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 8]
call fcn.00404220
jmp 0x420d49
lea eax, [ebp - 0x74]
call fcn.00419e60
mov eax, dword [ebp - 0x74]
push eax
call fcn.0041a07c
push eax
push 0
lea eax, [ebp - 0x78]
call fcn.0041a000
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 8]
xor eax, eax
call fcn.0040c2ac
mov eax, dword [ebp - 0x18]
call fcn.0041d6d4
test al, al
jne 0x420d20
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x425d40]
call fcn.00404d84
mov edx, 0x42121c
call fcn.00404848
call fcn.004030b0
lea eax, [ebp - 0x7c]
call fcn.0041ad80
mov eax, dword [ebp - 0x7c]
mov edx, 0x421244
call fcn.00404578
jne 0x420d98
mov dl, 1
mov eax, dword [ebp - 0x18]
call fcn.0041dac4
lea eax, [ebp - 0x80]
call fcn.0041ad80
mov eax, dword [ebp - 0x80]
mov edx, 0x42125c
call fcn.00404578
jne 0x420db9
mov dl, 1
mov eax, dword [ebp - 0x18]
call fcn.0041db20
lea eax, [ebp - 0x84]
call fcn.0041ad80
mov eax, dword [ebp - 0x84]
mov edx, 0x421274
call fcn.00404578
jne 0x420de0
mov dl, 1
mov eax, dword [ebp - 0x18]
call fcn.0041db7c
lea eax, [ebp - 0x88]
call fcn.0041ad80
mov eax, dword [ebp - 0x88]
mov edx, 0x421294
call fcn.00404578
je 0x420e05
mov eax, dword [ebp - 0x18]
call fcn.0041d654
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x425d40]
call fcn.00404d84
mov edx, 0x4212ac
call fcn.00404848
call fcn.004030b0
cmp ebx, 1
jne 0x420e3d
mov eax, dword [ebp - 0x18]
call fcn.0041d6d4
test al, al
jne 0x420e3d
mov ebx, 2
call fcn.0041ae00
test al, al
je 0x420e4b
cmp ebx, 2
je 0x420e4f
xor eax, eax
jmp 0x420e51
mov al, 1
mov byte [ebp - 0x1d], al
lea edx, [ebp - 0x8c]
mov al, 1
call fcn.0040cbec
mov eax, dword [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
call fcn.0041a9d8
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x14]
pop edx
call fcn.00404478
push 0x4212d4
lea eax, [ebp - 0x94]
call fcn.0041a8ec
push dword [ebp - 0x94]
push 0x4212f0
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004044ec
mov eax, 3
call fcn.0041b75c
mov edx, 1
mov eax, 0x2a
call fcn.0041b7c4
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x425d40]
call fcn.00404d84
mov edx, 0x4212fc
call fcn.00404848
call fcn.004030b0
mov eax, dword [ebp - 0x10]
push eax
call fcn.0041acb0
xor al, 1
push eax
lea edx, [ebp - 0x98]
mov eax, dword [0x425d78]
mov eax, dword [eax]
call fcn.0041339c
mov eax, dword [ebp - 0x98]
push eax
lea eax, [ebp - 0x9c]
call fcn.0041935c
mov eax, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x14]
pop ecx
call fcn.0041e358
mov byte [ebp - 1], al
lea eax, [ebp - 0xa0]
call fcn.0041935c
mov eax, dword [ebp - 0xa0]
xor edx, edx
call fcn.00414790
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x425d40]
call fcn.00404d84
mov edx, 0x421324
call fcn.00404848
call fcn.004030b0
mov edx, 2
mov eax, 0x2a
call fcn.0041b7c4
cmp byte [ebp - 1], 0
je 0x420f80
call fcn.0041b094
call fcn.0041a588
mov eax, dword [ebp - 0x14]
call fcn.00407150
lea ecx, [ebp - 8]
xor edx, edx
mov eax, 0x42134c
call fcn.0041a1fc
lea ecx, [ebp - 0xc]
xor edx, edx
mov eax, 0x421358
call fcn.0041a1fc
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xa8]
call fcn.0041b018
mov ecx, dword [ebp - 0xa8]
mov edx, 0x421178
mov eax, dword [ebp - 8]
call fcn.0040c9e0
mov edx, dword [ebp - 0xa4]
lea eax, [ebp - 8]
call fcn.00404220
mov bl, 1
cmp byte [ebp - 1], 0
je 0x42108a
call fcn.0041aecc
test al, al
jne 0x420ffc
mov eax, dword [0x425e08]
cmp dword [eax], 1
jne 0x42108a
cmp byte [ebp - 0x1d], 0
je 0x421052
lea eax, [ebp - 0xac]
call fcn.00419e60
mov eax, dword [ebp - 0xac]
push eax
call fcn.0041a07c
push eax
lea eax, [ebp - 0xb0]
call fcn.00419f88
mov eax, dword [ebp - 0xb0]
push eax
lea eax, [ebp - 0xb4]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404478
mov edx, dword [ebp - 0xb4]
mov eax, 1
pop ecx
call fcn.0040c340
mov ebx, eax
jmp 0x42108a
lea eax, [ebp - 0xb8]
call fcn.00419e60
mov eax, dword [ebp - 0xb8]
push eax
call fcn.0041a07c
push eax
push 0
lea eax, [ebp - 0xbc]
call fcn.0041a000
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ebp - 8]
mov eax, 1
call fcn.0040c2ac
test byte [ebp - 0x1d], bl
je 0x42109f
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 [0x425d40]
call fcn.00404d84
mov edx, 0x421364
call fcn.00404848
call fcn.004030b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4210f3
lea eax, [ebp - 0xbc]
mov edx, 0x27
call fcn.004041ac
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.004041ac
ret