Function at 0x421db8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x19
push 0
push 0
dec ecx
jne 0x421dc0
push ecx
push ebx
xor eax, eax
push ebp
push 0x42252d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x422544
call fcn.004146bc
mov byte [ebp - 1], 0
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x427da8]
call fcn.00404d84
mov edx, 0x422568
call fcn.00404848
call fcn.004030b0
call fcn.0041cb8c
test al, al
je 0x4224ad
lea eax, [ebp - 0x24]
call fcn.0041be2c
cmp dword [ebp - 0x24], 0
je 0x4224ad
lea eax, [ebp - 0x28]
call fcn.0041beb0
cmp dword [ebp - 0x28], 0
je 0x4224ad
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x427da8]
call fcn.00404d84
mov edx, 0x422590
call fcn.00404848
call fcn.004030b0
mov bl, 1
lea ecx, [ebp - 8]
xor edx, edx
mov eax, 0x4225b8
call fcn.0041b6d4
call fcn.0041c0a8
test al, al
je 0x421e85
lea ecx, [ebp - 0xc]
xor edx, edx
mov eax, 0x4225c4
call fcn.0041b6d4
jmp 0x421e94
lea ecx, [ebp - 0xc]
xor edx, edx
mov eax, 0x4225d0
call fcn.0041b6d4
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
call fcn.0041c4f0
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, 0x4225dc
pop ecx
call fcn.0040cd30
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 8]
call fcn.00404220
call fcn.0040d808
test al, al
je 0x421ef5
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x4225f0
mov edx, 0x422604
mov eax, dword [ebp - 8]
call fcn.0040cda4
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 8]
call fcn.00404220
call fcn.0041bfc8
test al, al
je 0x421f31
mov eax, dword [0x427e74]
cmp dword [eax], 1
je 0x421f31
lea eax, [ebp - 0x3c]
call fcn.0041b338
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0041b554
push eax
lea eax, [ebp - 0x40]
call fcn.0041b460
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 8]
xor eax, eax
call fcn.0040c5b8
mov ebx, eax
test bl, bl
je 0x4224ad
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x427da8]
call fcn.00404d84
mov edx, 0x422618
call fcn.00404848
call fcn.004030b0
mov eax, 2
call fcn.0041cc34
mov edx, 1
mov eax, 0x29
call fcn.0041479c
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x44]
call fcn.0041beb0
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
call fcn.0041be2c
mov eax, dword [ebp - 0x48]
mov cl, 2
pop edx
call fcn.004212a8
mov ebx, eax
mov edx, 2
mov eax, 0x29
call fcn.0041479c
lea ecx, [ebp - 8]
xor edx, edx
mov eax, 0x422640
call fcn.0041b6d4
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
call fcn.0041c4f0
mov ecx, dword [ebp - 0x50]
mov edx, 0x4225dc
mov eax, dword [ebp - 8]
call fcn.0040cd30
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 8]
call fcn.00404220
call fcn.0040d808
test al, al
je 0x422008
lea eax, [ebp - 0x54]
push eax
mov ecx, 0x42264c
mov edx, 0x42265c
mov eax, dword [ebp - 8]
call fcn.0040cda4
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 8]
call fcn.00404220
test bl, bl
je 0x422048
call fcn.0041c0a8
test al, al
je 0x422048
mov eax, dword [0x427e74]
cmp dword [eax], 1
je 0x422048
lea eax, [ebp - 0x58]
call fcn.0041b338
mov eax, dword [ebp - 0x58]
push eax
call fcn.0041b554
push eax
lea eax, [ebp - 0x5c]
call fcn.0041b460
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 8]
xor eax, eax
call fcn.0040c5b8
mov ebx, eax
test bl, bl
je 0x4224ad
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x427da8]
call fcn.00404d84
mov edx, 0x42266c
call fcn.00404848
call fcn.004030b0
lea eax, [ebp - 0x60]
call fcn.0041b134
mov eax, dword [ebp - 0x60]
push eax
lea eax, [ebp - 0x64]
call fcn.0041b0b8
mov eax, dword [ebp - 0x64]
push eax
lea eax, [ebp - 0x68]
call fcn.0041b03c
mov eax, dword [ebp - 0x68]
pop edx
pop ecx
call fcn.00417dc8
xor ebx, ebx
push 1
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x6c]
call fcn.0041c470
mov eax, dword [ebp - 0x6c]
mov cl, 1
mov edx, 0x422694
call fcn.004185b8
mov eax, dword [ebp - 0x18]
call fcn.0041e99c
test al, al
je 0x4220ce
mov ebx, 1
lea eax, [ebp - 0x70]
call fcn.0041c258
mov eax, dword [ebp - 0x70]
mov edx, 0x4226a0
call fcn.00404578
jne 0x422155
lea ecx, [ebp - 8]
xor edx, edx
mov eax, 0x4226bc
call fcn.0041b6d4
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, 0x4225dc
mov eax, dword [ebp - 8]
call fcn.0040cd30
mov edx, dword [ebp - 0x74]
lea eax, [ebp - 8]
call fcn.00404220
jmp 0x422149
lea eax, [ebp - 0x7c]
call fcn.0041b338
mov eax, dword [ebp - 0x7c]
push eax
call fcn.0041b554
push eax
push 0
lea eax, [ebp - 0x80]
call fcn.0041b4d8
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 8]
xor eax, eax
call fcn.0040c524
mov eax, dword [ebp - 0x18]
call fcn.0041e99c
test al, al
jne 0x422120
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x427da8]
call fcn.00404d84
mov edx, 0x4226c8
call fcn.00404848
call fcn.004030b0
lea eax, [ebp - 0x84]
call fcn.0041c258
mov eax, dword [ebp - 0x84]
mov edx, 0x4226f0
call fcn.00404578
jne 0x42219e
mov dl, 1
mov eax, dword [ebp - 0x18]
call fcn.0041ed8c
lea eax, [ebp - 0x88]
call fcn.0041c258
mov eax, dword [ebp - 0x88]
mov edx, 0x422708
call fcn.00404578
jne 0x4221c5
mov dl, 1
mov eax, dword [ebp - 0x18]
call fcn.0041ede8
lea eax, [ebp - 0x8c]
call fcn.0041c258
mov eax, dword [ebp - 0x8c]
mov edx, 0x422720
call fcn.00404578
jne 0x4221ec
mov dl, 1
mov eax, dword [ebp - 0x18]
call fcn.0041ee44
lea eax, [ebp - 0x90]
call fcn.0041c258
mov eax, dword [ebp - 0x90]
mov edx, 0x422740
call fcn.00404578
je 0x422213
xor edx, edx
mov eax, dword [ebp - 0x18]
call fcn.0041e914
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x427da8]
call fcn.00404d84
mov edx, 0x422758
call fcn.00404848
call fcn.004030b0
cmp ebx, 1
jne 0x42224b
mov eax, dword [ebp - 0x18]
call fcn.0041e99c
test al, al
jne 0x42224b
mov ebx, 2
call fcn.0041c2d8
test al, al
je 0x422259
cmp ebx, 2
je 0x42225d
xor eax, eax
jmp 0x42225f
mov al, 1
mov byte [ebp - 0x1d], al
lea edx, [ebp - 0x94]
mov al, 1
call fcn.0040d050
mov eax, dword [ebp - 0x94]
push eax
lea eax, [ebp - 0x98]
call fcn.0041beb0
mov ecx, dword [ebp - 0x98]
lea eax, [ebp - 0x14]
pop edx
call fcn.00404478
push 0x422780
lea eax, [ebp - 0x9c]
call fcn.0041bdc4
push dword [ebp - 0x9c]
push 0x42279c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004044ec
mov eax, 3
call fcn.0041cc34
mov edx, 1
mov eax, 0x2a
call fcn.0041479c
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x427da8]
call fcn.00404d84
mov edx, 0x4227a8
call fcn.00404848
call fcn.004030b0
mov eax, dword [ebp - 0x10]
push eax
call fcn.0041c188
xor al, 1
push eax
lea edx, [ebp - 0xa0]
mov eax, dword [0x427de4]
mov eax, dword [eax]
call fcn.00415aa8
mov eax, dword [ebp - 0xa0]
push eax
lea eax, [ebp - 0xa4]
call fcn.0041a834
mov eax, dword [ebp - 0xa4]
mov edx, dword [ebp - 0x14]
pop ecx
call fcn.0041f55c
mov byte [ebp - 1], al
lea eax, [ebp - 0xa8]
call fcn.0041a834
mov eax, dword [ebp - 0xa8]
xor edx, edx
call fcn.00413e6c
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x427da8]
call fcn.00404d84
mov edx, 0x4227d0
call fcn.00404848
call fcn.004030b0
mov edx, 2
mov eax, 0x2a
call fcn.0041479c
cmp byte [ebp - 1], 0
je 0x42238e
call fcn.0041c56c
call fcn.0041ba60
mov eax, dword [ebp - 0x14]
call fcn.0040716c
lea ecx, [ebp - 8]
xor edx, edx
mov eax, 0x4227f8
call fcn.0041b6d4
lea ecx, [ebp - 0xc]
xor edx, edx
mov eax, 0x422804
call fcn.0041b6d4
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0xb0]
call fcn.0041c4f0
mov ecx, dword [ebp - 0xb0]
mov edx, 0x4225dc
mov eax, dword [ebp - 8]
call fcn.0040cd30
mov edx, dword [ebp - 0xac]
lea eax, [ebp - 8]
call fcn.00404220
mov bl, 1
cmp byte [ebp - 1], 0
je 0x422498
call fcn.0041c3a4
test al, al
jne 0x42240a
mov eax, dword [0x427e74]
cmp dword [eax], 1
jne 0x422498
cmp byte [ebp - 0x1d], 0
je 0x422460
lea eax, [ebp - 0xb4]
call fcn.0041b338
mov eax, dword [ebp - 0xb4]
push eax
call fcn.0041b554
push eax
lea eax, [ebp - 0xb8]
call fcn.0041b460
mov eax, dword [ebp - 0xb8]
push eax
lea eax, [ebp - 0xbc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404478
mov edx, dword [ebp - 0xbc]
mov eax, 1
pop ecx
call fcn.0040c5b8
mov ebx, eax
jmp 0x422498
lea eax, [ebp - 0xc0]
call fcn.0041b338
mov eax, dword [ebp - 0xc0]
push eax
call fcn.0041b554
push eax
push 0
lea eax, [ebp - 0xc4]
call fcn.0041b4d8
mov ecx, dword [ebp - 0xc4]
mov edx, dword [ebp - 8]
mov eax, 1
call fcn.0040c524
test byte [ebp - 0x1d], bl
je 0x4224ad
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 [0x427da8]
call fcn.00404d84
mov edx, 0x422810
call fcn.00404848
call fcn.004030b0
lea edx, [ebp - 0xcc]
cmp byte [ebp - 1], 1
cmc
sbb eax, eax
call fcn.0040ce50
mov ecx, dword [ebp - 0xcc]
lea eax, [ebp - 0xc8]
mov edx, 0x422838
call fcn.00404478
mov eax, dword [ebp - 0xc8]
call fcn.004146bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x422534
lea eax, [ebp - 0xcc]
mov edx, 0x2b
call fcn.004041ac
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.004041ac
ret