Function at 0x4b0d70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4b10c4
sub esp, 0x44
mov eax, dword [esp + 0x48]
test byte [eax], al
mov ecx, dword [esp + 0x58]
movzx edx, byte [esp + 0x5c]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x50]
mov esi, ecx
mov edi, eax
mov eax, 0xff
mov dword [esp + 0x2c], eax
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov eax, edi
xor esi, esi
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x58]
mov dword [esp + 0x24], esi
mov ecx, esi
jmp 0x4b0de2
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ecx
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x48]
mov ecx, edx
movzx edx, byte [esp + 0x5c]
cmp ebp, ecx
jle 0x4b10a8
movzx edi, byte [ebx + ecx]
mov dword [esp + 0x38], edi
lea esi, [ecx + 1]
and edi, 0xc0
test edi, edi
je 0x4b0e53
cmp edi, 0xc0
jne 0x4b0fbf
test dl, dl
je 0x4b0f9f
cmp ebp, esi
jle 0x4b0f7f
movzx esi, byte [ecx + ebx + 1]
mov edi, dword [esp + 0x20]
test edi, edi
jne 0x4b0e2d
add ecx, 2
jmp 0x4b0e31
mov ecx, dword [esp + 0x24]
inc edi
cmp edi, 0xa
jg 0x4b0f5f
mov edx, dword [esp + 0x38]
xor edx, 0xc0
shl edx, 8
or edx, esi
mov esi, dword [esp + 0x28]
jmp 0x4b0dc7
mov edi, dword [esp + 0x38]
test edi, edi
je 0x4b0fff
lea edx, [ecx + edi + 1]
cmp ebp, edx
jl 0x4b0fdf
mov dword [esp + 0x30], edx
mov ebp, dword [esp + 0x28]
lea edx, [ebp + edi]
mov edi, dword [esp + 0x54]
sub edi, ecx
lea ecx, [edi - 1]
neg ecx
sar ecx, 0x1f
and ecx, esi
add ecx, ebx
mov esi, dword [esp + 0x2c]
cmp esi, edx
jae 0x4b0ecd
mov dword [esp + 0x40], ecx
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], eax
lea ecx, [0x4ec9a0]
mov dword [esp + 0x10], ecx
call fcn.0044cd30
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x28]
mov esi, ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], esi
lea ebx, [eax + ebp]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], ecx
call fcn.00465a70
mov eax, dword [esp + 0x28]
inc eax
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jb 0x4b0f09
mov ecx, eax
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x2c]
jmp 0x4b0f3b
mov edx, dword [esp + 0x3c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x4ec9a0]
mov dword [esp + 0x10], eax
call fcn.0044cd30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov byte [ecx + eax - 1], 0x2e
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x50]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x2c], esi
mov edi, dword [esp + 0x20]
mov esi, ecx
mov ecx, dword [esp + 0x24]
jmp 0x4b0dc7
mov eax, dword [0x5df1e8]
mov ecx, dword [0x5df1ec]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
add esp, 0x44
ret
mov eax, dword [0x5df190]
mov ecx, dword [0x5df194]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
add esp, 0x44
ret
mov eax, dword [0x5df188]
mov ecx, dword [0x5df18c]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
add esp, 0x44
ret
mov eax, dword [0x5df1b0]
mov ecx, dword [0x5df1b4]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
add esp, 0x44
ret
mov eax, dword [0x5df180]
mov ecx, dword [0x5df184]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
add esp, 0x44
ret
mov ecx, dword [esp + 0x28]
test ecx, ecx
jne 0x4b1052
mov ecx, dword [esp + 0x2c]
cmp ecx, 1
jb 0x4b1017
mov ecx, 1
jmp 0x4b104d
mov dword [esp + 0x34], esi
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x4ec9a0]
mov dword [esp + 0x10], eax
call fcn.0044cd30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x34]
mov byte [ecx + eax - 1], 0x2e
cmp ecx, 0xff
jg 0x4b1088
mov eax, dword [esp + 0x48]
mov byte [eax + 0xff], cl
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4b1070
mov esi, dword [esp + 0x24]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
add esp, 0x44
ret
mov eax, dword [0x5df180]
mov ecx, dword [0x5df184]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
add esp, 0x44
ret
mov eax, dword [0x5df178]
mov ecx, dword [0x5df17c]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
add esp, 0x44
ret
call fcn.00463e70
jmp fcn.004b0d70