Function at 0x468680
Capabilities:
Create process on windows
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x5c2460]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x30], edx
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x28], 0
call fcn.00478bb0
mov cl, byte [ebx + 8]
xor esi, esi
mov byte [ebp - 0x21], cl
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x468774
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
jne 0x4686d3
mov byte [ebp - 0x21], 0
jmp 0x468774
call fcn.00464040
cmp eax, 3
jge 0x4686fc
push 0
lea ecx, [ebp - 0x2c]
call fcn.00468a20
push eax
mov ecx, edi
call fcn.00468b50
lea ecx, [ebp - 0x2c]
call fcn.00468c80
jmp 0x4689e9
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
sar ecx, 2
cmp ecx, 0x3fffffff
ja 0x4686dd
push ecx
lea ecx, [ebp - 0x8c]
call fcn.00478c80
test al, al
je 0x4686dd
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov esi, dword [eax]
mov eax, dword [eax + 4]
sub eax, esi
sar ecx, 2
sar eax, 2
test eax, eax
je 0x468a15
mov edx, dword [ebp - 0x48]
test edx, edx
je 0x4686dd
push 0
push 0
lea eax, [ecx*4]
push eax
push esi
push 0x20002
push 0
push edx
call dword [0x766e60]
test eax, eax
setne al
test al, al
je 0x4686dd
mov byte [ebp - 0x21], 1
mov esi, 0x80000
cmp byte [ebx + 0x10], 0
mov eax, 0x53fc30
mov dword [ebp - 0x60], 1
cmove eax, dword [ebp - 0x84]
xor ecx, ecx
cmp byte [ebx + 1], cl
mov dword [ebp - 0x84], eax
mov eax, 5
cmovne eax, ecx
mov word [ebp - 0x5c], ax
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x4687b3
cmp dword [ebx + 0x1c], ecx
jne 0x4687b3
cmp dword [ebx + 0x20], ecx
je 0x4687c9
mov dword [ebp - 0x54], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x60], 0x101
mov dword [ebp - 0x4c], eax
cmp dword [ebx + 0x14], ecx
je 0x4687d4
or esi, 0x1000004
cmp byte [ebx + 0x24], cl
je 0x4687df
or esi, 0x1000000
xor eax, eax
mov dword [ebp - 0x10], ecx
push 0xffffffffffffffff
push eax
push dword [ebp - 0x30]
xorps xmm0, xmm0
mov dword [ebp - 0xc], 7
lea ecx, [ebp - 0x20]
mov word [ebp - 0x20], ax
movdqu xmmword [ebp - 0x9c], xmm0
call fcn.004059ba
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x468895
push 0
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
or esi, 0x400
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
jne 0x468850
push 0
lea ecx, [ebp - 0x2c]
call fcn.00468a20
push eax
mov ecx, edi
call fcn.00468b50
lea ecx, [ebp - 0x2c]
call fcn.00468c80
jmp 0x4689c8
cmp dword [ebp - 0xc], 8
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x8c]
push eax
movzx eax, byte [ebp - 0x21]
lea ecx, [ebp - 0x20]
cmovae ecx, dword [ebp - 0x20]
push 0
push dword [ebp - 0x30]
push esi
push eax
push 0
push 0
push ecx
push 0
push dword [ebx + 0xc]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
push dword [ebp - 0x30]
mov esi, eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
test esi, esi
jne 0x4688cd
jmp 0x468831
cmp dword [ebp - 0xc], 8
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x8c]
push eax
movzx eax, byte [ebp - 0x21]
lea ecx, [ebp - 0x20]
cmovae ecx, dword [ebp - 0x20]
push 0
push 0
push esi
push eax
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x468831
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x44], 0
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call fcn.00478980
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x468988
push dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x46897f
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x3c], eax
call fcn.00468e10
push eax
lea ecx, [ebp - 0x2c]
call fcn.00468a20
cmp byte [ebp - 0x2c], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
je 0x468935
call esi
jmp 0x468938
mov eax, dword [ebp - 0x28]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne al
test al, al
je 0x468963
cmp byte [ebp - 0x2c], 0
je 0x468954
call esi
jmp 0x468957
mov eax, dword [ebp - 0x28]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
lea ecx, [ebp - 0x34]
call fcn.00468a20
push eax
mov ecx, edi
call fcn.00468b50
lea ecx, [ebp - 0x34]
call fcn.00468c80
jmp 0x4689b8
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp byte [ebx], 0
je 0x468998
push 0xffffffffffffffff
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x3c], 0
call fcn.00468e10
push eax
lea ecx, [ebp - 0x2c]
call fcn.00468a20
push eax
mov ecx, edi
call fcn.00468b50
lea ecx, [ebp - 0x2c]
call fcn.00468c80
lea ecx, [ebp - 0x44]
call fcn.00478690
cmp dword [ebp - 0xc], 8
jb 0x4689d9
push dword [ebp - 0x20]
call fcn.0050269b
add esp, 4
xor eax, eax
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], eax
mov word [ebp - 0x20], ax
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x468a02
push eax
call dword [0x766e68]
push dword [ebp - 0x48]
call fcn.005028a5
add esp, 4
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00501d03
mov esp, ebp
pop ebp
ret
push str.invalid_vector_T__subscript
call fcn.0051fee3
int3