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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10038ba5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
mov eax, dword [0x1005f008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x1005afb4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, eax
mov dword [0x1005f67c], edx
test edx, edx
je 0x100031e6
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [edx + 0xb3b538]
mov dword [0x1005f678], eax
lea ecx, [edx + 0xbe6384]
lea eax, [edx + 0x44a818]
mov dword [0x1005f670], ecx
mov ecx, dword [edx + 0xbe40ac]
lea esi, [edx + 0x44b5a7]
mov dword [0x1005f66c], eax
lea eax, [edx + 0x44b5b2]
mov dword [0x1005f684], eax
lea eax, [edx + 0x44b7fb]
mov dword [0x1005f658], eax
lea eax, [edx + 0x44a821]
mov dword [0x1005f694], eax
lea eax, [ebp - 0x18]
push eax
push 0x40
push 0xc
push esi
mov dword [0x1005f680], esi
mov dword [0x1005f688], ecx
call edi
mov eax, 0x10002410
mov byte [esi], 0xe9
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
mov eax, 0x90909090
mov dword [esi + 5], eax
mov word [esi + 9], ax
mov byte [esi + 0xb], al
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x18]
push 0xc
push esi
call edi
mov esi, dword [0x1005f66c]
lea eax, [ebp - 0x18]
push eax
push 0x40
push 0xa
push esi
call edi
mov eax, 0x10002450
mov byte [esi], 0xe9
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x18]
mov dword [esi + 5], 0x90909090
push 0xa
push esi
mov byte [esi + 9], 0x90
call edi
mov esi, dword [0x1005f67c]
lea eax, [ebp - 0x18]
push eax
push 0x40
push 6
add esi, 0x7ab57c
push esi
call edi
lea eax, [ebp - 0x20]
mov dword [esi], 0x90909090
push eax
push dword [ebp - 0x18]
mov word [esi + 4], 0x9090
push 6
push esi
call edi
push 0x10
mov dword [ebp - 0x30], 0x3e8
mov dword [ebp - 0x2c], 0
call fcn.10037808
movups xmm0, xmmword [ebp - 0x38]
add esp, 4
movups xmmword [eax], xmm0
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
push ecx
push 0
push eax
push 0x10003830
push 0
push 0
call edi
add esp, 0x18
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x100031d7
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x1000313c
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov esi, dword [sym.imp.MSVCP140.dll__Thrd_detach]
push ecx
push eax
call esi
add esp, 8
test eax, eax
je 0x10003154
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
mov dword [ebp - 4], 0xffffffff
push 0x10
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], 0
call fcn.10037808
movups xmm0, xmmword [ebp - 0x38]
add esp, 4
mov dword [ebp - 0x20], eax
movups xmmword [eax], xmm0
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 2
push ecx
push 0
push eax
push 0x10003890
push 0
push 0
call edi
add esp, 0x18
mov dword [ebp - 0x28], eax
test eax, eax
je 0x100031c8
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x24]
test ecx, ecx
jne 0x100031b6
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push ecx
push eax
call esi
add esp, 8
test eax, eax
je 0x100031e6
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
push 6
mov dword [ebp - 0x24], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 6
mov dword [ebp - 0x18], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100377fa
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret