Function at 0x4b6c40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc10
mov eax, dword [0x53273c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 0x20
mov dword [ebp - 0xc0c], eax
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.004d50e0
mov al, byte [ebp - 0x24]
lea esi, [ebp - 0x24]
add esp, 0xc
test al, al
je 0x4b6c98
nop dword [eax + eax]
movsx eax, al
push eax
call fcn.004e5c20
add esp, 4
test eax, eax
jne 0x4b6c98
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4b6c80
mov al, byte [esi]
mov edi, esi
mov dword [ebp - 0xc08], edi
test al, al
je 0x4b6ccc
movsx eax, al
push eax
call fcn.004e5c20
add esp, 4
test eax, eax
je 0x4b6ccc
movsx eax, byte [esi]
push eax
call fcn.004e5f30
mov byte [esi], al
add esp, 4
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4b6ca6
cmp dword [0x544ad8], 0
mov byte [esi], 0
je 0x4b6d24
push 0x3e0
lea eax, [ebp - 0x404]
push eax
push ebx
call fcn.004b4770
add esp, 0xc
test eax, eax
jle 0x4b6d24
lea eax, [ebp - 0x404]
push eax
push str.solve_message:_s
lea eax, [ebp - 0x804]
push 0x400
push eax
call fcn.004b6830
add esp, 0x10
test eax, eax
js 0x4b6d24
lea eax, [ebp - 0x804]
push eax
call fcn.004b4570
add esp, 4
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
cmp esi, 0x7d0
jg 0x4b6d3e
cmp ebx, 0x7d0
jle 0x4b6f16
cmp dword [0x544adc], 0
je 0x4b6f16
push edi
call fcn.004b55b0
add esp, 4
test eax, eax
jne 0x4b6f16
push dword [0x5320c8]
call fcn.004d4ed6
mov edx, eax
add esp, 4
test edx, edx
jne 0x4b6d93
push ebx
push esi
push str.nohash_s
push edi
call fcn.004b46d0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ceaf9
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc0c]
lea esi, [ebp - 0x128]
sub esi, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [esi + ecx - 1], al
test al, al
jne 0x4b6da1
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x4b6db0
lea edi, [ebp - 0x128]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4b6dc0
mov ecx, edx
lea eax, [ebp - 0x128]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push 0x4fcad0
rep movsb byte es:[edi], byte [esi]
push eax
mov dword [ebp - 0xc10], 0
call fcn.004d5440
mov esi, eax
add esp, 8
test esi, esi
jne 0x4b6e25
mov eax, dword [ebp + 0x10]
push ebx
push eax
push str.nohash_f
push dword [ebp - 0xc08]
call fcn.004b46d0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ceaf9
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xc10]
push eax
push 0x509774
push esi
call fcn.00440aa0
add esp, 0xc
cmp eax, 1
je 0x4b6e6a
mov eax, dword [ebp + 0x10]
push ebx
push eax
push str.nohash_v
push dword [ebp - 0xc08]
call fcn.004b46d0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ceaf9
mov esp, ebp
pop ebp
ret
push esi
call fcn.004d5359
lea eax, [ebp - 0x128]
push eax
call fcn.004e3287
mov eax, dword [ebp - 0xc0c]
push eax
call fcn.004b4940
push eax
push dword [0x5320f0]
lea eax, [ebp - 0xc04]
push str._s_lx
push 0x400
push eax
call fcn.004b6830
lea ecx, [ebp - 0xc04]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b6eb1
sub ecx, edx
mov esi, 0x811c9dc5
xor edx, edx
test ecx, ecx
je 0x4b6eda
movsx eax, byte [ebp + edx - 0xc04]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x4b6ec5
cmp dword [ebp - 0xc10], esi
je 0x4b6f0d
mov eax, dword [ebp + 0x10]
push ebx
push eax
push str.invalid_hash
push dword [ebp - 0xc08]
call fcn.004b46d0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ceaf9
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp - 0xc08]
cmp dword [0x544ad8], 0
je 0x4b6f5c
push ebx
push esi
push edi
push str.solution:_s:nv_d:nc_d
lea eax, [ebp - 0x804]
push 0x400
push eax
call fcn.004b6830
add esp, 0x18
test eax, eax
js 0x4b6f5c
lea eax, [ebp - 0x804]
push eax
call fcn.004b4570
add esp, 4
cmp dword [0x544adc], 0
je 0x4b6f5c
call fcn.004b6000
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ceaf9
mov esp, ebp
pop ebp
ret