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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5731a0
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x5edd38]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
xorps xmm0, xmm0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xa0], eax
xor eax, eax
cmp byte [esi + 8], 0
mov word [ebp - 0x4a], ax
mov eax, 0x586454
movlpd qword [ebp - 0x88], xmm0
cmove eax, dword [ebp - 0x84]
xor edx, edx
cmp byte [esi + 1], dl
mov dword [ebp - 0x84], eax
mov eax, 5
cmovne eax, edx
mov dword [ebp - 0x18], edx
mov word [ebp - 0x5c], ax
mov eax, dword [esi + 0xc]
neg eax
mov dword [ebp - 0x14], edx
mov edx, dword [ecx + 0x10]
sbb eax, eax
mov dword [ebp - 0x98], ecx
and eax, 0x1000004
movlpd qword [ebp - 0x80], xmm0
cmp dword [ecx + 0x14], 8
movlpd qword [ebp - 0x78], xmm0
movlpd qword [ebp - 0x70], xmm0
movlpd qword [ebp - 0x68], xmm0
movlpd qword [ebp - 0x5a], xmm0
movlpd qword [ebp - 0x52], xmm0
mov dword [ebp - 0x8c], 0x44
mov dword [ebp - 0x60], 1
mov dword [ebp - 0x94], eax
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x9c], edx
jb 0x4717fc
mov ecx, dword [ecx]
mov dword [ebp - 0x98], ecx
cmp edx, 8
jae 0x471819
movups xmm0, xmmword [ecx]
mov dword [ebp - 0x18], edx
mov edi, 7
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x471866
mov edi, edx
lea ecx, [ebp - 0x28]
mov eax, 0x7ffffffe
or edi, 7
cmp edi, eax
cmova edi, eax
lea eax, [edi + 1]
push eax
call fcn.00409030
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x28], eax
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x98]
push eax
call fcn.0053e840
mov eax, dword [ebp - 0x9c]
add esp, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x14], edi
cmp dword [esi + 4], 0
mov dword [ebp - 4], 0
je 0x471932
or eax, 0x400
lea edx, [esi + 0x14]
mov dword [ebp - 0x94], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x84], eax
test edx, edx
je 0x471897
cmp dword [edx], 0
jne 0x471899
xor edx, edx
lea eax, [ebp - 0x48]
cmp edi, 8
push eax
lea eax, [ebp - 0x8c]
push eax
movzx eax, byte [esi + 2]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push 0
push dword [esi + 0x10]
push dword [ebp - 0x94]
push eax
push 0
push edx
push ecx
push 0
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x471966
lea eax, [ebp - 0x48]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x38]
movups xmmword [ebp - 0x38], xmm0
call fcn.0044d640
mov eax, dword [esi + 0xc]
mov byte [ebp - 4], 3
test eax, eax
je 0x471979
push dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x471970
mov esi, dword [ebp - 0x38]
push 1
push esi
mov dword [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x471928
push 0xea60
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor al, al
mov byte [ebp - 0x8d], al
jmp 0x4719a4
lea edx, [ebp - 0x48]
cmp edi, 8
push edx
lea edx, [ebp - 0x8c]
push edx
push 0
push 0
push eax
movzx eax, byte [esi + 2]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push eax
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4718d5
xor al, al
mov byte [ebp - 0x8d], al
jmp 0x4719b2
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp byte [esi], 0
je 0x471989
push 0xffffffffffffffff
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [ebp - 0xa0]
test esi, esi
je 0x47199d
lea ecx, [ebp - 0x38]
call fcn.00453bb0
mov dword [esi], eax
mov byte [ebp - 0x8d], 1
lea ecx, [ebp - 0x38]
call fcn.0044dab0
mov al, byte [ebp - 0x8d]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 8
cmp ecx, 8
jb 0x4719d4
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.0040a2e0
mov al, byte [ebp - 0x8d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401682
mov esp, ebp
pop ebp
ret