Function at 0x1000cfb0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1012f018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0xc], edi
mov ebx, 0x402bc0
mov edi, 0x96a4c0
push esi
call ebx
mov ecx, eax
call edi
test eax, eax
je 0x1000cfe7
mov byte [eax + 0x314], 0
inc esi
cmp esi, 0xa
jl 0x1000cfd5
mov eax, 0x63cb40
call eax
mov edi, dword [ebp - 0xc]
movzx eax, byte [edi + 5]
push eax
mov eax, 0x4d5130
call eax
add esp, 4
cmp dword [0xe609e8], 4
jne 0x1000d019
mov dword [0xe61e18], 0x49
xor ebx, ebx
cmp byte [edi + 7], bl
jbe 0x1000d18d
lea esi, [edi + 0x16]
mov ecx, 0x587380
mov edi, 0x586da0
movzx eax, byte [esi - 0xc]
cmp eax, 4
ja case.default.0x1000d03e
jmp dword [eax*4 + 0x1000d224]
movss xmm0, dword [0x101243a8]
movss xmm1, dword [0x101243b8]
movss xmm2, dword [0x10124340]
jmp 0x1000d0d0
movss xmm0, dword [0x101243a4]
movss xmm1, dword [0x101243bc]
movss xmm2, dword [0x10124338]
jmp 0x1000d0d0
movss xmm0, dword [0x101243ac]
movss xmm1, dword [0x101243c0]
movss xmm2, dword [0x10124330]
jmp 0x1000d0d0
movss xmm0, dword [0x101243b0]
movss xmm1, dword [0x101243c4]
movss xmm2, dword [0x1012432c]
jmp 0x1000d0d0
movss xmm0, dword [0x101243b4]
movss xmm1, dword [0x101243c8]
movss xmm2, dword [0x10124318]
jmp 0x1000d0d0
xorps xmm0, xmm0
xorps xmm1, xmm1
xorps xmm2, xmm2
movzx eax, byte [esi + 3]
sub esp, 0xc
movss dword [esp + 8], xmm2
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
push 0
push eax
call ecx
add esp, 4
push eax
movzx eax, byte [esi - 0xc]
push eax
call edi
mov edi, eax
add esp, 0x18
test edi, edi
je 0x1000d170
cmp byte [0x10136cbc], 0
je 0x1000d126
movzx ecx, byte [esi - 0xc]
push ecx
push 0x10121c58
push str.SetCharacterPosition
push 0x10130020
call fcn.10038370
add esp, 0x10
mov ax, word [esi]
mov word [edi + 0x82], ax
movzx eax, byte [esi + 2]
mov byte [edi + 0x15], al
movups xmm0, xmmword [esi - 0xb]
push 0
push 0
movups xmmword [edi + 0x38], xmm0
movq xmm0, qword [esi + 5]
movq qword [edi + 0x48], xmm0
movzx eax, byte [esi + 0xd]
mov byte [edi + 0x50], al
mov byte [edi + 0x42], 0
movzx eax, byte [esi + 0x15]
mov byte [edi + 0x18], al
lea eax, [esi + 4]
push eax
movzx eax, byte [esi - 0xc]
push eax
call fcn.100540e0
add esp, 0x10
mov edi, dword [ebp - 0xc]
inc ebx
add esi, 0x22
mov ecx, 0x587380
movzx eax, byte [edi + 7]
mov edi, 0x586da0
cmp ebx, eax
jl 0x1000d031
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x87935a4
call edi
lea eax, [ebp - 8]
mov dword [0x87935a4], 0x33
push eax
push dword [ebp - 8]
push 4
push 0x87935a4
call edi
mov ebx, dword [ebp - 0xc]
movzx eax, byte [ebx + 8]
push eax
mov eax, 0x861110
call eax
mov edx, 0x861a80
mov ecx, eax
call edx
mov edx, 0x856bd0
mov ecx, eax
call edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0xe8cb30
call edi
lea eax, [ebp - 8]
mov dword [0xe8cb30], esi
push eax
push dword [ebp - 8]
push 4
push 0xe8cb30
call edi
movzx eax, byte [ebx + 9]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov dword [0x1013004c], eax
pop ebx
call fcn.1007b868
mov esp, ebp
pop ebp
ret