Function at 0x556850
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]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
xor edx, dword [eax]
shl ecx, 8
or ecx, esi
movzx esi, byte [ebx + 0xb]
xor ecx, dword [eax + 4]
shl esi, 8
or esi, edi
movzx edi, byte [ebx + 9]
shl esi, 8
or esi, edi
movzx edi, byte [ebx + 8]
shl esi, 8
or esi, edi
movzx edi, byte [ebx + 0xf]
shl edi, 8
or edi, ebp
movzx ebp, byte [ebx + 0xd]
movzx ebx, byte [ebx + 0xc]
shl edi, 8
or edi, ebp
add eax, 4
xor esi, dword [eax + 4]
shl edi, 8
or edi, ebx
mov ebx, dword [esp + 0x18]
mov ebx, dword [ebx]
add eax, 4
xor edi, dword [eax + 4]
add eax, 4
sar ebx, 1
dec ebx
add eax, 4
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x1c], ebx
jne 0x556dbb
test ebx, ebx
jle 0x556b50
mov ebx, edi
shr ebx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x6dce20]
mov ebp, esi
shr ebp, 0x10
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x6dca20]
mov ebp, ecx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x6dc620]
mov ebp, edx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x6dd220]
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 + 0x6dca20]
xor ebx, dword [ebp*4 + 0x6dce20]
mov ebp, esi
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x6dc620]
mov ebp, ecx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x6dd220]
add eax, 4
xor ebx, dword [eax]
mov ebp, edx
mov dword [esp + 0x18], ebx
mov ebx, ecx
shr ebp, 0x10
shr ebx, 8
and ebp, 0xff
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x6dce20]
xor ebx, dword [ebp*4 + 0x6dca20]
mov ebp, edi
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x6dc620]
shr ecx, 0x10
and ecx, 0xff
mov ebp, esi
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x6dd220]
shr esi, 8
xor ebx, dword [eax + 4]
shr edx, 0x18
and esi, 0xff
mov ebp, dword [esi*4 + 0x6dce20]
xor ebp, dword [ecx*4 + 0x6dca20]
mov esi, dword [esp + 0x20]
xor ebp, dword [edx*4 + 0x6dc620]
add eax, 4
and edi, 0xff
xor ebp, dword [edi*4 + 0x6dd220]
add eax, 4
xor ebp, dword [eax]
mov ecx, ebx
shr ecx, 0x10
mov edx, ebp
shr edx, 8
and edx, 0xff
mov edx, dword [edx*4 + 0x6dce20]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x6dca20]
mov ecx, dword [esp + 0x18]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x6dc620]
mov ecx, esi
and ecx, 0xff
xor edx, dword [ecx*4 + 0x6dd220]
add eax, 4
xor edx, dword [eax]
mov ecx, ebp
add eax, 4
shr ecx, 0x10
mov edi, esi
shr edi, 8
and edi, 0xff
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x6dca20]
xor ecx, dword [edi*4 + 0x6dce20]
mov edi, ebx
shr edi, 0x18
xor ecx, dword [edi*4 + 0x6dc620]
mov edi, dword [esp + 0x18]
and edi, 0xff
xor ecx, dword [edi*4 + 0x6dd220]
mov edi, dword [esp + 0x18]
xor ecx, dword [eax]
shr edi, 8
and edi, 0xff
mov edi, dword [edi*4 + 0x6dce20]
shr esi, 0x10
and esi, 0xff
xor edi, dword [esi*4 + 0x6dca20]
mov esi, ebp
shr esi, 0x18
xor edi, dword [esi*4 + 0x6dc620]
mov esi, ebx
and esi, 0xff
xor edi, dword [esi*4 + 0x6dd220]
add eax, 4
xor edi, dword [eax]
shr ebx, 8
mov esi, edi
mov edi, dword [esp + 0x18]
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x6dce20]
shr edi, 0x10
and edi, 0xff
xor ebx, dword [edi*4 + 0x6dca20]
mov edi, dword [esp + 0x20]
shr edi, 0x18
xor ebx, dword [edi*4 + 0x6dc620]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x6dd220]
add eax, 4
xor ebx, dword [eax]
add eax, 4
mov edi, ebx
mov ebx, dword [esp + 0x1c]
dec ebx
mov dword [esp + 0x1c], ebx
test ebx, ebx
jg 0x556912
mov ebp, esi
shr ebp, 0x10
and ebp, 0xff
mov ebx, edi
shr ebx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x6dce20]
xor ebx, dword [ebp*4 + 0x6dca20]
mov ebp, ecx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x6dc620]
mov ebp, edx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x6dd220]
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 + 0x6dca20]
xor ebx, dword [ebp*4 + 0x6dce20]
mov ebp, esi
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x6dc620]
mov ebp, ecx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x6dd220]
add eax, 4
xor ebx, dword [eax]
mov ebp, edx
mov dword [esp + 0x18], ebx
mov ebx, ecx
shr ebp, 0x10
shr ebx, 8
and ebp, 0xff
and ebx, 0xff
mov dword [esp + 0x1c], ebp
mov ebp, dword [ebx*4 + 0x6dce20]
mov ebx, dword [esp + 0x1c]
xor ebp, dword [ebx*4 + 0x6dca20]
mov ebx, edi
shr ebx, 0x18
xor ebp, dword [ebx*4 + 0x6dc620]
mov ebx, esi
shr ecx, 0x10
shr esi, 8
and ecx, 0xff
and esi, 0xff
mov esi, dword [esi*4 + 0x6dce20]
xor esi, dword [ecx*4 + 0x6dca20]
mov ecx, dword [esp + 0x18]
shr edx, 0x18
xor esi, dword [edx*4 + 0x6dc620]
and ebx, 0xff
xor ebp, dword [ebx*4 + 0x6dd220]
add eax, 4
xor ebp, dword [eax]
shr ecx, 0x18
movzx ecx, byte [ecx + 0x6dd620]
mov edx, ebp
shr edx, 0x10
and edx, 0xff
movzx edx, byte [edx + 0x6dd620]
and edi, 0xff
xor esi, dword [edi*4 + 0x6dd220]
mov edi, dword [esp + 0x20]
xor esi, dword [eax + 4]
shl ecx, 8
add eax, 4
xor edx, ecx
mov ecx, esi
shr ecx, 8
and ecx, 0xff
movzx ecx, byte [ecx + 0x6dd620]
shl edx, 8
xor edx, ecx
add eax, 4
shl edx, 8
mov ecx, edi
and ecx, 0xff
movzx ecx, byte [ecx + 0x6dd620]
xor edx, ecx
mov ecx, esi
shr ecx, 0x10
and ecx, 0xff
movzx ecx, byte [ecx + 0x6dd620]
mov ebx, ebp
shr ebx, 0x18
movzx ebx, byte [ebx + 0x6dd620]
shl ebx, 8
xor ecx, ebx
mov ebx, edi
shr ebx, 8
and ebx, 0xff
movzx ebx, byte [ebx + 0x6dd620]
shl ecx, 8
xor ecx, ebx
mov ebx, dword [esp + 0x18]
and ebx, 0xff
movzx ebx, byte [ebx + 0x6dd620]
shr edi, 0x10
and edi, 0xff
movzx edi, byte [edi + 0x6dd620]
xor edx, dword [eax]
shl ecx, 8
xor ecx, ebx
xor ecx, dword [eax + 4]
mov ebx, esi
shr ebx, 0x18
movzx ebx, byte [ebx + 0x6dd620]
shl ebx, 8
xor edi, ebx
mov ebx, dword [esp + 0x18]
shr ebx, 8
shl edi, 8
and ebx, 0xff
movzx ebx, byte [ebx + 0x6dd620]
xor edi, ebx
shl edi, 8
mov ebx, ebp
and ebx, 0xff
movzx ebx, byte [ebx + 0x6dd620]
xor edi, ebx
add eax, 4
xor edi, dword [eax + 4]
add eax, 4
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x18]
shr edi, 0x10
and edi, 0xff
movzx ebx, byte [edi + 0x6dd620]
mov edi, dword [esp + 0x20]
shr edi, 0x18
movzx edi, byte [edi + 0x6dd620]
shl edi, 8
shr ebp, 8
xor ebx, edi
and ebp, 0xff
movzx edi, byte [ebp + 0x6dd620]
shl ebx, 8
xor ebx, edi
and esi, 0xff
movzx esi, byte [esi + 0x6dd620]
jmp 0x557270
test ebx, ebx
jle 0x557006
mov ebp, ecx
shr ebp, 8
and ebp, 0xff
mov ebx, esi
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x6ddb20]
xor ebx, dword [ebp*4 + 0x6ddf20]
mov ebp, edi
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x6dd720]
mov ebp, edx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x6de320]
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 + 0x6ddb20]
xor ebx, dword [ebp*4 + 0x6ddf20]
mov ebp, edx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x6dd720]
mov ebp, ecx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x6de320]
add eax, 4
xor ebx, dword [eax]
mov ebp, edx
mov dword [esp + 0x18], ebx
shr ebp, 0x10
and ebp, 0xff
mov ebx, edi
shr ebx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x6ddf20]
xor ebx, dword [ebp*4 + 0x6ddb20]
mov ebp, ecx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x6dd720]
shr ecx, 0x10
and ecx, 0xff
shr edx, 8
and edx, 0xff
mov ebp, esi
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x6de320]
mov ebp, dword [ecx*4 + 0x6ddb20]
xor ebp, dword [edx*4 + 0x6ddf20]
xor ebx, dword [eax + 4]
mov ecx, dword [esp + 0x18]
add eax, 4
shr esi, 0x18
xor ebp, dword [esi*4 + 0x6dd720]
shr ecx, 8
and edi, 0xff
xor ebp, dword [edi*4 + 0x6de320]
mov edi, dword [esp + 0x20]
xor ebp, dword [eax + 4]
mov edx, ebx
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + 0x6ddb20]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x6ddf20]
add eax, 4
mov ecx, ebp
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x6dd720]
mov ecx, edi
and ecx, 0xff
xor edx, dword [ecx*4 + 0x6de320]
add eax, 4
xor edx, dword [eax]
mov dword [esp + 0x10], ebp
add eax, 4
mov ecx, ebp
shr ecx, 0x10
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x6ddb20]
mov esi, ebx
shr esi, 8
and esi, 0xff
xor ecx, dword [esi*4 + 0x6ddf20]
mov esi, edi
shr esi, 0x18
xor ecx, dword [esi*4 + 0x6dd720]
mov esi, dword [esp + 0x18]
shr ebp, 8
and esi, 0xff
xor ecx, dword [esi*4 + 0x6de320]
and ebp, 0xff
mov ebp, dword [ebp*4 + 0x6ddf20]
xor ecx, dword [eax]
mov esi, edi
shr esi, 0x10
and esi, 0xff
xor ebp, dword [esi*4 + 0x6ddb20]
mov esi, dword [esp + 0x18]
shr esi, 0x18
xor ebp, dword [esi*4 + 0x6dd720]
mov esi, ebx
and esi, 0xff
xor ebp, dword [esi*4 + 0x6de320]
add eax, 4
xor ebp, dword [eax]
shr edi, 8
mov esi, ebp
mov ebp, dword [esp + 0x18]
shr ebp, 0x10
and ebp, 0xff
mov ebp, dword [ebp*4 + 0x6ddb20]
and edi, 0xff
xor ebp, dword [edi*4 + 0x6ddf20]
mov edi, dword [esp + 0x10]
shr ebx, 0x18
xor ebp, dword [ebx*4 + 0x6dd720]
mov ebx, dword [esp + 0x1c]
and edi, 0xff
xor ebp, dword [edi*4 + 0x6de320]
add eax, 4
xor ebp, dword [eax]
dec ebx
add eax, 4
mov edi, ebp
mov dword [esp + 0x1c], ebx
test ebx, ebx
jg 0x556dc3
mov ebx, esi
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x6ddb20]
mov ebp, ecx
shr ebp, 8
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x6ddf20]
mov ebp, edi
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x6dd720]
mov ebp, edx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x6de320]
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 + 0x6ddb20]
xor ebx, dword [ebp*4 + 0x6ddf20]
mov ebp, edx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x6dd720]
mov ebp, ecx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x6de320]
add eax, 4
xor ebx, dword [eax]
mov ebp, edx
mov dword [esp + 0x18], ebx
mov ebx, edi
shr ebp, 0x10
shr ebx, 8
and ebp, 0xff
and ebx, 0xff
mov dword [esp + 0x1c], ebp
mov ebp, dword [ebx*4 + 0x6ddf20]
mov ebx, dword [esp + 0x1c]
xor ebp, dword [ebx*4 + 0x6ddb20]
mov ebx, ecx
shr ecx, 0x10
shr edx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x6ddb20]
and edx, 0xff
xor ecx, dword [edx*4 + 0x6ddf20]
shr ebx, 0x18
xor ebp, dword [ebx*4 + 0x6dd720]
mov ebx, esi
shr esi, 0x18
xor ecx, dword [esi*4 + 0x6dd720]
and edi, 0xff
xor ecx, dword [edi*4 + 0x6de320]
and ebx, 0xff
xor ebp, dword [ebx*4 + 0x6de320]
add eax, 4
xor ebp, dword [eax]
xor ecx, dword [eax + 4]
add eax, 4
mov edx, ebp
shr edx, 0x10
mov esi, ecx
shr esi, 0x18
movzx esi, byte [esi + 0x6de720]
and edx, 0xff
movzx edx, byte [edx + 0x6de720]
shl esi, 8
xor edx, esi
mov esi, dword [esp + 0x18]
mov edi, esi
shr edi, 8
and edi, 0xff
movzx edi, byte [edi + 0x6de720]
shl edx, 8
add eax, 4
mov dword [esp + 0x10], ecx
xor edx, edi
mov edi, dword [esp + 0x20]
mov ebx, edi
and ebx, 0xff
movzx ebx, byte [ebx + 0x6de720]
shr ecx, 0x10
shl edx, 8
xor edx, ebx
and ecx, 0xff
movzx ecx, byte [ecx + 0x6de720]
mov ebx, edi
shr ebx, 0x18
movzx ebx, byte [ebx + 0x6de720]
shl ebx, 8
xor ecx, ebx
and esi, 0xff
movzx esi, byte [esi + 0x6de720]
mov ebx, ebp
shr ebx, 8
and ebx, 0xff
movzx ebx, byte [ebx + 0x6de720]
shl ecx, 8
xor ecx, ebx
mov ebx, dword [esp + 0x18]
shr ebx, 0x18
movzx ebx, byte [ebx + 0x6de720]
xor edx, dword [eax]
shl ecx, 8
xor ecx, esi
xor ecx, dword [eax + 4]
shl ebx, 8
mov esi, edi
shr esi, 0x10
and esi, 0xff
movzx esi, byte [esi + 0x6de720]
xor esi, ebx
mov ebx, dword [esp + 0x10]
shr ebx, 8
shl esi, 8
and ebx, 0xff
movzx ebx, byte [ebx + 0x6de720]
xor esi, ebx
shl esi, 8
mov ebx, ebp
and ebx, 0xff
movzx ebx, byte [ebx + 0x6de720]
xor esi, ebx
add eax, 4
xor esi, dword [eax + 4]
add eax, 4
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x18]
shr esi, 0x10
and esi, 0xff
movzx ebx, byte [esi + 0x6de720]
shr ebp, 0x18
movzx esi, byte [ebp + 0x6de720]
shl esi, 8
xor ebx, esi
shr edi, 8
and edi, 0xff
movzx esi, byte [edi + 0x6de720]
shl ebx, 8
xor ebx, esi
mov esi, dword [esp + 0x10]
and esi, 0xff
movzx esi, byte [esi + 0x6de720]
shl ebx, 8
xor ebx, esi
xor ebx, dword [eax + 4]
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