Function at 0x100047e0
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.1008392e
mov dword [ebx + 0x238], eax
add esp, 4
mov eax, dword [0x100e2e40]
test eax, eax
je 0x10004811
cmp eax, 0xffffffff
je 0x10004811
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp + 0x18c]
or eax, dword [ebp + 0x200]
mov dword [ebp + 0x18c], eax
test eax, 0x100
je 0x10004836
mov dword [ebp + 0x190], 0xfde9
jmp 0x10004853
test eax, 0x40000
je 0x10004853
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, 0x7e
mov dword [ebx + 0x1f8], eax
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0x1fc], ecx
mov eax, dword [0x100e2e40]
pop edi
test eax, eax
je 0x10004888
cmp eax, 0xffffffff
je 0x10004888
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test dword [ebp + 0x18c], 0x1000
je 0x100048ca
push 0
push 0
push ebx
push 0x10004550
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0
mov dword [ebx + 0x204], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebx + 0x208], eax
mov al, 1
pop esi
pop ebx
pop ebp
ret 0x1fc
mov eax, dword [ebx + 0x184]
test al, 0x40
je 0x10004909
lea ecx, [ebx + 0x1c]
test al, al
jns 0x100049f4
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 0x100049de
add dword [ebx + 0x1f8], eax
adc dword [ebx + 0x1fc], 0
push 0x100e2e58
push 0x40
push 0xa
push dword [ebx + 0x1f8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp + 0x200]
push eax
lea esi, [ebx + 0x20d]
push esi
push dword [ebx + 0x1f8]
call fcn.1007b200
test eax, eax
je 0x10004976
nop dword [eax + eax]
cmp eax, 3
jne 0x10004a27
push 9
push dword [ebx + 0x1fc]
push dword [ebx + 0x1f8]
call fcn.10003b90
add esp, 0xc
lea eax, [ebp + 0x200]
push eax
push esi
push dword [ebx + 0x1f8]
call fcn.1007b200
test eax, eax
jne 0x10004940
mov eax, dword [0x100de030]
mov ecx, dword [ebp + 0x200]
mov dword [eax + 0x100de010], ebx
mov eax, dword [0x100de034]
mov dword [eax + 0x100de010], 0x10004c30
mov eax, dword [0x100de038]
mov dword [eax + 0x100de010], ecx
movups xmm0, xmmword [0x100de010]
push dword [ebx + 0x1f8]
movups xmmword [esi], xmm0
movq xmm0, qword [0x100de020]
movq qword [esi + 0x10], xmm0
mov eax, dword [0x100de028]
mov dword [esi + 0x18], eax
mov al, byte [0x100de02c]
mov byte [esi + 0x1c], al
call fcn.1007b430
test eax, eax
pop esi
sete al
pop ebx
pop ebp
ret 0x1fc
push dword [0x100deb68]
call fcn.10002540
add esp, 4
xor al, al
pop esi
pop ebx
pop ebp
ret 0x1fc
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10004a11
cdq
add dword [ebx + 0x1f8], eax
adc dword [ebx + 0x1fc], edx
jmp 0x10004909
push dword [0x100deb6c]
call fcn.10002540
add esp, 4
xor al, al
pop esi
pop ebx
pop ebp
ret 0x1fc
push eax
call fcn.1007b620
push eax
call fcn.10002540
add esp, 4
xor al, al
pop esi
pop ebx
pop ebp
ret 0x1fc