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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov eax, dword [0x100e7008]
xor eax, esp
mov dword [esp + 0xa0], eax
cmp dword [0x101b7d38], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0x10], esi
je 0x100bf05e
mov ecx, dword [esi]
add ecx, 4
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test eax, eax
je 0x100bf05e
mov ecx, dword [0x101d01ac]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x78]
call edx
mov ebx, eax
test ebx, ebx
je 0x100bf05e
mov edx, dword [0x101d03e8]
mov ecx, dword [esi]
add edx, 0xffffffbf
mov eax, dword [ebx + 0xb0]
xor edx, 0x197e0973
mov ecx, dword [edx + ecx]
lea ecx, [ecx + ecx*2]
lea edi, [eax + ecx*4]
add edi, ebx
je 0x100bf05e
cmp dword [0x101b7d38], 2
jne 0x100bed53
mov ecx, dword [0x101afa48]
mov eax, dword [edi + 8]
shl ecx, 4
add ecx, dword [0x101afa48]
lea ebx, [eax + ecx*4]
add ebx, edi
je 0x100bf05e
mov eax, dword [0x101b7dc8]
lea ecx, [ebx + 0x24]
xorps xmm0, xmm0
mov dword [esp + 0x10], eax
comiss xmm0, dword [ebx + 0x30]
mov dword [esp + 0xc], eax
jb 0x100beb73
lea edx, [esp + 0x7c]
call dword [0x101d02e4]
lea eax, [esp + 0x18]
push eax
mov eax, dword [ebx]
lea ecx, [esi + 0x3f8]
lea edx, [esp + 0x80]
lea eax, [eax + eax*2]
shl eax, 4
add ecx, eax
call fcn.100ad4a0
add esp, 4
mov dword [esp + 0x64], 0
lea edx, [esp + 0x64]
mov dword [esp + 0x68], 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x6c], 0
call fcn.100ad360
movzx eax, byte [esp + 0xe]
movss xmm0, dword [esp + 0x24]
mov edx, dword [0x101d01b4]
push ecx
mov dword [esp], 0x40400000
push 0
push eax
mov eax, dword [esp + 0x1c]
movzx ecx, ah
push ecx
movzx eax, al
mov ecx, edx
push eax
movss dword [esp + 0x84], xmm0
lea eax, [esp + 0x78]
movss xmm0, dword [esp + 0x48]
push eax
movss dword [esp + 0x8c], xmm0
lea eax, [ebx + 0x14]
movss xmm0, dword [esp + 0x5c]
push eax
movss dword [esp + 0x94], xmm0
lea eax, [ebx + 8]
mov esi, dword [edx]
push eax
lea eax, [esp + 0x90]
push eax
mov eax, dword [esi + 4]
call eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.100c4f7f
mov esp, ebp
pop ebp
ret 4
lea edx, [esp + 0x18]
call dword [0x101d02e4]
lea eax, [esp + 0x18]
push eax
mov eax, dword [ebx]
lea ecx, [esi + 0x3f8]
lea edx, [esp + 0x1c]
lea eax, [eax + eax*2]
shl eax, 4
add ecx, eax
call fcn.100ad4a0
movss xmm4, dword [ebx + 0xc]
add esp, 4
movss xmm3, dword [ebx + 8]
movss xmm5, dword [ebx + 0x10]
movss xmm6, dword [esp + 0x18]
movss xmm0, dword [esp + 0x1c]
movss xmm2, dword [esp + 0x28]
mulss xmm0, xmm4
mulss xmm6, xmm3
movss xmm1, dword [esp + 0x38]
mulss xmm2, xmm3
addss xmm6, xmm0
mulss xmm1, xmm3
movss xmm0, dword [esp + 0x20]
mulss xmm0, xmm5
addss xmm6, xmm0
movss xmm0, dword [esp + 0x2c]
mulss xmm0, xmm4
addss xmm2, xmm0
movss xmm0, dword [esp + 0x30]
mulss xmm0, xmm5
addss xmm6, dword [esp + 0x24]
addss xmm2, xmm0
movss xmm0, dword [esp + 0x3c]
mulss xmm0, xmm4
movss xmm4, dword [esp + 0x40]
movss dword [esp + 0x58], xmm6
addss xmm2, dword [esp + 0x34]
movss xmm6, dword [esp + 0x18]
addss xmm1, xmm0
movaps xmm0, xmm4
mulss xmm0, xmm5
movss xmm5, dword [esp + 0x1c]
movss dword [esp + 0x5c], xmm2
addss xmm1, xmm0
addss xmm1, dword [esp + 0x44]
movss dword [esp + 0x60], xmm1
movss xmm0, dword [ebx + 0x14]
movss xmm2, dword [ebx + 0x18]
movss xmm1, dword [ebx + 0x1c]
mulss xmm6, xmm0
mulss xmm5, xmm2
mulss xmm4, xmm1
addss xmm6, xmm5
movss xmm5, dword [esp + 0x20]
mulss xmm5, xmm1
addss xmm6, xmm5
movss xmm5, dword [esp + 0x2c]
mulss xmm5, xmm2
addss xmm6, dword [esp + 0x24]
movss dword [esp + 0x14], xmm6
movss xmm6, dword [esp + 0x28]
mulss xmm6, xmm0
addss xmm6, xmm5
movss xmm5, dword [esp + 0x30]
mulss xmm5, xmm1
addss xmm6, xmm5
movss xmm5, dword [esp + 0x38]
mulss xmm5, xmm0
movss xmm0, dword [esp + 0x3c]
mulss xmm0, xmm2
addss xmm6, dword [esp + 0x34]
addss xmm5, xmm0
movss xmm0, dword [esp + 0x14]
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x50], xmm6
addss xmm5, xmm4
addss xmm5, dword [esp + 0x44]
movss dword [esp + 0x54], xmm5
movss xmm0, dword [ebx + 0x30]
mov ecx, dword [0x101d01b4]
movzx eax, byte [esp + 0xf]
push 0
push 0
push ecx
mov dword [esp], 0x40400000
push eax
movzx eax, byte [esp + 0x1e]
push eax
mov eax, dword [esp + 0x24]
movzx edx, ah
movzx eax, al
push edx
push eax
lea eax, [esp + 0x30]
movss dword [esp + 0x30], xmm0
mov esi, dword [ecx]
push eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x7c]
push eax
mov eax, dword [esi + 0x5c]
call eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.100c4f7f
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov dword [esp + 0xc], eax
cmp dword [edi + 4], eax
jle 0x100bf05e
xor esi, esi
mov dword [esp + 0x14], esi
nop dword [eax + eax]
add esi, edi
add esi, dword [edi + 8]
je 0x100bf045
cmp eax, dword [0x101afa48]
jne 0x100bed92
cmp dword [0x101b7d38], 3
mov ebx, dword [0x101b7dc8]
je 0x100bed98
mov ebx, dword [0x101b7e84]
xorps xmm0, xmm0
lea ecx, [esi + 0x24]
comiss xmm0, dword [esi + 0x30]
jb 0x100bee70
lea edx, [esp + 0x7c]
call dword [0x101d02e4]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi]
lea edx, [esp + 0x80]
add ecx, 0x3f8
lea eax, [eax + eax*2]
shl eax, 4
add ecx, eax
call fcn.100ad4a0
add esp, 4
mov dword [esp + 0x64], 0
lea edx, [esp + 0x64]
mov dword [esp + 0x68], 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x6c], 0
call fcn.100ad360
mov ecx, dword [0x101d01b4]
mov eax, ebx
movss xmm0, dword [esp + 0x24]
push ecx
shr eax, 0x10
movzx eax, al
mov dword [esp], 0x40400000
push 0
push eax
mov eax, ebx
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x40]
shr eax, 8
movzx eax, al
push eax
movzx eax, bl
push eax
lea eax, [esp + 0x78]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0x58]
push eax
lea eax, [esi + 0x14]
movss dword [esp + 0x90], xmm0
mov edx, dword [ecx]
push eax
lea eax, [esi + 8]
push eax
lea eax, [esp + 0x90]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x100bf041
lea edx, [esp + 0x18]
call dword [0x101d02e4]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi]
lea edx, [esp + 0x1c]
add ecx, 0x3f8
lea eax, [eax + eax*2]
shl eax, 4
add ecx, eax
call fcn.100ad4a0
movss xmm4, dword [esi + 0xc]
add esp, 4
movss xmm3, dword [esi + 8]
movss xmm5, dword [esi + 0x10]
movss xmm6, dword [esp + 0x18]
movss xmm0, dword [esp + 0x1c]
movss xmm2, dword [esp + 0x28]
mulss xmm0, xmm4
mulss xmm6, xmm3
movss xmm1, dword [esp + 0x38]
mulss xmm2, xmm3
addss xmm6, xmm0
mulss xmm1, xmm3
movss xmm0, dword [esp + 0x20]
mulss xmm0, xmm5
addss xmm6, xmm0
movss xmm0, dword [esp + 0x2c]
mulss xmm0, xmm4
addss xmm6, dword [esp + 0x24]
addss xmm2, xmm0
movss xmm0, dword [esp + 0x30]
mulss xmm0, xmm5
movss dword [esp + 0x58], xmm6
addss xmm2, xmm0
movss xmm6, dword [esp + 0x18]
movss xmm0, dword [esp + 0x3c]
mulss xmm0, xmm4
movss xmm4, dword [esp + 0x40]
addss xmm2, dword [esp + 0x34]
addss xmm1, xmm0
movaps xmm0, xmm4
mulss xmm0, xmm5
movss xmm5, dword [esp + 0x1c]
movss dword [esp + 0x5c], xmm2
addss xmm1, xmm0
addss xmm1, dword [esp + 0x44]
movss dword [esp + 0x60], xmm1
movss xmm0, dword [esi + 0x14]
movss xmm2, dword [esi + 0x18]
movss xmm1, dword [esi + 0x1c]
mulss xmm5, xmm2
mulss xmm6, xmm0
mulss xmm4, xmm1
addss xmm6, xmm5
movss xmm5, dword [esp + 0x20]
mulss xmm5, xmm1
addss xmm6, xmm5
movss xmm5, dword [esp + 0x2c]
mulss xmm5, xmm2
addss xmm6, dword [esp + 0x24]
movss dword [esp + 0x48], xmm6
movss xmm6, dword [esp + 0x28]
mulss xmm6, xmm0
addss xmm6, xmm5
movss xmm5, dword [esp + 0x30]
mulss xmm5, xmm1
addss xmm6, xmm5
movss xmm5, dword [esp + 0x38]
mulss xmm5, xmm0
movss xmm0, dword [esp + 0x3c]
mulss xmm0, xmm2
addss xmm6, dword [esp + 0x34]
addss xmm5, xmm0
movss xmm0, dword [esp + 0x48]
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x50], xmm6
addss xmm5, xmm4
addss xmm5, dword [esp + 0x44]
movss dword [esp + 0x54], xmm5
mov ecx, dword [0x101d01b4]
mov eax, ebx
push 0
movss xmm0, dword [esi + 0x30]
shr eax, 0x18
push 0
push ecx
mov dword [esp], 0x40400000
push eax
mov eax, ebx
movss dword [esp + 0x58], xmm0
mov edx, dword [ecx]
shr eax, 0x10
movzx eax, al
push eax
mov eax, ebx
shr eax, 8
movzx eax, al
push eax
movzx eax, bl
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x7c]
push eax
mov eax, dword [edx + 0x5c]
call eax
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
inc eax
add esi, 0x44
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], esi
cmp eax, dword [edi + 4]
jl 0x100bed70
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100c4f7f
mov esp, ebp
pop ebp
ret 4