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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1010400c]
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 0x1000cec7
mov byte [eax + 0x314], 0
inc esi
cmp esi, 0xa
jl 0x1000ceb5
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 0x1000cef9
mov dword [0xe61e18], 0x49
xor ebx, ebx
cmp byte [edi + 7], bl
jbe 0x1000d06d
lea esi, [edi + 0x16]
mov ecx, 0x587380
mov edi, 0x586da0
movzx eax, byte [esi - 0xc]
cmp eax, 4
ja case.default.0x1000cf1e
jmp dword [eax*4 + 0x1000d104]
movss xmm0, dword [0x100fc724]
movss xmm1, dword [0x100fc734]
movss xmm2, dword [0x100fc6c0]
jmp 0x1000cfb0
movss xmm0, dword [0x100fc720]
movss xmm1, dword [0x100fc738]
movss xmm2, dword [0x100fc6b8]
jmp 0x1000cfb0
movss xmm0, dword [0x100fc728]
movss xmm1, dword [0x100fc73c]
movss xmm2, dword [0x100fc6b0]
jmp 0x1000cfb0
movss xmm0, dword [0x100fc72c]
movss xmm1, dword [0x100fc740]
movss xmm2, dword [0x100fc6ac]
jmp 0x1000cfb0
movss xmm0, dword [0x100fc730]
movss xmm1, dword [0x100fc744]
movss xmm2, dword [0x100fc698]
jmp 0x1000cfb0
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 0x1000d050
cmp byte [0x1010bbc4], 0
je 0x1000d006
movzx ecx, byte [esi - 0xc]
push ecx
push 0x100fa23c
push str.SetCharacterPosition
push 0x10105020
call fcn.10033ce0
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.1004f5c0
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 0x1000cf11
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 [0x10105048], eax
pop ebx
call fcn.10061486
mov esp, ebp
pop ebp
ret