Function at 0x523118
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 8], edx
mov esi, 0x61a99c
mov edi, 0x61a97c
mov ebp, esp
movzx edx, byte [ebp + 7]
test dl, 0x40
seta al
mov byte [edi], al
test dl, 0x80
seta al
mov byte [esi], al
movzx ecx, byte [ebp + 6]
test cl, 0x40
seta al
mov byte [edi + 1], al
test cl, 0x80
seta al
mov byte [esi + 1], al
movzx eax, byte [ebp + 5]
test al, 0x40
seta bl
mov byte [edi + 2], bl
test al, 0x80
seta bl
mov byte [esi + 2], bl
test byte [ebp + 4], 0x40
seta bl
mov byte [edi + 3], bl
test byte [ebp + 4], 0x80
seta bl
mov byte [esi + 3], bl
test byte [ebp + 3], 0x40
seta bl
mov byte [edi + 4], bl
test byte [ebp + 3], 0x80
seta bl
mov byte [esi + 4], bl
test byte [ebp + 2], 0x40
seta bl
mov byte [edi + 5], bl
test byte [ebp + 2], 0x80
seta bl
mov byte [esi + 5], bl
test byte [ebp + 1], 0x40
seta bl
mov byte [edi + 6], bl
test byte [ebp + 1], 0x80
seta bl
mov byte [esi + 6], bl
test byte [ebp], 0x40
seta bl
mov byte [edi + 7], bl
test byte [ebp], 0x80
seta bl
mov byte [esi + 7], bl
test dl, 0x10
seta bl
mov byte [edi + 8], bl
test dl, 0x20
seta dl
mov byte [esi + 8], dl
test cl, 0x10
seta dl
mov byte [edi + 9], dl
test cl, 0x20
seta dl
mov byte [esi + 9], dl
test al, 0x10
seta dl
mov byte [edi + 0xa], dl
test al, 0x20
seta al
mov byte [esi + 0xa], al
test byte [ebp + 4], 0x10
seta al
mov byte [edi + 0xb], al
test byte [ebp + 4], 0x20
seta al
mov byte [esi + 0xb], al
test byte [ebp + 3], 0x10
seta al
mov byte [edi + 0xc], al
test byte [ebp + 3], 0x20
seta al
mov byte [esi + 0xc], al
test byte [ebp + 2], 0x10
seta al
mov byte [edi + 0xd], al
test byte [ebp + 2], 0x20
seta al
mov byte [esi + 0xd], al
test byte [ebp + 1], 0x10
seta al
mov byte [edi + 0xe], al
test byte [ebp + 1], 0x20
seta al
mov byte [esi + 0xe], al
test byte [ebp], 0x10
seta al
mov byte [edi + 0xf], al
test byte [ebp], 0x20
seta al
mov byte [esi + 0xf], al
test byte [ebp + 7], 4
seta al
mov byte [edi + 0x10], al
test byte [ebp + 7], 8
seta al
mov byte [esi + 0x10], al
test byte [ebp + 6], 4
seta al
mov byte [edi + 0x11], al
test byte [ebp + 6], 8
seta al
mov byte [esi + 0x11], al
test byte [ebp + 5], 4
seta al
mov byte [edi + 0x12], al
test byte [ebp + 5], 8
seta al
mov byte [esi + 0x12], al
test byte [ebp + 4], 4
seta al
mov byte [edi + 0x13], al
test byte [ebp + 4], 8
seta al
mov byte [esi + 0x13], al
test byte [ebp + 3], 4
seta al
mov byte [edi + 0x14], al
test byte [ebp + 3], 8
seta al
mov byte [esi + 0x14], al
test byte [ebp + 2], 4
seta al
mov byte [edi + 0x15], al
test byte [ebp + 2], 8
seta al
mov byte [esi + 0x15], al
test byte [ebp + 1], 4
seta al
mov byte [edi + 0x16], al
test byte [ebp + 1], 8
seta al
mov byte [esi + 0x16], al
test byte [ebp], 4
seta al
mov byte [edi + 0x17], al
test byte [ebp], 8
seta al
mov byte [esi + 0x17], al
movzx eax, byte [ebp + 7]
and al, 1
mov byte [edi + 0x18], al
test byte [ebp + 7], 2
seta al
mov byte [esi + 0x18], al
movzx eax, byte [ebp + 6]
and al, 1
mov byte [edi + 0x19], al
test byte [ebp + 6], 2
seta al
mov byte [esi + 0x19], al
movzx eax, byte [ebp + 5]
and al, 1
mov byte [edi + 0x1a], al
test byte [ebp + 5], 2
seta al
mov byte [esi + 0x1a], al
movzx eax, byte [ebp + 4]
and al, 1
mov byte [edi + 0x1b], al
test byte [ebp + 4], 2
seta al
mov byte [esi + 0x1b], al
movzx eax, byte [ebp + 3]
and al, 1
mov byte [edi + 0x1c], al
test byte [ebp + 3], 2
seta al
mov byte [esi + 0x1c], al
movzx eax, byte [ebp + 2]
and al, 1
mov byte [edi + 0x1d], al
test byte [ebp + 2], 2
seta al
mov byte [esi + 0x1d], al
movzx eax, byte [ebp + 1]
and al, 1
mov byte [edi + 0x1e], al
test byte [ebp + 1], 2
seta al
mov byte [esi + 0x1e], al
movzx eax, byte [ebp]
and al, 1
mov byte [edi + 0x1f], al
test byte [ebp], 2
seta al
mov byte [esi + 0x1f], al
mov dl, 0x10
mov eax, 0x61a67c
movzx ecx, byte [esi + 0x1f]
xor cl, byte [eax]
movzx ecx, cl
shl ecx, 5
movzx ebx, byte [esi + 4]
xor bl, byte [eax + 5]
movzx ebx, bl
shl ebx, 4
or cx, bx
movzx ebx, byte [esi]
xor bl, byte [eax + 1]
movzx ebx, bl
add ebx, ebx
add ebx, ebx
add ebx, ebx
or cx, bx
movzx ebx, byte [esi + 1]
xor bl, byte [eax + 2]
movzx ebx, bl
add ebx, ebx
add ebx, ebx
or cx, bx
movzx ebx, byte [esi + 2]
xor bl, byte [eax + 3]
movzx ebx, bl
add ebx, ebx
or cx, bx
movzx ebx, byte [esi + 3]
xor bl, byte [eax + 4]
movzx ebx, bl
or cx, bx
movzx ebx, cx
movzx ebx, byte [ebx + 0x60b100]
xor bl, byte [edi + 8]
mov byte [0x61a9c4], bl
movzx ebx, cx
movzx ebx, byte [ebx + 0x60b300]
xor bl, byte [edi + 0x10]
mov byte [0x61a9cc], bl
movzx ebx, cx
movzx ebx, byte [ebx + 0x60b500]
xor bl, byte [edi + 0x16]
mov byte [0x61a9d2], bl
movzx ecx, cx
movzx ecx, byte [ecx + 0x60b700]
xor cl, byte [edi + 0x1e]
mov byte [0x61a9da], cl
movzx ecx, byte [esi + 3]
xor cl, byte [eax + 6]
movzx ecx, cl
shl ecx, 5
movzx ebx, byte [esi + 8]
xor bl, byte [eax + 0xb]
movzx ebx, bl
shl ebx, 4
or cx, bx
movzx ebx, byte [esi + 4]
xor bl, byte [eax + 7]
movzx ebx, bl
add ebx, ebx
add ebx, ebx
add ebx, ebx
or cx, bx
movzx ebx, byte [esi + 5]
xor bl, byte [eax + 8]
movzx ebx, bl
add ebx, ebx
add ebx, ebx
or cx, bx
movzx ebx, byte [esi + 6]
xor bl, byte [eax + 9]
movzx ebx, bl
add ebx, ebx
or cx, bx
movzx ebx, byte [esi + 7]
xor bl, byte [eax + 0xa]
movzx ebx, bl
or cx, bx
movzx ebx, cx
movzx ebx, byte [ebx + 0x60b140]
xor bl, byte [edi + 0xc]
mov byte [0x61a9c8], bl
movzx ebx, cx
movzx ebx, byte [ebx + 0x60b340]
xor bl, byte [edi + 0x1b]
mov byte [0x61a9d7], bl
movzx ebx, cx
movzx ebx, byte [ebx + 0x60b540]
xor bl, byte [edi + 1]
mov byte [0x61a9bd], bl
movzx ecx, cx
movzx ecx, byte [ecx + 0x60b740]
xor cl, byte [edi + 0x11]
mov byte [0x61a9cd], cl
movzx ecx, byte [esi + 7]
xor cl, byte [eax + 0xc]
movzx ecx, cl
shl ecx, 5
movzx ebx, byte [esi + 0xc]
xor bl, byte [eax + 0x11]
movzx ebx, bl
shl ebx, 4
or cx, bx
movzx ebx, byte [esi + 8]
xor bl, byte [eax + 0xd]
movzx ebx, bl
add ebx, ebx
add ebx, ebx
add ebx, ebx
or cx, bx
movzx ebx, byte [esi + 9]
xor bl, byte [eax + 0xe]
movzx ebx, bl
add ebx, ebx
add ebx, ebx
or cx, bx
movzx ebx, byte [esi + 0xa]
xor bl, byte [eax + 0xf]
movzx ebx, bl
add ebx, ebx
or cx, bx
movzx ebx, byte [esi + 0xb]
xor bl, byte [eax + 0x10]
movzx ebx, bl
or cx, bx
movzx ebx, cx
movzx ebx, byte [ebx + 0x60b180]
xor bl, byte [edi + 0x17]
mov byte [0x61a9d3], bl
movzx ebx, cx
movzx ebx, byte [ebx + 0x60b380]
xor bl, byte [edi + 0xf]
mov byte [0x61a9cb], bl
movzx ebx, cx
movzx ebx, byte [ebx + 0x60b580]
xor bl, byte [edi + 0x1d]
mov byte [0x61a9d9], bl
movzx ecx, cx
movzx ecx, byte [ecx + 0x60b780]
xor cl, byte [edi + 5]
mov byte [0x61a9c1], cl
movzx ecx, byte [esi + 0xb]
xor cl, byte [eax + 0x12]
movzx ecx, cl
shl ecx, 5
movzx ebx, byte [esi + 0x10]
xor bl, byte [eax + 0x17]
movzx ebx, bl
shl ebx, 4
or cx, bx
movzx ebx, byte [esi + 0xc]
xor bl, byte [eax + 0x13]
movzx ebx, bl
add ebx, ebx
add ebx, ebx
add ebx, ebx
or cx, bx
movzx ebx, byte [esi + 0xd]
xor bl, byte [eax + 0x14]
movzx ebx, bl
add ebx, ebx
add ebx, ebx
or cx, bx
movzx ebx, byte [esi + 0xe]
xor bl, byte [eax + 0x15]
movzx ebx, bl
add ebx, ebx
or cx, bx
movzx ebx, byte [esi + 0xf]
xor bl, byte [eax + 0x16]
movzx ebx, bl
or cx, bx
movzx ebx, cx
movzx ebx, byte [ebx + 0x60b1c0]
xor bl, byte [edi + 0x19]
mov byte [0x61a9d5], bl
movzx ebx, cx
movzx ebx, byte [ebx + 0x60b3c0]
xor bl, byte [edi + 0x13]
mov byte [0x61a9cf], bl
movzx ebx, cx
movzx ebx, byte [ebx + 0x60b5c0]
xor bl, byte [edi + 9]
mov byte [0x61a9c5], bl
movzx ecx, cx
movzx ecx, byte [ecx + 0x60b7c0]
xor cl, byte [edi]
mov byte [0x61a9bc], cl
movzx ecx, byte [esi + 0xf]
xor cl, byte [eax + 0x18]
movzx ecx, cl
shl ecx, 5
movzx ebx, byte [esi + 0x14]
xor bl, byte [eax + 0x1d]
movzx ebx, bl
shl ebx, 4
or cx, bx
movzx ebx, byte [esi + 0x10]
xor bl, byte [eax + 0x19]
movzx ebx, bl
add ebx, ebx
add ebx, ebx
add ebx, ebx
or cx, bx
movzx ebx, byte [esi + 0x11]
xor bl, byte [eax + 0x1a]
movzx ebx, bl
add ebx, ebx
add ebx, ebx
or cx, bx
movzx ebx, byte [esi + 0x12]
xor bl, byte [eax + 0x1b]
movzx ebx, bl
add ebx, ebx
or cx, bx
movzx ebx, byte [esi + 0x13]
xor bl, byte [eax + 0x1c]
movzx ebx, bl
or cx, bx
movzx ebx, cx
movzx ebx, byte [ebx + 0x60b200]
xor bl, byte [edi + 7]
mov byte [0x61a9c3], bl
movzx ebx, cx
movzx ebx, byte [ebx + 0x60b400]
xor bl, byte [edi + 0xd]
mov byte [0x61a9c9], bl
movzx ebx, cx
movzx ebx, byte [ebx + 0x60b600]
xor bl, byte [edi + 0x18]
mov byte [0x61a9d4], bl
movzx ecx, cx
movzx ecx, byte [ecx + 0x60b800]
xor cl, byte [edi + 2]
mov byte [0x61a9be], cl
movzx ecx, byte [esi + 0x13]
xor cl, byte [eax + 0x1e]
movzx ecx, cl
shl ecx, 5
movzx ebx, byte [esi + 0x18]
xor bl, byte [eax + 0x23]
movzx ebx, bl
shl ebx, 4
or cx, bx
movzx ebx, byte [esi + 0x14]
xor bl, byte [eax + 0x1f]
movzx ebx, bl
add ebx, ebx
add ebx, ebx
add ebx, ebx
or cx, bx
movzx ebx, byte [esi + 0x15]
xor bl, byte [eax + 0x20]
movzx ebx, bl
add ebx, ebx
add ebx, ebx
or cx, bx
movzx ebx, byte [esi + 0x16]
xor bl, byte [eax + 0x21]
movzx ebx, bl
add ebx, ebx
or cx, bx
movzx ebx, byte [esi + 0x17]
xor bl, byte [eax + 0x22]
movzx ebx, bl
or cx, bx
movzx ebx, cx
movzx ebx, byte [ebx + 0x60b240]
xor bl, byte [edi + 3]
mov byte [0x61a9bf], bl
movzx ebx, cx
movzx ebx, byte [ebx + 0x60b440]
xor bl, byte [edi + 0x1c]
mov byte [0x61a9d8], bl
movzx ebx, cx
movzx ebx, byte [ebx + 0x60b640]
xor bl, byte [edi + 0xa]
mov byte [0x61a9c6], bl
movzx ecx, cx
movzx ecx, byte [ecx + 0x60b840]
xor cl, byte [edi + 0x12]
mov byte [0x61a9ce], cl
movzx ecx, byte [esi + 0x17]
xor cl, byte [eax + 0x24]
movzx ecx, cl
shl ecx, 5
movzx ebx, byte [esi + 0x1c]
xor bl, byte [eax + 0x29]
movzx ebx, bl
shl ebx, 4
or cx, bx
movzx ebx, byte [esi + 0x18]
xor bl, byte [eax + 0x25]
movzx ebx, bl
add ebx, ebx
add ebx, ebx
add ebx, ebx
or cx, bx
movzx ebx, byte [esi + 0x19]
xor bl, byte [eax + 0x26]
movzx ebx, bl
add ebx, ebx
add ebx, ebx
or cx, bx
movzx ebx, byte [esi + 0x1a]
xor bl, byte [eax + 0x27]
movzx ebx, bl
add ebx, ebx
or cx, bx
movzx ebx, byte [esi + 0x1b]
xor bl, byte [eax + 0x28]
movzx ebx, bl
or cx, bx
movzx ebx, cx
movzx ebx, byte [ebx + 0x60b280]
xor bl, byte [edi + 0x1f]
mov byte [0x61a9db], bl
movzx ebx, cx
movzx ebx, byte [ebx + 0x60b480]
xor bl, byte [edi + 0xb]
mov byte [0x61a9c7], bl
movzx ebx, cx
movzx ebx, byte [ebx + 0x60b680]
xor bl, byte [edi + 0x15]
mov byte [0x61a9d1], bl
movzx ecx, cx
movzx ecx, byte [ecx + 0x60b880]
xor cl, byte [edi + 6]
mov byte [0x61a9c2], cl
movzx ecx, byte [esi + 0x1b]
xor cl, byte [eax + 0x2a]
movzx ecx, cl
shl ecx, 5
movzx ebx, byte [esi]
xor bl, byte [eax + 0x2f]
movzx ebx, bl
shl ebx, 4
or cx, bx
movzx ebx, byte [esi + 0x1c]
xor bl, byte [eax + 0x2b]
movzx ebx, bl
add ebx, ebx
add ebx, ebx
add ebx, ebx
or cx, bx
movzx ebx, byte [esi + 0x1d]
xor bl, byte [eax + 0x2c]
movzx ebx, bl
add ebx, ebx
add ebx, ebx
or cx, bx
movzx ebx, byte [esi + 0x1e]
xor bl, byte [eax + 0x2d]
movzx ebx, bl
add ebx, ebx
or cx, bx
movzx ebx, byte [esi + 0x1f]
xor bl, byte [eax + 0x2e]
movzx ebx, bl
or cx, bx
movzx ebx, cx
movzx ebx, byte [ebx + 0x60b2c0]
xor bl, byte [edi + 4]
mov byte [0x61a9c0], bl
movzx ebx, cx
movzx ebx, byte [ebx + 0x60b4c0]
xor bl, byte [edi + 0x1a]
mov byte [0x61a9d6], bl
movzx ebx, cx
movzx ebx, byte [ebx + 0x60b6c0]
xor bl, byte [edi + 0xe]
mov byte [0x61a9ca], bl
movzx ecx, cx
movzx ecx, byte [ecx + 0x60b8c0]
xor cl, byte [edi + 0x14]
mov byte [0x61a9d0], cl
push esi
push edi
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
push esi
push edi
mov edi, esi
mov esi, 0x61a9bc
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
add eax, 0x30
dec dl
jne 0x5233b3
movzx eax, byte [edi + 7]
shl eax, 7
movzx edx, byte [esi + 7]
shl edx, 6
or al, dl
movzx edx, byte [edi + 0xf]
shl edx, 5
or al, dl
movzx edx, byte [esi + 0xf]
shl edx, 4
or al, dl
movzx edx, byte [edi + 0x17]
add edx, edx
add edx, edx
add edx, edx
or al, dl
movzx edx, byte [esi + 0x17]
add edx, edx
add edx, edx
or al, dl
movzx edx, byte [edi + 0x1f]
add edx, edx
or al, dl
or al, byte [esi + 0x1f]
mov edx, dword [esp + 8]
mov byte [edx], al
movzx eax, byte [edi + 6]
shl eax, 7
movzx edx, byte [esi + 6]
shl edx, 6
or al, dl
movzx edx, byte [edi + 0xe]
shl edx, 5
or al, dl
movzx edx, byte [esi + 0xe]
shl edx, 4
or al, dl
movzx edx, byte [edi + 0x16]
add edx, edx
add edx, edx
add edx, edx
or al, dl
movzx edx, byte [esi + 0x16]
add edx, edx
add edx, edx
or al, dl
movzx edx, byte [edi + 0x1e]
add edx, edx
or al, dl
or al, byte [esi + 0x1e]
mov edx, dword [esp + 8]
mov byte [edx + 1], al
movzx eax, byte [edi + 5]
shl eax, 7
movzx edx, byte [esi + 5]
shl edx, 6
or al, dl
movzx edx, byte [edi + 0xd]
shl edx, 5
or al, dl
movzx edx, byte [esi + 0xd]
shl edx, 4
or al, dl
movzx edx, byte [edi + 0x15]
add edx, edx
add edx, edx
add edx, edx
or al, dl
movzx edx, byte [esi + 0x15]
add edx, edx
add edx, edx
or al, dl
movzx edx, byte [edi + 0x1d]
add edx, edx
or al, dl
or al, byte [esi + 0x1d]
mov edx, dword [esp + 8]
mov byte [edx + 2], al
movzx eax, byte [edi + 4]
shl eax, 7
movzx edx, byte [esi + 4]
shl edx, 6
or al, dl
movzx edx, byte [edi + 0xc]
shl edx, 5
or al, dl
movzx edx, byte [esi + 0xc]
shl edx, 4
or al, dl
movzx edx, byte [edi + 0x14]
add edx, edx
add edx, edx
add edx, edx
or al, dl
movzx edx, byte [esi + 0x14]
add edx, edx
add edx, edx
or al, dl
movzx edx, byte [edi + 0x1c]
add edx, edx
or al, dl
or al, byte [esi + 0x1c]
mov edx, dword [esp + 8]
mov byte [edx + 3], al
movzx eax, byte [edi + 3]
shl eax, 7
movzx edx, byte [esi + 3]
shl edx, 6
or al, dl
movzx edx, byte [edi + 0xb]
shl edx, 5
or al, dl
movzx edx, byte [esi + 0xb]
shl edx, 4
or al, dl
movzx edx, byte [edi + 0x13]
add edx, edx
add edx, edx
add edx, edx
or al, dl
movzx edx, byte [esi + 0x13]
add edx, edx
add edx, edx
or al, dl
movzx edx, byte [edi + 0x1b]
add edx, edx
or al, dl
or al, byte [esi + 0x1b]
mov edx, dword [esp + 8]
mov byte [edx + 4], al
movzx eax, byte [edi + 2]
shl eax, 7
movzx edx, byte [esi + 2]
shl edx, 6
or al, dl
movzx edx, byte [edi + 0xa]
shl edx, 5
or al, dl
movzx edx, byte [esi + 0xa]
shl edx, 4
or al, dl
movzx edx, byte [edi + 0x12]
add edx, edx
add edx, edx
add edx, edx
or al, dl
movzx edx, byte [esi + 0x12]
add edx, edx
add edx, edx
or al, dl
movzx edx, byte [edi + 0x1a]
add edx, edx
or al, dl
or al, byte [esi + 0x1a]
mov edx, dword [esp + 8]
mov byte [edx + 5], al
movzx eax, byte [edi + 1]
shl eax, 7
movzx edx, byte [esi + 1]
shl edx, 6
or al, dl
movzx edx, byte [edi + 9]
shl edx, 5
or al, dl
movzx edx, byte [esi + 9]
shl edx, 4
or al, dl
movzx edx, byte [edi + 0x11]
add edx, edx
add edx, edx
add edx, edx
or al, dl
movzx edx, byte [esi + 0x11]
add edx, edx
add edx, edx
or al, dl
movzx edx, byte [edi + 0x19]
add edx, edx
or al, dl
or al, byte [esi + 0x19]
mov edx, dword [esp + 8]
mov byte [edx + 6], al
movzx eax, byte [edi]
shl eax, 7
movzx edx, byte [esi]
shl edx, 6
or al, dl
movzx edx, byte [edi + 8]
shl edx, 5
or al, dl
movzx edx, byte [esi + 8]
shl edx, 4
or al, dl
movzx edx, byte [edi + 0x10]
add edx, edx
add edx, edx
add edx, edx
or al, dl
movzx edx, byte [esi + 0x10]
add edx, edx
add edx, edx
or al, dl
movzx edx, byte [edi + 0x18]
add edx, edx
or al, dl
or al, byte [esi + 0x18]
mov edx, dword [esp + 8]
mov byte [edx + 7], al
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret