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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x442310]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [esp + 8], ecx
push esi
mov ecx, dword [eax + 0x14]
mov ebx, dword [eax + 0x10]
mov dword [esp + 8], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ecx
push edi
cmp ecx, 0x10
jb 0x407570
mov esi, dword [eax]
jmp 0x407572
mov esi, eax
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x407591
lea ecx, [ecx]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x407580
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebx + 0x14]
and edx, ecx
cmp dword [ebx + 0x18], edx
ja 0x4075a8
shr ecx, 1
or eax, 0xffffffff
sub eax, ecx
add edx, eax
mov ecx, dword [ebx + 8]
lea esi, [edx*8]
mov edi, dword [ebx]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], esi
mov eax, dword [esi + ecx]
cmp edi, eax
je 0x4076a4
mov edi, dword [esi + ecx + 4]
mov edi, dword [edi]
cmp edi, eax
je 0x4076a4
lea eax, [edx*8]
mov dword [esp + 0x24], eax
mov edi, dword [edi + 4]
cmp dword [edi + 0x1c], 0x10
lea ecx, [edi + 8]
mov ebx, dword [ecx + 0x10]
jb 0x4075f1
mov ecx, dword [ecx]
cmp dword [esp + 0x28], 0x10
mov esi, dword [esp + 0xc]
jb 0x4075fe
mov esi, dword [esi]
mov eax, dword [esp + 0x1c]
mov edx, ebx
cmp eax, ebx
cmovb edx, eax
test edx, edx
je 0x40766c
sub edx, 4
jb 0x407623
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x407628
add esi, 4
add ecx, 4
sub edx, 4
jae 0x407612
cmp edx, 0xfffffffc
je 0x40765c
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x407655
cmp edx, 0xfffffffd
je 0x40765c
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x407655
cmp edx, 0xfffffffe
je 0x40765c
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x407655
cmp edx, 0xffffffff
je 0x40765c
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x40765c
sbb eax, eax
or eax, 1
jmp 0x40765e
xor eax, eax
test eax, eax
je 0x407668
mov ecx, dword [esp + 0xc]
jmp 0x407681
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
cmp eax, ebx
jae 0x407679
or eax, 0xffffffff
jmp 0x407681
xor eax, eax
cmp dword [ecx + 0x10], ebx
setne al
test eax, eax
sete al
test al, al
sete al
test al, al
je 0x4076e8
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
cmp edi, dword [ecx + eax]
jne 0x4075e0
mov ebx, dword [esp + 0x10]
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
cmp edi, eax
je 0x4076ce
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], esi
mov ecx, dword [eax + 4]
mov edx, dword [edi + 4]
mov dword [edi + 4], ecx
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov dword [esi + 4], edx
mov ecx, dword [ebx + 8]
mov edx, dword [esp + 0x18]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x40772d
mov dword [ecx], esi
mov eax, dword [ebx + 8]
mov dword [eax + edx + 4], esi
jmp 0x40774f
mov ebx, dword [esp + 0x10]
lea eax, [edi + 8]
push ecx
push eax
mov ecx, ebx
call fcn.00406f10
test al, al
je 0x407700
mov edi, dword [edi]
jmp 0x4076a4
push dword [ebp + 0x10]
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call fcn.004079b0
mov eax, dword [esp + 0x14]
mov dword [eax], edi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0041d103
mov esp, ebp
pop ebp
ret 0xc
cmp eax, edi
jne 0x407735
mov dword [ecx], esi
jmp 0x40774f
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, esi
je 0x40774f
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.004078c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
pop edi
mov dword [eax], esi
pop esi
pop ebx
xor ecx, esp
mov byte [eax + 4], 1
call fcn.0041d103
mov esp, ebp
pop ebp
ret 0xc