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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x49c068]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], edi
cmp edi, edx
je 0x40a4b3
cmp dword [edi + 0x20], 0x10
mov eax, dword [ecx + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 4]
push ebx
mov dword [ebp - 8], eax
lea ebx, [edi + 0xc]
jb 0x40a123
mov ebx, dword [ebx]
xor ecx, ecx
push esi
mov esi, 0x811c9dc5
cmp dword [edi + 0x1c], ecx
jbe 0x40a142
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edi + 0x1c]
jb 0x40a130
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
mov eax, dword [eax + 0x20]
and eax, esi
mov esi, dword [edi]
lea ebx, [ecx + eax*8]
mov ecx, dword [ebx + 4]
cmp edi, ecx
je 0x40a16c
nop dword [eax]
mov eax, esi
cmp esi, edx
je 0x40a17e
mov esi, dword [esi]
cmp eax, ecx
jne 0x40a160
cmp dword [ebx], edi
jne 0x40a275
mov eax, dword [ebp - 0x18]
mov dword [ebx], eax
jmp 0x40a278
cmp dword [ebx], edi
jne 0x40a184
mov dword [ebx], esi
cmp edi, esi
je 0x40a49e
mov ecx, dword [ebp - 0x14]
mov ebx, dword [edi + 4]
add ecx, 4
mov dword [ebp - 0x18], ebx
mov eax, dword [ecx + 4]
cmp edi, dword [eax]
jne 0x40a1aa
cmp esi, eax
jne 0x40a1aa
call fcn.0040a4d0
jmp 0x40a20b
push 3
lea ecx, [ebp - 8]
call fcn.004283d0
mov eax, edi
nop word [eax + eax]
mov dword [eax + 4], 0
mov eax, dword [eax]
cmp eax, esi
jne 0x40a1c0
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax + 4]
add ebx, 4
mov ecx, dword [ebx]
test ecx, ecx
je 0x40a200
nop dword [eax]
mov eax, dword [ecx + 8]
cmp dword [eax + 4], 0
je 0x40a1f1
lea ebx, [ecx + 4]
mov ecx, dword [ecx + 4]
jmp 0x40a1fc
mov dword [ecx], 0
mov ecx, dword [ecx + 4]
mov dword [ebx], ecx
test ecx, ecx
jne 0x40a1e0
lea ecx, [ebp - 8]
call fcn.00428480
mov ebx, dword [ebp - 0x18]
mov dword [ebx], esi
mov dword [esi + 4], ebx
mov dword [ebp - 0x20], 0
nop word [eax + eax]
mov ebx, dword [edi]
lea ecx, [edi + 8]
call fcn.00406820
mov eax, dword [edi + 8]
push 8
push eax
mov dword [edi + 8], 0
call fcn.0042b3d0
push 0x24
push dword [ebp - 0x1c]
call fcn.0042b3d0
mov eax, dword [ebp - 0x20]
add esp, 0x10
inc eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], eax
mov edi, ebx
cmp ebx, esi
jne 0x40a220
mov edx, dword [ebp - 0x14]
pop esi
pop ebx
pop edi
sub dword [edx + 0xc], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042b3c0
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 8]
mov dword [ebx + 4], eax
cmp esi, edx
je 0x40a2e8
nop
cmp dword [esi + 0x20], 0x10
lea ebx, [esi + 0xc]
mov eax, esi
mov dword [ebp - 8], eax
jb 0x40a290
mov ebx, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
cmp dword [esi + 0x1c], ecx
jbe 0x40a2b5
nop dword [eax]
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [esi + 0x1c]
jb 0x40a2a0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov esi, dword [esi]
and edx, dword [ecx + 0x20]
mov ecx, dword [ebp - 0x20]
lea ebx, [ecx + edx*8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebx + 4]
cmp eax, ecx
je 0x40a2dc
nop dword [eax]
mov eax, esi
cmp esi, edx
je 0x40a319
mov esi, dword [esi]
cmp eax, ecx
jne 0x40a2d0
mov ecx, dword [ebp - 0x18]
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
cmp esi, edx
jne 0x40a280
cmp edi, esi
je 0x40a49e
mov ecx, dword [ebp - 0x14]
mov ebx, dword [edi + 4]
add ecx, 4
mov dword [ebp - 0xc], ebx
mov eax, dword [ecx + 4]
cmp edi, dword [eax]
jne 0x40a3ee
cmp esi, eax
jne 0x40a3ee
call fcn.0040a4d0
jmp 0x40a44b
mov dword [ebx], esi
cmp edi, esi
je 0x40a49e
mov ecx, dword [ebp - 0x14]
mov ebx, dword [edi + 4]
add ecx, 4
mov dword [ebp - 8], ebx
mov eax, dword [ecx + 4]
cmp edi, dword [eax]
jne 0x40a341
cmp esi, eax
jne 0x40a341
call fcn.0040a4d0
jmp 0x40a39b
push 3
lea ecx, [ebp - 0xc]
call fcn.004283d0
mov eax, edi
nop dword [eax]
mov dword [eax + 4], 0
mov eax, dword [eax]
cmp eax, esi
jne 0x40a350
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax + 4]
add ebx, 4
mov ecx, dword [ebx]
test ecx, ecx
je 0x40a390
nop dword [eax]
mov eax, dword [ecx + 8]
cmp dword [eax + 4], 0
je 0x40a381
lea ebx, [ecx + 4]
mov ecx, dword [ecx + 4]
jmp 0x40a38c
mov dword [ecx], 0
mov ecx, dword [ecx + 4]
mov dword [ebx], ecx
test ecx, ecx
jne 0x40a370
lea ecx, [ebp - 0xc]
call fcn.00428480
mov ebx, dword [ebp - 8]
mov dword [ebx], esi
mov dword [esi + 4], ebx
mov dword [ebp - 0x18], 0
nop word [eax + eax]
mov ebx, dword [edi]
lea ecx, [edi + 8]
call fcn.00406820
mov eax, dword [edi + 8]
push 8
push eax
mov dword [edi + 8], 0
call fcn.0042b3d0
push 0x24
push dword [ebp - 0x1c]
call fcn.0042b3d0
mov eax, dword [ebp - 0x18]
add esp, 0x10
inc eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], eax
mov edi, ebx
cmp ebx, esi
jne 0x40a3b0
jmp 0x40a259
push 3
lea ecx, [ebp - 0x10]
call fcn.004283d0
mov eax, edi
nop word [eax + eax]
mov dword [eax + 4], 0
mov eax, dword [eax]
cmp eax, esi
jne 0x40a400
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax + 4]
add ebx, 4
mov ecx, dword [ebx]
test ecx, ecx
je 0x40a440
nop dword [eax]
mov eax, dword [ecx + 8]
cmp dword [eax + 4], 0
je 0x40a431
lea ebx, [ecx + 4]
mov ecx, dword [ecx + 4]
jmp 0x40a43c
mov dword [ecx], 0
mov ecx, dword [ecx + 4]
mov dword [ebx], ecx
test ecx, ecx
jne 0x40a420
lea ecx, [ebp - 0x10]
call fcn.00428480
mov ebx, dword [ebp - 0xc]
mov dword [ebx], esi
mov dword [esi + 4], ebx
mov dword [ebp - 0x18], 0
nop word [eax + eax]
mov ebx, dword [edi]
lea ecx, [edi + 8]
call fcn.00406820
mov eax, dword [edi + 8]
push 8
push eax
mov dword [edi + 8], 0
call fcn.0042b3d0
push 0x24
push dword [ebp - 0x1c]
call fcn.0042b3d0
mov eax, dword [ebp - 0x18]
add esp, 0x10
inc eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], eax
mov edi, ebx
cmp ebx, esi
jne 0x40a460
jmp 0x40a259
pop esi
pop ebx
mov eax, edx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042b3c0
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov eax, edx
xor ecx, ebp
pop edi
call fcn.0042b3c0
mov esp, ebp
pop ebp
ret 8