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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push 0xc350
mov ebx, ecx
call fcn.100ac5ee
mov dword [ebx + 0x6b8], eax
add esp, 4
mov eax, dword [0x101158a4]
test eax, eax
je 0x10005e01
cmp eax, 0xffffffff
je 0x10005e01
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp + 0x18c]
or edx, dword [ebp + 0x610]
mov dword [ebp + 0x18c], edx
test edx, 0x100
je 0x10005e27
mov dword [ebp + 0x190], 0xfde9
jmp 0x10005e45
test edx, 0x40000
je 0x10005e45
mov eax, dword [ebp + 0x190]
mov ecx, 0x3a4
test eax, eax
cmove eax, ecx
mov dword [ebp + 0x190], eax
mov eax, dword [ebp + 8]
lea esi, [ebp + 8]
push edi
mov ecx, 0x182
mov dword [ebx + 0x608], eax
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0x60c], ecx
mov eax, dword [0x101158a4]
pop edi
test eax, eax
je 0x10005e80
cmp eax, 0xffffffff
je 0x10005e80
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [ebp + 0x18c]
test edx, 0x1000
je 0x10005ebe
push 0
push 0
push ebx
push 0x10005b40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0
mov dword [ebx + 0x618], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebx + 0x620], eax
mov al, 1
pop esi
pop ebx
pop ebp
ret 0x60c
mov eax, dword [ebx + 0x184]
test al, 0x40
je 0x10005efd
lea ecx, [ebx + 0x1c]
test al, al
jns 0x10005fe4
lea eax, [ebx + 0x10c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10005fce
add dword [ebx + 0x608], eax
adc dword [ebx + 0x60c], 0
push 0x101158d0
push 0x40
push 0xa
push dword [ebx + 0x608]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp + 0x610]
push eax
lea esi, [ebx + 0x629]
push esi
push dword [ebx + 0x608]
call fcn.1008e670
test eax, eax
je 0x10005f66
nop
cmp eax, 3
jne 0x10006017
push 9
push dword [ebx + 0x60c]
push dword [ebx + 0x608]
call fcn.10004f20
add esp, 0xc
lea eax, [ebp + 0x610]
push eax
push esi
push dword [ebx + 0x608]
call fcn.1008e670
test eax, eax
jne 0x10005f30
mov eax, dword [0x1011009c]
mov ecx, dword [ebp + 0x610]
mov dword [eax + 0x1011007c], ebx
mov eax, dword [0x101100a0]
mov dword [eax + 0x1011007c], 0x10006220
mov eax, dword [0x101100a4]
mov dword [eax + 0x1011007c], ecx
movups xmm0, xmmword [0x1011007c]
push dword [ebx + 0x608]
movups xmmword [esi], xmm0
movq xmm0, qword [0x1011008c]
movq qword [esi + 0x10], xmm0
mov eax, dword [0x10110094]
mov dword [esi + 0x18], eax
mov al, byte [0x10110098]
mov byte [esi + 0x1c], al
call fcn.1008e8a0
test eax, eax
pop esi
sete al
pop ebx
pop ebp
ret 0x60c
push dword [0x10110c04]
call fcn.100037c0
add esp, 4
xor al, al
pop esi
pop ebx
pop ebp
ret 0x60c
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10006001
cdq
add dword [ebx + 0x608], eax
adc dword [ebx + 0x60c], edx
jmp 0x10005efd
push dword [0x10110c08]
call fcn.100037c0
add esp, 4
xor al, al
pop esi
pop ebx
pop ebp
ret 0x60c
push eax
call fcn.1008ea90
push eax
call fcn.100037c0
add esp, 4
xor al, al
pop esi
pop ebx
pop ebp
ret 0x60c