Function at 0x46ab50
Capabilities:
Encrypt data using rc4 ksa
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov ebx, edx
test ebx, ebx
js 0x46ab66
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x46ab5f
mov eax, esp
mov dword [ebp - 4], ecx
mov esi, eax
mov dl, 6
mov eax, dword [ebp + 8]
call fcn.0042779c
mov dl, 1
mov eax, dword [0x4203ec]
call fcn.004261c4
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp + 8]
call fcn.00470bcc
mov eax, dword [ebp + 8]
mov edx, dword [eax]
call dword [edx + 0x20]
sub eax, 4
sub eax, 3
jl 0x46affd
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 3
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
call fcn.004268fc
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x28]
sub edx, 3
mov eax, dword [ebp + 8]
call fcn.004268fc
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x28]
sub edx, 2
mov eax, dword [ebp + 8]
call fcn.004268fc
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x28]
dec edx
mov eax, dword [ebp + 8]
call fcn.004268fc
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp + 8]
call fcn.004268fc
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x28]
inc edx
mov eax, dword [ebp + 8]
call fcn.004268fc
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x28]
add edx, 2
mov eax, dword [ebp + 8]
call fcn.004268fc
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x28]
add edx, 3
mov eax, dword [ebp + 8]
call fcn.004268fc
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, 4
sub eax, 3
jl 0x46aff1
inc eax
mov dword [ebp - 0x34], eax
mov ebx, 3
lea edi, [ebx + ebx*2]
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + edi - 7]
imul dword [esi]
mov edx, dword [ebp - 0xc]
movzx edx, byte [edx + edi - 4]
imul edx, dword [esi + 4]
add eax, edx
mov edx, dword [ebp - 0xc]
movzx edx, byte [edx + edi - 1]
imul edx, dword [esi + 8]
add eax, edx
mov edx, dword [ebp - 0xc]
movzx edx, byte [edx + edi + 2]
imul edx, dword [esi + 0xc]
add eax, edx
mov edx, dword [ebp - 0xc]
movzx edx, byte [edx + edi + 5]
imul edx, dword [esi + 0x10]
add eax, edx
mov edx, dword [ebp - 0xc]
movzx edx, byte [edx + edi + 8]
imul edx, dword [esi + 0x14]
add eax, edx
mov edx, dword [ebp - 0xc]
movzx edx, byte [edx + edi + 0xb]
imul edx, dword [esi + 0x18]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + edx - 7]
imul edx, dword [esi + 0x1c]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + edx - 4]
imul edx, dword [esi + 0x20]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + edx - 1]
imul edx, dword [esi + 0x24]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + edx + 2]
imul edx, dword [esi + 0x28]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + edx + 5]
imul edx, dword [esi + 0x2c]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + edx + 8]
imul edx, dword [esi + 0x30]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + edx + 0xb]
imul edx, dword [esi + 0x34]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + edx - 7]
imul edx, dword [esi + 0x38]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + edx - 4]
imul edx, dword [esi + 0x3c]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + edx - 1]
imul edx, dword [esi + 0x40]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + edx + 2]
imul edx, dword [esi + 0x44]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + edx + 5]
imul edx, dword [esi + 0x48]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + edx + 8]
imul edx, dword [esi + 0x4c]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + edx + 0xb]
imul edx, dword [esi + 0x50]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + edx - 7]
imul edx, dword [esi + 0x54]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + edx - 4]
imul edx, dword [esi + 0x58]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + edx - 1]
imul edx, dword [esi + 0x5c]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + edx + 2]
imul edx, dword [esi + 0x60]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + edx + 5]
imul edx, dword [esi + 0x64]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + edx + 8]
imul edx, dword [esi + 0x68]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + edx + 0xb]
imul edx, dword [esi + 0x6c]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + edx - 7]
imul edx, dword [esi + 0x70]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + edx - 4]
imul edx, dword [esi + 0x74]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + edx - 1]
imul edx, dword [esi + 0x78]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + edx + 2]
imul edx, dword [esi + 0x7c]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + edx + 5]
imul edx, dword [esi + 0x80]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + edx + 8]
imul edx, dword [esi + 0x84]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + edx + 0xb]
imul edx, dword [esi + 0x88]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + edx - 7]
imul edx, dword [esi + 0x8c]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + edx - 4]
imul edx, dword [esi + 0x90]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + edx - 1]
imul edx, dword [esi + 0x94]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + edx + 2]
imul edx, dword [esi + 0x98]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + edx + 5]
imul edx, dword [esi + 0x9c]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + edx + 8]
imul edx, dword [esi + 0xa0]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + edx + 0xb]
imul edx, dword [esi + 0xa4]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x24]
movzx edx, byte [ecx + edx - 7]
imul edx, dword [esi + 0xa8]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x24]
movzx edx, byte [ecx + edx - 4]
imul edx, dword [esi + 0xac]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x24]
movzx edx, byte [ecx + edx - 1]
imul edx, dword [esi + 0xb0]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x24]
movzx edx, byte [ecx + edx + 2]
imul edx, dword [esi + 0xb4]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x24]
movzx edx, byte [ecx + edx + 5]
imul edx, dword [esi + 0xb8]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x24]
movzx edx, byte [ecx + edx + 8]
imul edx, dword [esi + 0xbc]
add eax, edx
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 0x24]
movzx edx, byte [ecx + edx + 0xb]
imul edx, dword [esi + 0xc0]
add eax, edx
cdq
idiv dword [ebp - 4]
mov edx, eax
mov eax, 0xff
call fcn.004287ec
mov edx, eax
xor eax, eax
call fcn.0042887c
mov edx, dword [ebp - 8]
mov byte [edx + edi + 2], al
lea eax, [ebx + ebx*2]
mov edx, dword [ebp - 8]
mov al, byte [edx + eax + 2]
mov edx, dword [ebp - 8]
mov byte [edx + edi], al
mov eax, dword [ebp - 8]
mov al, byte [eax + edi + 2]
mov edx, dword [ebp - 8]
mov byte [edx + edi + 1], al
inc ebx
dec dword [ebp - 0x34]
jne 0x46ac4b
inc dword [ebp - 0x28]
dec dword [ebp - 0x30]
jne 0x46abb0
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
call fcn.00403904
mov edi, dword [ebp - 0x40]
mov esi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x38]
mov esp, ebp
pop ebp
ret 4