Function at 0x53dcb8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
movzx edx, byte [ecx + 3]
movzx eax, byte [ecx + 2]
movzx ebx, byte [ecx + 7]
shl edx, 8
or edx, eax
mov esi, dword [esi + 4]
movzx eax, byte [ecx + 1]
shl edx, 8
or edx, eax
shl ebx, 8
movzx eax, byte [ecx]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 6]
or ebx, eax
xor edx, dword [esi]
movzx eax, byte [ecx + 5]
shl ebx, 8
or ebx, eax
mov dword [ebp - 0xc], edx
movzx eax, byte [ecx + 4]
shl ebx, 8
or ebx, eax
movzx eax, byte [ecx + 0xb]
xor ebx, dword [esi + 4]
add esi, 8
shl eax, 8
mov dword [ebp + 0x10], eax
movzx eax, byte [ecx + 0xa]
or dword [ebp + 0x10], eax
shl dword [ebp + 0x10], 8
movzx eax, byte [ecx + 9]
or dword [ebp + 0x10], eax
movzx eax, byte [ecx + 8]
shl dword [ebp + 0x10], 8
or dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x10]
xor eax, dword [esi]
mov dword [ebp + 0x10], eax
movzx eax, byte [ecx + 0xf]
shl eax, 8
mov dword [ebp - 4], eax
movzx eax, byte [ecx + 0xe]
or dword [ebp - 4], eax
shl dword [ebp - 4], 8
movzx eax, byte [ecx + 0xd]
or dword [ebp - 4], eax
shl dword [ebp - 4], 8
movzx eax, byte [ecx + 0xc]
mov ecx, dword [ebp - 4]
or ecx, eax
mov dword [ebp - 8], ebx
mov eax, dword [ebp + 8]
push 4
pop edi
mov eax, dword [eax]
add esi, edi
sar eax, 1
xor ecx, dword [esi]
add esi, edi
dec eax
mov dword [ebp - 4], ecx
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x10], eax
jne 0x53e1ae
test eax, eax
jle 0x53df9e
mov eax, ecx
shr eax, 8
movzx ecx, al
mov eax, dword [ebp + 0x10]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x738a18]
push 4
pop edi
xor ecx, dword [eax*4 + 0x738e18]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x739218]
movzx eax, dl
xor ecx, dword [eax*4 + 0x738618]
xor ecx, dword [esi]
add esi, 4
mov eax, dword [ebp - 4]
shr eax, 0x10
mov dword [ebp + 8], ecx
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x738e18]
xor ecx, dword [eax*4 + 0x738a18]
mov eax, dword [ebp + 0x10]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x739218]
movzx eax, bl
xor ecx, dword [eax*4 + 0x738618]
mov eax, ebx
xor ecx, dword [esi]
add esi, edi
shr eax, 8
mov dword [ebp + 0xc], ecx
movzx ecx, al
mov eax, edx
shr eax, 0x10
movzx eax, al
mov ebx, dword [ecx*4 + 0x738a18]
mov ecx, dword [ebp + 0x10]
xor ebx, dword [eax*4 + 0x738e18]
mov eax, dword [ebp - 4]
shr eax, 0x18
xor ebx, dword [eax*4 + 0x739218]
movzx eax, cl
shr ecx, 8
movzx ecx, cl
xor ebx, dword [eax*4 + 0x738618]
mov eax, dword [ebp - 8]
mov edx, dword [ecx*4 + 0x738a18]
xor ebx, dword [esi]
add esi, edi
shr eax, 0x10
movzx eax, al
xor edx, dword [eax*4 + 0x738e18]
mov eax, dword [ebp - 0xc]
shr eax, 0x18
xor edx, dword [eax*4 + 0x739218]
mov eax, dword [ebp - 4]
movzx eax, al
xor edx, dword [eax*4 + 0x738618]
xor edx, dword [esi]
add esi, edi
mov eax, edx
shr eax, 8
movzx ecx, al
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x738a18]
xor ecx, dword [eax*4 + 0x738e18]
mov eax, dword [ebp + 0xc]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x739218]
mov eax, dword [ebp + 8]
movzx eax, al
xor ecx, dword [eax*4 + 0x738618]
xor ecx, dword [esi]
mov dword [ebp - 0xc], ecx
mov eax, edx
add esi, edi
shr eax, 0x10
movzx ecx, al
mov eax, dword [ebp + 8]
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x738e18]
xor ecx, dword [eax*4 + 0x738a18]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x739218]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp - 8]
movzx eax, cl
xor edi, dword [eax*4 + 0x738618]
mov eax, edi
mov dword [ebp - 8], edi
xor eax, dword [esi]
mov dword [ebp - 8], eax
mov eax, ecx
shr eax, 8
movzx ecx, al
mov eax, dword [ebp + 8]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x738a18]
xor ecx, dword [eax*4 + 0x738e18]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x739218]
movzx eax, bl
shr ebx, 8
xor ecx, dword [eax*4 + 0x738618]
xor ecx, dword [esi + 4]
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0x10], ecx
shr eax, 0x10
movzx eax, al
movzx ecx, bl
mov ebx, dword [ebp - 8]
mov ecx, dword [ecx*4 + 0x738a18]
xor ecx, dword [eax*4 + 0x738e18]
mov eax, dword [ebp + 8]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x739218]
movzx eax, dl
mov edx, dword [ebp - 0xc]
xor ecx, dword [eax*4 + 0x738618]
xor ecx, dword [esi + 8]
add esi, 0xc
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], eax
test eax, eax
jg 0x53dd96
mov eax, ecx
shr eax, 8
movzx ecx, al
mov eax, dword [ebp + 0x10]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x738a18]
xor ecx, dword [eax*4 + 0x738e18]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x739218]
movzx eax, dl
xor ecx, dword [eax*4 + 0x738618]
xor ecx, dword [esi]
mov eax, dword [ebp - 4]
shr eax, 0x10
mov dword [ebp + 8], ecx
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ebx, dword [ecx*4 + 0x738e18]
mov ecx, dword [ebp - 8]
xor ebx, dword [eax*4 + 0x738a18]
mov eax, dword [ebp + 0x10]
shr eax, 0x18
xor ebx, dword [eax*4 + 0x739218]
movzx eax, cl
xor ebx, dword [eax*4 + 0x738618]
mov eax, ecx
shr eax, 8
movzx ecx, al
mov eax, edx
shr eax, 0x10
movzx eax, al
xor ebx, dword [esi + 4]
mov edx, dword [ecx*4 + 0x738a18]
mov ecx, dword [ebp + 0x10]
xor edx, dword [eax*4 + 0x738e18]
mov eax, dword [ebp - 4]
shr eax, 0x18
xor edx, dword [eax*4 + 0x739218]
movzx eax, cl
shr ecx, 8
movzx ecx, cl
xor edx, dword [eax*4 + 0x738618]
mov eax, dword [ebp - 8]
mov ecx, dword [ecx*4 + 0x738a18]
shr eax, 0x10
movzx eax, al
xor edx, dword [esi + 8]
xor ecx, dword [eax*4 + 0x738e18]
mov eax, dword [ebp - 0xc]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x739218]
mov eax, dword [ebp - 4]
movzx eax, al
xor ecx, dword [eax*4 + 0x738618]
mov eax, edx
xor ecx, dword [esi + 0xc]
shr eax, 0x10
movzx eax, al
movzx edi, byte [eax + 0x738518]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x738518]
shl eax, 8
xor edi, eax
mov eax, ecx
shr eax, 8
movzx eax, al
shl edi, 8
movzx eax, byte [eax + 0x738518]
xor edi, eax
mov eax, dword [ebp + 8]
movzx eax, al
shl edi, 8
movzx eax, byte [eax + 0x738518]
xor edi, eax
xor edi, dword [esi + 0x10]
mov dword [ebp + 0x10], edi
mov eax, ecx
shr eax, 0x10
movzx eax, al
movzx edi, byte [eax + 0x738518]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + 0x738518]
shl eax, 8
xor edi, eax
mov eax, dword [ebp + 8]
shr eax, 8
movzx eax, al
shl edi, 8
movzx eax, byte [eax + 0x738518]
xor edi, eax
movzx eax, bl
shl edi, 8
movzx eax, byte [eax + 0x738518]
xor edi, eax
mov eax, dword [ebp + 8]
xor edi, dword [esi + 0x14]
shr eax, 0x10
movzx eax, al
mov dword [ebp + 0xc], edi
movzx edi, byte [eax + 0x738518]
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax + 0x738518]
shl eax, 8
xor edi, eax
mov eax, ebx
shr eax, 8
movzx eax, al
shl edi, 8
shr ebx, 0x10
movzx eax, byte [eax + 0x738518]
xor edi, eax
movzx eax, dl
shl edi, 8
shr edx, 8
movzx eax, byte [eax + 0x738518]
xor edi, eax
movzx eax, bl
xor edi, dword [esi + 0x18]
movzx ebx, byte [eax + 0x738518]
mov eax, dword [ebp + 8]
shr eax, 0x18
movzx eax, byte [eax + 0x738518]
shl eax, 8
xor ebx, eax
movzx eax, dl
shl ebx, 8
movzx eax, byte [eax + 0x738518]
xor ebx, eax
movzx eax, cl
shl ebx, 8
movzx eax, byte [eax + 0x738518]
xor ebx, eax
xor ebx, dword [esi + 0x1c]
jmp 0x53e5d6
test eax, eax
jle 0x53e3c3
mov eax, dword [ebp + 0x10]
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
push 4
mov ecx, dword [ecx*4 + 0x737d18]
pop edi
xor ecx, dword [eax*4 + 0x737918]
mov eax, dword [ebp - 4]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x738118]
movzx eax, dl
xor ecx, dword [eax*4 + 0x737518]
xor ecx, dword [esi]
add esi, 4
mov eax, dword [ebp - 4]
shr eax, 0x10
mov dword [ebp + 8], ecx
movzx ecx, al
mov eax, dword [ebp + 0x10]
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x737d18]
xor ecx, dword [eax*4 + 0x737918]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x738118]
movzx eax, bl
xor ecx, dword [eax*4 + 0x737518]
xor ecx, dword [esi]
add esi, edi
mov eax, dword [ebp - 4]
shr eax, 8
mov dword [ebp + 0xc], ecx
movzx ecx, al
mov eax, edx
shr eax, 0x10
movzx eax, al
shr edx, 8
mov ebx, dword [ecx*4 + 0x737918]
mov ecx, dword [ebp - 8]
xor ebx, dword [eax*4 + 0x737d18]
mov eax, ecx
shr eax, 0x18
shr ecx, 0x10
movzx ecx, cl
xor ebx, dword [eax*4 + 0x738118]
mov eax, dword [ebp + 0x10]
movzx eax, al
xor ebx, dword [eax*4 + 0x737518]
xor ebx, dword [esi]
add esi, edi
movzx eax, dl
mov edx, dword [ecx*4 + 0x737d18]
xor edx, dword [eax*4 + 0x737918]
mov eax, dword [ebp + 0x10]
shr eax, 0x18
xor edx, dword [eax*4 + 0x738118]
mov eax, dword [ebp - 4]
movzx eax, al
xor edx, dword [eax*4 + 0x737518]
mov eax, ebx
xor edx, dword [esi]
add esi, edi
shr eax, 0x10
movzx ecx, al
mov eax, dword [ebp + 0xc]
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x737d18]
xor ecx, dword [eax*4 + 0x737918]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x738118]
mov eax, dword [ebp + 8]
movzx eax, al
xor ecx, dword [eax*4 + 0x737518]
xor ecx, dword [esi]
mov dword [ebp - 0xc], ecx
mov eax, edx
add esi, edi
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
push 4
mov ecx, dword [ecx*4 + 0x737d18]
xor ecx, dword [eax*4 + 0x737918]
mov eax, dword [ebp + 8]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x738118]
mov eax, dword [ebp + 0xc]
movzx eax, al
xor ecx, dword [eax*4 + 0x737518]
mov eax, edx
xor ecx, dword [esi]
add esi, edi
shr eax, 8
mov dword [ebp - 8], ecx
movzx ecx, al
mov eax, dword [ebp + 8]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x737918]
xor ecx, dword [eax*4 + 0x737d18]
mov dword [ebp + 0x10], ecx
mov ecx, dword [ebp + 0xc]
mov eax, ecx
mov edi, dword [ebp + 0x10]
shr eax, 0x18
shr ecx, 0x10
movzx ecx, cl
xor edi, dword [eax*4 + 0x738118]
movzx eax, bl
mov ecx, dword [ecx*4 + 0x737d18]
shr ebx, 0x18
xor edi, dword [eax*4 + 0x737518]
mov eax, edi
mov dword [ebp + 0x10], edi
xor eax, dword [esi]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 8]
shr eax, 8
movzx eax, al
pop edi
add esi, edi
xor ecx, dword [eax*4 + 0x737918]
xor ecx, dword [ebx*4 + 0x738118]
mov ebx, dword [ebp - 8]
movzx eax, dl
mov edx, dword [ebp - 0xc]
xor ecx, dword [eax*4 + 0x737518]
xor ecx, dword [esi]
add esi, edi
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], eax
test eax, eax
jg 0x53e1b6
mov eax, dword [ebp + 0x10]
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x737d18]
xor ecx, dword [eax*4 + 0x737918]
mov eax, dword [ebp - 4]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x738118]
movzx eax, dl
xor ecx, dword [eax*4 + 0x737518]
xor ecx, dword [esi]
add esi, edi
mov eax, dword [ebp - 4]
shr eax, 0x10
mov dword [ebp + 8], ecx
movzx ecx, al
mov eax, dword [ebp + 0x10]
shr eax, 8
movzx eax, al
mov ebx, dword [ecx*4 + 0x737d18]
xor ebx, dword [eax*4 + 0x737918]
mov eax, edx
shr eax, 0x18
xor ebx, dword [eax*4 + 0x738118]
mov eax, dword [ebp - 8]
movzx eax, al
xor ebx, dword [eax*4 + 0x737518]
mov eax, dword [ebp - 4]
shr eax, 8
movzx ecx, al
mov eax, edx
shr eax, 0x10
movzx eax, al
xor ebx, dword [esi]
add esi, edi
mov edx, dword [ecx*4 + 0x737918]
mov ecx, dword [ebp - 8]
xor edx, dword [eax*4 + 0x737d18]
mov eax, ecx
shr eax, 0x18
shr ecx, 0x10
movzx ecx, cl
xor edx, dword [eax*4 + 0x738118]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ecx*4 + 0x737d18]
movzx eax, al
xor edx, dword [eax*4 + 0x737518]
mov eax, dword [ebp - 0xc]
shr eax, 8
movzx eax, al
xor edx, dword [esi]
add esi, edi
xor ecx, dword [eax*4 + 0x737918]
mov eax, dword [ebp + 0x10]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x738118]
mov eax, dword [ebp - 4]
movzx eax, al
xor ecx, dword [eax*4 + 0x737518]
mov eax, edx
xor ecx, dword [esi]
add esi, edi
shr eax, 0x10
movzx eax, al
movzx edi, byte [eax + 0x737418]
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax + 0x737418]
shl eax, 8
xor edi, eax
mov eax, ebx
shr eax, 8
movzx eax, al
shl edi, 8
movzx eax, byte [eax + 0x737418]
xor edi, eax
mov eax, dword [ebp + 8]
shl edi, 8
movzx eax, al
movzx eax, byte [eax + 0x737418]
xor edi, eax
mov eax, ecx
xor edi, dword [esi]
shr eax, 0x10
movzx eax, al
mov dword [ebp + 0x10], edi
movzx edi, byte [eax + 0x737418]
mov eax, dword [ebp + 8]
shr eax, 0x18
movzx eax, byte [eax + 0x737418]
shl eax, 8
xor edi, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl edi, 8
movzx eax, byte [eax + 0x737418]
xor edi, eax
movzx eax, bl
shl edi, 8
movzx eax, byte [eax + 0x737418]
xor edi, eax
mov eax, dword [ebp + 8]
xor edi, dword [esi + 4]
shr eax, 0x10
movzx eax, al
mov dword [ebp + 0xc], edi
movzx edi, byte [eax + 0x737418]
mov eax, ebx
shr eax, 0x18
shr ebx, 0x10
movzx eax, byte [eax + 0x737418]
shl eax, 8
xor edi, eax
mov eax, ecx
shr eax, 8
movzx eax, al
shl edi, 8
movzx eax, byte [eax + 0x737418]
xor edi, eax
movzx eax, dl
shl edi, 8
shr edx, 0x18
movzx eax, byte [eax + 0x737418]
xor edi, eax
movzx eax, bl
xor edi, dword [esi + 8]
movzx ebx, byte [eax + 0x737418]
movzx eax, byte [edx + 0x737418]
shl eax, 8
xor ebx, eax
mov eax, dword [ebp + 8]
shr eax, 8
movzx eax, al
shl ebx, 8
movzx eax, byte [eax + 0x737418]
xor ebx, eax
movzx eax, cl
shl ebx, 8
movzx eax, byte [eax + 0x737418]
xor ebx, eax
xor ebx, dword [esi + 0xc]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, edx
shr eax, 8
mov dword [ebp - 0x10], edi
mov byte [ecx + 1], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 2], al
mov byte [ecx], dl
shr edx, 0x18
mov byte [ecx + 3], dl
mov edx, dword [ebp + 0xc]
mov eax, edx
shr eax, 8
mov byte [ecx + 5], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 4], dl
mov byte [ecx + 6], al
shr edx, 0x18
mov byte [ecx + 7], dl
mov edx, edi
mov eax, edx
mov byte [ecx + 8], dl
shr eax, 8
mov byte [ecx + 9], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 0xa], al
mov eax, ebx
shr eax, 8
mov byte [ecx + 0xd], al
mov eax, ebx
shr edx, 0x18
mov byte [ecx + 0xc], bl
shr eax, 0x10
pop edi
shr ebx, 0x18
pop esi
mov byte [ecx + 0xf], bl
mov byte [ecx + 0xb], dl
mov byte [ecx + 0xe], al
pop ebx
mov esp, ebp
pop ebp
ret