Function at 0x10004710
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.10081dce
mov dword [ebx + 0x238], eax
add esp, 4
mov eax, dword [0x100e0d50]
test eax, eax
je 0x10004741
cmp eax, 0xffffffff
je 0x10004741
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 0x10004766
mov dword [ebp + 0x190], 0xfde9
jmp 0x10004783
test eax, 0x40000
je 0x10004783
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 [0x100e0d50]
pop edi
test eax, eax
je 0x100047b8
cmp eax, 0xffffffff
je 0x100047b8
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test dword [ebp + 0x18c], 0x1000
je 0x100047fa
push 0
push 0
push ebx
push 0x10004480
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 0x10004839
lea ecx, [ebx + 0x1c]
test al, al
jns 0x10004924
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 0x1000490e
add dword [ebx + 0x1f8], eax
adc dword [ebx + 0x1fc], 0
push 0x100e0d68
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.10079770
test eax, eax
je 0x100048a6
nop dword [eax + eax]
cmp eax, 3
jne 0x10004957
push 9
push dword [ebx + 0x1fc]
push dword [ebx + 0x1f8]
call fcn.10003ac0
add esp, 0xc
lea eax, [ebp + 0x200]
push eax
push esi
push dword [ebx + 0x1f8]
call fcn.10079770
test eax, eax
jne 0x10004870
mov eax, dword [0x100dc030]
mov ecx, dword [ebp + 0x200]
mov dword [eax + 0x100dc010], ebx
mov eax, dword [0x100dc034]
mov dword [eax + 0x100dc010], 0x10004b60
mov eax, dword [0x100dc038]
mov dword [eax + 0x100dc010], ecx
movups xmm0, xmmword [0x100dc010]
push dword [ebx + 0x1f8]
movups xmmword [esi], xmm0
movq xmm0, qword [0x100dc020]
movq qword [esi + 0x10], xmm0
mov eax, dword [0x100dc028]
mov dword [esi + 0x18], eax
mov al, byte [0x100dc02c]
mov byte [esi + 0x1c], al
call fcn.100799a0
test eax, eax
pop esi
sete al
pop ebx
pop ebp
ret 0x1fc
push dword [0x100dcb28]
call fcn.10002470
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 0x10004941
cdq
add dword [ebx + 0x1f8], eax
adc dword [ebx + 0x1fc], edx
jmp 0x10004839
push dword [0x100dcb2c]
call fcn.10002470
add esp, 4
xor al, al
pop esi
pop ebx
pop ebp
ret 0x1fc
push eax
call fcn.10079b90
push eax
call fcn.10002470
add esp, 4
xor al, al
pop esi
pop ebx
pop ebp
ret 0x1fc