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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x438670
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x450068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 0xc]
mov esi, ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], eax
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x28], 0x4520b0
jb 0x403662
mov esi, dword [ebx]
lea edi, [eax + eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x403681
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x403670
and edx, dword [0x4520c8]
mov eax, dword [0x4520bc]
mov dword [ebp - 0x20], eax
lea ecx, [edx*8]
mov edx, dword [0x4520b4]
mov dword [ebp - 0x1c], ecx
cmp dword [ecx + eax], edx
jne 0x4036ab
mov esi, edx
mov edx, dword [ebx + 0x10]
jmp 0x4036c3
mov esi, dword [ecx + eax + 4]
mov edx, dword [ebx + 0x10]
mov esi, dword [esi]
jmp 0x4036c3
mov eax, dword [ebp - 0x20]
cmp esi, dword [ecx + eax]
je 0x403761
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 8
lea eax, [esi + 8]
jb 0x4036db
mov eax, dword [esi + 8]
cmp dword [ebx + 0x14], 8
mov edi, ebx
jb 0x4036e5
mov edi, dword [ebx]
mov ecx, dword [ebp - 0x1c]
cmp edx, dword [esi + 0x18]
jne 0x4036c0
mov ecx, dword [ebx + 0x10]
mov edx, ecx
test ecx, ecx
je 0x403711
sub edi, eax
nop dword [eax + eax]
mov cx, word [edi + eax]
cmp cx, word [eax]
jne 0x403756
add eax, 2
sub edx, 1
jne 0x403700
mov edi, dword [ebp + 0x10]
push edi
mov edx, dword [edi + 4]
mov ecx, dword [edi]
mov dword [edx], ecx
mov edx, dword [edi]
mov ecx, dword [edi + 4]
mov dword [edx + 4], ecx
dec dword [0x4520b8]
call fcn.00403030
mov eax, dword [ebp - 0x24]
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041aaeb
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebx + 0x10]
mov ecx, dword [ebp - 0x1c]
jmp 0x4036c0
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x18], edi
mov eax, dword [edi]
cmp esi, eax
je 0x403799
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 4], edx
mov edx, dword [0x4520bc]
jmp 0x40379c
mov edx, dword [ebp - 0x20]
mov eax, dword [ecx + edx]
cmp eax, dword [0x4520b4]
jne 0x4037b5
mov dword [ecx + edx], edi
mov eax, dword [0x4520bc]
mov dword [ecx + eax + 4], edi
jmp 0x4037dd
cmp eax, esi
jne 0x4037be
mov dword [ecx + edx], edi
jmp 0x4037dd
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax]
mov dword [ecx + edx + 4], eax
cmp eax, edi
je 0x4037dd
mov edx, dword [0x4520bc]
mov eax, dword [edx + ecx + 4]
mov eax, dword [eax + 4]
mov dword [edx + ecx + 4], eax
mov ecx, 0x4520b0
mov dword [ebp - 4], 2
call fcn.00403460
mov eax, dword [ebp - 0x24]
mov dword [eax], edi
mov byte [eax + 4], 1
jmp 0x403738