Function at 0x1000c1c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10040ebd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x10055050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
push 0x10
call fcn.1001d0ed
xorps xmm0, xmm0
mov dword [ebp - 0x14], eax
add esp, 4
or ebx, 0xffffffff
movq qword [eax], xmm0
lea ecx, [eax + 0xc]
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_obj2_struct__I3API_MODULE_TABLE_.0
mov dword [ecx], 0
mov esi, dword [0x1005701c]
mov dword [0x10057018], ecx
mov dword [0x1005701c], eax
test esi, esi
je 0x1000c260
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x1000c25a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x1000c25a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [0x10057018]
test ecx, ecx
je 0x1000c3f6
push 0x58
call fcn.1001d0ed
mov esi, eax
add esp, 4
xorps xmm0, xmm0
mov dword [ebp - 0x14], esi
movq qword [esi], xmm0
lea edi, [esi + 0xc]
push 0x4c
mov dword [esi + 8], 0
push 0
push edi
mov dword [esi + 4], 1
mov dword [esi + 8], 1
mov dword [esi], vtable.std::_Ref_count_obj2_struct__I3API_API_TABLE_.0
call fcn.1001ef10
mov ebx, dword [0x10057024]
add esp, 0xc
mov dword [0x10057020], edi
mov dword [0x10057024], esi
test ebx, ebx
je 0x1000c2e6
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ebx + 4], eax
jne 0x1000c2e0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], esi
dec esi
jne 0x1000c2e0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov edi, dword [0x10057020]
test edi, edi
je 0x1000c3da
mov ecx, 0x3b
xor edx, edx
mov al, byte [edx + 0x1004ebcc]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x24], al
and ecx, 0x800000ff
jns 0x1000c312
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xe
jl 0x1000c2f5
mov byte [ebp - 0x16], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24]
mov esi, dword [0x10057018]
push eax
mov eax, dword [0x10057030]
mov eax, dword [eax + 8]
call eax
mov dword [esi], eax
xorps xmm0, xmm0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x10057018]
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x18], 0
mov byte [ebp - 0x16], 0
cmp dword [eax], 0
jne 0x1000c39e
push 1
call fcn.1001d0ed
mov eax, dword [0x10057030]
mov eax, dword [eax + 0xd4]
call eax
push eax
push 0x4e21
call fcn.10001210
push 1
call fcn.1001d0ed
mov eax, dword [0x10057030]
mov eax, dword [eax + 0xd4]
call eax
push eax
push 0x4e24
jmp 0x1000c410
mov ecx, dword [ebp - 0x10]
call fcn.1000b760
test al, al
jne 0x1000c3c6
push 1
call fcn.1001d0ed
mov eax, dword [0x10057030]
mov eax, dword [eax + 0xd4]
call eax
push eax
push 0x4e25
jmp 0x1000c410
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 1
call fcn.1001d0ed
mov eax, dword [0x10057030]
mov eax, dword [eax + 0xd4]
call eax
push eax
push 0x4e23
jmp 0x1000c410
push 1
call fcn.1001d0ed
mov eax, dword [0x10057030]
mov eax, dword [eax + 0xd4]
call eax
push eax
push 0x4e22
call fcn.10001210
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret