Function at 0x100084a0
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0x188]
mov eax, ecx
push esi
mov esi, dword [ebp + 8]
and eax, 0x2000
or eax, 0
mov dword [ebp - 4], esi
push edi
je 0x10008518
and ecx, 0x4000
or ecx, 0
je 0x10008500
lea eax, [ebp + 0x110]
push eax
lea eax, [ebp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x10008513
push 0x100ef7b0
call fcn.100046b0
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xa08
lea eax, [ebp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100085f3
cdq
add esi, eax
mov dword [ebp - 4], esi
test esi, esi
je 0x100084f5
push 0
push 0
push esi
call fcn.10006280
push esi
lea eax, [ebp + 0x1d8]
push eax
push str.inserting_hook:__s__p
call fcn.100046b0
push 0xc350
call fcn.100b93c0
mov dword [ebx + 0xac0], eax
add esp, 0x1c
mov eax, dword [0x1011c9a8]
test eax, eax
je 0x10008562
cmp eax, 0xffffffff
je 0x10008562
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 4]
lea esi, [ebp + 8]
mov ecx, 0x282
mov dword [ebx + 0xa08], eax
mov edi, ebx
mov dword [ebx + 0xa0c], 0
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x1011c9a8]
test eax, eax
je 0x10008596
cmp eax, 0xffffffff
je 0x10008596
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp + 0x18c]
mov ecx, dword [ebp + 0x188]
mov dword [ebx + 0xa14], eax
mov eax, ecx
and eax, 0x2000000
mov dword [ebx + 0xa10], ecx
or eax, 0
je 0x1000860b
push 0
push 0
push ebx
push 0x10007f20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0
mov dword [ebx + 0xa20], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebx + 0xa28], eax
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xa08
push str.module_not_present
call fcn.100046b0
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xa08
and ecx, 0x1000000
or ecx, 0
je 0x1000863d
mov ecx, ebx
call fcn.10008730
test al, al
jne 0x100085e8
cmp byte [0x1011ca80], al
je 0x100084f5
mov ecx, ebx
call fcn.10008730
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xa08
push 0x1011ca10
push 0x40
push 0xa
push dword [ebx + 0xa08]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
lea esi, [ebx + 0xa31]
push esi
push dword [ebx + 0xa08]
call fcn.10084680
test eax, eax
je 0x100086a3
nop dword [eax]
cmp eax, 3
jne 0x1000870b
push 9
push dword [ebx + 0xa0c]
push dword [ebx + 0xa08]
call fcn.10006280
add esp, 0xc
lea eax, [ebp - 4]
push eax
push esi
push dword [ebx + 0xa08]
call fcn.10084680
test eax, eax
jne 0x10008670
mov eax, dword [0x101162d4]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x101162b4], ebx
mov eax, dword [0x101162d8]
mov dword [eax + 0x101162b4], 0x100089a0
mov eax, dword [0x101162dc]
mov dword [eax + 0x101162b4], ecx
movups xmm0, xmmword [0x101162b4]
push dword [ebx + 0xa08]
movups xmmword [esi], xmm0
movq xmm0, qword [0x101162c4]
movq qword [esi + 0x10], xmm0
mov eax, dword [0x101162cc]
mov dword [esi + 0x18], eax
mov al, byte [0x101162d0]
mov byte [esi + 0x1c], al
call fcn.100848b0
pop edi
test eax, eax
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret 0xa08
push eax
call fcn.10084ab0
push eax
call fcn.100046b0
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xa08