Function at 0x46bdb4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x78]
xor ecx, ecx
mov edx, 0x30
call fcn.00403114
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x10
call fcn.00403114
mov eax, dword [ebp - 8]
and eax, 0xf
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jbe 0x46be04
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
add eax, dword [ebp - 8]
sub eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
call fcn.00402a48
mov eax, 0x10
sub eax, dword [ebp - 0x18]
mov eax, dword [eax*4 + 0x5025dc]
call fcn.00404d84
mov ecx, 0x10
sub ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x18]
lea edx, [ebp + edx - 0x38]
call fcn.00402a48
xor eax, eax
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, 0x10
cmp eax, dword [ebp - 8]
ja 0x46be4c
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
jmp 0x46be52
lea eax, [ebp - 0x38]
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
movzx eax, byte [eax + edx]
xor eax, dword [ebp - 0x28]
mov al, byte [eax + 0x502620]
mov edx, dword [ebp - 0x1c]
xor byte [ebp + edx - 0x48], al
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0x48]
mov dword [ebp - 0x28], eax
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0x10
jne 0x46be57
add dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 8]
add eax, 0x10
sub eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
jne 0x46be36
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, 0x10
cmp eax, dword [ebp - 8]
ja 0x46beb2
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
jmp 0x46bec8
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 8]
ja 0x46bec2
lea eax, [ebp - 0x38]
mov dword [ebp - 0x10], eax
jmp 0x46bec8
lea eax, [ebp - 0x48]
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
mov al, byte [eax + edx]
mov edx, dword [ebp - 0x1c]
add edx, 0x10
mov byte [ebp + edx - 0x78], al
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
mov al, byte [eax + edx]
mov edx, dword [ebp - 0x1c]
xor al, byte [ebp + edx - 0x78]
mov edx, dword [ebp - 0x1c]
add edx, 0x20
mov byte [ebp + edx - 0x78], al
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0x10
jne 0x46becd
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov al, byte [ebp + eax - 0x78]
mov edx, dword [ebp - 0x20]
xor al, byte [edx + 0x502620]
and eax, 0xff
mov dword [ebp - 0x20], eax
mov al, byte [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov byte [ebp + edx - 0x78], al
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 0x30
jne 0x46bf12
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x1c]
and eax, 0xff
mov dword [ebp - 0x20], eax
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0x12
jne 0x46bf0d
add dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 8]
add eax, 0x20
sub eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
jne 0x46be9c
lea eax, [ebp - 0x78]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
lea eax, [ebp - 0x74]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], eax
lea eax, [ebp - 0x70]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov dword [edx + 8], eax
lea eax, [ebp - 0x6c]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xc], eax
mov esp, ebp
pop ebp
ret