Function at 0x100c1140
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov esi, ecx
push 0
push edx
mov eax, dword [esi]
push dword [esi + 4]
mov eax, dword [eax + 8]
call eax
add esp, 0xc
mov ecx, esi
call fcn.100a8910
cmp eax, 0xff
ja 0x100c13b7
test eax, eax
je 0x100c139f
push ebx
push edi
mov ebx, 0x4949
nop word [eax + eax]
dec eax
mov word [ebp - 4], 0xffff
push 2
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 4]
mov eax, dword [esi]
push 1
push ecx
push dword [esi + 4]
mov eax, dword [eax]
call eax
add esp, 0x10
cmp word [esi + 0x6274], bx
jne 0x100c11b1
movzx edi, byte [ebp - 3]
movzx eax, byte [ebp - 4]
jmp 0x100c11b9
movzx edi, byte [ebp - 4]
movzx eax, byte [ebp - 3]
push 2
shl edi, 8
lea ecx, [ebp - 8]
or edi, eax
mov word [ebp - 8], 0xffff
mov eax, dword [esi]
push 1
push ecx
push dword [esi + 4]
mov eax, dword [eax]
call eax
add esp, 0x10
cmp word [esi + 0x6274], bx
jne 0x100c11eb
movzx ebx, byte [ebp - 7]
movzx eax, byte [ebp - 8]
jmp 0x100c11f3
movzx ebx, byte [ebp - 8]
movzx eax, byte [ebp - 7]
push dword [esi + 4]
shl ebx, 8
or ebx, eax
mov eax, dword [esi]
mov dword [ebp - 0x18], ebx
mov eax, dword [eax + 0x18]
call eax
add esp, 4
mov dword [ebp - 0x1c], eax
cmp edi, 0x100
jne 0x100c12ad
mov eax, dword [esi]
lea ecx, [ebp - 0xc]
push 2
push 1
push ecx
push dword [esi + 4]
mov word [ebp - 0xc], 0xffff
mov eax, dword [eax]
call eax
mov edi, 0x4949
add esp, 0x10
cmp word [esi + 0x6274], di
jne 0x100c1249
movzx ecx, byte [ebp - 0xb]
movzx eax, byte [ebp - 0xc]
jmp 0x100c1251
movzx ecx, byte [ebp - 0xc]
movzx eax, byte [ebp - 0xb]
shl cx, 8
or cx, ax
mov word [ebp - 0x10], 0xffff
movzx eax, cx
lea ecx, [ebp - 0x10]
push 2
mov word [esi + 0x66b0], ax
mov eax, dword [esi]
push 1
push ecx
push dword [esi + 4]
mov eax, dword [eax]
call eax
add esp, 0x10
cmp word [esi + 0x6274], di
jne 0x100c128f
movzx ecx, byte [ebp - 0xf]
movzx eax, byte [ebp - 0x10]
jmp 0x100c1297
movzx ecx, byte [ebp - 0x10]
movzx eax, byte [ebp - 0xf]
shl cx, 8
or cx, ax
movzx eax, cx
mov word [esi + 0x66b2], ax
jmp 0x100c1378
cmp edi, 0x121
jne 0x100c12f0
mov ecx, esi
call fcn.100a88b0
mov ecx, esi
mov word [esi + 0x66b4], ax
call fcn.100a88b0
mov ecx, 0x10bc
mov word [esi + 0x66b6], ax
cmp ax, cx
jne 0x100c1378
mov eax, 0x10bf
mov word [esi + 0x66b6], ax
jmp 0x100c1378
cmp edi, 0x130
jne 0x100c1310
mov eax, dword [esi]
push dword [esi + 4]
mov eax, dword [eax + 0x1c]
call eax
add esp, 4
sar eax, 7
mov dword [esi + 0x65e4], eax
jmp 0x100c1378
cmp edi, 0x2ff0
jne 0x100c1378
xor edi, edi
mov ebx, 0x4949
nop
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push 2
push 1
push ecx
push dword [esi + 4]
mov word [ebp - 0x14], 0xffff
mov eax, dword [eax]
call eax
add esp, 0x10
cmp word [esi + 0x6274], bx
jne 0x100c134d
movzx ecx, byte [ebp - 0x13]
movzx eax, byte [ebp - 0x14]
jmp 0x100c1355
movzx ecx, byte [ebp - 0x14]
movzx eax, byte [ebp - 0x13]
shl ecx, 8
or ecx, eax
mov eax, edi
xor eax, 1
inc edi
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [esi + eax*4 + 0xe774], xmm0
cmp edi, 4
jb 0x100c1320
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [esi]
add eax, ebx
push 0
push eax
push dword [esi + 4]
mov eax, dword [ecx + 8]
call eax
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov ebx, 0x4949
test eax, eax
jne 0x100c1180
pop edi
pop ebx
movzx eax, word [esi + 0x65e4]
mov cx, ax
shl word [esi + 0x66b4], cl
shr word [esi + 0x66b6], cl
pop esi
mov esp, ebp
pop ebp
ret