Function at 0x41db04
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x17
push 0
push 0
dec ecx
jne 0x41db0c
push ebx
xor eax, eax
push ebp
push 0x41e1ca
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 [0x422cf4]
call fcn.00404d84
mov edx, 0x41e1e4
call fcn.00404848
call fcn.004030b0
call fcn.00419b88
test al, al
je 0x41e17d
lea eax, [ebp - 0x20]
call fcn.00419144
cmp dword [ebp - 0x20], 0
je 0x41e17d
lea eax, [ebp - 0x24]
call fcn.004191c8
cmp dword [ebp - 0x24], 0
je 0x41e17d
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x422cf4]
call fcn.00404d84
mov edx, 0x41e204
call fcn.00404848
call fcn.004030b0
mov bl, 1
lea ecx, [ebp - 8]
xor edx, edx
mov eax, 0x41e224
call fcn.00418aac
call fcn.004193c0
test al, al
je 0x41dbc6
lea ecx, [ebp - 0xc]
xor edx, edx
mov eax, 0x41e230
call fcn.00418aac
jmp 0x41dbd5
lea ecx, [ebp - 0xc]
xor edx, edx
mov eax, 0x41e23c
call fcn.00418aac
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
call fcn.00419808
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404478
mov eax, dword [ebp - 0x30]
mov edx, 0x41e248
pop ecx
call fcn.0040d6d4
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 8]
call fcn.00404220
call fcn.004192e0
test al, al
je 0x41dc47
cmp dword [0x422c70], 1
je 0x41dc47
lea eax, [ebp - 0x34]
call fcn.00418818
mov eax, dword [ebp - 0x34]
push eax
call fcn.00418a34
push eax
lea eax, [ebp - 0x38]
call fcn.00418940
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 8]
xor eax, eax
call fcn.0040d1e8
mov ebx, eax
test bl, bl
je 0x41e17d
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x422cf4]
call fcn.00404d84
mov edx, 0x41e25c
call fcn.00404848
call fcn.004030b0
mov eax, 2
call fcn.00419c30
mov edx, 1
mov eax, 0x29
call fcn.0041bcd8
lea eax, [ebp - 0x3c]
call fcn.004191c8
mov eax, dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
call fcn.00419144
mov eax, dword [ebp - 0x40]
mov cl, 2
pop edx
call fcn.0041d5b0
mov ebx, eax
mov edx, 2
mov eax, 0x29
call fcn.0041bcd8
lea ecx, [ebp - 8]
xor edx, edx
mov eax, 0x41e27c
call fcn.00418aac
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
call fcn.00419808
mov ecx, dword [ebp - 0x48]
mov edx, 0x41e248
mov eax, dword [ebp - 8]
call fcn.0040d6d4
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 8]
call fcn.00404220
test bl, bl
je 0x41dd2f
call fcn.004193c0
test al, al
je 0x41dd2f
cmp dword [0x422c70], 1
je 0x41dd2f
lea eax, [ebp - 0x4c]
call fcn.00418818
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00418a34
push eax
lea eax, [ebp - 0x50]
call fcn.00418940
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 8]
xor eax, eax
call fcn.0040d1e8
mov ebx, eax
test bl, bl
je 0x41e17d
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x422cf4]
call fcn.00404d84
mov edx, 0x41e288
call fcn.00404848
call fcn.004030b0
lea eax, [ebp - 0x54]
call fcn.00418614
mov eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
call fcn.00418598
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
call fcn.0041851c
mov eax, dword [ebp - 0x5c]
pop edx
pop ecx
call fcn.004157d0
xor ebx, ebx
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x60]
call fcn.00419788
mov eax, dword [ebp - 0x60]
mov cl, 1
mov edx, 0x41e2a8
call fcn.00415e0c
mov eax, dword [ebp - 0x18]
call fcn.0041b754
test al, al
je 0x41ddb3
mov ebx, 1
lea eax, [ebp - 0x64]
call fcn.00419570
mov eax, dword [ebp - 0x64]
mov edx, 0x41e2b4
call fcn.00404578
jne 0x41de3a
lea ecx, [ebp - 8]
xor edx, edx
mov eax, 0x41e2d0
call fcn.00418aac
lea eax, [ebp - 0x68]
push eax
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0x18]
call fcn.004072e0
mov ecx, dword [ebp - 0x6c]
mov edx, 0x41e248
mov eax, dword [ebp - 8]
call fcn.0040d6d4
mov edx, dword [ebp - 0x68]
lea eax, [ebp - 8]
call fcn.00404220
jmp 0x41de2e
lea eax, [ebp - 0x70]
call fcn.00418818
mov eax, dword [ebp - 0x70]
push eax
call fcn.00418a34
push eax
push 0
lea eax, [ebp - 0x74]
call fcn.004189b8
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 8]
xor eax, eax
call fcn.0040d164
mov eax, dword [ebp - 0x18]
call fcn.0041b754
test al, al
jne 0x41de05
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x422cf4]
call fcn.00404d84
mov edx, 0x41e2dc
call fcn.00404848
call fcn.004030b0
lea eax, [ebp - 0x78]
call fcn.00419570
mov eax, dword [ebp - 0x78]
mov edx, 0x41e2fc
call fcn.00404578
jne 0x41de7d
mov dl, 1
mov eax, dword [ebp - 0x18]
call fcn.0041bb44
lea eax, [ebp - 0x7c]
call fcn.00419570
mov eax, dword [ebp - 0x7c]
mov edx, 0x41e314
call fcn.00404578
jne 0x41de9e
mov dl, 1
mov eax, dword [ebp - 0x18]
call fcn.0041bba0
lea eax, [ebp - 0x80]
call fcn.00419570
mov eax, dword [ebp - 0x80]
mov edx, 0x41e32c
call fcn.00404578
jne 0x41debf
mov dl, 1
mov eax, dword [ebp - 0x18]
call fcn.0041bbfc
lea eax, [ebp - 0x84]
call fcn.00419570
mov eax, dword [ebp - 0x84]
mov edx, 0x41e34c
call fcn.00404578
je 0x41dee4
mov eax, dword [ebp - 0x18]
call fcn.0041b6d4
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x422cf4]
call fcn.00404d84
mov edx, 0x41e364
call fcn.00404848
call fcn.004030b0
cmp ebx, 1
jne 0x41df1c
mov eax, dword [ebp - 0x18]
call fcn.0041b754
test al, al
jne 0x41df1c
mov ebx, 2
call fcn.004195f0
test al, al
je 0x41df2a
cmp ebx, 2
je 0x41df2e
xor eax, eax
jmp 0x41df30
mov al, 1
mov byte [ebp - 0x19], al
lea edx, [ebp - 0x88]
mov al, 1
call fcn.0040d8b8
mov eax, dword [ebp - 0x88]
push eax
lea eax, [ebp - 0x8c]
call fcn.004191c8
mov ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x14]
pop edx
call fcn.00404478
push 0x41e384
lea eax, [ebp - 0x90]
call fcn.004190dc
push dword [ebp - 0x90]
push 0x41e3a0
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004044ec
mov eax, 3
call fcn.00419c30
mov edx, 1
mov eax, 0x2a
call fcn.0041bcd8
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x422cf4]
call fcn.00404d84
mov edx, 0x41e3ac
call fcn.00404848
call fcn.004030b0
mov eax, dword [ebp - 0x10]
push eax
call fcn.004194a0
xor al, 1
push eax
lea edx, [ebp - 0x94]
mov eax, dword [0x422d28]
mov eax, dword [eax]
call fcn.00412860
mov eax, dword [ebp - 0x94]
push eax
lea eax, [ebp - 0x98]
call fcn.00417d48
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0x14]
pop ecx
call fcn.0041c508
mov byte [ebp - 1], al
lea eax, [ebp - 0x9c]
call fcn.00417d48
mov eax, dword [ebp - 0x9c]
xor edx, edx
call fcn.00413944
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x422cf4]
call fcn.00404d84
mov edx, 0x41e3cc
call fcn.00404848
call fcn.004030b0
mov edx, 2
mov eax, 0x2a
call fcn.0041bcd8
cmp byte [ebp - 1], 0
je 0x41e05f
call fcn.00419884
call fcn.00418d78
mov eax, dword [ebp - 0x14]
call fcn.00407138
lea ecx, [ebp - 8]
xor edx, edx
mov eax, 0x41e3ec
call fcn.00418aac
lea ecx, [ebp - 0xc]
xor edx, edx
mov eax, 0x41e3f8
call fcn.00418aac
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xa4]
call fcn.00419808
mov ecx, dword [ebp - 0xa4]
mov edx, 0x41e248
mov eax, dword [ebp - 8]
call fcn.0040d6d4
mov edx, dword [ebp - 0xa0]
lea eax, [ebp - 8]
call fcn.00404220
mov bl, 1
cmp byte [ebp - 1], 0
je 0x41e168
call fcn.004196bc
test al, al
jne 0x41e0da
cmp dword [0x422c70], 1
jne 0x41e168
cmp byte [ebp - 0x19], 0
je 0x41e130
lea eax, [ebp - 0xa8]
call fcn.00418818
mov eax, dword [ebp - 0xa8]
push eax
call fcn.00418a34
push eax
lea eax, [ebp - 0xac]
call fcn.00418940
mov eax, dword [ebp - 0xac]
push eax
lea eax, [ebp - 0xb0]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404478
mov edx, dword [ebp - 0xb0]
mov eax, 1
pop ecx
call fcn.0040d1e8
mov ebx, eax
jmp 0x41e168
lea eax, [ebp - 0xb4]
call fcn.00418818
mov eax, dword [ebp - 0xb4]
push eax
call fcn.00418a34
push eax
push 0
lea eax, [ebp - 0xb8]
call fcn.004189b8
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 8]
mov eax, 1
call fcn.0040d164
test byte [ebp - 0x19], bl
je 0x41e17d
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 [0x422cf4]
call fcn.00404d84
mov edx, 0x41e404
call fcn.00404848
call fcn.004030b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e1d1
lea eax, [ebp - 0xb8]
mov edx, 0x27
call fcn.004041ac
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.004041ac
ret