Function at 0x483f28
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], eax
mov ecx, 5
lea eax, [ebp - 0x24]
mov edx, dword [0x407160]
call fcn.00405a50
xor eax, eax
push ebp
push 0x484218
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x29], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x14], 1
je 0x483f77
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 4
jle 0x483f77
xor eax, eax
jmp 0x483f79
mov al, 1
mov byte [ebp - 0x2b], al
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00483e50
pop ecx
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x24]
mov ecx, 1
mov edx, dword [0x407160]
call fcn.00406284
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x407160]
call fcn.00406284
add esp, 4
cmp byte [ebp - 0x2b], 0
jne 0x483ff1
mov byte [ebp - 0x29], 1
lea ebx, [ebp - 0x20]
mov eax, dword [ebp - 0xc]
push eax
mov eax, ebx
mov ecx, 1
mov edx, dword [0x407160]
call fcn.00406284
add esp, 4
inc byte [ebp - 0x29]
add ebx, 4
cmp byte [ebp - 0x29], 5
jne 0x483fca
jmp 0x484016
cmp byte [ebp - 0x29], 0
je 0x484016
mov eax, dword [ebp - 0xc]
push eax
movzx eax, byte [ebp - 0x29]
lea eax, [ebp + eax*4 - 0x24]
mov ecx, 1
mov edx, dword [0x407160]
call fcn.00406284
add esp, 4
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
xor ecx, ecx
call fcn.00403664
mov dl, 1
mov eax, dword [0x41844c]
call fcn.00403d00
mov dword [ebp - 0x34], eax
xor edx, edx
push ebp
push 0x4841e2
push dword fs:[edx]
mov dword fs:[edx], esp
mov ecx, dword [ebp - 0x34]
mov dl, 1
mov eax, dword [0x47b418]
call fcn.0047b6d8
mov dword [ebp - 0x38], eax
xor edx, edx
push ebp
push 0x4841a6
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
dec eax
test eax, eax
jl 0x484190
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
imul dword [ebp - 0x30]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
lea edx, [edx + eax*4]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00483a6c
cmp byte [ebp - 0x2b], 0
jne 0x4840d1
mov byte [ebp - 0x29], 1
lea ebx, [ebp - 0x20]
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebx]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ebp - 0x29]
mov eax, dword [ebp - 4]
call fcn.00483790
inc byte [ebp - 0x29]
add ebx, 4
cmp byte [ebp - 0x29], 5
jne 0x4840a5
jmp 0x4840fb
cmp byte [ebp - 0x29], 0
jbe 0x4840fb
mov eax, dword [ebp - 0x24]
push eax
movzx eax, byte [ebp - 0x29]
mov eax, dword [ebp + eax*4 - 0x24]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ebp - 0x29]
mov eax, dword [ebp - 4]
call fcn.00483790
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
call fcn.004030e8
cmp byte [ebp - 0x2b], 0
jne 0x484161
mov dword [ebp - 0x3c], 0x7fffffff
mov byte [ebp - 0x29], 0
mov byte [ebp - 0x2a], 0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x44], eax
xor esi, esi
mov eax, dword [ebp - 0x44]
mov edi, dword [eax]
mov ecx, dword [ebp - 0xc]
dec ecx
test ecx, ecx
jl 0x484145
inc ecx
xor ebx, ebx
movzx eax, byte [edi + ebx]
cdq
xor eax, edx
sub eax, edx
add esi, eax
inc ebx
dec ecx
jne 0x484136
cmp esi, dword [ebp - 0x3c]
jge 0x484154
mov dword [ebp - 0x3c], esi
movzx eax, byte [ebp - 0x2a]
mov byte [ebp - 0x29], al
inc byte [ebp - 0x2a]
add dword [ebp - 0x44], 4
cmp byte [ebp - 0x2a], 5
jne 0x484124
lea edx, [ebp - 0x29]
mov ecx, 1
mov eax, dword [ebp - 0x38]
call fcn.0047b858
movzx eax, byte [ebp - 0x29]
mov edx, dword [ebp + eax*4 - 0x24]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x38]
call fcn.0047b858
inc dword [ebp - 0x30]
dec dword [ebp - 0x40]
jne 0x48407a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4841ad
mov eax, dword [ebp - 0x38]
call fcn.00403d30
ret