Function at 0x41a488
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x17
push 0
push 0
dec ecx
jne 0x41a490
push ebx
xor eax, eax
push ebp
push 0x41ab48
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 [0x41ec9c]
call fcn.00404da0
mov edx, 0x41ab60
call fcn.00404788
call fcn.0040302c
call fcn.00416f1c
test al, al
je 0x41aafb
lea eax, [ebp - 0x20]
call fcn.004164d8
cmp dword [ebp - 0x20], 0
je 0x41aafb
lea eax, [ebp - 0x24]
call fcn.0041655c
cmp dword [ebp - 0x24], 0
je 0x41aafb
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x41ec9c]
call fcn.00404da0
mov edx, 0x41ab80
call fcn.00404788
call fcn.0040302c
mov bl, 1
lea ecx, [ebp - 8]
xor edx, edx
mov eax, 0x41aba0
call fcn.00415e50
call fcn.00416754
test al, al
je 0x41a54a
lea ecx, [ebp - 0xc]
xor edx, edx
mov eax, 0x41abac
call fcn.00415e50
jmp 0x41a559
lea ecx, [ebp - 0xc]
xor edx, edx
mov eax, 0x41abb8
call fcn.00415e50
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
call fcn.00416b9c
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004043ec
mov eax, dword [ebp - 0x30]
mov edx, 0x41abc4
pop ecx
call fcn.0040eac0
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 8]
call fcn.00404198
call fcn.00416674
test al, al
je 0x41a5cb
cmp dword [0x41ec1c], 1
je 0x41a5cb
lea eax, [ebp - 0x34]
call fcn.00415bbc
mov eax, dword [ebp - 0x34]
push eax
call fcn.00415dd8
push eax
lea eax, [ebp - 0x38]
call fcn.00415ce4
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 8]
xor eax, eax
call fcn.0040e77c
mov ebx, eax
test bl, bl
je 0x41aafb
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x41ec9c]
call fcn.00404da0
mov edx, 0x41abd8
call fcn.00404788
call fcn.0040302c
mov eax, 2
call fcn.00416fc0
mov edx, 1
mov eax, 0x29
call fcn.00418dcc
lea eax, [ebp - 0x3c]
call fcn.0041655c
mov eax, dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
call fcn.004164d8
mov eax, dword [ebp - 0x40]
mov cl, 2
pop edx
call fcn.00419f88
mov ebx, eax
mov edx, 2
mov eax, 0x29
call fcn.00418dcc
lea ecx, [ebp - 8]
xor edx, edx
mov eax, 0x41abf8
call fcn.00415e50
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
call fcn.00416b9c
mov ecx, dword [ebp - 0x48]
mov edx, 0x41abc4
mov eax, dword [ebp - 8]
call fcn.0040eac0
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 8]
call fcn.00404198
test bl, bl
je 0x41a6b3
call fcn.00416754
test al, al
je 0x41a6b3
cmp dword [0x41ec1c], 1
je 0x41a6b3
lea eax, [ebp - 0x4c]
call fcn.00415bbc
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00415dd8
push eax
lea eax, [ebp - 0x50]
call fcn.00415ce4
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 8]
xor eax, eax
call fcn.0040e77c
mov ebx, eax
test bl, bl
je 0x41aafb
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x41ec9c]
call fcn.00404da0
mov edx, 0x41ac04
call fcn.00404788
call fcn.0040302c
lea eax, [ebp - 0x54]
call fcn.004159b8
mov eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
call fcn.0041593c
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
call fcn.004158c0
mov eax, dword [ebp - 0x5c]
pop edx
pop ecx
call fcn.00413794
xor ebx, ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x60]
call fcn.00416b1c
mov eax, dword [ebp - 0x60]
mov cl, 1
mov edx, 0x41ac24
call fcn.00413c30
mov eax, dword [ebp - 0x18]
call fcn.00418870
test al, al
je 0x41a735
mov ebx, 1
lea eax, [ebp - 0x64]
call fcn.00416904
mov eax, dword [ebp - 0x64]
mov edx, 0x41ac30
call fcn.004044e4
jne 0x41a7ba
lea ecx, [ebp - 8]
xor edx, edx
mov eax, 0x41ac4c
call fcn.00415e50
lea eax, [ebp - 0x68]
push eax
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0x18]
call fcn.00407098
mov ecx, dword [ebp - 0x6c]
mov edx, 0x41abc4
mov eax, dword [ebp - 8]
call fcn.0040eac0
mov edx, dword [ebp - 0x68]
lea eax, [ebp - 8]
call fcn.00404198
jmp 0x41a7ae
lea eax, [ebp - 0x70]
call fcn.00415bbc
mov eax, dword [ebp - 0x70]
push eax
call fcn.00415dd8
push eax
lea eax, [ebp - 0x74]
call fcn.00415d5c
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 8]
xor eax, eax
call fcn.0040e6fc
mov eax, dword [ebp - 0x18]
call fcn.00418870
test al, al
jne 0x41a787
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x41ec9c]
call fcn.00404da0
mov edx, 0x41ac58
call fcn.00404788
call fcn.0040302c
lea eax, [ebp - 0x78]
call fcn.00416904
mov eax, dword [ebp - 0x78]
mov edx, 0x41ac78
call fcn.004044e4
jne 0x41a7fd
mov dl, 1
mov eax, dword [ebp - 0x18]
call fcn.00418c3c
lea eax, [ebp - 0x7c]
call fcn.00416904
mov eax, dword [ebp - 0x7c]
mov edx, 0x41ac90
call fcn.004044e4
jne 0x41a81e
mov dl, 1
mov eax, dword [ebp - 0x18]
call fcn.00418c98
lea eax, [ebp - 0x80]
call fcn.00416904
mov eax, dword [ebp - 0x80]
mov edx, 0x41aca8
call fcn.004044e4
jne 0x41a83f
mov dl, 1
mov eax, dword [ebp - 0x18]
call fcn.00418cf4
lea eax, [ebp - 0x84]
call fcn.00416904
mov eax, dword [ebp - 0x84]
mov edx, 0x41acc8
call fcn.004044e4
je 0x41a864
mov eax, dword [ebp - 0x18]
call fcn.00418818
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x41ec9c]
call fcn.00404da0
mov edx, 0x41ace0
call fcn.00404788
call fcn.0040302c
cmp ebx, 1
jne 0x41a89c
mov eax, dword [ebp - 0x18]
call fcn.00418870
test al, al
jne 0x41a89c
mov ebx, 2
call fcn.00416984
test al, al
je 0x41a8aa
cmp ebx, 2
je 0x41a8ae
xor eax, eax
jmp 0x41a8b0
mov al, 1
mov byte [ebp - 0x19], al
lea edx, [ebp - 0x88]
mov al, 1
call fcn.0040edd0
mov eax, dword [ebp - 0x88]
push eax
lea eax, [ebp - 0x8c]
call fcn.0041655c
mov ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x14]
pop edx
call fcn.004043ec
push 0x41ad00
lea eax, [ebp - 0x90]
call fcn.00416470
push dword [ebp - 0x90]
push 0x41ad1c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404460
mov eax, 3
call fcn.00416fc0
mov edx, 1
mov eax, 0x2a
call fcn.00418dcc
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x41ec9c]
call fcn.00404da0
mov edx, 0x41ad28
call fcn.00404788
call fcn.0040302c
mov eax, dword [ebp - 0x10]
push eax
call fcn.00416834
xor al, 1
push eax
lea edx, [ebp - 0x94]
mov eax, dword [0x41ecd0]
mov eax, dword [eax]
call fcn.004117ec
mov eax, dword [ebp - 0x94]
push eax
lea eax, [ebp - 0x98]
call fcn.004150f0
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0x14]
pop ecx
call fcn.004193d8
mov byte [ebp - 1], al
lea eax, [ebp - 0x9c]
call fcn.004150f0
mov eax, dword [ebp - 0x9c]
xor edx, edx
call fcn.004124b8
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x41ec9c]
call fcn.00404da0
mov edx, 0x41ad48
call fcn.00404788
call fcn.0040302c
mov edx, 2
mov eax, 0x2a
call fcn.00418dcc
cmp byte [ebp - 1], 0
je 0x41a9df
call fcn.00416c18
call fcn.0041611c
mov eax, dword [ebp - 0x14]
call fcn.00406ed0
lea ecx, [ebp - 8]
xor edx, edx
mov eax, 0x41ad68
call fcn.00415e50
lea ecx, [ebp - 0xc]
xor edx, edx
mov eax, 0x41ad74
call fcn.00415e50
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xa4]
call fcn.00416b9c
mov ecx, dword [ebp - 0xa4]
mov edx, 0x41abc4
mov eax, dword [ebp - 8]
call fcn.0040eac0
mov edx, dword [ebp - 0xa0]
lea eax, [ebp - 8]
call fcn.00404198
mov bl, 1
cmp byte [ebp - 1], 0
je 0x41aae6
call fcn.00416a50
test al, al
jne 0x41aa5a
cmp dword [0x41ec1c], 1
jne 0x41aae6
cmp byte [ebp - 0x19], 0
je 0x41aab0
lea eax, [ebp - 0xa8]
call fcn.00415bbc
mov eax, dword [ebp - 0xa8]
push eax
call fcn.00415dd8
push eax
lea eax, [ebp - 0xac]
call fcn.00415ce4
mov eax, dword [ebp - 0xac]
push eax
lea eax, [ebp - 0xb0]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004043ec
mov edx, dword [ebp - 0xb0]
mov eax, 1
pop ecx
call fcn.0040e77c
mov ebx, eax
jmp 0x41aae6
lea eax, [ebp - 0xb4]
call fcn.00415bbc
mov eax, dword [ebp - 0xb4]
push eax
call fcn.00415dd8
push eax
lea eax, [ebp - 0xb8]
call fcn.00415d5c
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 8]
mov eax, 1
call fcn.0040e6fc
test byte [ebp - 0x19], bl
je 0x41aafb
push 5
mov eax, dword [ebp - 0x18]
call fcn.00404598
push eax
call sub.kernel32.dll_WinExec
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, dword [0x41ec9c]
call fcn.00404da0
mov edx, 0x41ad80
call fcn.00404788
call fcn.0040302c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41ab4f
lea eax, [ebp - 0xb8]
mov edx, 0x27
call fcn.00404124
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.00404124
ret