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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c121d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x50d024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp ecx, eax
je 0x406f54
mov edx, dword [ebx + 4]
lea eax, [ebx + 4]
mov dword [ebp - 0x20], edx
mov edi, ecx
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], edi
mov dword [ebp - 4], 0
lea esi, [ecx + 8]
cmp dword [esi + 0x14], 8
mov eax, dword [ecx + 4]
mov ebx, dword [esi + 0x10]
mov dword [ebp - 0x2c], eax
jb 0x406df6
mov esi, dword [esi]
xor ecx, ecx
mov edx, 0x811c9dc5
add ebx, ebx
je 0x406e12
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x406e01
mov eax, dword [ebp - 0x10]
and edx, dword [eax + 0x18]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + edx*8]
lea eax, [eax + edx*8]
mov dword [ebp - 0x14], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], eax
nop dword [eax]
mov esi, edi
cmp edi, eax
mov eax, dword [edi]
mov edi, eax
mov dword [ebp - 0x38], edi
sete bl
mov dword [ebp - 0x24], eax
lea ecx, [esi + 8]
mov dword [ebp - 0x34], ecx
mov byte [ebp - 4], 0
call fcn.00409da0
push 0x24
push esi
call fcn.0049902c
mov ecx, dword [ebp - 0x10]
add esp, 8
dec dword [ecx + 8]
test bl, bl
jne 0x406e83
mov eax, edi
cmp eax, dword [ebp + 0xc]
mov eax, dword [ebp - 0x28]
jne 0x406e30
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 8]
jne 0x406f42
mov eax, dword [ebp - 0x14]
jmp 0x406f40
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
jne 0x406e95
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
jmp 0x406e98
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 4], ecx
cmp edi, dword [ebp + 0xc]
je 0x406f42
cmp dword [edi + 0x1c], 8
lea esi, [edi + 8]
mov ebx, dword [esi + 0x10]
jb 0x406eb2
mov esi, dword [esi]
xor eax, eax
mov edx, 0x811c9dc5
add ebx, ebx
je 0x406ed1
nop dword [eax]
movzx ecx, byte [eax + esi]
inc eax
xor ecx, edx
imul edx, ecx, 0x1000193
cmp eax, ebx
jb 0x406ec0
mov eax, dword [ebp - 0x10]
and edx, dword [eax + 0x18]
mov eax, dword [ebp - 0x1c]
lea eax, [eax + edx*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
mov esi, edi
cmp edi, eax
mov eax, dword [edi]
mov edi, eax
mov dword [ebp - 0x38], edi
sete bl
mov dword [ebp - 0x2c], eax
lea ecx, [esi + 8]
mov dword [ebp - 0x34], ecx
mov byte [ebp - 4], 0
call fcn.00409da0
push 0x24
push esi
call fcn.0049902c
mov eax, dword [ebp - 0x10]
add esp, 8
dec dword [eax + 8]
test bl, bl
jne 0x406f27
mov eax, dword [ebp + 0xc]
cmp edi, eax
je 0x406f3d
mov eax, dword [ebp - 0x28]
jmp 0x406ee6
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov dword [eax], edx
mov dword [eax + 4], edx
cmp edi, dword [ebp + 0xc]
jne 0x406ea4
jmp 0x406f42
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
mov dword [eax], edi
mov dword [edi + 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8