Function at 0x48cb10
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0xd1e
sub esp, 0x14
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, 1
mov dword [ebp - 0x14], 1
mov eax, 0
mov dword [ebp - 0x18], 0
jmp 0x48ce65
mov eax, dword [ebp + 0xc]
cmp eax, 0x15b0
jge 0x48cb52
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
cmp eax, 0x15b0
jl 0x48cb68
mov eax, 0x15b0
mov dword [ebp - 0x20], 0x15b0
mov eax, dword [ebp - 0x20]
push edx
mov edx, 0x10
mov ecx, edx
cdq
idiv ecx
pop edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, 0
je 0x48cde4
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
mov edx, eax
mov eax, dword [ebp - 0x14]
and edx, 0xff
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 1]
mov edx, eax
mov eax, dword [ebp - 0x14]
and edx, 0xff
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 2]
mov edx, eax
mov eax, dword [ebp - 0x14]
and edx, 0xff
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 3]
mov edx, eax
mov eax, dword [ebp - 0x14]
and edx, 0xff
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 4]
mov edx, eax
mov eax, dword [ebp - 0x14]
and edx, 0xff
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 5]
mov edx, eax
mov eax, dword [ebp - 0x14]
and edx, 0xff
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 6]
mov edx, eax
mov eax, dword [ebp - 0x14]
and edx, 0xff
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 7]
mov edx, eax
mov eax, dword [ebp - 0x14]
and edx, 0xff
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 8]
mov edx, eax
mov eax, dword [ebp - 0x14]
and edx, 0xff
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 9]
mov edx, eax
mov eax, dword [ebp - 0x14]
and edx, 0xff
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 0xa]
mov edx, eax
mov eax, dword [ebp - 0x14]
and edx, 0xff
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 0xb]
mov edx, eax
mov eax, dword [ebp - 0x14]
and edx, 0xff
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 0xc]
mov edx, eax
mov eax, dword [ebp - 0x14]
and edx, 0xff
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 0xd]
mov edx, eax
mov eax, dword [ebp - 0x14]
and edx, 0xff
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 0xe]
mov edx, eax
mov eax, dword [ebp - 0x14]
and edx, 0xff
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 0xf]
mov edx, eax
mov eax, dword [ebp - 0x14]
and edx, 0xff
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
cmp eax, 0
jne 0x48cb88
mov eax, dword [ebp - 0x20]
push edx
mov edx, 0x10
mov ecx, edx
cdq
idiv ecx
mov eax, edx
pop edx
mov dword [ebp - 0x1c], eax
jmp 0x48ce28
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
mov edx, eax
mov eax, dword [ebp - 0x14]
and edx, 0xff
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, 0
jne 0x48cdfa
mov eax, dword [ebp - 0x14]
push edx
mov edx, 0xfff1
mov ecx, edx
cdq
idiv ecx
mov eax, edx
pop edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
push edx
mov edx, 0xfff1
mov ecx, edx
cdq
idiv ecx
mov eax, edx
pop edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x20]
sub eax, edx
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
cmp eax, 0
jg 0x48cb42
mov eax, dword [ebp - 0x18]
shl eax, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
or eax, edx
leave
ret 8