Function at 0x4145f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x489998
push 0x4555c0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x48d2a4]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, ecx
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], esi
mov eax, dword [ebx]
mov dword [ebp - 0x24], eax
cmp eax, esi
je 0x4147a1
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
add eax, eax
mov dword [ebp - 0x28], eax
call fcn.00402770
mov edi, eax
mov dword [ebp - 0x34], edi
test edi, edi
je 0x4147a1
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov ecx, dword [ebp - 0x28]
push ecx
push esi
push edi
call fcn.004571e0
add esp, 0xc
mov edx, dword [ebx + 4]
mov dword [ebp - 0x48], edx
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x24]
dec eax
cmp ecx, eax
jae 0x41472b
lea eax, [ebx + ecx*8 + 4]
mov ecx, dword [ebx + ecx*8 + 0xc]
dec ecx
cmp dword [eax], ecx
je 0x414722
lea ecx, [esi + esi*2]
lea esi, [edi + ecx*8]
mov dword [esi], edx
mov edx, dword [ebp - 0x44]
mov dword [esi + 4], edx
mov eax, dword [eax]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
mov edi, eax
sub edi, dword [esi]
inc edi
mov eax, edi
call fcn.00402770
mov dword [esi + 0x10], eax
mov eax, edi
call fcn.00402770
mov dword [esi + 0x14], eax
xor ecx, ecx
mov edx, dword [ebp - 0x20]
mov eax, edx
sub eax, edi
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
cmp eax, edx
ja 0x41470b
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x28], eax
movzx eax, byte [ebx + eax*8 + 8]
mov byte [ecx + edx], al
mov edx, dword [esi + 0x14]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
movzx eax, byte [ebx + eax*8 + 9]
mov byte [ecx + edx], al
inc ecx
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
jmp 0x4146d8
inc dword [ebp - 0x1c]
mov edx, dword [ebx + edx*8 + 0xc]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], 0
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
inc ecx
jmp 0x41467c
lea eax, [esi + esi*2]
lea esi, [edi + eax*8]
mov dword [esi], edx
mov ecx, dword [ebp - 0x44]
mov dword [esi + 4], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebx + edx*8 - 4]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
mov edi, eax
sub edi, dword [esi]
inc edi
mov eax, edi
call fcn.00402770
mov dword [esi + 0x10], eax
mov eax, edi
call fcn.00402770
mov dword [esi + 0x14], eax
xor ecx, ecx
mov eax, dword [ebp - 0x20]
sub eax, edi
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
cmp eax, dword [ebp - 0x20]
ja 0x41479b
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x34], eax
movzx eax, byte [ebx + eax*8 + 8]
mov byte [ecx + edx], al
mov edx, dword [esi + 0x14]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
movzx eax, byte [ebx + eax*8 + 9]
mov byte [ecx + edx], al
inc ecx
mov eax, dword [ebp - 0x34]
jmp 0x41476a
inc dword [ebp - 0x1c]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret