Function at 0x4662e4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x38
push 0
push 0
dec ecx
jne 0x4662ec
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404724
lea eax, [ebp - 0x174]
mov edx, dword [0x407608]
call fcn.00404c60
xor eax, eax
push ebp
push 0x466808
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x413fa0]
call fcn.00403500
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4667aa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp byte [eax + 0x310], 0
je 0x466359
lea eax, [ebp - 0x18]
mov edx, 0x46681c
call fcn.0040431c
jmp 0x466366
lea eax, [ebp - 0x18]
mov edx, 0x466828
call fcn.0040431c
mov al, byte [0x466830]
push eax
lea eax, [ebp - 0x178]
push eax
mov ecx, 0x46683c
mov edx, 0x466848
mov eax, dword [ebp - 4]
call fcn.0040d190
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x466794
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x17c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x17c]
lea edx, [ebp - 0x10]
call fcn.00408510
cmp dword [ebp - 0x10], 0
je 0x466788
mov eax, dword [ebp - 0x10]
call fcn.004088a4
test al, al
je 0x4665e6
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x180]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x188], eax
mov byte [ebp - 0x184], 0xb
lea edx, [ebp - 0x188]
xor ecx, ecx
mov eax, 0x466854
call fcn.00409520
mov eax, dword [ebp - 0x180]
mov edx, 0x466874
call fcn.00464d18
pop ecx
lea edx, [ebp - 0x18c]
mov eax, dword [ebp - 0x10]
call fcn.0040ca00
mov edx, dword [ebp - 0x18c]
lea eax, [ebp - 0x10]
call fcn.0040431c
lea eax, [ebp - 0x190]
mov ecx, 0x466884
mov edx, dword [ebp - 0x10]
call fcn.00404588
mov eax, dword [ebp - 0x190]
lea ecx, [ebp - 0x174]
mov edx, 0x3f
call fcn.00408a94
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4665d6
mov eax, dword [ebp - 0x16c]
and eax, 0x10
cmp eax, 0x10
je 0x4665be
mov eax, dword [ebp + 8]
add eax, 0xffffffe8
xor ecx, ecx
mov edx, 0x10
call fcn.00402e3c
mov eax, dword [ebp + 8]
add eax, 0xffffffa4
xor ecx, ecx
mov edx, 0x44
call fcn.00402e3c
mov eax, dword [ebp + 8]
mov dword [eax - 0x30], 1
mov eax, dword [ebp + 8]
mov word [eax - 0x2c], 0
mov eax, dword [ebp + 8]
mov dword [eax - 0x5c], 0x44
mov eax, dword [ebp + 8]
add eax, 0xffffffe8
push eax
mov eax, dword [ebp + 8]
add eax, 0xffffffa4
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x466890
push dword [ebp - 0x18]
push 0x4668a0
push dword [ebp - 0x10]
push dword [ebp - 0x168]
push 0x4668a0
lea eax, [ebp - 0x194]
mov edx, 6
call fcn.004045fc
mov eax, dword [ebp - 0x194]
call fcn.00404734
push eax
lea eax, [ebp - 0x19c]
call fcn.004628e4
mov eax, dword [ebp - 0x19c]
lea edx, [ebp - 0x198]
call fcn.0040ca00
lea eax, [ebp - 0x198]
mov edx, 0x4668ac
call fcn.00404544
mov eax, dword [ebp - 0x198]
call fcn.00404734
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x4665b0
push 0x4668cc
push dword [ebp - 0x10]
push 0x4668e4
call sub.kernel32.dll_GetLastError_1
test eax, eax
jns 0x466578
call fcn.00403470
lea edx, [ebp - 0x1a4]
call fcn.0040b6ac
push dword [ebp - 0x1a4]
lea eax, [ebp - 0x1a0]
mov edx, 4
call fcn.004045fc
mov ecx, dword [ebp - 0x1a0]
mov dl, 1
mov eax, dword [0x407628]
call fcn.0040bea0
call fcn.00403ce4
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 0x174]
call fcn.00408ae4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x466478
lea eax, [ebp - 0x174]
call fcn.00408b08
jmp 0x466788
mov eax, dword [ebp - 0x10]
call fcn.00408894
test al, al
jne 0x46661c
lea eax, [ebp - 0x1a8]
mov ecx, dword [ebp - 0x10]
mov edx, 0x4668f8
call fcn.00404588
mov ecx, dword [ebp - 0x1a8]
mov dl, 1
mov eax, dword [0x407628]
call fcn.0040bea0
call fcn.00403ce4
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x1ac]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x188], eax
mov byte [ebp - 0x184], 0xb
lea edx, [ebp - 0x188]
xor ecx, ecx
mov eax, 0x466914
call fcn.00409520
mov eax, dword [ebp - 0x1ac]
mov edx, 0x466874
call fcn.00464d18
pop ecx
mov eax, dword [ebp + 8]
add eax, 0xffffffe8
xor ecx, ecx
mov edx, 0x10
call fcn.00402e3c
mov eax, dword [ebp + 8]
add eax, 0xffffffa4
xor ecx, ecx
mov edx, 0x44
call fcn.00402e3c
mov eax, dword [ebp + 8]
mov dword [eax - 0x30], 1
mov eax, dword [ebp + 8]
mov word [eax - 0x2c], 0
mov eax, dword [ebp + 8]
mov dword [eax - 0x5c], 0x44
mov eax, dword [ebp + 8]
add eax, 0xffffffe8
push eax
mov eax, dword [ebp + 8]
add eax, 0xffffffa4
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x466890
push dword [ebp - 0x18]
push 0x4668a0
push dword [ebp - 0x10]
push 0x4668a0
lea eax, [ebp - 0x1b0]
mov edx, 5
call fcn.004045fc
mov eax, dword [ebp - 0x1b0]
call fcn.00404734
push eax
lea eax, [ebp - 0x1b8]
call fcn.004628e4
mov eax, dword [ebp - 0x1b8]
lea edx, [ebp - 0x1b4]
call fcn.0040ca00
lea eax, [ebp - 0x1b4]
mov edx, 0x4668ac
call fcn.00404544
mov eax, dword [ebp - 0x1b4]
call fcn.00404734
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x46677a
push 0x4668cc
push dword [ebp - 0x10]
push 0x4668e4
call sub.kernel32.dll_GetLastError_1
test eax, eax
jns 0x466742
call fcn.00403470
lea edx, [ebp - 0x1c0]
call fcn.0040b6ac
push dword [ebp - 0x1c0]
lea eax, [ebp - 0x1bc]
mov edx, 4
call fcn.004045fc
mov ecx, dword [ebp - 0x1bc]
mov dl, 1
mov eax, dword [0x407628]
call fcn.0040bea0
call fcn.00403ce4
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
push eax
call sub.kernel32.dll_WaitForSingleObject
inc dword [ebp - 0xc]
dec dword [ebp - 0x1c]
jne 0x4663af
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4667b1
mov eax, dword [ebp - 8]
call fcn.00403530
ret