Function at 0x5664c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0x10]
movzx edx, byte [ebx + 3]
movzx ecx, byte [ebx + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [ebx + 1]
shl edx, 8
or edx, ecx
movzx ecx, byte [ebx]
push esi
movzx esi, byte [ebx + 6]
shl edx, 8
or edx, ecx
movzx ecx, byte [ebx + 7]
shl ecx, 8
or ecx, esi
movzx esi, byte [ebx + 5]
shl ecx, 8
or ecx, esi
movzx esi, byte [ebx + 4]
push edi
movzx edi, byte [ebx + 0xa]
shl ecx, 8
or ecx, esi
movzx esi, byte [ebx + 0xb]
shl esi, 8
or esi, edi
movzx edi, byte [ebx + 9]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
shl esi, 8
or esi, edi
movzx edi, byte [ebx + 8]
xor edx, dword [eax]
xor ecx, dword [eax + 4]
shl esi, 8
or esi, edi
movzx edi, byte [ebx + 0xf]
movzx ebx, byte [ebx + 0xe]
xor esi, dword [eax + 8]
shl edi, 8
or edi, ebx
mov ebx, dword [ebp + 0x10]
movzx ebx, byte [ebx + 0xd]
shl edi, 8
or edi, ebx
mov ebx, dword [ebp + 0x10]
movzx ebx, byte [ebx + 0xc]
shl edi, 8
or edi, ebx
xor edi, dword [eax + 0xc]
add eax, 0x10
cmp dword [ebp + 0xc], 0
mov dword [ebp - 4], edi
jne 0x566a1c
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
sar ebx, 1
dec ebx
mov dword [ebp - 8], ebx
test ebx, ebx
jle 0x5667c2
jmp 0x566590
shr edi, 8
and edi, 0xff
mov edi, dword [edi*4 + 0x6e7938]
mov ebx, esi
shr ebx, 0x10
and ebx, 0xff
xor edi, dword [ebx*4 + 0x6e7510]
mov ebx, ecx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x6e7110]
mov ebx, edx
and ebx, 0xff
xor edi, dword [ebx*4 + 0x6e7d38]
mov ebx, edx
xor edi, dword [eax]
shr ebx, 8
mov dword [ebp + 8], edi
mov edi, dword [ebp - 4]
and ebx, 0xff
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x6e7510]
xor edi, dword [ebx*4 + 0x6e7938]
mov ebx, esi
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x6e7110]
mov ebx, ecx
and ebx, 0xff
xor edi, dword [ebx*4 + 0x6e7d38]
mov ebx, edx
xor edi, dword [eax + 4]
shr ebx, 0x10
mov dword [ebp + 0x10], edi
and ebx, 0xff
mov edi, ecx
shr edi, 8
and edi, 0xff
mov edi, dword [edi*4 + 0x6e7938]
xor edi, dword [ebx*4 + 0x6e7510]
mov ebx, dword [ebp - 4]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x6e7110]
mov ebx, esi
and ebx, 0xff
xor edi, dword [ebx*4 + 0x6e7d38]
mov ebx, ecx
xor edi, dword [eax + 8]
shr esi, 8
shr ebx, 0x10
shr edx, 0x18
and esi, 0xff
mov ecx, dword [esi*4 + 0x6e7938]
and ebx, 0xff
xor ecx, dword [ebx*4 + 0x6e7510]
mov esi, edi
xor ecx, dword [edx*4 + 0x6e7110]
mov edx, dword [ebp - 4]
and edx, 0xff
xor ecx, dword [edx*4 + 0x6e7d38]
shr esi, 0x10
xor ecx, dword [eax + 0xc]
and esi, 0xff
mov edx, ecx
shr edx, 8
and edx, 0xff
mov edx, dword [edx*4 + 0x6e7938]
xor edx, dword [esi*4 + 0x6e7510]
mov esi, dword [ebp + 0x10]
mov ebx, esi
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x6e7110]
mov ebx, dword [ebp + 8]
and ebx, 0xff
xor edx, dword [ebx*4 + 0x6e7d38]
mov ebx, dword [ebp + 8]
xor edx, dword [eax + 0x10]
mov dword [ebp + 0xc], ecx
shr ecx, 0x10
shr ebx, 8
and ecx, 0xff
and ebx, 0xff
mov ecx, dword [ecx*4 + 0x6e7510]
xor ecx, dword [ebx*4 + 0x6e7938]
mov ebx, edi
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x6e7110]
mov ebx, esi
and ebx, 0xff
xor ecx, dword [ebx*4 + 0x6e7d38]
mov ebx, dword [ebp + 8]
shr ebx, 0x10
and ebx, 0xff
shr esi, 8
and esi, 0xff
mov esi, dword [esi*4 + 0x6e7938]
xor esi, dword [ebx*4 + 0x6e7510]
mov ebx, dword [ebp + 0xc]
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x6e7110]
mov ebx, edi
and ebx, 0xff
xor esi, dword [ebx*4 + 0x6e7d38]
mov ebx, dword [ebp + 0x10]
shr edi, 8
xor ecx, dword [eax + 0x14]
xor esi, dword [eax + 0x18]
and edi, 0xff
mov edi, dword [edi*4 + 0x6e7938]
shr ebx, 0x10
and ebx, 0xff
xor edi, dword [ebx*4 + 0x6e7510]
add eax, 0x20
mov ebx, edi
mov edi, dword [ebp + 8]
shr edi, 0x18
xor ebx, dword [edi*4 + 0x6e7110]
mov edi, dword [ebp + 0xc]
and edi, 0xff
xor ebx, dword [edi*4 + 0x6e7d38]
xor ebx, dword [eax - 4]
mov edi, ebx
mov ebx, dword [ebp - 8]
dec ebx
mov dword [ebp - 4], edi
mov dword [ebp - 8], ebx
test ebx, ebx
jg 0x566590
shr edi, 8
and edi, 0xff
mov edi, dword [edi*4 + 0x6e7938]
mov ebx, esi
shr ebx, 0x10
and ebx, 0xff
xor edi, dword [ebx*4 + 0x6e7510]
mov ebx, ecx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x6e7110]
mov ebx, edx
and ebx, 0xff
xor edi, dword [ebx*4 + 0x6e7d38]
mov ebx, edx
xor edi, dword [eax]
shr ebx, 8
mov dword [ebp + 8], edi
mov edi, dword [ebp - 4]
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x6e7510]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x6e7938]
mov ebx, esi
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x6e7110]
mov ebx, ecx
and ebx, 0xff
xor edi, dword [ebx*4 + 0x6e7d38]
mov ebx, edx
xor edi, dword [eax + 4]
shr ebx, 0x10
mov dword [ebp + 0x10], edi
mov edi, ecx
shr edi, 8
and edi, 0xff
mov edi, dword [edi*4 + 0x6e7938]
shr ecx, 0x10
and ebx, 0xff
xor edi, dword [ebx*4 + 0x6e7510]
mov ebx, dword [ebp - 4]
and ecx, 0xff
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x6e7110]
mov ebx, esi
shr esi, 8
and esi, 0xff
mov esi, dword [esi*4 + 0x6e7938]
xor esi, dword [ecx*4 + 0x6e7510]
mov ecx, dword [ebp - 4]
and ecx, 0xff
shr edx, 0x18
xor esi, dword [edx*4 + 0x6e7110]
and ebx, 0xff
xor esi, dword [ecx*4 + 0x6e7d38]
xor edi, dword [ebx*4 + 0x6e7d38]
xor esi, dword [eax + 0xc]
xor edi, dword [eax + 8]
mov dword [ebp + 0xc], esi
mov ecx, edi
shr ecx, 0x10
and ecx, 0xff
movzx edx, byte [ecx + 0x6e9138]
mov ecx, dword [ebp + 0x10]
shr ecx, 0x18
movzx ecx, byte [ecx + 0x6e9138]
shl ecx, 8
xor edx, ecx
mov ecx, esi
shr ecx, 8
and ecx, 0xff
movzx ecx, byte [ecx + 0x6e9138]
shl edx, 8
xor edx, ecx
mov ecx, dword [ebp + 8]
and ecx, 0xff
movzx ecx, byte [ecx + 0x6e9138]
shl edx, 8
xor edx, ecx
xor edx, dword [eax + 0x10]
mov ecx, esi
shr ecx, 0x10
and ecx, 0xff
movzx ecx, byte [ecx + 0x6e9138]
mov ebx, edi
shr ebx, 0x18
movzx ebx, byte [ebx + 0x6e9138]
shl ebx, 8
xor ecx, ebx
mov ebx, dword [ebp + 8]
shr ebx, 8
and ebx, 0xff
movzx ebx, byte [ebx + 0x6e9138]
shl ecx, 8
xor ecx, ebx
mov ebx, dword [ebp + 0x10]
and ebx, 0xff
movzx ebx, byte [ebx + 0x6e9138]
shr esi, 0x18
shl ecx, 8
xor ecx, ebx
mov ebx, dword [ebp + 8]
shr ebx, 0x10
and ebx, 0xff
movzx ebx, byte [ebx + 0x6e9138]
mov dword [ebp - 8], ebx
movzx ebx, byte [esi + 0x6e9138]
mov esi, dword [ebp - 8]
shl ebx, 8
xor esi, ebx
mov ebx, dword [ebp + 0x10]
shr ebx, 8
shl esi, 8
and ebx, 0xff
movzx ebx, byte [ebx + 0x6e9138]
xor esi, ebx
shl esi, 8
mov ebx, edi
and ebx, 0xff
movzx ebx, byte [ebx + 0x6e9138]
xor esi, ebx
xor esi, dword [eax + 0x18]
xor ecx, dword [eax + 0x14]
mov dword [ebp - 8], esi
mov esi, dword [ebp + 0x10]
shr esi, 0x10
and esi, 0xff
movzx ebx, byte [esi + 0x6e9138]
mov esi, dword [ebp + 8]
shr esi, 0x18
movzx esi, byte [esi + 0x6e9138]
shl esi, 8
xor ebx, esi
shr edi, 8
and edi, 0xff
movzx esi, byte [edi + 0x6e9138]
shl ebx, 8
xor ebx, esi
mov esi, dword [ebp + 0xc]
and esi, 0xff
movzx esi, byte [esi + 0x6e9138]
jmp 0x566eb9
mov edi, dword [ebp + 8]
mov edi, dword [edi]
sar edi, 1
dec edi
mov dword [ebp - 8], edi
test edi, edi
jle 0x566c68
nop
mov ebx, ecx
shr ebx, 8
and ebx, 0xff
mov edi, esi
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x6e8538]
xor edi, dword [ebx*4 + 0x6e8938]
mov ebx, dword [ebp - 4]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x6e8138]
mov ebx, edx
and ebx, 0xff
xor edi, dword [ebx*4 + 0x6e8d38]
mov ebx, esi
xor edi, dword [eax]
shr ebx, 8
mov dword [ebp + 8], edi
mov edi, dword [ebp - 4]
shr edi, 0x10
and ebx, 0xff
and edi, 0xff
mov edi, dword [edi*4 + 0x6e8538]
xor edi, dword [ebx*4 + 0x6e8938]
mov ebx, edx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x6e8138]
mov ebx, ecx
and ebx, 0xff
xor edi, dword [ebx*4 + 0x6e8d38]
mov ebx, edx
xor edi, dword [eax + 4]
shr ebx, 0x10
mov dword [ebp + 0x10], edi
mov edi, dword [ebp - 4]
shr edi, 8
and ebx, 0xff
and edi, 0xff
mov edi, dword [edi*4 + 0x6e8938]
xor edi, dword [ebx*4 + 0x6e8538]
mov ebx, ecx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x6e8138]
shr ecx, 0x10
and ecx, 0xff
shr edx, 8
and edx, 0xff
mov ebx, esi
and ebx, 0xff
xor edi, dword [ebx*4 + 0x6e8d38]
mov ebx, dword [ecx*4 + 0x6e8538]
xor ebx, dword [edx*4 + 0x6e8938]
xor edi, dword [eax + 8]
mov edx, dword [ebp - 4]
and edx, 0xff
shr esi, 0x18
xor ebx, dword [esi*4 + 0x6e8138]
mov ecx, edi
xor ebx, dword [edx*4 + 0x6e8d38]
mov edx, dword [ebp + 0x10]
xor ebx, dword [eax + 0xc]
shr ecx, 0x10
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x6e8538]
shr edx, 8
and edx, 0xff
xor ecx, dword [edx*4 + 0x6e8938]
mov edx, ebx
shr edx, 0x18
xor ecx, dword [edx*4 + 0x6e8138]
mov edx, dword [ebp + 8]
and edx, 0xff
xor ecx, dword [edx*4 + 0x6e8d38]
mov dword [ebp - 0xc], edi
xor ecx, dword [eax + 0x10]
mov dword [ebp + 0xc], ebx
mov edx, ecx
mov ecx, ebx
shr ecx, 0x10
and ecx, 0xff
mov esi, edi
mov ecx, dword [ecx*4 + 0x6e8538]
shr esi, 8
and esi, 0xff
xor ecx, dword [esi*4 + 0x6e8938]
mov esi, dword [ebp + 8]
shr esi, 0x18
xor ecx, dword [esi*4 + 0x6e8138]
mov esi, dword [ebp + 0x10]
shr ebx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x6e8938]
and esi, 0xff
xor ecx, dword [esi*4 + 0x6e8d38]
mov esi, dword [ebp + 8]
shr esi, 0x10
and esi, 0xff
xor ebx, dword [esi*4 + 0x6e8538]
mov esi, dword [ebp + 0x10]
and edi, 0xff
shr esi, 0x18
xor ebx, dword [esi*4 + 0x6e8138]
xor ecx, dword [eax + 0x14]
xor ebx, dword [edi*4 + 0x6e8d38]
mov edi, dword [ebp + 8]
xor ebx, dword [eax + 0x18]
shr edi, 8
mov esi, ebx
mov ebx, dword [ebp + 0x10]
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x6e8538]
and edi, 0xff
xor ebx, dword [edi*4 + 0x6e8938]
mov edi, dword [ebp - 0xc]
shr edi, 0x18
xor ebx, dword [edi*4 + 0x6e8138]
mov edi, dword [ebp + 0xc]
and edi, 0xff
xor ebx, dword [edi*4 + 0x6e8d38]
mov edi, dword [ebp - 8]
xor ebx, dword [eax + 0x1c]
dec edi
add eax, 0x20
mov dword [ebp - 4], ebx
mov dword [ebp - 8], edi
test edi, edi
jg 0x566a30
mov edi, esi
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x6e8538]
mov ebx, ecx
shr ebx, 8
and ebx, 0xff
xor edi, dword [ebx*4 + 0x6e8938]
mov ebx, dword [ebp - 4]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x6e8138]
mov ebx, edx
and ebx, 0xff
xor edi, dword [ebx*4 + 0x6e8d38]
mov ebx, esi
xor edi, dword [eax]
shr ebx, 8
mov dword [ebp + 8], edi
mov edi, dword [ebp - 4]
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x6e8538]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x6e8938]
mov ebx, edx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x6e8138]
mov ebx, ecx
and ebx, 0xff
xor edi, dword [ebx*4 + 0x6e8d38]
mov ebx, edx
xor edi, dword [eax + 4]
shr ebx, 0x10
mov dword [ebp + 0x10], edi
mov edi, dword [ebp - 4]
shr edi, 8
and ebx, 0xff
and edi, 0xff
mov edi, dword [edi*4 + 0x6e8938]
xor edi, dword [ebx*4 + 0x6e8538]
shr edx, 8
mov ebx, ecx
and edx, 0xff
shr ecx, 0x10
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x6e8138]
mov ebx, esi
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x6e8538]
xor ecx, dword [edx*4 + 0x6e8938]
mov edx, dword [ebp - 4]
shr esi, 0x18
xor ecx, dword [esi*4 + 0x6e8138]
and edx, 0xff
xor ecx, dword [edx*4 + 0x6e8d38]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x6e8d38]
xor ecx, dword [eax + 0xc]
xor edi, dword [eax + 8]
mov esi, ecx
shr esi, 0x18
movzx esi, byte [esi + 0x6e7010]
mov edx, edi
shr edx, 0x10
and edx, 0xff
movzx edx, byte [edx + 0x6e7010]
shl esi, 8
xor edx, esi
mov esi, dword [ebp + 0x10]
shr esi, 8
and esi, 0xff
movzx esi, byte [esi + 0x6e7010]
shl edx, 8
xor edx, esi
mov esi, dword [ebp + 8]
mov ebx, esi
and ebx, 0xff
movzx ebx, byte [ebx + 0x6e7010]
shl edx, 8
mov dword [ebp + 0xc], ecx
xor edx, ebx
mov ebx, esi
shr ebx, 0x18
movzx ebx, byte [ebx + 0x6e7010]
shl ebx, 8
shr ecx, 0x10
and ecx, 0xff
movzx ecx, byte [ecx + 0x6e7010]
xor ecx, ebx
mov ebx, edi
shr ebx, 8
and ebx, 0xff
movzx ebx, byte [ebx + 0x6e7010]
shr esi, 0x10
shl ecx, 8
xor ecx, ebx
mov ebx, dword [ebp + 0x10]
and ebx, 0xff
movzx ebx, byte [ebx + 0x6e7010]
and esi, 0xff
movzx esi, byte [esi + 0x6e7010]
shl ecx, 8
xor ecx, ebx
mov ebx, dword [ebp + 0x10]
shr ebx, 0x18
movzx ebx, byte [ebx + 0x6e7010]
shl ebx, 8
xor esi, ebx
mov ebx, dword [ebp + 0xc]
shl esi, 8
shr ebx, 8
and ebx, 0xff
movzx ebx, byte [ebx + 0x6e7010]
xor esi, ebx
shl esi, 8
mov ebx, edi
and ebx, 0xff
movzx ebx, byte [ebx + 0x6e7010]
xor esi, ebx
xor esi, dword [eax + 0x18]
xor edx, dword [eax + 0x10]
mov dword [ebp - 8], esi
mov esi, dword [ebp + 0x10]
shr esi, 0x10
xor ecx, dword [eax + 0x14]
and esi, 0xff
movzx ebx, byte [esi + 0x6e7010]
shr edi, 0x18
movzx esi, byte [edi + 0x6e7010]
shl esi, 8
xor ebx, esi
mov esi, dword [ebp + 8]
shr esi, 8
and esi, 0xff
movzx esi, byte [esi + 0x6e7010]
shl ebx, 8
xor ebx, esi
mov esi, dword [ebp + 0xc]
and esi, 0xff
movzx esi, byte [esi + 0x6e7010]
shl ebx, 8
xor ebx, esi
xor ebx, dword [eax + 0x1c]
mov esi, dword [ebp + 0x14]
mov eax, edx
shr eax, 8
mov byte [esi + 1], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 2], al
mov byte [esi], dl
shr edx, 0x18
mov eax, ecx
shr eax, 0x10
mov byte [esi + 3], dl
mov byte [esi + 4], cl
mov edx, ecx
shr ecx, 0x18
mov byte [esi + 6], al
mov eax, dword [ebp - 8]
shr edx, 8
mov byte [esi + 7], cl
mov ecx, eax
mov byte [esi + 5], dl
mov byte [esi + 8], al
mov edx, eax
shr ecx, 8
shr eax, 0x18
mov byte [esi + 9], cl
mov byte [esi + 0xb], al
mov eax, ebx
mov ecx, ebx
mov byte [esi + 0xc], bl
shr edx, 0x10
shr eax, 8
shr ecx, 0x10
shr ebx, 0x18
pop edi
mov byte [esi + 0xf], bl
mov byte [esi + 0xa], dl
mov byte [esi + 0xd], al
mov byte [esi + 0xe], cl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret