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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x100b300c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10108a38], 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 0x10092ce9
mov eax, dword [ebx + 4]
lea ecx, [ebx + 4]
mov eax, dword [eax + 0x20]
call eax
test eax, eax
je 0x10092ce9
mov ecx, dword [0x1010b478]
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 0x10092ce9
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, 0x108c
lea eax, [ecx + 0x100b2248]
test eax, eax
je 0x10092ce9
push eax
call fcn.10087510
mov esi, eax
mov dword [ebp - 0xc], esi
test esi, esi
je 0x10092ce9
cmp byte [esi + 0x6e0], 0
je 0x10092ce9
xor ebx, ebx
mov dword [ebp - 0x34], ebx
cmp dword [edi + 0x9c], ebx
jle 0x10092ce9
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 0x10092cc8
test dword [eax + 0xa0], 0x100
je 0x10092cc8
mov ecx, dword [eax + 4]
cmp ecx, 0xffffffff
je 0x10092cc8
cmp ebx, 0x7f
ja 0x10092969
mov eax, dword [esi + 0x6e4]
add eax, edx
je 0x10092969
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 0x1009299a
lea eax, [ecx + ecx*2]
shl eax, 4
add eax, dword [esi + 0x6e4]
je 0x1009299a
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 [0x1010b64c]
mov eax, dword [ebp - 0x38]
add edx, 0xffffffd4
xor edx, 0xb128252d
mov ecx, dword [eax + edx]
mov eax, dword [0x100f67c0]
cmp ecx, dword [edx + eax]
jne 0x100929c6
mov ecx, dword [0x1010b518]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
mov ecx, dword [0x1010b440]
mov eax, dword [0x100fe1e0]
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]
movaps xmm1, xmm3
movss xmm5, dword [ebp - 0x20]
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 [0x100a8f94]
comiss xmm0, xmm1
ja 0x10092cc5
movss xmm2, dword [0x100a908c]
movaps xmm0, xmm3
mulss xmm0, dword [esi]
mov eax, dword [0x100f6bd8]
divss xmm2, xmm1
mov ecx, dword [0x100f6bdc]
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 [0x100a904c]
movd xmm6, eax
cvtdq2ps xmm6, xmm6
addss xmm1, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [esi + 0x14]
movss dword [ebp - 0x50], 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 [0x1010b440]
cvtdq2ps xmm0, xmm0
mov eax, dword [ecx]
mulss xmm1, xmm2
mov eax, dword [eax + 0x94]
mulss xmm1, xmm0
mulss xmm1, dword [0x100a904c]
subss xmm6, xmm1
movss dword [ebp - 0x4c], xmm6
call eax
movss xmm4, dword [ebp - 0x24]
mov esi, eax
movss xmm5, dword [ebp - 0x28]
movaps xmm1, xmm4
movss xmm6, dword [ebp - 0x2c]
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 [0x100a8f94]
comiss xmm0, xmm1
ja 0x10092cc5
movss xmm2, dword [0x100a908c]
movaps xmm0, xmm4
mulss xmm0, dword [esi]
mov eax, dword [0x100f6bd8]
divss xmm2, xmm1
mov ecx, dword [0x100f6bdc]
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 [0x100a904c]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
addss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esi + 0x14]
movss dword [ebp - 0x48], 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 - 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 [0x100a904c]
movss dword [ebp - 8], xmm0
subss xmm3, xmm1
movss dword [ebp - 0x44], xmm3
call eax
test al, al
mov eax, dword [ebp - 0x30]
jne 0x10092c3a
movss xmm1, dword [ebp - 8]
xorps xmm0, xmm0
mov ecx, eax
maxss xmm1, xmm0
shr ecx, 0x18
minss xmm1, dword [0x100a908c]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm0
movss dword [ebp - 8], xmm1
movzx ecx, byte [0x100fe1e3]
xorps xmm0, xmm0
movzx edx, byte [ebp - 0x3e]
mov edi, dword [0x1010b44c]
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 [0x100a908c]
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 [0x1010b44c]
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 0x10092910
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100977f9
mov esp, ebp
pop ebp
ret 8