Function at 0x100b3810
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x102cb660], 0
push ebx
push esi
push edi
je 0x100b3b7b
mov ecx, dword [0x102e4c34]
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x100b3b7b
movzx eax, byte [0x102d2457]
mov dword [ebp - 8], 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x100d061c]
movss dword [ebp - 0xc], xmm0
jle 0x100b3b7b
xor edx, edx
mov dword [ebp - 4], edx
mov esi, dword [ecx]
add esi, edx
cmp dword [esi + 0x34], 0xfffffffe
jne 0x100b3b65
mov eax, dword [esi]
test eax, eax
je 0x100b3b65
lea ecx, [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov edi, dword [eax + 0x14]
cmp edi, 9
je 0x100b389f
cmp edi, 0x62
je 0x100b389f
cmp edi, 0x86
jne 0x100b3927
cmp byte [0x102d3c1c], 0
movss xmm3, dword [0x100d061c]
je 0x100b392f
mov eax, dword [0x102d3e28]
mov edx, eax
mov cx, word [0x102d3e2a]
movzx eax, al
shr edx, 8
movzx ebx, cx
movzx ecx, ch
movd xmm2, eax
movzx eax, dl
mov word [esi + 0x24], 1
mov byte [esi + 0x26], 0
cvtdq2ps xmm2, xmm2
movd xmm1, eax
movzx eax, bl
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm2, xmm3
mulss xmm0, xmm3
mulss xmm1, xmm3
movss dword [esi + 0xc], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [esi + 4], xmm2
mulss xmm0, dword [0x100d0630]
movss dword [esi + 8], xmm1
mov dword [esi + 0x1c], 0x3f800000
movss dword [esi + 0x10], xmm0
jmp 0x100b392f
movss xmm3, dword [0x100d061c]
cmp edi, 0x6c
jne 0x100b39ae
cmp byte [0x102d41bc], 0
je 0x100b39ae
mov eax, dword [0x102d4270]
mov edx, eax
mov cx, word [0x102d4272]
movzx eax, al
shr edx, 8
movzx ebx, cx
movzx ecx, ch
movd xmm2, eax
movzx eax, dl
mov word [esi + 0x24], 1
mov byte [esi + 0x26], 0
cvtdq2ps xmm2, xmm2
movd xmm1, eax
movzx eax, bl
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm2, xmm3
mulss xmm0, xmm3
mulss xmm1, xmm3
movss dword [esi + 0xc], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [esi + 4], xmm2
mulss xmm0, xmm3
movss dword [esi + 8], xmm1
mov dword [esi + 0x1c], 0x3f800000
movss dword [esi + 0x10], xmm0
mov ecx, dword [esi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x280]
call eax
test al, al
je 0x100b3a56
push 3
push dword [0x102d3ad4]
push dword [0x102d3ad0]
call fcn.100ba540
cmp eax, dword [0x102d3ad4]
je 0x100b3a56
mov eax, dword [0x102d3b78]
mov edx, eax
mov cx, word [0x102d3b7a]
movss xmm3, dword [0x100d061c]
movzx eax, al
shr edx, 8
movzx ebx, cx
movzx ecx, ch
movd xmm2, eax
movzx eax, dl
mov word [esi + 0x24], 1
mov byte [esi + 0x26], 0
cvtdq2ps xmm2, xmm2
mov dword [esi + 0x1c], 0x3f800000
movd xmm1, eax
movzx eax, bl
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm2, xmm3
mulss xmm0, xmm3
mulss xmm1, xmm3
movss dword [esi + 0xc], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [esi + 4], xmm2
mulss xmm0, xmm3
movss dword [esi + 8], xmm1
movss dword [esi + 0x10], xmm0
mov ecx, dword [esi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x100b3b5c
mov ecx, dword [esi]
test ecx, ecx
je 0x100b3b5c
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x100b3b5c
mov edi, dword [esi]
mov eax, dword [0x102e4d70]
cmp byte [eax + edi], 0
jne 0x100b3b5c
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
mov edx, dword [0x102e4de4]
add edx, 0xffffffd6
xor edx, 0xb66caf34
lea eax, [eax*4 + 0x102e87f4]
mov dword [ebp - 0x10], eax
mov eax, dword [0x102cb660]
mov ecx, dword [edx + edi]
cmp ecx, dword [edx + eax]
jne 0x100b3ae1
mov ecx, dword [0x102e4cac]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
jne 0x100b3ae1
cmp byte [0x102d121c], al
jmp 0x100b3ae8
cmp byte [0x102d2318], 0
je 0x100b3b5c
mov eax, dword [0x102d2454]
mov edx, eax
movzx ebx, word [0x102d2456]
movss xmm3, dword [0x100d061c]
movzx eax, al
shr edx, 8
mov word [esi + 0x24], 1
mov cl, byte [0x102d23a0]
movd xmm2, eax
movzx eax, dl
cvtdq2ps xmm2, xmm2
mov byte [esi + 0x26], cl
movd xmm1, eax
movzx eax, bl
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [ebp - 0x10]
cvtdq2ps xmm0, xmm0
mulss xmm2, xmm3
mulss xmm0, xmm3
mulss xmm1, xmm3
movss dword [esi + 0xc], xmm0
movss xmm0, dword [ebp - 0xc]
movss dword [esi + 4], xmm2
movss dword [esi + 8], xmm1
mulss xmm0, dword [eax]
movss dword [esi + 0x10], xmm0
mov edx, dword [ebp - 4]
mov ecx, dword [0x102e4c34]
mov esi, dword [ebp - 8]
add edx, 0x38
inc esi
mov dword [ebp - 4], edx
mov dword [ebp - 8], esi
cmp esi, dword [ecx + 0xc]
jl 0x100b3864
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret