Function at 0x1008c970
Capabilities:
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x100ac00c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x100ee850], 0
xorps xmm1, xmm1
push ebx
mov ebx, dword [ebp + 8]
xorps xmm0, xmm0
push esi
push edi
mov dword [ebp - 0x38], ebx
movss dword [ebp - 0x18], xmm1
movss dword [ebp - 0x1c], xmm1
movss dword [ebp - 0x20], xmm1
movss dword [ebp - 0x24], xmm1
movss dword [ebp - 0x28], xmm1
movss dword [ebp - 0x2c], xmm0
je 0x1008ce3b
mov eax, dword [ebx + 4]
lea ecx, [ebx + 4]
mov eax, dword [eax + 0x20]
call eax
test eax, eax
je 0x1008ce3b
mov ecx, dword [0x100f1a10]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x78]
call edx
mov edi, eax
mov dword [ebp - 0x54], edi
test edi, edi
je 0x1008ce3b
mov ecx, dword [ebx + 8]
add ebx, 8
mov dword [ebp - 0x3c], ebx
mov edx, dword [ecx + 0x28]
mov ecx, ebx
call edx
imul ecx, eax, 0xb40
lea eax, [ecx + 0x100ab794]
test eax, eax
je 0x1008ce3b
push eax
call fcn.10080f70
mov esi, eax
mov dword [ebp - 0xc], esi
test esi, esi
je 0x1008ce3b
cmp byte [esi + 0x410], 0
je 0x1008ce3b
xor ebx, ebx
mov dword [ebp - 0x34], ebx
cmp dword [edi + 0x9c], ebx
jle 0x1008ce3b
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], ecx
nop word [eax + eax]
mov eax, dword [edi + 0xa0]
add eax, ecx
add eax, edi
je 0x1008ce1a
test dword [eax + 0xa0], 0x100
je 0x1008ce1a
mov ecx, dword [eax + 4]
cmp ecx, 0xffffffff
je 0x1008ce1a
cmp ebx, 0x7f
ja 0x1008caa9
mov eax, dword [esi + 0x414]
add eax, edx
je 0x1008caa9
movss xmm1, dword [eax + 0xc]
movss dword [ebp - 0x18], xmm1
movss xmm1, dword [eax + 0x1c]
movss dword [ebp - 0x1c], xmm1
movss xmm1, dword [eax + 0x2c]
movss dword [ebp - 0x20], xmm1
cmp ecx, 0x7f
ja 0x1008cada
lea eax, [ecx + ecx*2]
shl eax, 4
add eax, dword [esi + 0x414]
je 0x1008cada
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax + 0x2c]
movss dword [ebp - 0x24], xmm1
movss xmm1, dword [eax + 0x1c]
movss dword [ebp - 0x28], xmm1
movss dword [ebp - 0x2c], xmm0
mov edx, dword [0x100f1bf0]
mov eax, dword [ebp - 0x38]
add edx, 0xffffffd5
xor edx, 0xd134f069
mov ecx, dword [eax + edx]
mov eax, dword [0x100da4f8]
cmp ecx, dword [edx + eax]
jne 0x1008cb06
mov ecx, dword [0x100f1abc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
mov ecx, dword [0x100f19d8]
mov eax, dword [0x100e3150]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x40], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x94]
call eax
movss xmm3, dword [ebp - 0x18]
mov esi, eax
movss xmm4, dword [ebp - 0x1c]
movss xmm5, dword [ebp - 0x20]
movss xmm0, dword [esi + 0x34]
movss xmm1, dword [esi + 0x30]
mulss xmm0, xmm4
mulss xmm1, xmm3
addss xmm1, xmm0
movss xmm0, dword [esi + 0x38]
mulss xmm0, xmm5
addss xmm0, dword [esi + 0x3c]
addss xmm1, xmm0
movss xmm0, dword [0x100a2cac]
comiss xmm0, xmm1
ja 0x1008ce17
movss xmm2, dword [0x100a2d94]
movss xmm0, dword [esi]
divss xmm2, xmm1
mov eax, dword [0x100da910]
mov ecx, dword [0x100da914]
movss xmm1, dword [esi + 4]
mulss xmm0, xmm3
mulss xmm1, xmm4
addss xmm1, xmm0
movss xmm0, dword [esi + 8]
mulss xmm0, xmm5
addss xmm0, dword [esi + 0xc]
addss xmm1, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cdq
sub eax, edx
sar eax, 1
mulss xmm1, xmm2
mulss xmm1, xmm0
movd xmm0, eax
mov eax, ecx
cvtdq2ps xmm0, xmm0
cdq
sub eax, edx
sar eax, 1
mulss xmm1, dword [0x100a2d5c]
movd xmm6, eax
cvtdq2ps xmm6, xmm6
addss xmm1, xmm0
movss xmm0, dword [esi + 0x14]
mulss xmm0, xmm4
movss dword [ebp - 0x50], xmm1
movss xmm1, dword [esi + 0x10]
mulss xmm1, xmm3
addss xmm1, xmm0
movss xmm0, dword [esi + 0x18]
mulss xmm0, xmm5
addss xmm0, dword [esi + 0x1c]
addss xmm1, xmm0
movd xmm0, ecx
mov ecx, dword [0x100f19d8]
cvtdq2ps xmm0, xmm0
mov eax, dword [ecx]
mulss xmm1, xmm2
mov eax, dword [eax + 0x94]
mulss xmm1, xmm0
mulss xmm1, dword [0x100a2d5c]
subss xmm6, xmm1
movss dword [ebp - 0x4c], xmm6
call eax
movss xmm4, dword [ebp - 0x24]
mov esi, eax
movss xmm5, dword [ebp - 0x28]
movss xmm6, dword [ebp - 0x2c]
movss xmm0, dword [esi + 0x34]
movss xmm1, dword [esi + 0x30]
mulss xmm0, xmm5
mulss xmm1, xmm4
addss xmm1, xmm0
movss xmm0, dword [esi + 0x38]
mulss xmm0, xmm6
addss xmm0, dword [esi + 0x3c]
addss xmm1, xmm0
movss xmm0, dword [0x100a2cac]
comiss xmm0, xmm1
ja 0x1008ce17
movss xmm2, dword [0x100a2d94]
movss xmm0, dword [esi]
divss xmm2, xmm1
mov eax, dword [0x100da910]
mov ecx, dword [0x100da914]
movss xmm1, dword [esi + 4]
mulss xmm0, xmm4
mulss xmm1, xmm5
addss xmm1, xmm0
movss xmm0, dword [esi + 8]
mulss xmm0, xmm6
addss xmm0, dword [esi + 0xc]
addss xmm1, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cdq
sub eax, edx
sar eax, 1
mulss xmm1, xmm2
mulss xmm1, xmm0
movd xmm0, eax
mov eax, ecx
cvtdq2ps xmm0, xmm0
cdq
sub eax, edx
sar eax, 1
mulss xmm1, dword [0x100a2d5c]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
addss xmm1, xmm0
movss xmm0, dword [esi + 0x14]
mulss xmm0, xmm5
movss dword [ebp - 0x48], xmm1
movss xmm1, dword [esi + 0x10]
mulss xmm1, xmm4
addss xmm1, xmm0
movss xmm0, dword [esi + 0x18]
mulss xmm0, xmm6
addss xmm0, dword [esi + 0x1c]
addss xmm1, xmm0
movd xmm0, ecx
mov ecx, dword [ebp - 0x3c]
cvtdq2ps xmm0, xmm0
mov eax, dword [ecx]
mulss xmm1, xmm2
mov eax, dword [eax + 0x24]
mulss xmm1, xmm0
movd xmm0, dword [ebp + 0xc]
cvtdq2ps xmm0, xmm0
mulss xmm1, dword [0x100a2d5c]
movss dword [ebp - 8], xmm0
subss xmm3, xmm1
movss dword [ebp - 0x44], xmm3
call eax
test al, al
mov eax, dword [ebp - 0x30]
jne 0x1008cd8c
movss xmm1, dword [ebp - 8]
xorps xmm0, xmm0
mov ecx, eax
maxss xmm1, xmm0
shr ecx, 0x18
minss xmm1, dword [0x100a2d94]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm0
movss dword [ebp - 8], xmm1
movzx ecx, byte [0x100e3153]
xorps xmm0, xmm0
movzx edx, byte [ebp - 0x3e]
mov edi, dword [0x100f19e4]
movd xmm1, ecx
cvttss2si ecx, dword [ebp - 8]
mov ebx, dword [edi]
cvtdq2ps xmm1, xmm1
movzx ecx, cl
maxss xmm1, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
minss xmm1, dword [0x100a2d94]
mulss xmm1, xmm0
cvttss2si ecx, xmm1
movzx esi, cl
mov ecx, edi
shl esi, 8
or esi, edx
movzx edx, ah
shl esi, 8
or esi, edx
movzx eax, al
shl esi, 8
or esi, eax
mov eax, dword [ebx + 0x38]
push esi
call eax
cvttss2si eax, dword [ebp - 0x44]
mov ecx, dword [0x100f19e4]
mov edx, dword [ecx]
push eax
cvttss2si eax, dword [ebp - 0x48]
push eax
cvttss2si eax, dword [ebp - 0x4c]
push eax
cvttss2si eax, dword [ebp - 0x50]
push eax
mov eax, dword [edx + 0x4c]
call eax
mov ebx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x54]
mov esi, dword [ebp - 0xc]
add dword [ebp - 0x10], 0xd8
inc ebx
add dword [ebp - 0x14], 0x30
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x34], ebx
cmp ebx, dword [edi + 0x9c]
jl 0x1008ca50
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10092b30
mov esp, ebp
pop ebp
ret 8