Function at 0x4a5d18
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.00402dac
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x10
call fcn.00402dac
mov eax, dword [ebp - 8]
and eax, 0xf
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jbe 0x4a5d68
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.004029a4
mov eax, 0x10
sub eax, dword [ebp - 0x18]
mov eax, dword [eax*4 + 0x52a4a4]
call fcn.00404674
mov ecx, 0x10
sub ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x18]
lea edx, [ebp + edx - 0x38]
call fcn.004029a4
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, 0x10
cmp eax, dword [ebp - 8]
ja 0x4a5db0
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
jmp 0x4a5db6
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 - 0x24]
mov al, byte [eax + 0x52a4e8]
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 - 0x24], eax
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0x10
jne 0x4a5dbb
add dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 8]
add eax, 0x10
sub eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
jne 0x4a5d9a
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, 0x10
cmp eax, dword [ebp - 8]
ja 0x4a5e16
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
jmp 0x4a5e2c
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 8]
ja 0x4a5e26
lea eax, [ebp - 0x38]
mov dword [ebp - 0x10], eax
jmp 0x4a5e2c
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 0x4a5e31
xor eax, eax
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov al, byte [ebp + eax - 0x78]
mov edx, dword [ebp - 0x28]
xor al, byte [edx + 0x52a4e8]
and eax, 0xff
mov dword [ebp - 0x28], eax
mov al, byte [ebp - 0x28]
mov edx, dword [ebp - 0x20]
mov byte [ebp + edx - 0x78], al
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0x30
jne 0x4a5e76
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x1c]
and eax, 0xff
mov dword [ebp - 0x28], eax
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0x12
jne 0x4a5e71
add dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 8]
add eax, 0x20
sub eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
jne 0x4a5e00
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