Function at 0x10175ef0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x14
mov eax, dword [0x1026d48c]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
xor eax, eax
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
lea ebp, [esi + 0x4e0]
push ebp
lea edx, [esp + 0x14]
push edx
xor edi, edi
call eax
xor eax, eax
mov dword [esi + 0x520], eax
mov dword [esi + 0x524], eax
mov dword [esi + 0x528], eax
mov dword [esi + 0x52c], eax
mov dword [esi + 0x4f0], eax
mov dword [esi + 0x4f4], eax
mov dword [esi + 0x4f8], eax
mov dword [esi + 0x4fc], eax
mov dword [esi + 0x534], edi
mov dword [esi + 0x530], edi
mov dword [esi + 0x538], edi
mov dword [esi + 0x540], edi
mov dword [esi + 0x544], edi
mov dword [esi + 0x548], edi
mov dword [esi + 0x54c], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
xor ebx, ebx
jmp 0x10175fa0
mov ecx, dword [esi + 0x550]
lea edx, [ecx + edi + 4]
push edx
lea ecx, [esp + 0x14]
mov edx, ebp
mov byte [esp + 0x14], bl
call fcn.10171ab0
add edi, 0x10
add esp, 4
add ebx, 1
cmp edi, 0x1000
jl 0x10175fa0
mov eax, 0x1000
mov ebp, 0x100
jmp 0x10175fe0
mov ecx, dword [esi + 0x550]
movzx edx, byte [ecx + eax - 0xfee]
movzx edi, byte [ecx + eax - 0xfed]
mov byte [ecx + eax + 0x13], dl
add ecx, eax
mov ecx, dword [esi + 0x550]
movzx edx, byte [ecx + eax - 0xfef]
mov byte [ecx + eax + 0x12], dl
add ecx, eax
mov ecx, dword [esi + 0x550]
movzx edx, byte [eax + ecx - 0xff0]
mov byte [eax + ecx + 0x11], dl
mov ecx, dword [esi + 0x550]
movzx edx, byte [ecx + eax - 0xff1]
mov byte [ecx + eax + 0x10], dl
add ecx, eax
mov ecx, dword [esi + 0x550]
movzx edx, byte [ecx + eax - 0xff2]
mov byte [ecx + eax + 0xf], dl
add ecx, eax
mov ecx, dword [esi + 0x550]
movzx edx, byte [ecx + eax - 0xff3]
mov byte [ecx + eax + 0xe], dl
add ecx, eax
mov ecx, dword [esi + 0x550]
movzx edx, byte [ecx + eax - 0xff4]
mov byte [ecx + eax + 0xd], dl
add ecx, eax
mov ecx, dword [esi + 0x550]
movzx edx, byte [ecx + eax - 0xff5]
mov byte [ecx + eax + 0xc], dl
add ecx, eax
mov ecx, dword [esi + 0x550]
movzx edx, byte [ecx + eax - 0xff6]
mov byte [ecx + eax + 0xb], dl
add ecx, eax
mov ecx, dword [esi + 0x550]
movzx edx, byte [ecx + eax - 0xff7]
mov byte [ecx + eax + 0xa], dl
add ecx, eax
mov ecx, dword [esi + 0x550]
movzx edx, byte [ecx + eax - 0xff8]
mov byte [ecx + eax + 9], dl
add ecx, eax
mov ecx, dword [esi + 0x550]
movzx edx, byte [ecx + eax - 0xff9]
add ecx, eax
mov byte [ecx + 8], dl
mov ecx, dword [esi + 0x550]
movzx edx, byte [ecx + eax - 0xffa]
add ecx, eax
mov byte [ecx + 7], dl
mov ecx, dword [esi + 0x550]
movzx edx, byte [ecx + eax - 0xffb]
add ecx, eax
mov byte [ecx + 6], dl
mov ecx, dword [esi + 0x550]
movzx edx, byte [ecx + eax - 0xffc]
add ecx, eax
mov byte [ecx + 5], dl
movzx edx, byte [edi*2 + 0x10234488]
mov ecx, dword [esi + 0x550]
mov byte [eax + ecx + 4], dl
mov ecx, dword [esi + 0x550]
movzx edx, byte [edi*2 + 0x10234489]
xor byte [eax + ecx + 5], dl
lea ecx, [eax + ecx + 5]
add eax, 0x10
sub ebp, 1
jne 0x10175fe0
cmp eax, 0x10000
jl 0x10175fd0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov al, 1
call fcn.1018f87e
add esp, 0x14
ret 0x10