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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
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 0x1000821d
and ecx, 0x4000
or ecx, 0
je 0x100081f2
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 0x10008218
push 0x100eedc0
call fcn.10004dc0
add esp, 4
xor al, al
pop edi
pop esi
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
jne 0x10008218
push 0x100eedd0
call fcn.10004dc0
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xa08
add esi, eax
mov dword [ebp - 4], esi
test esi, esi
je 0x1000841b
push 0
push 0
push esi
call fcn.10006580
push esi
lea eax, [ebp + 0x1d8]
push eax
push str.:__s__p
call fcn.10004dc0
push 0xc350
call fcn.100b9f1e
mov dword [ebx + 0xac0], eax
add esp, 0x1c
mov eax, dword [0x10125028]
test eax, eax
je 0x1000826b
cmp eax, 0xffffffff
je 0x1000826b
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 [0x10125028]
test eax, eax
je 0x1000829f
cmp eax, 0xffffffff
je 0x1000829f
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, 0x800000
mov dword [ebx + 0xa10], ecx
or eax, 0
je 0x100082fc
push 0
push 0
push ebx
push 0x10007ad0
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
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xa08
mov edx, dword [ebx + 0xa08]
and ecx, 0x400000
or ecx, 0
je 0x1000833f
mov al, byte [ebp - 5]
push 0
sub esp, 0x28
mov ecx, esp
push edx
mov dword [ecx], vtable.std::_Func_impl_no_alloc_class_std::_Binder_struct_std::_Unforced__unsigned_char____cdecl_TextHook::__bool__struct__CONTEXT____class_TextHook___struct_std::_Ph_1__const____bool__struct__CONTEXT__.0
mov dword [ecx + 4], 0x10008db0
mov byte [ecx + 8], al
mov dword [ecx + 0xc], ebx
mov dword [ecx + 0x24], ecx
call fcn.1006cf20
add esp, 0x30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xa08
push 0x10125098
push 0x40
push 0xa
push edx
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.100710e0
test eax, eax
je 0x100083a3
nop dword [eax]
cmp eax, 3
jne 0x1000840c
push 9
push dword [ebx + 0xa0c]
push dword [ebx + 0xa08]
call fcn.10006580
add esp, 0xc
lea eax, [ebp - 4]
push eax
push esi
push dword [ebx + 0xa08]
call fcn.100710e0
test eax, eax
jne 0x10008370
mov eax, dword [0x1011e2f4]
mov ecx, dword [0x1011e2fc]
mov dword [eax + 0x1011e2d4], ebx
mov eax, dword [0x1011e2f8]
mov dword [eax + 0x1011e2d4], 0x10008660
mov eax, dword [ebp - 4]
mov dword [ecx + 0x1011e2d4], eax
movups xmm0, xmmword [0x1011e2d4]
push dword [ebx + 0xa08]
movups xmmword [esi], xmm0
movq xmm0, qword [0x1011e2e4]
movq qword [esi + 0x10], xmm0
mov eax, dword [0x1011e2ec]
mov dword [esi + 0x18], eax
mov al, byte [0x1011e2f0]
mov byte [esi + 0x1c], al
call fcn.10071300
test eax, eax
sete al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xa08
push eax
call fcn.10071520
push eax
call fcn.10004dc0
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xa08