Function at 0x46c57c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd8
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov byte [ebp - 0xd], 1
mov eax, dword [ebp - 4]
mov dl, byte [ebp - 0xd]
call fcn.0046c228
xor edx, edx
mov dl, byte [ebp - 0xd]
mov byte [ebp + edx - 0x428], al
inc byte [ebp - 0xd]
cmp byte [ebp - 0xd], 0x41
jne 0x46c594
mov byte [ebp - 0xd], 1
xor eax, eax
mov al, byte [ebp - 0xd]
mov dl, byte [eax + 0x506bab]
mov eax, dword [ebp - 0xc]
call fcn.0046c228
xor edx, edx
mov dl, byte [ebp - 0xd]
mov byte [ebp + edx - 0x48], al
xor eax, eax
mov al, byte [ebp - 0xd]
mov dl, byte [eax + 0x506bc7]
mov eax, dword [ebp - 0xc]
call fcn.0046c228
xor edx, edx
mov dl, byte [ebp - 0xd]
mov byte [ebp + edx - 0x2c], al
inc byte [ebp - 0xd]
cmp byte [ebp - 0xd], 0x1d
jne 0x46c5b8
mov byte [ebp - 0xd], 1
xor eax, eax
mov al, byte [ebp - 0xd]
add eax, eax
lea eax, [eax + eax*2]
lea ecx, [ebp + eax*8 - 0x3d7]
lea eax, [ebp - 0x427]
mov dl, byte [ebp - 0xd]
call fcn.0046c4d8
inc byte [ebp - 0xd]
cmp byte [ebp - 0xd], 0x11
jne 0x46c5fd
mov byte [ebp - 0xd], 1
cmp byte [ebp - 0xd], 0x20
ja 0x46c650
xor eax, eax
mov al, byte [ebp - 0xd]
movzx eax, byte [eax + 0x506adb]
mov al, byte [ebp + eax - 0x428]
xor edx, edx
mov dl, byte [ebp - 0xd]
mov byte [ebp + edx - 0xa8], al
jmp 0x46c66f
xor eax, eax
mov al, byte [ebp - 0xd]
movzx eax, byte [eax + 0x506adb]
mov al, byte [ebp + eax - 0x428]
xor edx, edx
mov dl, byte [ebp - 0xd]
mov byte [ebp + edx - 0xa8], al
inc byte [ebp - 0xd]
cmp byte [ebp - 0xd], 0x41
jne 0x46c629
mov byte [ebp - 0xf], 1
cmp byte [ebp + 8], 0
je 0x46c6a3
lea ecx, [ebp - 0x67]
xor eax, eax
mov al, byte [ebp - 0xf]
add eax, eax
lea eax, [eax + eax*2]
lea edx, [ebp + eax*8 - 0x3d7]
lea eax, [ebp - 0x87]
call fcn.0046c2c8
jmp 0x46c6cb
xor eax, eax
mov al, byte [ebp - 0xf]
mov edx, 0x11
sub edx, eax
mov eax, edx
add eax, eax
lea eax, [eax + eax*2]
lea edx, [ebp + eax*8 - 0x3d7]
lea ecx, [ebp - 0x67]
lea eax, [ebp - 0x87]
call fcn.0046c2c8
mov byte [ebp - 0xd], 1
xor eax, eax
mov al, byte [ebp - 0xd]
mov al, byte [ebp + eax - 0xa8]
xor edx, edx
mov dl, byte [ebp - 0xd]
xor byte [ebp + edx - 0x68], al
inc byte [ebp - 0xd]
cmp byte [ebp - 0xd], 0x21
jne 0x46c6cf
lea esi, [ebp - 0x87]
lea edi, [ebp - 0xa7]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x67]
lea edi, [ebp - 0x87]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
inc byte [ebp - 0xf]
cmp byte [ebp - 0xf], 0x11
jne 0x46c67c
mov byte [ebp - 0xd], 1
xor eax, eax
mov al, byte [ebp - 0xd]
mov al, byte [eax + str._a__b0]
mov byte [ebp - 0xe], al
cmp byte [ebp - 0xe], 0x20
ja 0x46c74f
xor eax, eax
mov al, byte [ebp - 0xe]
mov al, byte [ebp + eax - 0x88]
xor edx, edx
mov dl, byte [ebp - 0xd]
mov byte [ebp + edx - 0x3e8], al
jmp 0x46c767
xor eax, eax
mov al, byte [ebp - 0xe]
mov al, byte [ebp + eax - 0xc8]
xor edx, edx
mov dl, byte [ebp - 0xd]
mov byte [ebp + edx - 0x3e8], al
inc byte [ebp - 0xd]
cmp byte [ebp - 0xd], 0x41
jne 0x46c721
mov byte [ebp - 0xd], 1
xor eax, eax
mov al, byte [ebp - 0xd]
mov cl, byte [ebp + eax - 0x3e8]
mov eax, dword [ebp - 8]
mov dl, byte [ebp - 0xd]
call fcn.0046c26c
inc byte [ebp - 0xd]
cmp byte [ebp - 0xd], 0x41
jne 0x46c774
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4