Function at 0x46e66c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x46e674
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46eb8b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4715b0]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.00453668
mov eax, dword [0x4710f4]
mov eax, dword [eax]
mov dl, 1
call fcn.0044ed4c
mov eax, dword [0x4713d4]
mov eax, dword [eax]
mov byte [eax + 0x5b], 1
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x308], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x304], edx
dec ebx
test ebx, ebx
jl 0x46ead3
inc ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4740c0
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
call fcn.004088bc
cmp dword [ebp - 0x24], 0
je 0x46eac6
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
mov eax, dword [0x4710f4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f0]
call fcn.00435dc0
mov eax, dword [0x4713d4]
mov eax, dword [eax]
call fcn.00455430
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
call fcn.004086a0
mov edx, dword [ebp - 0x28]
mov eax, 0x46eba4
call fcn.00404b9c
test eax, eax
jle 0x46e799
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
call fcn.004086a0
mov edx, dword [ebp - 0x2c]
mov eax, 0x46eba4
call fcn.00404b9c
mov ebx, eax
lea eax, [ebp - 0x30]
push eax
mov ecx, ebx
dec ecx
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
mov edx, 1
call fcn.00404ab8
mov eax, dword [ebp - 0x30]
call fcn.00409cf4
fmul dword [0x46eba8]
fmul dword [0x46eba8]
call fcn.00402998
mov edx, dword [ebp - 4]
mov dword [edx + 0x308], eax
jmp 0x46e81e
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
call fcn.004086a0
mov edx, dword [ebp - 0x34]
mov eax, 0x46ebb4
call fcn.00404b9c
test eax, eax
jle 0x46e80a
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
call fcn.004086a0
mov edx, dword [ebp - 0x38]
mov eax, 0x46ebb4
call fcn.00404b9c
mov ebx, eax
lea eax, [ebp - 0x3c]
push eax
mov ecx, ebx
dec ecx
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
mov edx, 1
call fcn.00404ab8
mov eax, dword [ebp - 0x3c]
call fcn.00409cf4
fmul dword [0x46eba8]
call fcn.00402998
mov edx, dword [ebp - 4]
mov dword [edx + 0x308], eax
jmp 0x46e81e
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
call fcn.00408a3c
mov edx, dword [ebp - 4]
mov dword [edx + 0x308], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
je 0x46eac6
mov eax, dword [ebp - 4]
add eax, 0x30c
mov edx, dword [ebp - 0x20]
mov edx, dword [edx - 4]
call fcn.004045fc
mov eax, dword [ebp - 0x20]
cmp dword [eax - 8], 0
jne 0x46eac6
mov dl, 1
mov eax, dword [0x415790]
call fcn.00403808
mov dword [ebp - 0x18], eax
xor edx, edx
push ebp
push 0x46ea94
push dword fs:[edx]
mov dword fs:[edx], esp
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov edx, 4
call fcn.00457a98
mov eax, dword [ebp - 0x40]
mov edx, 0x46ebc0
call fcn.00404b9c
test eax, eax
jle 0x46e8ce
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
call fcn.00404860
mov ecx, eax
sub ecx, 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov edx, 1
call fcn.00404ab8
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
mov ecx, dword [ebp - 0x18]
call fcn.0046c9d4
jmp 0x46e8e8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x30c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
mov ecx, dword [ebp - 0x18]
call fcn.0046c9d4
mov eax, dword [ebp - 0x20]
mov dword [eax - 8], 1
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x20]
mov edx, dword [edx]
call fcn.00404640
mov edx, dword [ebp - 8]
mov eax, 0x46ebd4
call fcn.00404b9c
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404860
mov ecx, eax
sub ecx, ebx
inc ecx
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.00404ab8
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov ecx, 2
mov edx, 1
call fcn.00404ab8
mov eax, dword [ebp - 0x48]
mov edx, 0x46ebe0
call fcn.004049a4
jne 0x46e972
mov eax, dword [ebp - 4]
push dword [eax + 0x310]
push 0x46ebec
mov eax, dword [ebp - 0x20]
push dword [eax]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404920
jmp 0x46e97f
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x20]
mov edx, dword [edx]
call fcn.00404640
mov eax, dword [ebp - 0x10]
call fcn.00408c74
test al, al
je 0x46ea55
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
call fcn.00404860
cmp eax, 6
jne 0x46e9dd
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call fcn.00404640
mov eax, dword [ebp - 0x14]
call fcn.00404860
mov edx, eax
sub edx, 2
lea eax, [ebp - 0x14]
mov ecx, 3
call fcn.00404af8
lea eax, [ebp - 0x4c]
mov ecx, 0x46ec00
mov edx, dword [ebp - 0x14]
call fcn.004048ac
mov eax, dword [ebp - 0x4c]
call fcn.00408c84
jmp 0x46ea16
lea eax, [ebp - 0x50]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x46ebd4
call fcn.00404b9c
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00404ab8
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x14]
mov ecx, 0x46ec0c
call fcn.004048ac
mov eax, dword [ebp - 0x14]
call fcn.00408c84
mov eax, dword [ebp - 0x10]
call fcn.00408c84
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
call fcn.0041a0a8
push 0
push 0x46ec1c
push dword [ebp - 0x10]
push 0x46ec30
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.00404920
mov eax, dword [ebp - 0x54]
call fcn.00404a58
push eax
call sub.kernel32.dll_WinExec
jmp 0x46ea8a
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
call fcn.0041a0a8
push 0
push 0x46ec1c
push dword [ebp - 0x10]
push 0x46ec30
lea eax, [ebp - 0x58]
mov edx, 3
call fcn.00404920
mov eax, dword [ebp - 0x58]
call fcn.00404a58
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46eabe
mov eax, dword [ebp - 0x18]
call fcn.00403838
add dword [ebp - 0x20], 0x20
dec dword [ebp - 0x1c]
jne 0x46e6e5
mov eax, dword [ebp - 4]
push dword [eax + 0x310]
push 0x46ec58
push 0x46ec64
lea eax, [ebp - 0x60]
mov edx, 3
call fcn.00404920
mov eax, dword [ebp - 0x60]
call fcn.00404a58
mov edx, eax
lea eax, [ebp - 0x5c]
call fcn.00404798
mov eax, dword [ebp - 0x5c]
call fcn.00408c74
test al, al
jne 0x46eb1b
mov eax, 0x3e8
call fcn.00458288
push 5
mov eax, dword [ebp - 4]
push dword [eax + 0x310]
push 0x46ec58
push 0x46ec64
lea eax, [ebp - 0x64]
mov edx, 3
call fcn.00404920
mov eax, dword [ebp - 0x64]
call fcn.00404a58
push eax
call sub.kernel32.dll_WinExec
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.0046ec74
mov eax, dword [0x4715b0]
mov eax, dword [eax]
xor edx, edx
call fcn.00453668
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46eb92
lea eax, [ebp - 0x64]
mov edx, 0x11
call fcn.004045cc
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.004045cc
ret