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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, 0x1850
call fcn.100aed80
mov eax, dword [0x100cb040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
xorps xmm1, xmm1
push esi
push edi
mov dword [ebp - 0x1838], eax
xorps xmm0, xmm0
lea edi, [eax + 4]
movss dword [ebp - 0x1820], xmm1
mov eax, dword [edi]
mov ecx, edi
movss dword [ebp - 0x1824], xmm1
movss dword [ebp - 0x1828], xmm1
movss dword [ebp - 0x182c], xmm1
mov eax, dword [eax + 0x20]
movss dword [ebp - 0x1830], xmm1
movss dword [ebp - 0x1834], xmm0
call eax
test eax, eax
je 0x100a96d0
mov esi, dword [0x100f8aa8]
push eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x78]
mov ecx, esi
call edx
mov dword [ebp - 0x1810], eax
test eax, eax
je 0x100a96d0
mov ecx, dword [0x100f8acc]
lea eax, [ebp - 0x1808]
mov edx, dword [edi]
push ecx
movss xmm0, dword [ecx + 0x10]
mov ecx, edi
mov edx, dword [edx + 0x34]
movss dword [esp], xmm0
push 0x7ff00
push 0x80
push eax
call edx
test al, al
je 0x100a96d0
mov eax, dword [ebp - 0x1810]
xor edx, edx
mov dword [ebp - 0x1818], edx
cmp dword [eax + 0x9c], edx
jle 0x100a96d0
xor ecx, ecx
lea edi, [ebp - 0x17ec]
mov dword [ebp - 0x181c], ecx
nop dword [eax + eax]
mov eax, dword [eax + 0xa0]
add eax, ecx
add eax, dword [ebp - 0x1810]
je 0x100a9696
test dword [eax + 0xa0], 0x100
je 0x100a9696
mov ecx, dword [eax + 4]
cmp ecx, 0xffffffff
je 0x100a9696
cmp edx, 0x7f
ja 0x100a92e2
lea eax, [edi - 0x1c]
test eax, eax
je 0x100a92e2
movss xmm1, dword [edi - 0x10]
movss dword [ebp - 0x1820], xmm1
movss xmm1, dword [edi]
movss dword [ebp - 0x1824], xmm1
movss xmm1, dword [edi + 0x10]
movss dword [ebp - 0x1828], xmm1
cmp ecx, 0x7f
ja 0x100a931e
lea eax, [ecx + ecx*2]
add eax, eax
lea eax, [ebp + eax*8 - 0x1808]
test eax, eax
je 0x100a931e
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax + 0x2c]
movss dword [ebp - 0x182c], xmm1
movss xmm1, dword [eax + 0x1c]
movss dword [ebp - 0x1830], xmm1
movss dword [ebp - 0x1834], xmm0
mov edx, dword [0x100f8c94]
mov eax, dword [ebp - 0x1838]
add edx, 0xffffffd4
xor edx, 0x7967ef16
mov ecx, dword [eax + edx]
mov eax, dword [0x100cb2b0]
cmp ecx, dword [edx + eax]
jne 0x100a934d
mov ecx, dword [0x100f8b54]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
mov ecx, dword [0x100f8a70]
mov eax, dword [0x100d1750]
mov dword [ebp - 0x183c], eax
mov dword [ebp - 0x180c], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x94]
call eax
movss xmm3, dword [ebp - 0x1820]
mov esi, eax
movss xmm4, dword [ebp - 0x1824]
movaps xmm1, xmm3
movss xmm5, dword [ebp - 0x1828]
movaps xmm0, xmm4
mulss xmm0, dword [esi + 0x34]
mulss xmm1, dword [esi + 0x30]
addss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esi + 0x38]
addss xmm0, dword [esi + 0x3c]
addss xmm1, xmm0
movss xmm0, dword [0x100c0478]
comiss xmm0, xmm1
ja 0x100a9696
movss xmm2, dword [0x100c0558]
movaps xmm0, xmm3
mulss xmm0, dword [esi]
mov eax, dword [0x100cb6cc]
divss xmm2, xmm1
mov ecx, dword [0x100cb6d0]
movaps xmm1, xmm4
mulss xmm1, dword [esi + 4]
addss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esi + 8]
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 [0x100c0524]
movd xmm6, eax
cvtdq2ps xmm6, xmm6
addss xmm1, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [esi + 0x14]
movss dword [ebp - 0x184c], xmm1
movaps xmm1, xmm3
mulss xmm1, dword [esi + 0x10]
addss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esi + 0x18]
addss xmm0, dword [esi + 0x1c]
addss xmm1, xmm0
movd xmm0, ecx
mov ecx, dword [0x100f8a70]
cvtdq2ps xmm0, xmm0
mov eax, dword [ecx]
mulss xmm1, xmm2
mov eax, dword [eax + 0x94]
mulss xmm1, xmm0
mulss xmm1, dword [0x100c0524]
subss xmm6, xmm1
movss dword [ebp - 0x1848], xmm6
call eax
movss xmm4, dword [ebp - 0x182c]
mov esi, eax
movss xmm5, dword [ebp - 0x1830]
movaps xmm1, xmm4
movss xmm6, dword [ebp - 0x1834]
movaps xmm0, xmm5
mulss xmm0, dword [esi + 0x34]
mulss xmm1, dword [esi + 0x30]
addss xmm1, xmm0
movaps xmm0, xmm6
mulss xmm0, dword [esi + 0x38]
addss xmm0, dword [esi + 0x3c]
addss xmm1, xmm0
movss xmm0, dword [0x100c0478]
comiss xmm0, xmm1
ja 0x100a9696
movss xmm2, dword [0x100c0558]
movaps xmm0, xmm4
mulss xmm0, dword [esi]
mov eax, dword [0x100cb6cc]
divss xmm2, xmm1
mov ecx, dword [0x100cb6d0]
movaps xmm1, xmm5
mulss xmm1, dword [esi + 4]
addss xmm1, xmm0
movaps xmm0, xmm6
mulss xmm0, dword [esi + 8]
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 [0x100c0524]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
addss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esi + 0x14]
movss dword [ebp - 0x1844], xmm1
movaps xmm1, xmm4
mulss xmm1, dword [esi + 0x10]
addss xmm1, xmm0
movaps xmm0, xmm6
mulss xmm0, dword [esi + 0x18]
addss xmm0, dword [esi + 0x1c]
addss xmm1, xmm0
movd xmm0, ecx
mov ecx, dword [ebp - 0x1838]
cvtdq2ps xmm0, xmm0
add ecx, 8
mov eax, dword [ecx]
mulss xmm1, xmm2
mov eax, dword [eax + 0x24]
mulss xmm1, xmm0
movd xmm0, dword [ebx + 0xc]
cvtdq2ps xmm0, xmm0
mulss xmm1, dword [0x100c0524]
movss dword [ebp - 0x1814], xmm0
subss xmm3, xmm1
movss dword [ebp - 0x1840], xmm3
call eax
test al, al
jne 0x100a95f5
mov eax, dword [ebp - 0x180c]
xorps xmm0, xmm0
movss xmm1, dword [ebp - 0x1814]
maxss xmm1, xmm0
shr eax, 0x18
movd xmm0, eax
minss xmm1, dword [0x100c0558]
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm0
movss dword [ebp - 0x1814], xmm1
movzx eax, byte [0x100d1753]
xorps xmm0, xmm0
mov ecx, dword [0x100f8a7c]
movd xmm1, eax
cvttss2si eax, dword [ebp - 0x1814]
mov esi, dword [ecx]
cvtdq2ps xmm1, xmm1
movzx eax, al
maxss xmm1, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
minss xmm1, dword [0x100c0558]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movzx edx, al
movzx eax, byte [ebp - 0x183a]
shl edx, 8
or edx, eax
mov eax, dword [ebp - 0x180c]
movzx eax, ah
shl edx, 8
or edx, eax
mov eax, dword [ebp - 0x180c]
movzx eax, al
shl edx, 8
or edx, eax
mov eax, dword [esi + 0x38]
push edx
call eax
cvttss2si eax, dword [ebp - 0x1840]
mov ecx, dword [0x100f8a7c]
mov edx, dword [ecx]
push eax
cvttss2si eax, dword [ebp - 0x1844]
push eax
cvttss2si eax, dword [ebp - 0x1848]
push eax
cvttss2si eax, dword [ebp - 0x184c]
push eax
mov eax, dword [edx + 0x4c]
call eax
mov edx, dword [ebp - 0x1810]
add edi, 0x30
mov eax, dword [ebp - 0x1818]
add dword [ebp - 0x181c], 0xd8
inc eax
mov ecx, dword [ebp - 0x181c]
cmp eax, dword [edx + 0x9c]
mov edx, eax
mov dword [ebp - 0x1818], eax
mov eax, dword [ebp - 0x1810]
jl 0x100a9280
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100adb26
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8