Function at 0x46b490
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.0046b13c
xor edx, edx
mov dl, byte [ebp - 0xd]
mov byte [ebp + edx - 0x428], al
inc byte [ebp - 0xd]
cmp byte [ebp - 0xd], 0x41
jne 0x46b4a8
mov byte [ebp - 0xd], 1
xor eax, eax
mov al, byte [ebp - 0xd]
mov dl, byte [eax + 0x490643]
mov eax, dword [ebp - 0xc]
call fcn.0046b13c
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 + 0x49065f]
mov eax, dword [ebp - 0xc]
call fcn.0046b13c
xor edx, edx
mov dl, byte [ebp - 0xd]
mov byte [ebp + edx - 0x2c], al
inc byte [ebp - 0xd]
cmp byte [ebp - 0xd], 0x1d
jne 0x46b4cc
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.0046b3ec
inc byte [ebp - 0xd]
cmp byte [ebp - 0xd], 0x11
jne 0x46b511
mov byte [ebp - 0xd], 1
cmp byte [ebp - 0xd], 0x20
ja 0x46b564
xor eax, eax
mov al, byte [ebp - 0xd]
movzx eax, byte [eax + 0x490573]
mov al, byte [ebp + eax - 0x428]
xor edx, edx
mov dl, byte [ebp - 0xd]
mov byte [ebp + edx - 0xa8], al
jmp 0x46b583
xor eax, eax
mov al, byte [ebp - 0xd]
movzx eax, byte [eax + 0x490573]
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 0x46b53d
mov byte [ebp - 0xf], 1
cmp byte [ebp + 8], 0
je 0x46b5b7
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.0046b1dc
jmp 0x46b5df
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.0046b1dc
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 0x46b5e3
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 0x46b590
mov byte [ebp - 0xd], 1
xor eax, eax
mov al, byte [ebp - 0xd]
mov al, byte [eax + 0x4905b3]
mov byte [ebp - 0xe], al
cmp byte [ebp - 0xe], 0x20
ja 0x46b663
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 0x46b67b
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 0x46b635
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.0046b180
inc byte [ebp - 0xd]
cmp byte [ebp - 0xd], 0x41
jne 0x46b688
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4