Function at 0x4b0be4
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0045ad84
mov eax, dword [ebp - 8]
call fcn.0045ad84
xor eax, eax
push ebp
push 0x45b281
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x45b249
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
call fcn.0045ab94
test eax, eax
jne 0x4b0c43
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b0e53
mov eax, dword [ebp - 4]
call fcn.0045ab94
test eax, eax
jne 0x4b0c5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b0e53
mov eax, dword [ebp - 8]
call fcn.0045ab94
cmp eax, 0x100
jle 0x4b0c9f
push pe_nt_image_headers32
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x45aae4]
call fcn.0045be70
add esp, 4
lea eax, [ebp - 8]
call fcn.0045adec
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, pe_nt_image_headers32
call fcn.004b056c
jmp 0x4b0cda
mov eax, dword [ebp - 8]
call fcn.0045ab94
push eax
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x45aae4]
call fcn.0045be70
add esp, 4
mov eax, dword [ebp - 8]
call fcn.0045ab94
push eax
lea eax, [ebp - 8]
call fcn.0045adec
mov edx, eax
mov eax, dword [ebp - 0xc]
pop ecx
call fcn.004b056c
xor edi, edi
lea eax, [ebp - 0x414]
mov dword [eax], edi
inc edi
add eax, 4
cmp edi, 0x100
jne 0x4b0ce2
xor esi, esi
xor edi, edi
lea ebx, [ebp - 0x414]
mov eax, dword [ebp - 8]
call fcn.0045ab94
push eax
mov eax, edi
pop edx
mov ecx, edx
cdq
idiv ecx
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + edx]
add esi, dword [ebx]
add eax, esi
and eax, 0x800000ff
jns 0x4b0d24
dec eax
or eax, 0xffffff00
inc eax
mov esi, eax
mov al, byte [ebx]
mov edx, dword [ebp + esi*4 - 0x414]
mov dword [ebx], edx
and eax, 0xff
mov dword [ebp + esi*4 - 0x414], eax
inc edi
add ebx, 4
cmp edi, 0x100
jne 0x4b0cfa
xor esi, esi
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.0045ab94
push eax
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x45aae4]
call fcn.0045be70
add esp, 4
mov eax, dword [ebp - 4]
call fcn.0045ab94
push eax
lea eax, [ebp - 4]
call fcn.0045adec
mov edx, eax
mov eax, dword [ebp - 0x10]
pop ecx
call fcn.004b056c
mov eax, dword [ebp - 4]
call fcn.0045ab94
dec eax
test eax, eax
jl 0x4b0e13
inc eax
mov dword [ebp - 0x14], eax
xor edi, edi
inc esi
and esi, 0x800000ff
jns 0x4b0dac
dec esi
or esi, 0xffffff00
inc esi
add ebx, dword [ebp + esi*4 - 0x414]
and ebx, 0x800000ff
jns 0x4b0dc3
dec ebx
or ebx, 0xffffff00
inc ebx
mov al, byte [ebp + esi*4 - 0x414]
mov edx, dword [ebp + ebx*4 - 0x414]
mov dword [ebp + esi*4 - 0x414], edx
and eax, 0xff
mov dword [ebp + ebx*4 - 0x414], eax
mov eax, dword [ebp + esi*4 - 0x414]
add eax, dword [ebp + ebx*4 - 0x414]
and eax, 0x800000ff
jns 0x4b0e00
dec eax
or eax, 0xffffff00
inc eax
mov al, byte [ebp + eax*4 - 0x414]
mov edx, dword [ebp - 0x10]
xor byte [edx + edi], al
inc edi
dec dword [ebp - 0x14]
jne 0x4b0d9b
mov eax, dword [ebp - 4]
call fcn.0045ab94
mov edx, eax
mov eax, dword [ebp + 8]
call fcn.0045af20
mov eax, dword [ebp - 4]
call fcn.0045ab94
push eax
mov eax, dword [ebp + 8]
call fcn.0045adec
mov edx, dword [ebp - 0x10]
pop ecx
call fcn.004b056c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b0e53
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b288
lea eax, [ebp - 0x10]
mov edx, dword [0x45aae4]
mov ecx, 2
call fcn.0045b4ac
lea eax, [ebp - 8]
mov edx, 2
call fcn.0045a8f8
ret