Function at 0x46bc80
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 0x46bcd0
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 + 0x4fa5d4]
call fcn.00404c80
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 0x46bd18
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
jmp 0x46bd1e
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 + 0x4fa618]
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 0x46bd23
add dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 8]
add eax, 0x10
sub eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
jne 0x46bd02
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, 0x10
cmp eax, dword [ebp - 8]
ja 0x46bd7e
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
jmp 0x46bd94
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 8]
ja 0x46bd8e
lea eax, [ebp - 0x38]
mov dword [ebp - 0x10], eax
jmp 0x46bd94
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 0x46bd99
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 + 0x4fa618]
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 0x46bdde
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 0x46bdd9
add dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 8]
add eax, 0x20
sub eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
jne 0x46bd68
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