Function at 0x4823bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov ecx, 2
lea eax, [ebp - 0xc]
mov edx, dword [0x407160]
call fcn.00405a50
xor eax, eax
push ebp
push 0x48264b
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00482324
pop ecx
mov esi, eax
lea ebx, [esi + 1]
push ebx
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x407160]
call fcn.00406284
add esp, 4
push ebx
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x407160]
call fcn.00406284
add esp, 4
mov edx, ebx
mov eax, dword [ebp - 8]
xor ecx, ecx
call fcn.00403664
mov edx, ebx
mov eax, dword [ebp - 0xc]
xor ecx, ecx
call fcn.00403664
mov bl, 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x80], 0
je 0x482572
mov dword [ebp - 0x14], 7
mov esi, 0x4f6188
mov edi, 0x4f61a4
mov eax, 0x4f6150
mov dword [ebp - 0x24], eax
mov eax, 0x4f616c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
cmp ecx, dword [esi]
jle 0x482556
mov eax, ecx
sub eax, dword [esi]
add eax, dword [edi]
dec eax
cdq
idiv dword [edi]
mov dword [ebp - 0x1c], eax
push ebp
mov eax, dword [ebp - 0x1c]
call fcn.00482324
pop ecx
mov dword [ebp - 0x18], eax
mov eax, ebx
xor al, 1
and eax, 0x7f
mov eax, dword [ebp + eax*4 - 0xc]
mov edx, dword [ebp - 0x18]
inc edx
xor ecx, ecx
call fcn.00403664
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
jmp 0x482547
mov ecx, dword [ebp - 0x18]
inc ecx
movzx eax, bl
mov edx, dword [ebp + eax*4 - 0xc]
mov eax, dword [ebp - 4]
call fcn.004828ac
mov eax, ebx
xor al, 1
and eax, 0x7f
mov eax, dword [ebp + eax*4 - 0xc]
inc eax
push eax
movzx eax, bl
mov eax, dword [ebp + eax*4 - 0xc]
inc eax
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
push eax
mov eax, dword [ebp - 0x18]
push eax
movzx eax, bl
mov eax, dword [ebp + eax*4 - 0xc]
lea ecx, [eax + 1]
movzx eax, bl
mov eax, dword [ebp + eax*4 - 0xc]
movzx edx, byte [eax]
mov eax, dword [ebp - 4]
call fcn.00481c78
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [edi]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
imul dword [ebp - 0x10]
add eax, dword [esi]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
lea ecx, [edx + eax*4]
movzx eax, bl
mov eax, dword [ebp + eax*4 - 0xc]
lea edx, [eax + 1]
mov eax, dword [ebp - 4]
call fcn.00482ae8
xor bl, 1
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp eax, dword [ebp - 0x10]
jg 0x4824bf
add dword [ebp - 0x28], 4
add dword [ebp - 0x24], 4
add edi, 4
add esi, 4
dec dword [ebp - 0x14]
jne 0x482474
jmp 0x482618
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
dec eax
test eax, eax
jl 0x482618
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 0
lea ecx, [esi + 1]
mov edi, ebx
and edi, 0x7f
mov edx, dword [ebp + edi*4 - 0xc]
mov eax, dword [ebp - 4]
call fcn.004828ac
mov eax, ebx
xor al, 1
and eax, 0x7f
mov eax, dword [ebp + eax*4 - 0xc]
inc eax
push eax
movzx eax, bl
mov eax, dword [ebp + eax*4 - 0xc]
inc eax
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
push eax
push esi
movzx eax, bl
mov eax, dword [ebp + eax*4 - 0xc]
lea ecx, [eax + 1]
mov eax, dword [ebp + edi*4 - 0xc]
movzx edx, byte [eax]
mov eax, dword [ebp - 4]
call fcn.00481c78
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
push 1
imul dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
lea ecx, [edx + eax*4]
mov eax, dword [ebp + edi*4 - 0xc]
lea edx, [eax + 1]
mov eax, dword [ebp - 4]
call fcn.00482ae8
xor bl, 1
inc dword [ebp - 0x10]
dec dword [ebp - 0x20]
jne 0x48258c
jmp 0x482618
mov eax, dword [ebp - 4]
call fcn.00482840
mov eax, dword [ebp - 4]
call fcn.0048280c
mov edx, dword [0x48265c]
mov eax, dword [ebp - 4]
call fcn.00481bf4
test al, al
jne 0x482608
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482652
lea eax, [ebp - 0xc]
mov ecx, 2
mov edx, dword [0x407160]
call fcn.00405b3c
ret