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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x100bf040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x100cf37c], 0
xorps xmm1, xmm1
push ebx
push esi
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
push edi
mov dword [ebp - 8], esi
movss dword [ebp - 0x1c], xmm1
movss dword [ebp - 0x20], xmm1
movss dword [ebp - 0x24], xmm1
movss dword [ebp - 0x28], xmm1
movss dword [ebp - 0x2c], xmm1
movss dword [ebp - 0x30], xmm0
je 0x1009e461
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
mov eax, dword [eax + 0x20]
call eax
test eax, eax
je 0x1009e461
mov ecx, dword [0x100fe9f8]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x78]
call edx
mov ecx, eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x1009e461
mov ecx, dword [esi + 8]
lea eax, [esi + 8]
mov dword [ebp - 0x40], eax
mov edx, dword [ecx + 0x28]
mov ecx, eax
call edx
imul eax, eax, 0xa98
lea eax, [eax + 0x100d0d94]
test eax, eax
je 0x1009e461
push eax
call fcn.100938c0
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x1009e461
cmp byte [ebx + 0x3f8], 0
je 0x1009e461
mov eax, dword [ebp - 0x14]
xor edi, edi
cmp dword [eax + 0x9c], edi
jle 0x1009e461
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x3c], ecx
nop word [eax + eax]
mov eax, dword [eax + 0xa0]
add eax, ecx
add eax, dword [ebp - 0x14]
je 0x1009e43e
test dword [eax + 0xa0], 0x100
je 0x1009e43e
mov ecx, dword [eax + 4]
cmp ecx, 0xffffffff
je 0x1009e43e
cmp edi, 0x7f
ja 0x1009e0ba
mov eax, dword [ebx + 0x3fc]
add eax, edx
je 0x1009e0ba
movss xmm1, dword [eax + 0xc]
movss dword [ebp - 0x1c], xmm1
movss xmm1, dword [eax + 0x1c]
movss dword [ebp - 0x20], xmm1
movss xmm1, dword [eax + 0x2c]
movss dword [ebp - 0x24], xmm1
cmp ecx, 0x7f
ja 0x1009e0eb
lea eax, [ecx + ecx*2]
shl eax, 4
add eax, dword [ebx + 0x3fc]
je 0x1009e0eb
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax + 0x2c]
movss dword [ebp - 0x28], xmm1
movss xmm1, dword [eax + 0x1c]
movss dword [ebp - 0x2c], xmm1
movss dword [ebp - 0x30], xmm0
mov edx, dword [0x100febd0]
mov eax, dword [0x100bf2a8]
add edx, 0xffffffd5
xor edx, 0xc032dfda
mov ecx, dword [esi + edx]
cmp ecx, dword [edx + eax]
jne 0x1009e114
mov ecx, dword [0x100fea98]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
mov ebx, dword [0x100c4be0]
mov eax, ebx
movzx ecx, word [0x100c4be2]
shr eax, 8
mov dword [ebp - 0x48], eax
mov eax, ebx
shr eax, 8
mov dword [ebp - 0x38], eax
movzx eax, word [0x100c4be2]
mov dword [ebp - 0x44], ecx
mov ecx, dword [0x100fe9c0]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x94]
call eax
movss xmm3, dword [ebp - 0x1c]
mov esi, eax
movss xmm4, dword [ebp - 0x20]
movaps xmm1, xmm3
movss xmm5, dword [ebp - 0x24]
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 [0x100b518c]
comiss xmm0, xmm1
ja 0x1009e438
movss xmm2, dword [0x100b5274]
movaps xmm0, xmm3
mulss xmm0, dword [esi]
mov eax, dword [0x100bf6c0]
divss xmm2, xmm1
mov ecx, dword [0x100bf6c4]
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 [0x100b523c]
movd xmm6, eax
cvtdq2ps xmm6, xmm6
addss xmm1, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [esi + 0x14]
movss dword [ebp - 0x58], 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 [0x100fe9c0]
cvtdq2ps xmm0, xmm0
mov eax, dword [ecx]
mulss xmm1, xmm2
mov eax, dword [eax + 0x94]
mulss xmm1, xmm0
mulss xmm1, dword [0x100b523c]
subss xmm6, xmm1
movss dword [ebp - 0x54], xmm6
call eax
movss xmm4, dword [ebp - 0x28]
mov esi, eax
movss xmm5, dword [ebp - 0x2c]
movaps xmm1, xmm4
movss xmm6, dword [ebp - 0x30]
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 [0x100b518c]
comiss xmm0, xmm1
ja 0x1009e438
movss xmm2, dword [0x100b5274]
movaps xmm0, xmm4
mulss xmm0, dword [esi]
mov eax, dword [0x100bf6c0]
divss xmm2, xmm1
mov ecx, dword [0x100bf6c4]
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 [0x100b523c]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
addss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esi + 0x14]
movss dword [ebp - 0x50], 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 - 0x40]
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 [0x100b523c]
movss dword [ebp - 0xc], xmm0
subss xmm3, xmm1
movss dword [ebp - 0x4c], xmm3
call eax
test al, al
jne 0x1009e3b0
movss xmm1, dword [ebp - 0xc]
mov eax, ebx
shr eax, 0x18
xorps xmm2, xmm2
maxss xmm1, xmm2
movd xmm0, eax
mov eax, dword [ebp - 0x44]
minss xmm1, dword [0x100b5274]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x38], eax
mulss xmm1, xmm0
movss dword [ebp - 0xc], xmm1
movzx eax, byte [0x100c4be3]
xorps xmm0, xmm0
mov ecx, dword [0x100fe9cc]
movd xmm1, eax
cvttss2si eax, dword [ebp - 0xc]
mov esi, dword [ecx]
cvtdq2ps xmm1, xmm1
movzx eax, al
maxss xmm1, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
minss xmm1, dword [0x100b5274]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movzx edx, al
mov eax, dword [ebp - 0x34]
shl edx, 8
movzx eax, al
or edx, eax
mov eax, dword [ebp - 0x38]
shl edx, 8
movzx eax, al
or edx, eax
movzx eax, bl
shl edx, 8
or edx, eax
mov eax, dword [esi + 0x38]
push edx
call eax
cvttss2si eax, dword [ebp - 0x4c]
mov ecx, dword [0x100fe9cc]
mov edx, dword [ecx]
push eax
cvttss2si eax, dword [ebp - 0x50]
push eax
cvttss2si eax, dword [ebp - 0x54]
push eax
cvttss2si eax, dword [ebp - 0x58]
push eax
mov eax, dword [edx + 0x4c]
call eax
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
inc edi
mov ecx, dword [ebp - 0x3c]
add dword [ebp - 0x18], 0x30
add ecx, 0xd8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x3c], ecx
cmp edi, dword [eax + 0x9c]
jl 0x1009e060
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a30ac
mov esp, ebp
pop ebp
ret 8