Function at 0x517b60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x613384]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
movzx edx, byte [esi + 3]
movzx ecx, byte [esi + 2]
mov eax, dword [edi + 4]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 1]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 6]
mov dword [ebp - 0x24], edx
mov ebx, dword [eax]
xor ebx, edx
movzx edx, byte [esi + 7]
shl edx, 8
or edx, ecx
mov dword [ebp - 0x24], ebx
movzx ecx, byte [esi + 5]
shl edx, 8
or edx, ecx
mov dword [ebp - 0x30], ebx
movzx ecx, byte [esi + 4]
shl edx, 8
or edx, ecx
mov dword [ebp - 0x20], edx
mov ecx, dword [eax + 4]
xor ecx, edx
movzx edx, byte [esi + 0xb]
shl edx, 8
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], ecx
movzx ecx, byte [esi + 0xa]
or edx, ecx
movzx ecx, byte [esi + 9]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 8]
shl edx, 8
or edx, ecx
mov dword [ebp - 0x1c], edx
mov ecx, dword [eax + 8]
xor ecx, edx
movzx edx, byte [esi + 0xf]
shl edx, 8
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [esi + 0xe]
or edx, ecx
movzx ecx, byte [esi + 0xd]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 0xc]
mov esi, dword [edi]
shl edx, 8
or edx, ecx
sar esi, 1
mov dword [ebp - 0x18], edx
dec esi
mov ecx, dword [eax + 0xc]
add eax, 0x10
xor ecx, edx
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x2c]
mov edx, ecx
shr edx, 8
mov dword [ebp - 0x64], edx
mov edx, dword [ebp - 0x28]
mov edi, edx
shr edi, 0x10
mov dword [ebp - 0x60], edi
mov edi, dword [ebp - 0x44]
shr edx, 8
mov dword [ebp - 0x54], ecx
shr dword [ebp - 0x54], 0x18
shr ecx, 0x10
mov dword [ebp - 0x58], edx
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x68], ecx
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x50], edx
shr dword [ebp - 0x50], 8
mov dword [ebp - 0x4c], ebx
shr dword [ebp - 0x4c], 0x10
mov dword [ebp - 0x34], edx
shr dword [ebp - 0x34], 0x10
mov dword [ebp - 0x3c], ebx
shr dword [ebp - 0x3c], 0x18
mov dword [ebp - 0x38], ebx
shr dword [ebp - 0x38], 8
mov dword [ebp - 0x48], ecx
shr dword [ebp - 0x48], 0x18
shr edi, 0x18
test esi, esi
jle 0x517f3d
shr ecx, 0x10
movzx ecx, cl
shr edx, 0x18
mov edx, dword [edx*4 + 0x619478]
xor edx, dword [ecx*4 + 0x619078]
mov ecx, dword [ebp - 0x2c]
shr ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x618c78]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x618878]
xor edx, dword [eax]
mov ecx, dword [ebp - 0x44]
shr ecx, 0x10
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x34], edx
movzx edx, cl
mov ecx, dword [ebp - 0x28]
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x619078]
xor edx, dword [ecx*4 + 0x618c78]
mov ecx, ebx
mov ebx, dword [ebp - 0x2c]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x619478]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x618878]
xor edx, dword [eax + 4]
mov ecx, dword [ebp - 0x44]
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x40], edx
mov edx, ebx
shr edx, 0x18
mov ebx, dword [ecx*4 + 0x618c78]
xor ebx, dword [edx*4 + 0x619478]
mov edx, dword [ebp - 0x30]
mov ecx, edx
shr ecx, 0x10
movzx ecx, cl
shr edx, 8
xor ebx, dword [ecx*4 + 0x619078]
mov ecx, dword [ebp - 0x28]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x618878]
xor ebx, dword [eax + 8]
mov ecx, dword [ebp - 0x2c]
shr ecx, 0x10
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0x28]
movzx ecx, cl
shr ebx, 0x18
mov ebx, dword [ebx*4 + 0x619478]
xor ebx, dword [ecx*4 + 0x619078]
movzx ecx, dl
xor ebx, dword [ecx*4 + 0x618c78]
mov ecx, dword [ebp - 0x44]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x618878]
mov ecx, dword [ebp - 0x48]
xor ebx, dword [eax + 0xc]
shr ecx, 0x10
movzx edx, cl
mov ecx, dword [ebp - 0x40]
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x619078]
mov dword [ebp - 8], ebx
xor edx, dword [ecx*4 + 0x618c78]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x619478]
mov ecx, dword [ebp - 0x34]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x618878]
xor edx, dword [eax + 0x10]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x24], edx
mov ecx, edx
shr ecx, 8
mov dword [ebp - 0x38], ecx
mov ecx, edx
shr ecx, 0x10
mov dword [ebp - 0x4c], ecx
mov ecx, edx
shr ecx, 0x18
mov dword [ebp - 0x3c], ecx
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
mov ecx, dword [ebp - 0x48]
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x619078]
xor edx, dword [ecx*4 + 0x618c78]
mov ecx, dword [ebp - 0x34]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x619478]
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x2c]
movzx ecx, dl
shr edx, 0x18
xor esi, dword [ecx*4 + 0x618878]
mov edx, dword [edx*4 + 0x619478]
mov ecx, esi
xor ecx, dword [eax + 0x14]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x2c], esi
mov esi, ecx
mov dword [ebp - 0x2c], ecx
shr esi, 0x10
mov dword [ebp - 0x68], esi
mov esi, ecx
shr ecx, 8
mov dword [ebp - 0x64], ecx
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
shr esi, 0x18
mov dword [ebp - 0x54], esi
xor edx, dword [ecx*4 + 0x618c78]
mov ecx, dword [ebp - 0x34]
shr ecx, 0x10
movzx ecx, cl
xor edx, dword [ecx*4 + 0x619078]
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x28]
movzx ecx, dl
shr edx, 0x18
xor esi, dword [ecx*4 + 0x618878]
mov edx, dword [edx*4 + 0x619478]
mov ecx, esi
xor ecx, dword [eax + 0x18]
mov dword [ebp - 0x28], esi
mov esi, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x28], ecx
shr esi, 0x18
mov dword [ebp - 0x48], esi
mov esi, ecx
shr ecx, 0x10
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp - 0x40]
shr ecx, 0x10
movzx ecx, cl
shr esi, 8
mov dword [ebp - 0x58], esi
xor edx, dword [ecx*4 + 0x619078]
mov ecx, dword [ebp - 0x34]
shr ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x618c78]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x618878]
xor edx, dword [eax + 0x1c]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x18], edx
mov ebx, dword [ebp - 0x30]
mov ecx, edx
shr ecx, 8
mov edi, edx
mov dword [ebp - 0x50], ecx
add eax, 0x20
mov ecx, edx
shr edi, 0x18
shr ecx, 0x10
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x5c]
dec ecx
mov dword [ebp - 0x5c], ecx
test ecx, ecx
mov ecx, dword [ebp - 0x28]
jg 0x517ca6
mov ecx, ebx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x60]
lea esi, [eax + 0xc]
movzx ecx, cl
mov edx, dword [ebp - 0x64]
movzx edx, dl
mov ebx, dword [ecx*4 + 0x619078]
mov ecx, dword [ebp - 0x30]
xor ebx, dword [edx*4 + 0x618c78]
movzx ecx, cl
mov edx, dword [ebp - 0x58]
movzx edx, dl
xor ebx, dword [ecx*4 + 0x618878]
xor ebx, dword [edi*4 + 0x619478]
xor ebx, dword [eax]
mov ecx, dword [ebp - 0x34]
movzx ecx, cl
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x14], ebx
mov ebx, dword [ecx*4 + 0x619078]
xor ebx, dword [edx*4 + 0x618c78]
mov ecx, dword [ebp - 0x2c]
movzx ecx, cl
mov edx, dword [ebp - 0x50]
movzx edx, dl
xor ebx, dword [ecx*4 + 0x618878]
mov ecx, dword [ebp - 0x3c]
xor ebx, dword [ecx*4 + 0x619478]
xor ebx, dword [eax + 4]
mov ecx, dword [ebp - 0x4c]
movzx ecx, cl
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x10], ebx
mov ebx, dword [ecx*4 + 0x619078]
xor ebx, dword [edx*4 + 0x618c78]
mov ecx, dword [ebp - 0x28]
movzx ecx, cl
mov edx, dword [ebp - 0x38]
movzx edx, dl
xor ebx, dword [ecx*4 + 0x618878]
mov ecx, dword [ebp - 0x54]
xor ebx, dword [ecx*4 + 0x619478]
mov ecx, dword [ebp - 0x68]
xor ebx, dword [eax + 8]
movzx ecx, cl
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x58], ebx
mov ecx, dword [ecx*4 + 0x619078]
xor ecx, dword [edx*4 + 0x618c78]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x38]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x618878]
mov ecx, dword [ebp - 0x48]
xor edx, dword [ecx*4 + 0x619478]
xor edx, dword [eax + 0xc]
mov ecx, edx
mov dword [ebp - 8], edx
shr ecx, 0x18
mov dword [ebp - 0x38], edx
movzx ecx, byte [ecx + 0x618778]
shl ecx, 8
mov dword [ebp - 0x30], ecx
mov ecx, ebx
mov ebx, dword [ebp - 0x30]
shr ecx, 0x10
movzx ecx, cl
movzx ecx, byte [ecx + 0x618778]
xor ebx, ecx
mov ecx, dword [ebp - 0x3c]
shr ecx, 8
movzx ecx, cl
shl ebx, 8
movzx ecx, byte [ecx + 0x618778]
xor ebx, ecx
mov ecx, dword [ebp - 0x40]
movzx ecx, cl
shl ebx, 8
movzx ecx, byte [ecx + 0x618778]
xor ebx, ecx
xor ebx, dword [eax + 0x10]
mov ecx, dword [ebp - 0x58]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x30], ebx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x24], ebx
movzx ebx, byte [eax + 0x618778]
mov eax, dword [ebp - 0x40]
shr eax, 0x18
movzx eax, byte [eax + 0x618778]
shl eax, 8
xor ebx, eax
mov eax, ecx
shr eax, 8
movzx eax, al
shl ebx, 8
movzx eax, byte [eax + 0x618778]
xor ebx, eax
movzx eax, dl
shl ebx, 8
movzx eax, byte [eax + 0x618778]
xor ebx, eax
mov eax, edx
shr eax, 0x18
xor ebx, dword [esi + 8]
mov dword [ebp - 0x20], ebx
movzx edx, byte [eax + 0x618778]
mov eax, dword [ebp - 0x40]
shr eax, 0x10
movzx eax, al
shl edx, 8
movzx eax, byte [eax + 0x618778]
xor edx, eax
mov eax, dword [ebp - 0x38]
shr eax, 8
movzx eax, al
shl edx, 8
movzx eax, byte [eax + 0x618778]
xor edx, eax
movzx eax, cl
shr ecx, 0x18
shl edx, 8
movzx eax, byte [eax + 0x618778]
movzx ecx, byte [ecx + 0x618778]
xor edx, eax
mov eax, dword [ebp - 0x3c]
shr eax, 0x10
movzx eax, al
xor edx, dword [esi + 0xc]
shl ecx, 8
mov dword [ebp - 0x1c], edx
movzx eax, byte [eax + 0x618778]
xor ecx, eax
mov eax, dword [ebp - 0x40]
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x618778]
xor ecx, eax
mov eax, dword [ebp - 0x38]
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x618778]
xor ecx, eax
mov eax, dword [ebp - 0x30]
xor ecx, dword [esi + 0x10]
mov esi, dword [ebp - 0x6c]
mov dword [ebp - 0x18], ecx
mov byte [esi], al
shr eax, 8
mov byte [esi + 1], al
mov eax, dword [ebp - 0x30]
shr eax, 0x10
mov byte [esi + 2], al
mov eax, dword [ebp - 0x30]
shr eax, 0x18
mov byte [esi + 3], al
mov eax, ebx
mov byte [esi + 4], bl
shr eax, 8
mov byte [esi + 5], al
mov eax, ebx
shr eax, 0x10
mov byte [esi + 6], al
mov eax, edx
shr eax, 8
mov byte [esi + 9], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 0xa], al
mov eax, ecx
shr eax, 8
mov byte [esi + 0xd], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0xe], al
lea eax, [ebp - 0x24]
mov byte [esi + 8], dl
mov byte [esi + 0xc], cl
shr edx, 0x18
shr ecx, 0x18
push 0x20
shr ebx, 0x18
push eax
mov byte [esi + 7], bl
mov byte [esi + 0xb], dl
mov byte [esi + 0xf], cl
call fcn.0050f8d0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.00544c5a
mov esp, ebp
pop ebp
ret