Function at 0x4a7678
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, 0x505c40
mov edi, 0x505c20
mov ebp, esp
mov dl, byte [ebp + 7]
test dl, 0x40
seta al
mov byte [edi], al
test dl, 0x80
seta al
mov byte [esi], al
mov cl, byte [ebp + 6]
test cl, 0x40
seta al
mov byte [edi + 1], al
test cl, 0x80
seta al
mov byte [esi + 1], al
mov al, 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
mov al, byte [ebp + 7]
and al, 1
mov byte [edi + 0x18], al
test byte [ebp + 7], 2
seta al
mov byte [esi + 0x18], al
mov al, byte [ebp + 6]
and al, 1
mov byte [edi + 0x19], al
test byte [ebp + 6], 2
seta al
mov byte [esi + 0x19], al
mov al, byte [ebp + 5]
and al, 1
mov byte [edi + 0x1a], al
test byte [ebp + 5], 2
seta al
mov byte [esi + 0x1a], al
mov al, byte [ebp + 4]
and al, 1
mov byte [edi + 0x1b], al
test byte [ebp + 4], 2
seta al
mov byte [esi + 0x1b], al
mov al, byte [ebp + 3]
and al, 1
mov byte [edi + 0x1c], al
test byte [ebp + 3], 2
seta al
mov byte [esi + 0x1c], al
mov al, byte [ebp + 2]
and al, 1
mov byte [edi + 0x1d], al
test byte [ebp + 2], 2
seta al
mov byte [esi + 0x1d], al
mov al, byte [ebp + 1]
and al, 1
mov byte [edi + 0x1e], al
test byte [ebp + 1], 2
seta al
mov byte [esi + 0x1e], al
mov al, 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, 0x505920
mov cl, byte [esi + 0x1f]
xor cl, byte [eax]
and ecx, 0xff
shl ecx, 5
mov bl, byte [esi + 4]
xor bl, byte [eax + 5]
and ebx, 0xff
shl ebx, 4
or ecx, ebx
mov bl, byte [esi]
xor bl, byte [eax + 1]
and ebx, 0xff
shl ebx, 3
or ecx, ebx
mov bl, byte [esi + 1]
xor bl, byte [eax + 2]
and ebx, 0xff
shl ebx, 2
or ecx, ebx
mov bl, byte [esi + 2]
xor bl, byte [eax + 3]
and ebx, 0xff
add ebx, ebx
or ecx, ebx
mov bl, byte [esi + 3]
xor bl, byte [eax + 4]
and ebx, 0xff
or ecx, ebx
movzx ebx, cx
mov bl, byte [ebx + 0x4fcc24]
xor bl, byte [edi + 8]
mov byte [0x505c68], bl
movzx ebx, cx
mov bl, byte [ebx + 0x4fce24]
xor bl, byte [edi + 0x10]
mov byte [0x505c70], bl
movzx ebx, cx
mov bl, byte [ebx + 0x4fd024]
xor bl, byte [edi + 0x16]
mov byte [0x505c76], bl
movzx ecx, cx
mov cl, byte [ecx + 0x4fd224]
xor cl, byte [edi + 0x1e]
mov byte [0x505c7e], cl
mov cl, byte [esi + 3]
xor cl, byte [eax + 6]
and ecx, 0xff
shl ecx, 5
mov bl, byte [esi + 8]
xor bl, byte [eax + 0xb]
and ebx, 0xff
shl ebx, 4
or ecx, ebx
mov bl, byte [esi + 4]
xor bl, byte [eax + 7]
and ebx, 0xff
shl ebx, 3
or ecx, ebx
mov bl, byte [esi + 5]
xor bl, byte [eax + 8]
and ebx, 0xff
shl ebx, 2
or ecx, ebx
mov bl, byte [esi + 6]
xor bl, byte [eax + 9]
and ebx, 0xff
add ebx, ebx
or ecx, ebx
mov bl, byte [esi + 7]
xor bl, byte [eax + 0xa]
and ebx, 0xff
or ecx, ebx
movzx ebx, cx
mov bl, byte [ebx + 0x4fcc64]
xor bl, byte [edi + 0xc]
mov byte [0x505c6c], bl
movzx ebx, cx
mov bl, byte [ebx + 0x4fce64]
xor bl, byte [edi + 0x1b]
mov byte [0x505c7b], bl
movzx ebx, cx
mov bl, byte [ebx + 0x4fd064]
xor bl, byte [edi + 1]
mov byte [0x505c61], bl
movzx ecx, cx
mov cl, byte [ecx + 0x4fd264]
xor cl, byte [edi + 0x11]
mov byte [0x505c71], cl
mov cl, byte [esi + 7]
xor cl, byte [eax + 0xc]
and ecx, 0xff
shl ecx, 5
mov bl, byte [esi + 0xc]
xor bl, byte [eax + 0x11]
and ebx, 0xff
shl ebx, 4
or ecx, ebx
mov bl, byte [esi + 8]
xor bl, byte [eax + 0xd]
and ebx, 0xff
shl ebx, 3
or ecx, ebx
mov bl, byte [esi + 9]
xor bl, byte [eax + 0xe]
and ebx, 0xff
shl ebx, 2
or ecx, ebx
mov bl, byte [esi + 0xa]
xor bl, byte [eax + 0xf]
and ebx, 0xff
add ebx, ebx
or ecx, ebx
mov bl, byte [esi + 0xb]
xor bl, byte [eax + 0x10]
and ebx, 0xff
or ecx, ebx
movzx ebx, cx
mov bl, byte [ebx + 0x4fcca4]
xor bl, byte [edi + 0x17]
mov byte [0x505c77], bl
movzx ebx, cx
mov bl, byte [ebx + 0x4fcea4]
xor bl, byte [edi + 0xf]
mov byte [0x505c6f], bl
movzx ebx, cx
mov bl, byte [ebx + 0x4fd0a4]
xor bl, byte [edi + 0x1d]
mov byte [0x505c7d], bl
movzx ecx, cx
mov cl, byte [ecx + 0x4fd2a4]
xor cl, byte [edi + 5]
mov byte [0x505c65], cl
mov cl, byte [esi + 0xb]
xor cl, byte [eax + 0x12]
and ecx, 0xff
shl ecx, 5
mov bl, byte [esi + 0x10]
xor bl, byte [eax + 0x17]
and ebx, 0xff
shl ebx, 4
or ecx, ebx
mov bl, byte [esi + 0xc]
xor bl, byte [eax + 0x13]
and ebx, 0xff
shl ebx, 3
or ecx, ebx
mov bl, byte [esi + 0xd]
xor bl, byte [eax + 0x14]
and ebx, 0xff
shl ebx, 2
or ecx, ebx
mov bl, byte [esi + 0xe]
xor bl, byte [eax + 0x15]
and ebx, 0xff
add ebx, ebx
or ecx, ebx
mov bl, byte [esi + 0xf]
xor bl, byte [eax + 0x16]
and ebx, 0xff
or ecx, ebx
movzx ebx, cx
mov bl, byte [ebx + 0x4fcce4]
xor bl, byte [edi + 0x19]
mov byte [0x505c79], bl
movzx ebx, cx
mov bl, byte [ebx + 0x4fcee4]
xor bl, byte [edi + 0x13]
mov byte [0x505c73], bl
movzx ebx, cx
mov bl, byte [ebx + 0x4fd0e4]
xor bl, byte [edi + 9]
mov byte [0x505c69], bl
movzx ecx, cx
mov cl, byte [ecx + 0x4fd2e4]
xor cl, byte [edi]
mov byte [0x505c60], cl
mov cl, byte [esi + 0xf]
xor cl, byte [eax + 0x18]
and ecx, 0xff
shl ecx, 5
mov bl, byte [esi + 0x14]
xor bl, byte [eax + 0x1d]
and ebx, 0xff
shl ebx, 4
or ecx, ebx
mov bl, byte [esi + 0x10]
xor bl, byte [eax + 0x19]
and ebx, 0xff
shl ebx, 3
or ecx, ebx
mov bl, byte [esi + 0x11]
xor bl, byte [eax + 0x1a]
and ebx, 0xff
shl ebx, 2
or ecx, ebx
mov bl, byte [esi + 0x12]
xor bl, byte [eax + 0x1b]
and ebx, 0xff
add ebx, ebx
or ecx, ebx
mov bl, byte [esi + 0x13]
xor bl, byte [eax + 0x1c]
and ebx, 0xff
or ecx, ebx
movzx ebx, cx
mov bl, byte [ebx + 0x4fcd24]
xor bl, byte [edi + 7]
mov byte [0x505c67], bl
movzx ebx, cx
mov bl, byte [ebx + 0x4fcf24]
xor bl, byte [edi + 0xd]
mov byte [0x505c6d], bl
movzx ebx, cx
mov bl, byte [ebx + 0x4fd124]
xor bl, byte [edi + 0x18]
mov byte [0x505c78], bl
movzx ecx, cx
mov cl, byte [ecx + 0x4fd324]
xor cl, byte [edi + 2]
mov byte [0x505c62], cl
mov cl, byte [esi + 0x13]
xor cl, byte [eax + 0x1e]
and ecx, 0xff
shl ecx, 5
mov bl, byte [esi + 0x18]
xor bl, byte [eax + 0x23]
and ebx, 0xff
shl ebx, 4
or ecx, ebx
mov bl, byte [esi + 0x14]
xor bl, byte [eax + 0x1f]
and ebx, 0xff
shl ebx, 3
or ecx, ebx
mov bl, byte [esi + 0x15]
xor bl, byte [eax + 0x20]
and ebx, 0xff
shl ebx, 2
or ecx, ebx
mov bl, byte [esi + 0x16]
xor bl, byte [eax + 0x21]
and ebx, 0xff
add ebx, ebx
or ecx, ebx
mov bl, byte [esi + 0x17]
xor bl, byte [eax + 0x22]
and ebx, 0xff
or ecx, ebx
movzx ebx, cx
mov bl, byte [ebx + 0x4fcd64]
xor bl, byte [edi + 3]
mov byte [0x505c63], bl
movzx ebx, cx
mov bl, byte [ebx + 0x4fcf64]
xor bl, byte [edi + 0x1c]
mov byte [0x505c7c], bl
movzx ebx, cx
mov bl, byte [ebx + 0x4fd164]
xor bl, byte [edi + 0xa]
mov byte [0x505c6a], bl
movzx ecx, cx
mov cl, byte [ecx + 0x4fd364]
xor cl, byte [edi + 0x12]
mov byte [0x505c72], cl
mov cl, byte [esi + 0x17]
xor cl, byte [eax + 0x24]
and ecx, 0xff
shl ecx, 5
mov bl, byte [esi + 0x1c]
xor bl, byte [eax + 0x29]
and ebx, 0xff
shl ebx, 4
or ecx, ebx
mov bl, byte [esi + 0x18]
xor bl, byte [eax + 0x25]
and ebx, 0xff
shl ebx, 3
or ecx, ebx
mov bl, byte [esi + 0x19]
xor bl, byte [eax + 0x26]
and ebx, 0xff
shl ebx, 2
or ecx, ebx
mov bl, byte [esi + 0x1a]
xor bl, byte [eax + 0x27]
and ebx, 0xff
add ebx, ebx
or ecx, ebx
mov bl, byte [esi + 0x1b]
xor bl, byte [eax + 0x28]
and ebx, 0xff
or ecx, ebx
movzx ebx, cx
mov bl, byte [ebx + 0x4fcda4]
xor bl, byte [edi + 0x1f]
mov byte [0x505c7f], bl
movzx ebx, cx
mov bl, byte [ebx + 0x4fcfa4]
xor bl, byte [edi + 0xb]
mov byte [0x505c6b], bl
movzx ebx, cx
mov bl, byte [ebx + 0x4fd1a4]
xor bl, byte [edi + 0x15]
mov byte [0x505c75], bl
movzx ecx, cx
mov cl, byte [ecx + 0x4fd3a4]
xor cl, byte [edi + 6]
mov byte [0x505c66], cl
mov cl, byte [esi + 0x1b]
xor cl, byte [eax + 0x2a]
and ecx, 0xff
shl ecx, 5
mov bl, byte [esi]
xor bl, byte [eax + 0x2f]
and ebx, 0xff
shl ebx, 4
or ecx, ebx
mov bl, byte [esi + 0x1c]
xor bl, byte [eax + 0x2b]
and ebx, 0xff
shl ebx, 3
or ecx, ebx
mov bl, byte [esi + 0x1d]
xor bl, byte [eax + 0x2c]
and ebx, 0xff
shl ebx, 2
or ecx, ebx
mov bl, byte [esi + 0x1e]
xor bl, byte [eax + 0x2d]
and ebx, 0xff
add ebx, ebx
or ecx, ebx
mov bl, byte [esi + 0x1f]
xor bl, byte [eax + 0x2e]
and ebx, 0xff
or ecx, ebx
movzx ebx, cx
mov bl, byte [ebx + 0x4fcde4]
xor bl, byte [edi + 4]
mov byte [0x505c64], bl
movzx ebx, cx
mov bl, byte [ebx + 0x4fcfe4]
xor bl, byte [edi + 0x1a]
mov byte [0x505c7a], bl
movzx ebx, cx
mov bl, byte [ebx + 0x4fd1e4]
xor bl, byte [edi + 0xe]
mov byte [0x505c6e], bl
movzx ecx, cx
mov cl, byte [ecx + 0x4fd3e4]
xor cl, byte [edi + 0x14]
mov byte [0x505c74], 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, 0x505c60
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
add eax, 0x30
dec dl
jne 0x4a7908
xor eax, eax
mov al, byte [edi + 7]
shl eax, 7
xor edx, edx
mov dl, byte [esi + 7]
shl edx, 6
or eax, edx
xor edx, edx
mov dl, byte [edi + 0xf]
shl edx, 5
or eax, edx
xor edx, edx
mov dl, byte [esi + 0xf]
shl edx, 4
or eax, edx
xor edx, edx
mov dl, byte [edi + 0x17]
shl edx, 3
or eax, edx
xor edx, edx
mov dl, byte [esi + 0x17]
shl edx, 2
or eax, edx
xor edx, edx
mov dl, byte [edi + 0x1f]
add edx, edx
or eax, edx
xor edx, edx
mov dl, byte [esi + 0x1f]
or eax, edx
mov edx, dword [esp + 8]
mov byte [edx], al
xor eax, eax
mov al, byte [edi + 6]
shl eax, 7
xor edx, edx
mov dl, byte [esi + 6]
shl edx, 6
or eax, edx
xor edx, edx
mov dl, byte [edi + 0xe]
shl edx, 5
or eax, edx
xor edx, edx
mov dl, byte [esi + 0xe]
shl edx, 4
or eax, edx
xor edx, edx
mov dl, byte [edi + 0x16]
shl edx, 3
or eax, edx
xor edx, edx
mov dl, byte [esi + 0x16]
shl edx, 2
or eax, edx
xor edx, edx
mov dl, byte [edi + 0x1e]
add edx, edx
or eax, edx
xor edx, edx
mov dl, byte [esi + 0x1e]
or eax, edx
mov edx, dword [esp + 8]
mov byte [edx + 1], al
xor eax, eax
mov al, byte [edi + 5]
shl eax, 7
xor edx, edx
mov dl, byte [esi + 5]
shl edx, 6
or eax, edx
xor edx, edx
mov dl, byte [edi + 0xd]
shl edx, 5
or eax, edx
xor edx, edx
mov dl, byte [esi + 0xd]
shl edx, 4
or eax, edx
xor edx, edx
mov dl, byte [edi + 0x15]
shl edx, 3
or eax, edx
xor edx, edx
mov dl, byte [esi + 0x15]
shl edx, 2
or eax, edx
xor edx, edx
mov dl, byte [edi + 0x1d]
add edx, edx
or eax, edx
xor edx, edx
mov dl, byte [esi + 0x1d]
or eax, edx
mov edx, dword [esp + 8]
mov byte [edx + 2], al
xor eax, eax
mov al, byte [edi + 4]
shl eax, 7
xor edx, edx
mov dl, byte [esi + 4]
shl edx, 6
or eax, edx
xor edx, edx
mov dl, byte [edi + 0xc]
shl edx, 5
or eax, edx
xor edx, edx
mov dl, byte [esi + 0xc]
shl edx, 4
or eax, edx
xor edx, edx
mov dl, byte [edi + 0x14]
shl edx, 3
or eax, edx
xor edx, edx
mov dl, byte [esi + 0x14]
shl edx, 2
or eax, edx
xor edx, edx
mov dl, byte [edi + 0x1c]
add edx, edx
or eax, edx
xor edx, edx
mov dl, byte [esi + 0x1c]
or eax, edx
mov edx, dword [esp + 8]
mov byte [edx + 3], al
xor eax, eax
mov al, byte [edi + 3]
shl eax, 7
xor edx, edx
mov dl, byte [esi + 3]
shl edx, 6
or eax, edx
xor edx, edx
mov dl, byte [edi + 0xb]
shl edx, 5
or eax, edx
xor edx, edx
mov dl, byte [esi + 0xb]
shl edx, 4
or eax, edx
xor edx, edx
mov dl, byte [edi + 0x13]
shl edx, 3
or eax, edx
xor edx, edx
mov dl, byte [esi + 0x13]
shl edx, 2
or eax, edx
xor edx, edx
mov dl, byte [edi + 0x1b]
add edx, edx
or eax, edx
xor edx, edx
mov dl, byte [esi + 0x1b]
or eax, edx
mov edx, dword [esp + 8]
mov byte [edx + 4], al
xor eax, eax
mov al, byte [edi + 2]
shl eax, 7
xor edx, edx
mov dl, byte [esi + 2]
shl edx, 6
or eax, edx
xor edx, edx
mov dl, byte [edi + 0xa]
shl edx, 5
or eax, edx
xor edx, edx
mov dl, byte [esi + 0xa]
shl edx, 4
or eax, edx
xor edx, edx
mov dl, byte [edi + 0x12]
shl edx, 3
or eax, edx
xor edx, edx
mov dl, byte [esi + 0x12]
shl edx, 2
or eax, edx
xor edx, edx
mov dl, byte [edi + 0x1a]
add edx, edx
or eax, edx
xor edx, edx
mov dl, byte [esi + 0x1a]
or eax, edx
mov edx, dword [esp + 8]
mov byte [edx + 5], al
xor eax, eax
mov al, byte [edi + 1]
shl eax, 7
xor edx, edx
mov dl, byte [esi + 1]
shl edx, 6
or eax, edx
xor edx, edx
mov dl, byte [edi + 9]
shl edx, 5
or eax, edx
xor edx, edx
mov dl, byte [esi + 9]
shl edx, 4
or eax, edx
xor edx, edx
mov dl, byte [edi + 0x11]
shl edx, 3
or eax, edx
xor edx, edx
mov dl, byte [esi + 0x11]
shl edx, 2
or eax, edx
xor edx, edx
mov dl, byte [edi + 0x19]
add edx, edx
or eax, edx
xor edx, edx
mov dl, byte [esi + 0x19]
or eax, edx
mov edx, dword [esp + 8]
mov byte [edx + 6], al
xor eax, eax
mov al, byte [edi]
shl eax, 7
xor edx, edx
mov dl, byte [esi]
shl edx, 6
or eax, edx
xor edx, edx
mov dl, byte [edi + 8]
shl edx, 5
or eax, edx
xor edx, edx
mov dl, byte [esi + 8]
shl edx, 4
or eax, edx
xor edx, edx
mov dl, byte [edi + 0x10]
shl edx, 3
or eax, edx
xor edx, edx
mov dl, byte [esi + 0x10]
shl edx, 2
or eax, edx
xor edx, edx
mov dl, byte [edi + 0x18]
add edx, edx
or eax, edx
xor edx, edx
mov dl, byte [esi + 0x18]
or eax, edx
mov edx, dword [esp + 8]
mov byte [edx + 7], al
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret