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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push edi
xor edi, edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1001dd98], eax
je 0x1000c6ca
mov eax, 0x10dd
jmp 0x1000c8ac
mov eax, dword [0x1001dd9c]
cmp eax, edi
jne 0x1000c8ac
mov ecx, dword [ebp + 8]
cmp ecx, edi
jne 0x1000c6e6
push 6
pop eax
jmp 0x1000c8ac
push ebx
push esi
mov esi, dword [ecx]
cmp esi, edi
jne 0x1000c701
push 6
pop eax
mov dword [0x1001dd9c], eax
mov dword [0x1001dda0], ecx
jmp 0x1000c8aa
mov dword [ebp - 0xc], edi
call fcn.1000c309
mov esi, dword [ebp + 0xc]
mov ebx, eax
mov dword [ebp - 8], ebx
call fcn.1000c309
mov esi, eax
cmp esi, ebx
jne 0x1000c72d
cmp dword [0x1001dd94], edi
jne 0x1000c850
jmp 0x1000c830
push 0x18
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
test eax, eax
pop ecx
mov dword [ebp - 0xc], eax
jne 0x1000c748
mov dword [ebp - 4], 8
jmp 0x1000c830
push ebx
call fcn.1000c099
mov edi, eax
test edi, edi
pop ecx
je 0x1000c73c
mov ecx, ebx
xor ebx, ebx
jmp 0x1000c75e
mov ecx, dword [ebp - 4]
and dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
push eax
lea edx, [ebx + edi]
mov dword [ebp - 0x14], ecx
call fcn.1000c8b1
cmp dword [ebp + 0xc], 0
mov dword [ebp - 4], eax
jne 0x1000c790
mov ecx, dword [ebp - 0x14]
mov ebx, eax
sub ebx, dword [ebp - 8]
call fcn.1000c025
test eax, eax
jne 0x1000c790
cmp ebx, 5
jl 0x1000c75b
cmp ebx, 5
jge 0x1000c7ae
cmp dword [0x1001dd94], 0
mov dword [ebp - 4], 9
jne 0x1000c838
jmp 0x1000c830
cmp ebx, 0x12
jbe 0x1000c7bc
mov dword [ebp - 4], 6
jmp 0x1000c830
mov eax, dword [ebp - 8]
lea edx, [ebx + eax]
mov dword [edi + 0x1c], esi
lea ecx, [ebx + edi]
mov dword [edi + 0x18], edx
lea eax, [edi + 0x17]
lea esi, [ecx + 5]
mov byte [eax], bl
mov byte [ecx], 0xe9
inc ecx
sub edx, esi
mov dword [ecx], edx
add ecx, 4
call fcn.1000c003
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0x40
push ebx
push dword [ebp - 8]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call ebx
test eax, eax
je 0x1000c827
push dword [ebp - 8]
call fcn.1000c2a9
mov esi, eax
test esi, esi
pop ecx
je 0x1000c87f
cmp word [esi + 0x1c], 0x6544
je 0x1000c87f
and dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
push eax
push 0x40
push 0x40
push esi
call ebx
test eax, eax
jne 0x1000c85b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [0x1001dd9c], eax
test edi, edi
je 0x1000c841
call fcn.1000c288
cmp dword [ebp - 0xc], 0
je 0x1000c850
push dword [ebp - 0xc]
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
pop ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
jmp 0x1000c6f6
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
mov word [esi + 0x1c], 0x6544
push 0x40
push esi
mov word [esi + 0x1e], 0x6f74
mov word [esi + 0x20], 0x7275
mov word [esi + 0x22], 0x2173
call ebx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
and dword [eax + 4], 0
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 8]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edi
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x14], ecx
mov ecx, dword [0x1001dda8]
mov dword [eax], ecx
mov dword [0x1001dda8], eax
xor eax, eax
pop esi
pop ebx
pop edi
leave
ret 8