Function at 0x1000c590
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001fdd0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x10028014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov al, byte [edi + 4]
test al, al
jne 0x1000c865
mov dword [0x10188720], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [0x10188448], eax
movzx eax, byte [edi + 0x50]
mov dword [0x101886cc], eax
movzx eax, byte [edi + 0x51]
mov dword [0x10188868], eax
lea eax, [ebp - 0x50]
push eax
push 0x40
push 0x11
push 0x101886f8
call ebx
movups xmm0, xmmword [edi + 0x5b]
movups xmmword [0x101886f8], xmm0
movzx eax, byte [edi + 0x6b]
mov byte [0x10188708], al
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
push 0x11
push 0x101886f8
call ebx
mov eax, dword [edi + 0x6c]
mov dword [0x1018875c], eax
movzx eax, byte [edi + 0x71]
mov dword [0x101886e0], eax
lea eax, [ebp - 0x50]
push eax
push 0x40
push 8
push 0x10187a30
call ebx
movq xmm0, qword [edi + 0x72]
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
movq qword [0x10187a30], xmm0
push 8
push 0x10187a30
call ebx
lea eax, [ebp - 0x50]
push eax
push 0x40
push 0x11
push 0x10187a38
call ebx
movups xmm0, xmmword [edi + 0x7a]
movups xmmword [0x10187a38], xmm0
movzx eax, byte [edi + 0x8a]
mov byte [0x10187a48], al
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
push 0x11
push 0x10187a38
call ebx
mov eax, dword [edi + 0x28]
test eax, eax
je 0x1000c6da
mov dword [0x10188864], eax
lea eax, [ebp - 0x50]
push eax
push 0x40
push 0x20
push 0x101888ad
call ebx
push 0x20
push 0x10187a0f
push 0x101888ad
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
push 0x20
push 0x101888ad
call ebx
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x1000c71d
mov dword [0x101886f4], eax
movzx eax, byte [edi + 0x72]
inc al
mov byte [0x101888cd], al
movzx eax, byte [edi + 0x74]
add al, 2
mov byte [0x101888ce], al
movzx eax, byte [edi + 0x75]
add al, 3
mov byte [0x101888cf], al
movzx eax, byte [edi + 0x77]
add al, 4
mov byte [0x101888d0], al
movzx eax, byte [edi + 0x78]
add al, 5
mov byte [0x101888d1], al
mov eax, dword [edi + 0x30]
test eax, eax
je 0x1000c75e
mov dword [0x10188758], eax
lea eax, [ebp - 0x50]
push eax
push 0x40
push 0x11
push 0x101888d2
call ebx
movups xmm0, xmmword [edi + 0x7a]
movups xmmword [0x101888d2], xmm0
mov al, byte [edi + 0x8a]
mov byte [0x101888e2], al
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
push 0x11
push 0x101888d2
call ebx
mov eax, dword [edi + 0x34]
test eax, eax
mov ecx, dword [0x10188440]
cmovne ecx, eax
mov eax, dword [edi + 0x38]
test eax, eax
mov dword [0x10188440], ecx
mov ecx, dword [0x101886f0]
cmovne ecx, eax
mov eax, dword [edi + 0x48]
test eax, eax
mov dword [0x101886f0], ecx
mov ecx, dword [0x10188464]
cmovne ecx, eax
cmp byte [edi + 0x59], 0
lea eax, [ebp - 0x50]
mov dword [0x10188464], ecx
push eax
push 0x40
push 0x20
push 0x1018856c
setne byte [0x101888a1]
call ebx
push 0x20
lea esi, [edi + 5]
push esi
push 0x1018856c
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
push 0x20
push 0x1018856c
call ebx
push esi
call fcn.1000c190
movzx eax, byte [edi + 0x5a]
add esp, 4
cmp byte [0x101888a0], 0
mov dword [0x101886cc], 0
mov dword [0x10188868], 0
mov dword [0x101888a4], eax
je 0x1000c977
test eax, eax
je 0x1000c977
mov edx, 0x36
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + str.mpYT_f]
xor al, dl
mov byte [ebp + ecx - 0x4c], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x3b
jb 0x1000c820
mov byte [ebp - 0x11], 0
push ecx
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0
push eax
push ecx
mov edx, 2
mov ecx, 0x10086bb0
call fcn.10005940
add esp, 0xc
call fcn.10004320
jmp 0x1000c977
movzx eax, al
dec eax
cmp eax, 5
ja case.default.0x1000c872
jmp dword [eax*4 + 0x1000c994]
push ecx
push str.Error_8
jmp 0x1000c964
push ecx
push str.Error_9
jmp 0x1000c964
mov edx, 9
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + str.RNA_.MQXI5_va9nrru_qAX]
xor al, dl
mov byte [ebp + ecx - 0x3c], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x28
jb 0x1000c8a0
mov byte [ebp - 0x14], 0
push ecx
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 1
push eax
jmp 0x1000c964
mov edx, 0x2d
xor ecx, ecx
mov al, byte [ecx + str.vjbgwai]
xor al, dl
mov byte [ebp + ecx - 0x38], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x25
jb 0x1000c8d4
mov byte [ebp - 0x13], 0
push ecx
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 2
push eax
jmp 0x1000c964
mov edx, 0xaf
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x10022184]
xor al, dl
mov byte [ebp + ecx - 0x34], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x23
jb 0x1000c910
mov byte [ebp - 0x11], 0
push ecx
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 3
push eax
jmp 0x1000c964
cmp dword [0x1018889c], 0
jne 0x1000c977
sub esp, 8
mov dword [0x1018889c], 3
push 0
push 0x10009ba0
call fcn.10004160
jmp 0x1000c977
push ecx
push str.Error_13
push ecx
mov edx, 1
mov ecx, 0x10086948
call fcn.10005940
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001e905
mov esp, ebp
pop ebp
ret