Function at 0x108a763
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x10e3200]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ecx]
mov dword [ebp - 0x28], eax
mov eax, dword [edx]
mov ebx, dword [eax + 0x14]
push edi
mov edi, dword [eax]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ebx
cmp esi, edi
je 0x108a7db
push esi
push eax
push 0x1027700
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x44], esp
push 0xff
push 1
push 0x541
push 0x1027d28
push 0x1026c84
push 0x1026c10
call 0x109958e
push dword [ebp - 0x28]
call 0x109a735
add esp, 0x68
push 0
jmp 0x108a9be
and dword [ebp - 0x30], 0
lea esi, [eax + 4]
lea edi, [ecx + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test ebx, ebx
jbe 0x108a9bc
and dword [ebp - 0x38], 0
mov ebx, 0x1026c10
jmp 0x108a7ff
mov edx, dword [ebp - 0x4c]
and dword [ebp - 0x40], 0
xor eax, eax
lea edi, [ebp - 0x3c]
stosd dword es:[edi], eax
mov eax, dword [edx]
mov edx, dword [ebp - 0x38]
mov esi, 0x103034c
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and dword [ebp - 0x2c], 0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add eax, edx
mov esi, dword [eax + 0x2c]
mov edx, dword [eax + 0x28]
mov dword [ebp - 0x50], esi
lea esi, [eax + 0x18]
mov eax, dword [ecx + 4]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test eax, eax
jbe 0x108a86f
lea eax, [ecx + 0x60]
mov esi, dword [eax - 0x28]
mov dword [ebp - 0x40], esi
mov esi, dword [eax - 0x24]
mov dword [ebp - 0x3c], esi
mov esi, eax
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x40], edx
jne 0x108a85f
mov esi, dword [ebp - 0x3c]
cmp esi, dword [ebp - 0x50]
je 0x108a86f
inc dword [ebp - 0x2c]
mov esi, dword [ebp - 0x2c]
add eax, 0x90
cmp esi, dword [ecx + 4]
jb 0x108a83d
mov eax, dword [ecx + 4]
cmp dword [ebp - 0x2c], eax
movzx eax, byte [ebp - 5]
push eax
movzx eax, byte [ebp - 6]
push eax
movzx eax, byte [ebp - 7]
push eax
movzx eax, byte [ebp - 8]
push eax
movzx eax, byte [ebp - 9]
push eax
movzx eax, byte [ebp - 0xa]
push eax
movzx eax, byte [ebp - 0xb]
push eax
movzx eax, byte [ebp - 0xc]
push eax
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x50]
push edx
push dword [ebp - 0x30]
je 0x108a9d7
push 0x1027c28
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0xff
push 1
push 0x56e
mov edi, 0x1027d28
push edi
mov esi, 0x1026c84
push esi
push ebx
call 0x109958e
push dword [ebp - 0x28]
call 0x109a735
movzx eax, byte [ebp - 0x15]
add esp, 0x98
push eax
movzx eax, byte [ebp - 0x16]
push eax
movzx eax, byte [ebp - 0x17]
push eax
movzx eax, byte [ebp - 0x18]
push eax
movzx eax, byte [ebp - 0x19]
push eax
movzx eax, byte [ebp - 0x1a]
push eax
movzx eax, byte [ebp - 0x1b]
push eax
movzx eax, byte [ebp - 0x1c]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x20]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebp - 0x2c]
push 0x1027b18
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0xff
push 1
push 0x570
push edi
push esi
push ebx
call 0x109958e
push dword [ebp - 0x28]
call 0x109a735
add esp, 0x98
push 0x1027aa8
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0xff
push 1
push 0x573
push edi
push esi
push ebx
call 0x109958e
push dword [ebp - 0x28]
call 0x109a735
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x38]
lea esi, [ecx + eax + 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x48]
imul eax, eax, 0x90
lea edi, [eax + ecx + 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0x60
inc dword [ebp - 0x30]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x30]
add dword [ebp - 0x38], 0x18
cmp eax, dword [ebp - 0x44]
jb 0x108a7fc
push 1
mov ecx, dword [ebp - 0x28]
call fcn.0104693b
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010989ab
leave
ret 0x10
push 0x1027908
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x44], esp
push 0xff
push 1
push 0x568
push 0x1027d28
push 0x1026c84
push ebx
call 0x109958e
push dword [ebp - 0x28]
call 0x109a735
add esp, 0x98
jmp 0x108a7d4