Function at 0x57b1d0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x14]
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]
shl edx, 8
or edx, ecx
movzx ecx, byte [ebx + 7]
push ebp
push esi
movzx esi, byte [ebx + 6]
shl ecx, 8
or ecx, esi
movzx esi, byte [ebx + 5]
movzx ebp, byte [ebx + 0xe]
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 [esp + 0x18]
mov eax, dword [eax + 4]
xor edx, dword [eax]
xor ecx, dword [eax + 4]
shl esi, 8
or esi, edi
movzx edi, byte [ebx + 8]
shl esi, 8
or esi, edi
movzx edi, byte [ebx + 0xf]
xor esi, dword [eax + 8]
shl edi, 8
or edi, ebp
movzx ebp, byte [ebx + 0xd]
movzx ebx, byte [ebx + 0xc]
shl edi, 8
or edi, ebp
shl edi, 8
or edi, ebx
mov ebx, dword [esp + 0x18]
mov ebx, dword [ebx]
xor edi, dword [eax + 0xc]
sar ebx, 1
dec ebx
add eax, 0x10
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x1c], ebx
jne 0x57b71b
test ebx, ebx
jle 0x57b4bf
lea esp, [esp]
mov ebx, edi
shr ebx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x71a838]
mov ebp, esi
shr ebp, 0x10
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x71a438]
mov ebp, ecx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x71a038]
mov ebp, edx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x71ac38]
mov ebp, edx
xor ebx, dword [eax]
shr ebp, 8
mov dword [esp + 0x20], ebx
and ebp, 0xff
mov ebx, edi
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x71a438]
xor ebx, dword [ebp*4 + 0x71a838]
mov ebp, esi
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x71a038]
mov ebp, ecx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x71ac38]
mov ebp, edx
xor ebx, dword [eax + 4]
shr ebp, 0x10
mov dword [esp + 0x18], ebx
mov ebx, ecx
shr ebx, 8
and ebp, 0xff
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x71a838]
xor ebx, dword [ebp*4 + 0x71a438]
mov ebp, edi
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x71a038]
shr ecx, 0x10
and ecx, 0xff
mov ebp, esi
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x71ac38]
shr esi, 8
xor ebx, dword [eax + 8]
shr edx, 0x18
and esi, 0xff
mov ebp, dword [esi*4 + 0x71a838]
xor ebp, dword [ecx*4 + 0x71a438]
mov esi, dword [esp + 0x20]
xor ebp, dword [edx*4 + 0x71a038]
and edi, 0xff
xor ebp, dword [edi*4 + 0x71ac38]
mov ecx, ebx
xor ebp, dword [eax + 0xc]
shr ecx, 0x10
and ecx, 0xff
mov edx, ebp
shr edx, 8
and edx, 0xff
mov edx, dword [edx*4 + 0x71a838]
xor edx, dword [ecx*4 + 0x71a438]
mov ecx, dword [esp + 0x18]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x71a038]
mov ecx, esi
and ecx, 0xff
xor edx, dword [ecx*4 + 0x71ac38]
mov ecx, ebp
xor edx, dword [eax + 0x10]
shr ecx, 0x10
mov edi, esi
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x71a438]
shr edi, 8
and edi, 0xff
xor ecx, dword [edi*4 + 0x71a838]
mov edi, ebx
shr edi, 0x18
xor ecx, dword [edi*4 + 0x71a038]
mov edi, dword [esp + 0x18]
and edi, 0xff
xor ecx, dword [edi*4 + 0x71ac38]
mov edi, dword [esp + 0x18]
shr edi, 8
and edi, 0xff
mov edi, dword [edi*4 + 0x71a838]
shr esi, 0x10
and esi, 0xff
xor edi, dword [esi*4 + 0x71a438]
mov esi, ebp
shr esi, 0x18
xor edi, dword [esi*4 + 0x71a038]
mov esi, ebx
and esi, 0xff
xor edi, dword [esi*4 + 0x71ac38]
xor ecx, dword [eax + 0x14]
xor edi, dword [eax + 0x18]
shr ebx, 8
mov esi, edi
mov edi, dword [esp + 0x18]
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x71a838]
shr edi, 0x10
and edi, 0xff
xor ebx, dword [edi*4 + 0x71a438]
mov edi, dword [esp + 0x20]
shr edi, 0x18
xor ebx, dword [edi*4 + 0x71a038]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x71ac38]
add eax, 0x20
xor ebx, dword [eax - 4]
mov edi, ebx
mov ebx, dword [esp + 0x1c]
dec ebx
mov dword [esp + 0x1c], ebx
test ebx, ebx
jg 0x57b290
mov ebp, esi
shr ebp, 0x10
and ebp, 0xff
mov ebx, edi
shr ebx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x71a838]
xor ebx, dword [ebp*4 + 0x71a438]
mov ebp, ecx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x71a038]
mov ebp, edx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x71ac38]
mov ebp, edx
xor ebx, dword [eax]
shr ebp, 8
mov dword [esp + 0x20], ebx
and ebp, 0xff
mov ebx, edi
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x71a438]
xor ebx, dword [ebp*4 + 0x71a838]
mov ebp, esi
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x71a038]
mov ebp, ecx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x71ac38]
mov ebp, edx
xor ebx, dword [eax + 4]
shr ebp, 0x10
mov dword [esp + 0x18], ebx
mov ebx, ecx
shr ebx, 8
and ebp, 0xff
and ebx, 0xff
mov dword [esp + 0x1c], ebp
mov ebp, dword [ebx*4 + 0x71a838]
mov ebx, dword [esp + 0x1c]
xor ebp, dword [ebx*4 + 0x71a438]
shr ecx, 0x10
mov ebx, edi
and ecx, 0xff
shr ebx, 0x18
xor ebp, dword [ebx*4 + 0x71a038]
mov ebx, esi
shr esi, 8
and esi, 0xff
mov esi, dword [esi*4 + 0x71a838]
xor esi, dword [ecx*4 + 0x71a438]
mov ecx, dword [esp + 0x18]
shr edx, 0x18
xor esi, dword [edx*4 + 0x71a038]
and ebx, 0xff
xor ebp, dword [ebx*4 + 0x71ac38]
shr ecx, 0x18
xor ebp, dword [eax + 8]
movzx ecx, byte [ecx + 0x71b038]
mov edx, ebp
shr edx, 0x10
and edx, 0xff
movzx edx, byte [edx + 0x71b038]
shl ecx, 8
xor edx, ecx
and edi, 0xff
xor esi, dword [edi*4 + 0x71ac38]
mov edi, dword [esp + 0x20]
xor esi, dword [eax + 0xc]
shl edx, 8
mov ecx, esi
shr ecx, 8
and ecx, 0xff
movzx ecx, byte [ecx + 0x71b038]
xor edx, ecx
mov ecx, edi
and ecx, 0xff
movzx ecx, byte [ecx + 0x71b038]
shl edx, 8
xor edx, ecx
mov ecx, esi
shr ecx, 0x10
and ecx, 0xff
movzx ecx, byte [ecx + 0x71b038]
mov ebx, ebp
shr ebx, 0x18
movzx ebx, byte [ebx + 0x71b038]
shl ebx, 8
xor ecx, ebx
mov ebx, edi
shr ebx, 8
and ebx, 0xff
movzx ebx, byte [ebx + 0x71b038]
shl ecx, 8
xor ecx, ebx
mov ebx, dword [esp + 0x18]
and ebx, 0xff
movzx ebx, byte [ebx + 0x71b038]
shr edi, 0x10
and edi, 0xff
movzx edi, byte [edi + 0x71b038]
shl ecx, 8
xor ecx, ebx
mov ebx, esi
shr ebx, 0x18
movzx ebx, byte [ebx + 0x71b038]
shl ebx, 8
xor edi, ebx
mov ebx, dword [esp + 0x18]
shr ebx, 8
shl edi, 8
and ebx, 0xff
movzx ebx, byte [ebx + 0x71b038]
xor edi, ebx
shl edi, 8
mov ebx, ebp
and ebx, 0xff
movzx ebx, byte [ebx + 0x71b038]
xor edi, ebx
xor edi, dword [eax + 0x18]
xor edx, dword [eax + 0x10]
xor ecx, dword [eax + 0x14]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x18]
shr edi, 0x10
and edi, 0xff
movzx ebx, byte [edi + 0x71b038]
mov edi, dword [esp + 0x20]
shr edi, 0x18
movzx edi, byte [edi + 0x71b038]
shl edi, 8
shr ebp, 8
xor ebx, edi
and ebp, 0xff
movzx edi, byte [ebp + 0x71b038]
shl ebx, 8
xor ebx, edi
and esi, 0xff
movzx esi, byte [esi + 0x71b038]
jmp 0x57bbb1
test ebx, ebx
jle 0x57b956
mov ebp, ecx
shr ebp, 8
and ebp, 0xff
mov ebx, esi
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x71b538]
xor ebx, dword [ebp*4 + 0x71b938]
mov ebp, edi
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x71b138]
mov ebp, edx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x71bd38]
mov ebp, esi
xor ebx, dword [eax]
shr ebp, 8
mov dword [esp + 0x20], ebx
and ebp, 0xff
mov ebx, edi
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x71b538]
xor ebx, dword [ebp*4 + 0x71b938]
mov ebp, edx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x71b138]
mov ebp, ecx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x71bd38]
mov ebp, edx
xor ebx, dword [eax + 4]
shr ebp, 0x10
mov dword [esp + 0x18], ebx
and ebp, 0xff
mov ebx, edi
shr ebx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x71b938]
xor ebx, dword [ebp*4 + 0x71b538]
mov ebp, ecx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x71b138]
shr ecx, 0x10
and ecx, 0xff
shr edx, 8
mov ebp, esi
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x71bd38]
mov ebp, dword [ecx*4 + 0x71b538]
xor ebx, dword [eax + 8]
mov ecx, dword [esp + 0x18]
and edx, 0xff
xor ebp, dword [edx*4 + 0x71b938]
shr esi, 0x18
xor ebp, dword [esi*4 + 0x71b138]
shr ecx, 8
and ecx, 0xff
and edi, 0xff
xor ebp, dword [edi*4 + 0x71bd38]
mov edi, dword [esp + 0x20]
xor ebp, dword [eax + 0xc]
mov edx, ebx
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + 0x71b538]
xor edx, dword [ecx*4 + 0x71b938]
mov ecx, ebp
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x71b138]
mov ecx, edi
and ecx, 0xff
xor edx, dword [ecx*4 + 0x71bd38]
mov ecx, ebp
xor edx, dword [eax + 0x10]
shr ecx, 0x10
mov esi, ebx
shr esi, 8
and ecx, 0xff
mov dword [esp + 0x10], ebp
and esi, 0xff
mov ecx, dword [ecx*4 + 0x71b538]
xor ecx, dword [esi*4 + 0x71b938]
mov esi, edi
shr esi, 0x18
xor ecx, dword [esi*4 + 0x71b138]
mov esi, dword [esp + 0x18]
shr ebp, 8
and esi, 0xff
xor ecx, dword [esi*4 + 0x71bd38]
and ebp, 0xff
mov ebp, dword [ebp*4 + 0x71b938]
mov esi, edi
shr esi, 0x10
and esi, 0xff
xor ebp, dword [esi*4 + 0x71b538]
mov esi, dword [esp + 0x18]
shr esi, 0x18
xor ebp, dword [esi*4 + 0x71b138]
xor ecx, dword [eax + 0x14]
mov esi, ebx
and esi, 0xff
xor ebp, dword [esi*4 + 0x71bd38]
shr edi, 8
xor ebp, dword [eax + 0x18]
and edi, 0xff
mov esi, ebp
mov ebp, dword [esp + 0x18]
shr ebp, 0x10
and ebp, 0xff
mov ebp, dword [ebp*4 + 0x71b538]
xor ebp, dword [edi*4 + 0x71b938]
mov edi, dword [esp + 0x10]
shr ebx, 0x18
xor ebp, dword [ebx*4 + 0x71b138]
mov ebx, dword [esp + 0x1c]
and edi, 0xff
xor ebp, dword [edi*4 + 0x71bd38]
dec ebx
xor ebp, dword [eax + 0x1c]
add eax, 0x20
mov edi, ebp
mov dword [esp + 0x1c], ebx
test ebx, ebx
jg 0x57b723
mov ebx, esi
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x71b538]
mov ebp, ecx
shr ebp, 8
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x71b938]
mov ebp, edi
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x71b138]
mov ebp, edx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x71bd38]
mov ebp, esi
xor ebx, dword [eax]
shr ebp, 8
mov dword [esp + 0x20], ebx
and ebp, 0xff
mov ebx, edi
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x71b538]
xor ebx, dword [ebp*4 + 0x71b938]
mov ebp, edx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x71b138]
mov ebp, ecx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x71bd38]
mov ebp, edx
xor ebx, dword [eax + 4]
shr ebp, 0x10
mov dword [esp + 0x18], ebx
mov ebx, edi
shr ebx, 8
and ebx, 0xff
and ebp, 0xff
mov dword [esp + 0x1c], ebp
mov ebp, dword [ebx*4 + 0x71b938]
mov ebx, dword [esp + 0x1c]
xor ebp, dword [ebx*4 + 0x71b538]
mov ebx, ecx
shr edx, 8
shr ecx, 0x10
and edx, 0xff
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x71b538]
xor ecx, dword [edx*4 + 0x71b938]
shr ebx, 0x18
xor ebp, dword [ebx*4 + 0x71b138]
mov ebx, esi
shr esi, 0x18
xor ecx, dword [esi*4 + 0x71b138]
and edi, 0xff
xor ecx, dword [edi*4 + 0x71bd38]
and ebx, 0xff
xor ebp, dword [ebx*4 + 0x71bd38]
xor ecx, dword [eax + 0xc]
xor ebp, dword [eax + 8]
mov esi, ecx
shr esi, 0x18
movzx esi, byte [esi + 0x71c138]
mov edx, ebp
shr edx, 0x10
and edx, 0xff
movzx edx, byte [edx + 0x71c138]
shl esi, 8
xor edx, esi
mov esi, dword [esp + 0x18]
mov edi, esi
shr edi, 8
and edi, 0xff
movzx edi, byte [edi + 0x71c138]
shl edx, 8
xor edx, edi
mov edi, dword [esp + 0x20]
mov ebx, edi
shl edx, 8
mov dword [esp + 0x10], ecx
and ebx, 0xff
movzx ebx, byte [ebx + 0x71c138]
xor edx, ebx
shr ecx, 0x10
and ecx, 0xff
movzx ecx, byte [ecx + 0x71c138]
mov ebx, edi
shr ebx, 0x18
movzx ebx, byte [ebx + 0x71c138]
shl ebx, 8
xor ecx, ebx
and esi, 0xff
movzx esi, byte [esi + 0x71c138]
mov ebx, ebp
shr ebx, 8
and ebx, 0xff
movzx ebx, byte [ebx + 0x71c138]
shl ecx, 8
xor ecx, ebx
mov ebx, dword [esp + 0x18]
shr ebx, 0x18
movzx ebx, byte [ebx + 0x71c138]
shl ecx, 8
xor ecx, esi
shl ebx, 8
mov esi, edi
shr esi, 0x10
and esi, 0xff
movzx esi, byte [esi + 0x71c138]
xor esi, ebx
mov ebx, dword [esp + 0x10]
shr ebx, 8
shl esi, 8
and ebx, 0xff
movzx ebx, byte [ebx + 0x71c138]
xor esi, ebx
shl esi, 8
mov ebx, ebp
and ebx, 0xff
movzx ebx, byte [ebx + 0x71c138]
xor esi, ebx
xor esi, dword [eax + 0x18]
xor edx, dword [eax + 0x10]
xor ecx, dword [eax + 0x14]
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x18]
shr esi, 0x10
and esi, 0xff
movzx ebx, byte [esi + 0x71c138]
shr ebp, 0x18
movzx esi, byte [ebp + 0x71c138]
shl esi, 8
xor ebx, esi
shr edi, 8
and edi, 0xff
movzx esi, byte [edi + 0x71c138]
shl ebx, 8
xor ebx, esi
mov esi, dword [esp + 0x10]
and esi, 0xff
movzx esi, byte [esi + 0x71c138]
shl ebx, 8
xor ebx, esi
xor ebx, dword [eax + 0x1c]
mov esi, dword [esp + 0x24]
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 [esp + 0x1c]
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 ebp
pop ebx
pop ecx
ret