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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov dword [ebp - 0x14], ecx
mov ebx, dword [ebp + 8]
cmp ebx, dword [ebp + 0xc]
je 0x4405b7
mov ecx, dword [ebx + 0x18]
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x20], eax
cmp eax, 0x10
jb 0x4405be
mov edx, dword [ebx + 8]
jmp 0x4405c1
mov eax, ebx
jmp 0x440791
lea edx, [ebx + 8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], eax
mov esi, 0x811c9dc5
test ecx, ecx
je 0x4405e6
xor edi, edi
movzx eax, byte [edx + edi]
xor eax, esi
imul esi, eax, 0x1000193
inc edi
cmp ecx, edi
jne 0x4405d5
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x28], ecx
and esi, dword [eax + 0x18]
lea eax, [esi + esi]
mov ecx, dword [ebp - 0x18]
lea edx, [ecx + esi*8]
add esi, esi
inc esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x10], edx
mov edx, dword [edx]
mov dword [ebp - 0x30], edx
cmp edx, ebx
mov esi, dword [ecx + eax*4 + 4]
setne byte [ebp - 0x24]
mov eax, dword [ebx + 4]
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x20]
mov edi, dword [ebx]
cmp edx, 0x10
jb 0x440652
mov ecx, dword [ebx + 8]
lea eax, [edx + 1]
cmp eax, 0x1000
jb 0x440648
mov eax, edx
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x44079b
add eax, 0x24
mov ecx, edx
push eax
push ecx
call fcn.0045b9ca
add esp, 8
push 0x20
push ebx
call fcn.0045b9ca
add esp, 8
mov eax, dword [ebp - 0x14]
dec dword [eax + 8]
cmp ebx, esi
je 0x44068a
mov eax, dword [ebp + 0xc]
cmp edi, eax
setne cl
or cl, byte [ebp - 0x24]
cmp cl, 1
jne 0x440784
cmp edi, eax
je 0x440789
mov edx, dword [edi + 0x1c]
mov ebx, edi
jmp 0x44061c
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
jne 0x4406a0
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov dword [edx], ecx
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov dword [edx + esi*4], ecx
cmp edi, eax
je 0x440789
mov eax, dword [edi + 0x1c]
cmp eax, 0x10
jb 0x4406be
mov ecx, dword [edi + 8]
jmp 0x4406c1
lea ecx, [edi + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x18]
mov edx, 0x811c9dc5
test eax, eax
je 0x4406e7
xor ebx, ebx
mov esi, ecx
movzx ecx, byte [ecx + ebx]
xor ecx, edx
imul edx, ecx, 0x1000193
mov ecx, esi
inc ebx
cmp eax, ebx
jne 0x4406d2
mov ecx, dword [ebp - 0x14]
and edx, dword [ecx + 0x18]
lea ecx, [edx + edx]
mov esi, dword [ebp - 0x18]
lea ebx, [esi + edx*8]
mov dword [ebp - 0x10], ebx
lea edx, [edx + edx + 1]
mov dword [ebp - 0x1c], edx
mov esi, dword [esi + ecx*4 + 4]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], esi
mov ebx, dword [edi]
cmp eax, 0x10
jb 0x440740
mov ecx, dword [edi + 8]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x440733
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x44079b
add eax, 0x24
mov esi, eax
mov ecx, edx
push esi
push ecx
call fcn.0045b9ca
add esp, 8
mov esi, dword [ebp - 0x24]
push 0x20
push edi
call fcn.0045b9ca
add esp, 8
mov eax, dword [ebp - 0x14]
dec dword [eax + 8]
cmp edi, esi
je 0x440761
cmp ebx, dword [ebp + 0xc]
je 0x440781
mov eax, dword [ebx + 0x1c]
mov edi, ebx
jmp 0x44070a
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov dword [eax + edx*4], ecx
mov edi, ebx
mov eax, dword [ebp + 0xc]
cmp ebx, eax
jne 0x4406b1
jmp 0x440789
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
mov dword [eax + 4], ecx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 8
call fcn.00460d04