Function at 0x466928
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
xor edx, edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404724
xor eax, eax
push ebp
push 0x466c13
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 0x466bcf
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [0x466c20]
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x466c2c
mov edx, 0x466c38
mov eax, dword [ebp - 4]
call fcn.0040d190
mov edx, dword [ebp - 0x20]
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 0x466bb9
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x14]
call fcn.00408510
cmp dword [ebp - 0x14], 0
je 0x466bad
mov edx, dword [ebp - 0x14]
mov eax, 0x466c44
call fcn.00404878
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x466a26
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x309
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.00404794
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.00404794
jmp 0x466a2e
lea eax, [ebp - 0x18]
call fcn.00404284
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x64]
mov eax, dword [eax - 0x68]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 4]
sub eax, dword [ecx + 0x318]
sbb edx, dword [ecx + 0x31c]
test edx, edx
jge 0x466a54
neg eax
adc edx, 0
neg edx
cmp edx, 0
jne 0x466a60
cmp eax, 0xa
jae 0x466aa3
jmp 0x466a62
jge 0x466aa3
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0xb
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea edx, [ebp - 0x38]
mov ecx, 1
mov eax, 0x466c50
call fcn.00409520
mov eax, dword [ebp - 0x28]
mov edx, 0x466c84
call fcn.00464d18
pop ecx
jmp 0x466bad
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0xb
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea edx, [ebp - 0x38]
mov ecx, 1
mov eax, 0x466c94
call fcn.00409520
mov eax, dword [ebp - 0x3c]
mov edx, 0x466c84
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
mov eax, dword [ebp - 0x18]
call fcn.00404734
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404734
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x466b9f
push 0x466cb8
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 0x466cd4
call sub.kernel32.dll_GetLastError_1
test eax, eax
jns 0x466b73
call fcn.00403470
lea edx, [ebp - 0x44]
call fcn.0040b6ac
push dword [ebp - 0x44]
lea eax, [ebp - 0x40]
mov edx, 5
call fcn.004045fc
mov ecx, dword [ebp - 0x40]
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 0x4669c2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466bd6
mov eax, dword [ebp - 8]
call fcn.00403530
ret