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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1854
call fcn.10093da0
mov eax, dword [0x100ac00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x182c], ebx
lea esi, [ebp - 0x1808]
mov edi, 0x80
nop
mov ecx, esi
call fcn.1001b620
add esi, 0x30
sub edi, 1
jne 0x1008ce80
mov eax, dword [ebx + 4]
lea ecx, [ebx + 4]
xorps xmm1, xmm1
xorps xmm0, xmm0
movss dword [ebp - 0x1814], xmm1
movss dword [ebp - 0x1818], xmm1
mov eax, dword [eax + 0x20]
movss dword [ebp - 0x181c], xmm1
movss dword [ebp - 0x1820], xmm1
movss dword [ebp - 0x1824], xmm1
movss dword [ebp - 0x1828], xmm0
call eax
test eax, eax
je 0x1008d3bf
mov esi, dword [0x100f1a10]
push eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x78]
mov ecx, esi
call edx
mov ecx, eax
mov dword [ebp - 0x1810], ecx
test ecx, ecx
je 0x1008d3bf
mov ecx, dword [0x100f1a34]
lea eax, [ebp - 0x1808]
mov edx, dword [ebx + 4]
push ecx
movss xmm0, dword [ecx + 0x10]
lea ecx, [ebx + 4]
mov edx, dword [edx + 0x34]
movss dword [esp], xmm0
push 0x7ff00
push 0x80
push eax
call edx
test al, al
je 0x1008d3bf
mov eax, dword [ebp - 0x1810]
mov dword [ebp - 0x1834], edi
cmp dword [eax + 0x9c], edi
jle 0x1008d3bf
xor ecx, ecx
lea ebx, [ebp - 0x17ec]
mov dword [ebp - 0x1838], ecx
mov dword [ebp - 0x183c], ebx
nop dword [eax]
mov eax, dword [eax + 0xa0]
add eax, ecx
add eax, dword [ebp - 0x1810]
je 0x1008d38b
test dword [eax + 0xa0], 0x100
je 0x1008d38b
mov ecx, dword [eax + 4]
cmp ecx, 0xffffffff
je 0x1008d38b
cmp edi, 0x7f
ja 0x1008cfc2
lea eax, [ebx - 0x1c]
test eax, eax
je 0x1008cfc2
movss xmm1, dword [ebx - 0x10]
movss dword [ebp - 0x1814], xmm1
movss xmm1, dword [ebx]
movss dword [ebp - 0x1818], xmm1
movss xmm1, dword [ebx + 0x10]
movss dword [ebp - 0x181c], xmm1
cmp ecx, 0x7f
ja 0x1008cffe
lea eax, [ecx + ecx*2]
add eax, eax
lea eax, [ebp + eax*8 - 0x1808]
test eax, eax
je 0x1008cffe
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax + 0x2c]
movss dword [ebp - 0x1820], xmm1
movss xmm1, dword [eax + 0x1c]
movss dword [ebp - 0x1824], xmm1
movss dword [ebp - 0x1828], xmm0
mov edx, dword [0x100f1bf0]
mov eax, dword [ebp - 0x182c]
add edx, 0xffffffd5
xor edx, 0xd134f069
mov ecx, dword [eax + edx]
mov eax, dword [0x100da4f8]
cmp ecx, dword [edx + eax]
jne 0x1008d02d
mov ecx, dword [0x100f1abc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
mov ecx, dword [0x100f19d8]
mov eax, dword [0x100e300c]
mov dword [ebp - 0x1830], eax
mov dword [ebp - 0x1840], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x94]
call eax
movss xmm3, dword [ebp - 0x1814]
mov esi, eax
movss xmm4, dword [ebp - 0x1818]
movss xmm5, dword [ebp - 0x181c]
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 0x1008d38b
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 - 0x1850], 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 - 0x184c], xmm6
call eax
movss xmm4, dword [ebp - 0x1820]
mov esi, eax
movss xmm5, dword [ebp - 0x1824]
movss xmm6, dword [ebp - 0x1828]
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 0x1008d38b
movss xmm2, dword [0x100a2d94]
movaps xmm0, xmm4
mulss xmm0, dword [esi]
mov eax, dword [0x100da910]
divss xmm2, xmm1
mov ecx, dword [0x100da914]
movss xmm1, dword [esi + 4]
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 - 0x1848], 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 - 0x182c]
cvtdq2ps xmm0, xmm0
add ecx, 8
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 - 0x180c], xmm0
subss xmm3, xmm1
movss dword [ebp - 0x1844], xmm3
call eax
test al, al
mov eax, dword [ebp - 0x1830]
jne 0x1008d2e8
movss xmm1, dword [ebp - 0x180c]
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 - 0x180c], xmm1
movzx ecx, byte [0x100e300f]
xorps xmm0, xmm0
movzx edx, byte [ebp - 0x183e]
mov edi, dword [0x100f19e4]
movd xmm1, ecx
cvttss2si ecx, dword [ebp - 0x180c]
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 - 0x1844]
mov ecx, dword [0x100f19e4]
mov edx, dword [ecx]
push eax
cvttss2si eax, dword [ebp - 0x1848]
push eax
cvttss2si eax, dword [ebp - 0x184c]
push eax
cvttss2si eax, dword [ebp - 0x1850]
push eax
mov eax, dword [edx + 0x4c]
call eax
mov ebx, dword [ebp - 0x183c]
mov edi, dword [ebp - 0x1834]
mov eax, dword [ebp - 0x1810]
inc edi
mov ecx, dword [ebp - 0x1838]
add ebx, 0x30
add ecx, 0xd8
mov dword [ebp - 0x1834], edi
mov dword [ebp - 0x1838], ecx
mov dword [ebp - 0x183c], ebx
cmp edi, dword [eax + 0x9c]
jl 0x1008cf60
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10092b30
mov esp, ebp
pop ebp
ret 8