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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55b850
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push 0x44
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x8c]
push 0
push eax
mov dword [ebp - 0x98], edi
call fcn.005290f0
mov edx, dword [esi + 0xc]
add esp, 0xc
cmp byte [esi + 8], 0
mov eax, 0x569908
xorps xmm0, xmm0
mov dword [ebp - 0x8c], 0x44
cmove eax, dword [ebp - 0x84]
xor ecx, ecx
cmp byte [esi + 1], cl
mov dword [ebp - 0x84], eax
mov eax, 5
cmovne eax, ecx
mov dword [ebp - 0x60], 1
neg edx
mov word [ebp - 0x5c], ax
mov eax, dword [edi + 0x10]
sbb edx, edx
mov dword [ebp - 0x18], ecx
and edx, 0x1000004
mov dword [ebp - 0x14], ecx
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x9c], edx
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x94], eax
jb 0x46a134
mov edi, dword [edi]
mov dword [ebp - 0x98], edi
cmp eax, 8
jae 0x46a151
movups xmm0, xmmword [edi]
mov dword [ebp - 0x14], 7
mov edi, 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x46a1e3
mov edi, eax
mov eax, 0x7ffffffe
or edi, 7
cmp edi, eax
cmova edi, eax
lea eax, [edi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x46a172
or ecx, 0xffffffff
jmp 0x46a17a
cmp ecx, 0x1000
jb 0x46a1a1
lea eax, [ecx + 0x23]
or edx, 0xffffffff
cmp eax, ecx
cmovbe eax, edx
push eax
call fcn.00406909
add esp, 4
test eax, eax
je 0x46a35c
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x46a1b4
test ecx, ecx
je 0x46a1b2
push ecx
call fcn.00406909
add esp, 4
mov ecx, eax
jmp 0x46a1b4
xor ecx, ecx
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x28], ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x98]
push ecx
call fcn.005285f0
mov eax, dword [ebp - 0x94]
add esp, 0xc
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
cmp dword [esi + 4], 0
mov dword [ebp - 4], 0
je 0x46a2ba
mov eax, dword [esi + 0x20]
or edx, 0x400
mov dword [ebp - 0x84], eax
lea eax, [esi + 0x14]
mov dword [ebp - 0x94], eax
test eax, eax
je 0x46a218
cmp dword [eax], 0
jne 0x46a222
mov dword [ebp - 0x94], 0
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 edx
push eax
push 0
push dword [ebp - 0x94]
push ecx
push 0
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x46a2ee
lea eax, [ebp - 0x48]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x38]
movups xmmword [ebp - 0x38], xmm0
call fcn.00448d60
mov eax, dword [esi + 0xc]
mov byte [ebp - 4], 1
test eax, eax
je 0x46a300
push dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x46a2f7
mov esi, dword [ebp - 0x38]
push 1
push esi
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x46a2b1
push 0xea60
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [ebp - 0x8d], 0
jmp 0x46a32b
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 0
push edx
push eax
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x46a25e
mov byte [ebp - 0x8d], 0
jmp 0x46a333
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp byte [esi], 0
je 0x46a310
push 0xffffffffffffffff
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [ebp - 0xa0]
test esi, esi
je 0x46a324
lea ecx, [ebp - 0x38]
call fcn.0044fbb0
mov dword [esi], eax
mov byte [ebp - 0x8d], 1
lea ecx, [ebp - 0x38]
call fcn.00449200
lea ecx, [ebp - 0x28]
call fcn.00408e50
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.0040154f
mov esp, ebp
pop ebp
ret
call fcn.0052cae1
int3