Function at 0x44d2e5
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov word [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
and eax, 0xffff
mov ecx, dword [ebp + 0xc]
add ecx, eax
mov edx, dword [ebp + 8]
mov al, byte [edx + ecx]
mov byte [ebp - 0x28], al
mov cx, word [ebp - 0x24]
add cx, 2
mov word [ebp - 0x24], cx
mov edx, dword [ebp - 0x28]
and edx, 0xff
cmp edx, 0x40
jne 0x44d2f1
mov eax, dword [ebp - 0x24]
and eax, 0xffff
sub eax, 1
mov dword [ebp - 8], eax
mov cx, word [ebp - 0x24]
sub cx, 2
mov word [ebp - 0x24], cx
mov eax, dword [ebp - 0x24]
and eax, 0xffff
cdq
sub eax, edx
sar eax, 1
mov word [ebp - 4], ax
mov dx, word [ebp - 0x24]
add dx, 2
mov word [ebp - 0x24], dx
mov word [ebp - 0x2c], 0
mov eax, dword [ebp - 0x24]
and eax, 0xffff
mov ecx, dword [ebp + 0xc]
add ecx, eax
mov edx, dword [ebp + 8]
mov al, byte [edx + ecx + 1]
mov byte [ebp - 0x28], al
movzx cx, byte [ebp - 0x28]
mov word [ebp - 0x14], cx
mov edx, dword [ebp - 0x24]
and edx, 0xffff
mov eax, dword [ebp + 0xc]
add eax, edx
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + eax]
mov byte [ebp - 0x28], dl
mov eax, dword [ebp - 0x28]
and eax, 0xff
shl eax, 8
mov cx, word [ebp - 0x14]
add cx, ax
mov word [ebp - 0x14], cx
mov dx, word [ebp - 0x24]
add dx, 1
mov word [ebp - 0x24], dx
mov eax, dword [ebp - 0x28]
and eax, 0xff
cmp eax, 0x20
jne 0x44d3d2
mov cx, word [ebp - 0x2c]
add cx, 0x12
mov word [ebp - 0x2c], cx
jmp 0x44d3e1
mov dx, word [ebp - 0x2c]
add dx, word [0x592814]
mov word [ebp - 0x2c], dx
mov eax, dword [ebp - 0x14]
and eax, 0xffff
cmp eax, 0x5c55
jne 0x44d35e
mov ecx, dword [ebp - 0x2c]
and ecx, 0xffff
xor edx, edx
mov dx, word [0x592814]
shl edx, 1
xor eax, eax
mov ax, word [0x46a02c]
shl eax, 1
sub edx, eax
sub ecx, edx
mov word [ebp - 0xc], cx
mov eax, dword [ebp - 0xc]
and eax, 0xffff
mov ecx, dword [ebp - 4]
and ecx, 0xffff
imul ecx, ecx, 0xa
sub eax, ecx
mov ecx, dword [ebp - 4]
and ecx, 0xffff
cdq
idiv ecx
add eax, 0xa
mov word [ebp - 0x10], ax
mov word [ebp - 0x24], 0
jmp 0x44d457
mov dx, word [ebp - 0x24]
add dx, 1
mov word [ebp - 0x24], dx
mov eax, dword [ebp - 0x24]
and eax, 0xffff
mov ecx, dword [ebp - 4]
and ecx, 0xffff
cmp eax, ecx
jge 0x44d533
mov edx, dword [ebp - 0x24]
and edx, 0xffff
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
lea eax, [ecx + eax + 1]
mov cl, byte [eax + edx*2]
push ecx
mov edx, dword [ebp - 0x24]
and edx, 0xffff
mov eax, dword [ebp + 0xc]
lea ecx, [eax + edx*2]
mov edx, dword [ebp + 8]
mov al, byte [edx + ecx]
push eax
call fcn.0044cf6e
add esp, 8
mov word [ebp - 0x18], ax
mov eax, dword [ebp - 0x18]
and eax, 0xffff
cdq
mov ecx, 5
idiv ecx
imul edx, edx, 0xa
mov word [ebp - 0x1c], dx
mov eax, dword [ebp - 0x18]
and eax, 0xffff
cdq
mov ecx, 5
idiv ecx
imul eax, eax, 0xa
mov word [ebp - 0x20], ax
mov edx, dword [ebp - 0x20]
and edx, 0xffff
add edx, 0x18
push edx
mov eax, dword [ebp - 0x1c]
and eax, 0xffff
add eax, 0x87f
push eax
mov ecx, dword [ebp + 0x14]
sub ecx, 9
push ecx
mov ecx, dword [ebp - 0x24]
and ecx, 0xffff
mov edx, dword [ebp - 0x10]
and edx, 0xffff
imul ecx, edx
add ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x10]
and eax, 0xffff
sub eax, 0xa
cdq
sub eax, edx
sar eax, 1
lea eax, [ecx + eax + 0x18]
push eax
call fcn.0044d052
add esp, 0x10
jmp 0x44d44b
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret