Function at 0x1002c9c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push edi
lea edi, [ebp - 0x54]
mov ecx, 0x15
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x10aa5144]
mov cx, word [0x10aa5140]
mov word [eax*2 + 0x10aa7548], cx
mov edx, dword [0x10aa5140]
add edx, 2
mov eax, dword [0x10aa5144]
mov word [eax*2 + 0x10aa754a], dx
mov ecx, dword [0x10aa5140]
add ecx, 1
mov edx, dword [0x10aa5144]
mov word [edx*2 + 0x10aa754c], cx
mov eax, dword [0x10aa5144]
mov cx, word [0x10aa5140]
mov word [eax*2 + 0x10aa754e], cx
mov edx, dword [0x10aa5140]
add edx, 3
mov eax, dword [0x10aa5144]
mov word [eax*2 + 0x10aa7550], dx
mov ecx, dword [0x10aa5140]
add ecx, 2
mov edx, dword [0x10aa5144]
mov word [edx*2 + 0x10aa7552], cx
mov eax, dword [0x10aa5140]
add eax, 1
mov ecx, dword [0x10aa5144]
mov word [ecx*2 + 0x10aa7554], ax
mov edx, dword [0x10aa5140]
add edx, 2
mov eax, dword [0x10aa5144]
mov word [eax*2 + 0x10aa7556], dx
mov ecx, dword [0x10aa5140]
add ecx, 4
mov edx, dword [0x10aa5144]
mov word [edx*2 + 0x10aa7558], cx
mov eax, dword [0x10aa5140]
add eax, 2
mov ecx, dword [0x10aa5144]
mov word [ecx*2 + 0x10aa755a], ax
mov edx, dword [0x10aa5140]
add edx, 3
mov eax, dword [0x10aa5144]
mov word [eax*2 + 0x10aa755c], dx
mov ecx, dword [0x10aa5140]
add ecx, 4
mov edx, dword [0x10aa5144]
mov word [edx*2 + 0x10aa755e], cx
imul eax, dword [0x10aa5140], 0x24
mov dword [eax + 0x10aa5160], 0
xor ecx, ecx
jne 0x1002cade
mov ecx, dword [0x10b9cff4]
call fcn.100b6de0
movss xmm0, dword [0x10141500]
mulss xmm0, dword [eax]
addss xmm0, dword [ebp + 8]
movss dword [ebp - 0x10], xmm0
imul edx, dword [0x10aa5140], 0x24
movss xmm0, dword [ebp - 0x10]
movss dword [edx + 0x10aa5148], xmm0
mov ecx, dword [0x10b9cff4]
call fcn.100b6de0
movss xmm0, dword [0x10141500]
mulss xmm0, dword [eax + 4]
addss xmm0, dword [ebp + 0xc]
movss dword [ebp - 0x14], xmm0
imul eax, dword [0x10aa5140], 0x24
movss xmm0, dword [ebp - 0x14]
movss dword [eax + 0x10aa514c], xmm0
mov ecx, dword [0x10b9cff4]
call fcn.100b6de0
movss xmm0, dword [0x10141500]
mulss xmm0, dword [eax + 8]
addss xmm0, dword [ebp + 0x10]
movss dword [ebp - 0x18], xmm0
imul ecx, dword [0x10aa5140], 0x24
movss xmm0, dword [ebp - 0x18]
movss dword [ecx + 0x10aa5150], xmm0
xor edx, edx
jne 0x1002caf3
mov eax, dword [0x10aa5140]
add eax, 1
imul ecx, eax, 0x24
mov dword [ecx + 0x10aa5160], 0
xor edx, edx
jne 0x1002cb9c
mov ecx, dword [0x10b9cff4]
call fcn.100b6d90
movss xmm0, dword [0x101414f4]
mulss xmm0, dword [eax]
movss xmm1, dword [ebp + 8]
subss xmm1, xmm0
movss dword [ebp - 0x1c], xmm1
mov eax, dword [0x10aa5140]
add eax, 1
imul ecx, eax, 0x24
movss xmm0, dword [ebp - 0x1c]
movss dword [ecx + 0x10aa5148], xmm0
mov ecx, dword [0x10b9cff4]
call fcn.100b6d90
movss xmm0, dword [0x101414f4]
mulss xmm0, dword [eax + 4]
movss xmm1, dword [ebp + 0xc]
subss xmm1, xmm0
movss dword [ebp - 0x20], xmm1
mov edx, dword [0x10aa5140]
add edx, 1
imul eax, edx, 0x24
movss xmm0, dword [ebp - 0x20]
movss dword [eax + 0x10aa514c], xmm0
mov ecx, dword [0x10b9cff4]
call fcn.100b6d90
movss xmm0, dword [0x101414f4]
mulss xmm0, dword [eax + 8]
movss xmm1, dword [ebp + 0x10]
subss xmm1, xmm0
movss dword [ebp - 0x24], xmm1
mov ecx, dword [0x10aa5140]
add ecx, 1
imul edx, ecx, 0x24
movss xmm0, dword [ebp - 0x24]
movss dword [edx + 0x10aa5150], xmm0
xor eax, eax
jne 0x1002cbb5
imul eax, dword [ebp + 0x20], 0xc8
cdq
and edx, 0xff
add eax, edx
mov ecx, eax
sar ecx, 8
shl ecx, 0x10
or ecx, 0xff000000
imul eax, dword [ebp + 0x20], 0xc8
cdq
and edx, 0xff
add eax, edx
sar eax, 8
shl eax, 8
or ecx, eax
mov eax, dword [ebp + 0x20]
shl eax, 8
cdq
and edx, 0xff
add eax, edx
sar eax, 8
or ecx, eax
mov edx, dword [0x10aa5140]
add edx, 2
imul eax, edx, 0x24
mov dword [eax + 0x10aa5160], ecx
xor ecx, ecx
jne 0x1002cc78
mov edx, dword [0x10aa5140]
add edx, 2
imul eax, edx, 0x24
movss xmm0, dword [ebp + 8]
movss dword [eax + 0x10aa5148], xmm0
mov ecx, dword [0x10aa5140]
add ecx, 2
imul edx, ecx, 0x24
movss xmm0, dword [ebp + 0xc]
movss dword [edx + 0x10aa514c], xmm0
mov eax, dword [0x10aa5140]
add eax, 2
imul ecx, eax, 0x24
movss xmm0, dword [ebp + 0x10]
movss dword [ecx + 0x10aa5150], xmm0
xor edx, edx
jne 0x1002ccd8
mov eax, dword [0x10aa5140]
add eax, 3
imul ecx, eax, 0x24
mov dword [ecx + 0x10aa5160], 0
xor edx, edx
jne 0x1002cd26
mov ecx, dword [0x10b9cff4]
call fcn.100b6d90
movss xmm0, dword [0x101414f4]
mulss xmm0, dword [eax]
addss xmm0, dword [ebp + 8]
movss dword [ebp - 0x28], xmm0
mov eax, dword [0x10aa5140]
add eax, 3
imul ecx, eax, 0x24
movss xmm0, dword [ebp - 0x28]
movss dword [ecx + 0x10aa5148], xmm0
mov ecx, dword [0x10b9cff4]
call fcn.100b6d90
movss xmm0, dword [0x101414f4]
mulss xmm0, dword [eax + 4]
addss xmm0, dword [ebp + 0xc]
movss dword [ebp - 0x2c], xmm0
mov edx, dword [0x10aa5140]
add edx, 3
imul eax, edx, 0x24
movss xmm0, dword [ebp - 0x2c]
movss dword [eax + 0x10aa514c], xmm0
mov ecx, dword [0x10b9cff4]
call fcn.100b6d90
movss xmm0, dword [0x101414f4]
mulss xmm0, dword [eax + 8]
addss xmm0, dword [ebp + 0x10]
movss dword [ebp - 0x30], xmm0
mov ecx, dword [0x10aa5140]
add ecx, 3
imul edx, ecx, 0x24
movss xmm0, dword [ebp - 0x30]
movss dword [edx + 0x10aa5150], xmm0
xor eax, eax
jne 0x1002cd3f
mov ecx, dword [0x10aa5140]
add ecx, 4
imul edx, ecx, 0x24
mov dword [edx + 0x10aa5160], 0
xor eax, eax
jne 0x1002cdf6
mov ecx, dword [0x10b9cff4]
call fcn.100b6de0
movss xmm0, dword [0x10141500]
mulss xmm0, dword [eax]
movss xmm1, dword [ebp + 8]
subss xmm1, xmm0
movss dword [ebp - 0x34], xmm1
mov ecx, dword [0x10aa5140]
add ecx, 4
imul edx, ecx, 0x24
movss xmm0, dword [ebp - 0x34]
movss dword [edx + 0x10aa5148], xmm0
mov ecx, dword [0x10b9cff4]
call fcn.100b6de0
movss xmm0, dword [0x10141500]
mulss xmm0, dword [eax + 4]
movss xmm1, dword [ebp + 0xc]
subss xmm1, xmm0
movss dword [ebp - 0x38], xmm1
mov eax, dword [0x10aa5140]
add eax, 4
imul ecx, eax, 0x24
movss xmm0, dword [ebp - 0x38]
movss dword [ecx + 0x10aa514c], xmm0
mov ecx, dword [0x10b9cff4]
call fcn.100b6de0
movss xmm0, dword [0x10141500]
mulss xmm0, dword [eax + 8]
movss xmm1, dword [ebp + 0x10]
subss xmm1, xmm0
movss dword [ebp - 0x3c], xmm1
mov edx, dword [0x10aa5140]
add edx, 4
imul eax, edx, 0x24
movss xmm0, dword [ebp - 0x3c]
movss dword [eax + 0x10aa5150], xmm0
xor ecx, ecx
jne 0x1002ce10
movss xmm0, dword [0x101414fc]
movss dword [ebp - 4], xmm0
movss xmm0, dword [0x10141514]
movss dword [ebp - 8], xmm0
movzx edx, byte [ebp + 0x24]
test edx, edx
je 0x1002cf19
movss xmm0, dword [ebp - 4]
mulss xmm0, dword [0x10141454]
movss dword [ebp - 4], xmm0
movss xmm0, dword [ebp - 8]
mulss xmm0, dword [0x10141454]
movss dword [ebp - 8], xmm0
movss xmm0, dword [0x101414f0]
comiss xmm0, dword [ebp + 0x28]
jbe 0x1002cf36
movss xmm0, dword [0x10141444]
movss dword [ebp - 0xc], xmm0
jmp 0x1002cf81
movss xmm0, dword [ebp + 0x28]
comiss xmm0, dword [0x10141510]
jbe 0x1002cf53
movss xmm0, dword [0x101413fc]
movss dword [ebp - 0xc], xmm0
jmp 0x1002cf81
movss xmm0, dword [ebp + 0x28]
subss xmm0, dword [0x101414f0]
mulss xmm0, dword [0x101413fc]
divss xmm0, dword [0x101414f0]
movss xmm1, dword [0x10141444]
subss xmm1, xmm0
movss dword [ebp - 0xc], xmm1
movss xmm0, dword [ebp - 4]
mulss xmm0, dword [ebp - 0xc]
movss dword [ebp - 4], xmm0
movss xmm0, dword [ebp - 8]
mulss xmm0, dword [ebp - 0xc]
movss dword [ebp - 8], xmm0
mov eax, dword [0x10197808]
movzx ecx, byte [eax]
test ecx, ecx
je 0x1002cfbc
mov edx, dword [0x10197810]
movzx eax, byte [edx]
test eax, eax
jne 0x1002d045
movzx ecx, byte [0x101d575e]
test ecx, ecx
je 0x1002d024
call fcn.100176c0
and eax, 0xff
sub eax, 0x80
cvtsi2ss xmm0, eax
mulss xmm0, dword [0x10141378]
movss dword [0x10aa4438], xmm0
call fcn.100176c0
and eax, 0x7f
cvtsi2ss xmm0, eax
mulss xmm0, dword [0x10141378]
movss dword [0x10aa443c], xmm0
call fcn.100176c0
and eax, 0x7f
cvtsi2ss xmm0, eax
mulss xmm0, dword [0x10141378]
movss dword [0x10aa4440], xmm0
jmp 0x1002d045
xorps xmm0, xmm0
movss dword [0x10aa4438], xmm0
xorps xmm0, xmm0
movss dword [0x10aa443c], xmm0
xorps xmm0, xmm0
movss dword [0x10aa4440], xmm0
movss xmm0, dword [0x101413fc]
mulss xmm0, dword [ebp - 4]
subss xmm0, dword [0x10aa4438]
addss xmm0, dword [0x10aa443c]
movss dword [ebp - 0x40], xmm0
imul edx, dword [0x10aa5140], 0x24
movss xmm0, dword [ebp - 0x40]
movss dword [edx + 0x10aa5164], xmm0
movss xmm0, dword [ebp - 8]
xorps xmm0, xmmword [0x101416c0]
mulss xmm0, dword [0x101413fc]
addss xmm0, dword [0x10aa4440]
movss dword [ebp - 0x44], xmm0
imul eax, dword [0x10aa5140], 0x24
movss xmm0, dword [ebp - 0x44]
movss dword [eax + 0x10aa5168], xmm0
mov ecx, dword [0x10aa5140]
add ecx, 1
imul edx, ecx, 0x24
movss xmm0, dword [0x10aa443c]
movss dword [edx + 0x10aa5164], xmm0
mov eax, dword [0x10aa5140]
add eax, 1
imul ecx, eax, 0x24
movss xmm0, dword [0x10aa4440]
movss dword [ecx + 0x10aa5168], xmm0
movss xmm0, dword [0x101413fc]
mulss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10aa443c]
movss dword [ebp - 0x48], xmm0
mov edx, dword [0x10aa5140]
add edx, 2
imul eax, edx, 0x24
movss xmm0, dword [ebp - 0x48]
movss dword [eax + 0x10aa5164], xmm0
mov ecx, dword [0x10aa5140]
add ecx, 2
imul edx, ecx, 0x24
movss xmm0, dword [0x10aa4440]
movss dword [edx + 0x10aa5168], xmm0
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10aa443c]
movss dword [ebp - 0x4c], xmm0
mov eax, dword [0x10aa5140]
add eax, 3
imul ecx, eax, 0x24
movss xmm0, dword [ebp - 0x4c]
movss dword [ecx + 0x10aa5164], xmm0
mov edx, dword [0x10aa5140]
add edx, 3
imul eax, edx, 0x24
movss xmm0, dword [0x10aa4440]
movss dword [eax + 0x10aa5168], xmm0
movss xmm0, dword [0x101413fc]
mulss xmm0, dword [ebp - 4]
addss xmm0, dword [0x10aa4438]
addss xmm0, dword [0x10aa443c]
movss dword [ebp - 0x50], xmm0
mov ecx, dword [0x10aa5140]
add ecx, 4
imul edx, ecx, 0x24
movss xmm0, dword [ebp - 0x50]
movss dword [edx + 0x10aa5164], xmm0
movss xmm0, dword [0x101413fc]
mulss xmm0, dword [ebp - 8]
addss xmm0, dword [0x10aa4440]
movss dword [ebp - 0x54], xmm0
mov eax, dword [0x10aa5140]
add eax, 5
imul ecx, eax, 0x24
movss xmm0, dword [ebp - 0x54]
movss dword [ecx + 0x10aa5168], xmm0
mov edx, dword [0x10aa5144]
add edx, 0xc
mov dword [0x10aa5144], edx
mov eax, dword [0x10aa5140]
add eax, 5
mov dword [0x10aa5140], eax
pop edi
add esp, 0x54
cmp ebp, esp
call fcn.10101c62
mov esp, ebp
pop ebp
ret