Function at 0x6b4da770
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
movzx eax, word [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov edx, 0xffffffb8
xor edi, edi
jmp 0x6b4da7a9
shl ebx, 8
movzx ebp, di
movzx ebp, byte [ecx + ebp]
or ebp, ebx
inc edi
xor dword [esi + edx + 0x1048], ebp
add edx, 4
je 0x6b4da7e9
cmp di, ax
jb 0x6b4da7b0
xor edi, edi
movzx ebx, di
movzx ebx, byte [ecx + ebx]
inc edi
cmp di, ax
jb 0x6b4da7bf
xor edi, edi
movzx ebp, di
movzx ebp, byte [ecx + ebp]
inc edi
cmp di, ax
jb 0x6b4da7ce
xor edi, edi
shl ebx, 0x10
shl ebp, 8
or ebp, ebx
movzx ebx, di
movzx ebx, byte [ecx + ebx]
or ebx, ebp
inc edi
cmp di, ax
jb 0x6b4da790
xor edi, edi
jmp 0x6b4da790
mov dword [esp + 4], 0
mov dword [esp], 0
mov edi, esp
lea ebx, [esp + 4]
push edi
push ebx
push esi
call fcn.6b4d9fc0
add esp, 0xc
mov eax, dword [esp + 4]
mov dword [esi + 0x1000], eax
mov eax, dword [esp]
mov dword [esi + 0x1004], eax
push edi
push ebx
push esi
call fcn.6b4d9fc0
add esp, 0xc
mov eax, dword [esp + 4]
mov dword [esi + 0x1008], eax
mov eax, dword [esp]
mov dword [esi + 0x100c], eax
push edi
push ebx
push esi
call fcn.6b4d9fc0
add esp, 0xc
mov eax, dword [esp + 4]
mov dword [esi + 0x1010], eax
mov eax, dword [esp]
mov dword [esi + 0x1014], eax
push edi
push ebx
push esi
call fcn.6b4d9fc0
add esp, 0xc
mov eax, dword [esp + 4]
mov dword [esi + 0x1018], eax
mov eax, dword [esp]
mov dword [esi + 0x101c], eax
push edi
push ebx
push esi
call fcn.6b4d9fc0
add esp, 0xc
mov eax, dword [esp + 4]
mov dword [esi + 0x1020], eax
mov eax, dword [esp]
mov dword [esi + 0x1024], eax
push edi
push ebx
push esi
call fcn.6b4d9fc0
add esp, 0xc
mov eax, dword [esp + 4]
mov dword [esi + 0x1028], eax
mov eax, dword [esp]
mov dword [esi + 0x102c], eax
push edi
push ebx
push esi
call fcn.6b4d9fc0
add esp, 0xc
mov eax, dword [esp + 4]
mov dword [esi + 0x1030], eax
mov eax, dword [esp]
mov dword [esi + 0x1034], eax
push edi
push ebx
push esi
call fcn.6b4d9fc0
add esp, 0xc
mov eax, dword [esp + 4]
mov dword [esi + 0x1038], eax
mov eax, dword [esp]
mov dword [esi + 0x103c], eax
push edi
push ebx
push esi
call fcn.6b4d9fc0
add esp, 0xc
mov eax, dword [esp + 4]
mov dword [esi + 0x1040], eax
mov eax, dword [esp]
mov dword [esi + 0x1044], eax
mov ebp, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push edi
push ebx
push esi
call fcn.6b4d9fc0
add esp, 0xc
mov eax, dword [esp + 4]
mov dword [esi + ebp*4 + 8], eax
mov eax, dword [esp]
mov dword [esi + ebp*4 + 0xc], eax
add ebp, 2
cmp ebp, 0xfe
jb 0x6b4da920
mov ebp, 0xfffffffe
nop
nop
push edi
push ebx
push esi
call fcn.6b4d9fc0
add esp, 0xc
mov eax, dword [esp + 4]
mov dword [esi + ebp*4 + 0x408], eax
mov eax, dword [esp]
mov dword [esi + ebp*4 + 0x40c], eax
add ebp, 2
cmp ebp, 0xfe
jb 0x6b4da950
mov ebp, 0xfffffffe
push edi
push ebx
push esi
call fcn.6b4d9fc0
add esp, 0xc
mov eax, dword [esp + 4]
mov dword [esi + ebp*4 + 0x808], eax
mov eax, dword [esp]
mov dword [esi + ebp*4 + 0x80c], eax
add ebp, 2
cmp ebp, 0xfe
jb 0x6b4da980
mov ebp, 0xfffffffe
push edi
push ebx
push esi
call fcn.6b4d9fc0
add esp, 0xc
mov eax, dword [esp + 4]
mov dword [esi + ebp*4 + 0xc08], eax
mov eax, dword [esp]
mov dword [esi + ebp*4 + 0xc0c], eax
add ebp, 2
cmp ebp, 0xfe
jb 0x6b4da9b0
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret