Function at 0x10101e60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x10277534]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebx + 8], 5
push esi
push edi
mov dword [ebp - 0x34], ecx
jne 0x1010235d
mov eax, dword [0x1019a080]
mov dword [ebp - 8], eax
test eax, eax
je 0x1010235d
mov edx, dword [0x1027863c]
test dl, 1
jne 0x10101ec7
or edx, 1
mov dword [0x1027863c], edx
mov edx, dword [0x10278634]
mov dword [0x10278638], edx
jmp 0x10101ecd
mov edx, dword [0x10278638]
cmp dword [edx + eax], 0
jne 0x1010235d
mov edx, dword [0x10278644]
test dl, 1
jne 0x10101ef9
or edx, 1
mov dword [0x10278644], edx
mov edx, dword [0x10278630]
mov dword [0x10278640], edx
jmp 0x10101eff
mov edx, dword [0x10278640]
cmp dword [edx + eax], 0
jle 0x1010235d
cmp byte [0x1026a75c], 0
movss xmm1, dword [0x1017076c]
je 0x10102055
movss xmm0, dword [0x1026a77c]
mulss xmm0, xmm1
cvttss2si edx, xmm0
movss xmm0, dword [0x1026a778]
mulss xmm0, xmm1
cvttss2si esi, xmm0
movss xmm0, dword [0x1026a774]
mulss xmm0, xmm1
mov dword [ebp - 0x10], esi
cvttss2si esi, xmm0
movss xmm0, dword [0x1026a770]
mulss xmm0, xmm1
mov dword [ebp - 0x14], esi
movd xmm1, dword [0x1026a780]
mov esi, dword [eax + 0xbc0c]
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x101706d8]
movss dword [ebp - 0x18], xmm1
cmp esi, dword [ecx]
jle 0x1010204b
mov ecx, dword [ebp - 0x10]
lea edi, [esi + esi*4]
movzx eax, dl
movaps xmm2, xmm1
xorps xmm2, xmmword [0x10170840]
mov dword [ebp - 0x2c], eax
movzx eax, cl
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
movzx eax, cl
cvttss2si ecx, xmm0
mov dword [ebp - 0x14], eax
shl edi, 2
movss dword [ebp - 0x1c], xmm2
movzx eax, cl
mov dword [ebp - 0x30], eax
nop dword [eax]
mov ecx, dword [0x102784a8]
push ecx
mov dword [esp], 0x40800000
push dword [ebp - 0x2c]
mov eax, dword [ecx]
push dword [ebp - 0x10]
mov dword [ebp - 0x28], 0
push dword [ebp - 0x14]
mov edx, dword [eax + 4]
lea eax, [ebp - 0x28]
push dword [ebp - 0x30]
mov dword [ebp - 0x24], 0
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x20], 0
push eax
lea eax, [ebp - 0x4c]
movss dword [ebp - 0x40], xmm1
push eax
mov eax, dword [ebp - 8]
movss dword [ebp - 0x3c], xmm1
movss dword [ebp - 0x38], xmm1
movss dword [ebp - 0x4c], xmm2
mov eax, dword [eax + 0xbc00]
add eax, 0xffffffec
movss dword [ebp - 0x48], xmm2
add eax, edi
movss dword [ebp - 0x44], xmm2
push eax
call edx
mov ecx, dword [ebp - 0x34]
dec esi
movss xmm1, dword [ebp - 0x18]
add edi, 0xffffffec
movss xmm2, dword [ebp - 0x1c]
cmp esi, dword [ecx]
jg 0x10101fc0
mov eax, dword [ebp - 8]
mov dword [eax + 0xbc0c], 0
mov eax, dword [eax + 0xbc0c]
cmp eax, dword [ecx]
je 0x10102061
mov dword [ecx], eax
cmp dword [0x1026a784], 0
je 0x1010235d
xor esi, esi
lea edi, [ecx + 8]
mov dword [ebp - 8], esi
mov ecx, dword [edi]
mov eax, 0x2aaaaaab
sub ecx, dword [edi - 4]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1010234d
mov ecx, dword [0x102784a4]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edx, eax
test edx, edx
je 0x10102344
mov esi, dword [0x1019a080]
cmp edx, esi
sete byte [ebp - 9]
je 0x10102101
mov eax, dword [0x10278848]
test al, 1
jne 0x101020d7
mov ecx, dword [0x10278840]
or eax, 1
mov dword [0x10278848], eax
mov dword [0x10278844], ecx
jmp 0x101020dd
mov ecx, dword [0x10278844]
mov edx, dword [ecx + edx]
test al, 1
jne 0x101020f8
mov ecx, dword [0x10278840]
or eax, 1
mov dword [0x10278848], eax
mov dword [0x10278844], ecx
cmp edx, dword [ecx + esi]
je 0x10102101
mov al, 1
jmp 0x10102103
xor al, al
cmp byte [ebp - 9], 0
je 0x10102112
movups xmm0, xmmword [0x1026a7ac]
jmp 0x10102126
test al, al
jne 0x1010211f
movups xmm0, xmmword [0x1026a79c]
jmp 0x10102126
movups xmm0, xmmword [0x1026a78c]
movss xmm1, dword [0x1017076c]
movups xmmword [ebp - 0x60], xmm0
movss xmm0, dword [ebp - 0x54]
mulss xmm0, xmm1
cvttss2si edx, xmm0
movss xmm0, dword [ebp - 0x58]
mulss xmm0, xmm1
movzx esi, dl
shl esi, 8
cvttss2si ecx, xmm0
movss xmm0, dword [ebp - 0x5c]
mulss xmm0, xmm1
movzx ecx, cl
or esi, ecx
mov dword [ebp - 0x1c], ecx
shl esi, 8
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x60]
movzx eax, al
mov dword [ebp - 0x10], eax
or esi, dword [ebp - 0x10]
mulss xmm0, xmm1
shl esi, 8
cvttss2si eax, xmm0
movzx eax, al
mov dword [ebp - 0x18], eax
or esi, eax
mov eax, dword [0x1026a788]
sub eax, 0
je 0x1010230e
sub eax, 1
je 0x101022e4
sub eax, 1
jne 0x10102341
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov eax, dword [edi]
movss xmm2, dword [eax - 0xc]
movss xmm1, dword [eax - 8]
movss xmm0, dword [eax - 4]
subss xmm2, dword [eax - 0x18]
subss xmm1, dword [eax - 0x14]
subss xmm0, dword [eax - 0x10]
lea eax, [ebp - 0x28]
push eax
sub esp, 0xc
mov ecx, esp
unpcklps xmm2, xmm1
movss dword [ebp - 0x44], xmm0
mov eax, dword [ebp - 0x44]
movq qword [ecx], xmm2
mov dword [ecx + 8], eax
call fcn.10063a30
mov edx, dword [edi]
add esp, 0x10
mov eax, dword [0x10278494]
mov ecx, dword [0x102784fc]
mov dword [ebp - 0x38], 0xbdcccccd
add ecx, 0x18
movss xmm1, dword [edx - 0x18]
subss xmm1, dword [edx - 0xc]
movss xmm2, dword [edx - 0x14]
subss xmm2, dword [edx - 8]
movss xmm0, dword [edx - 0x10]
subss xmm0, dword [edx - 4]
mulss xmm1, xmm1
mov dword [ebp - 0xa0], 0x3dcccccd
mulss xmm2, xmm2
mov dword [ebp - 0x64], 0
mulss xmm0, xmm0
mov dword [ebp - 0x64], esi
addss xmm2, xmm1
movss xmm3, dword [eax + 0x10]
xorps xmm1, xmm1
mov eax, dword [edx - 0x10]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x88], eax
addss xmm2, xmm0
mov eax, dword [ebp - 0x38]
movq xmm0, qword [edx - 0x18]
movq qword [ebp - 0x9c], xmm0
movq xmm0, qword [ebp - 0x28]
movq qword [ebp - 0x90], xmm0
xorps xmm0, xmm0
sqrtss xmm1, xmm2
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x9c]
push eax
movss xmm2, dword [0x1017c1b0]
push dword [ecx + 0xc]
unpcklps xmm0, xmm2
movss dword [ebp - 0x6c], xmm3
addss xmm3, dword [0x10170738]
movq qword [ebp - 0x84], xmm0
movss xmm0, dword [0x101706d8]
unpcklps xmm1, xmm0
movq qword [ebp - 0x78], xmm1
movss dword [ebp - 0x68], xmm3
call fcn.10100180
jmp 0x10102341
mov ecx, dword [0x102784a8]
mov edx, dword [edi]
push ecx
mov dword [esp], 0x40400000
mov esi, dword [ecx]
push 0
push dword [ebp - 0x1c]
lea eax, [edx - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push eax
lea eax, [edx - 0x18]
push eax
call dword [esi + 0x14]
jmp 0x10102341
mov edx, dword [edi]
push esi
sub esp, 0xc
mov ecx, esp
sub esp, 0xc
movq xmm0, qword [edx - 0xc]
mov eax, dword [edx - 4]
movq qword [ecx], xmm0
movq xmm0, qword [edx - 0x18]
mov dword [ecx + 8], eax
mov ecx, esp
mov eax, dword [edx - 0x10]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
call fcn.100ff400
add esp, 0x1c
mov esi, dword [ebp - 8]
mov eax, dword [edi - 4]
cmp eax, dword [edi]
je 0x1010234d
mov dword [edi], eax
inc esi
add edi, 0xc
mov dword [ebp - 8], esi
cmp esi, 0x41
jl 0x10102076
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1010c522
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4