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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x600dd8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
push edi
mov eax, dword [0x7f206c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x7f2bd8
mov dword [ebp - 0x1c], 0x7f2bd8
call fcn.004a5780
add esp, 4
test eax, eax
je 0x408288
push eax
call fcn.004a5351
add esp, 4
mov edi, dword [ebp + 8]
mov esi, edi
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x10], eax
jb 0x4082a2
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
test eax, eax
je 0x4082c4
mov edi, eax
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x4082b0
mov edi, dword [ebp + 8]
and edx, dword [0x7f2c20]
mov eax, dword [0x7f2c14]
lea ecx, [edx*8 + 4]
mov esi, dword [eax + edx*8]
mov edx, esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov ecx, dword [0x7f2c0c]
cmp edx, ecx
jne 0x4082ef
mov eax, ecx
jmp 0x4082f7
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + edx]
mov eax, dword [eax]
cmp esi, eax
je 0x40839c
cmp dword [edi + 0x14], 0x10
lea ecx, [esi + 8]
mov edx, edi
jb 0x40830c
mov edx, dword [edi]
cmp dword [ecx + 0x14], 0x10
mov edi, dword [ecx + 0x10]
jb 0x408317
mov ecx, dword [ecx]
cmp edi, dword [ebp - 0x10]
jne 0x408371
sub edi, 4
jb 0x408332
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x408337
add ecx, 4
add edx, 4
sub edi, 4
jae 0x408321
cmp edi, 0xfffffffc
je 0x40836b
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x408364
cmp edi, 0xfffffffd
je 0x40836b
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x408364
cmp edi, 0xfffffffe
je 0x40836b
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x408364
cmp edi, 0xffffffff
je 0x40836b
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x40836b
sbb eax, eax
or eax, 1
jmp 0x40836d
xor eax, eax
test eax, eax
je 0x408383
mov esi, dword [esi]
mov edi, dword [ebp + 8]
mov eax, dword [0x7f2c14]
mov edx, dword [ebp - 0x18]
jmp 0x4082e1
lea eax, [esi + 8]
push eax
push dword [ebp + 8]
call fcn.00403a80
mov ecx, dword [0x7f2c0c]
test al, al
cmovne esi, ecx
jmp 0x40839e
mov esi, ecx
cmp esi, ecx
jne 0x4083f3
push 0x629868
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
call fcn.0041d340
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
push 0x629868
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call fcn.0041d340
add esp, 8
mov dword [ebp - 0x20], 0x7a135c
lea ecx, [ebp - 0x38]
call fcn.00402790
lea edi, [ebp - 0x38]
jmp 0x40845e
mov edi, dword [0x7f2bc0]
mov eax, dword [0x7f2bc4]
cmp edi, eax
je 0x408410
mov ecx, dword [esi + 0x20]
cmp dword [edi], ecx
je 0x40845e
add edi, 0x1c
cmp edi, eax
jne 0x408405
push 0x629868
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
call fcn.0041d340
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
push 0x629868
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call fcn.0041d340
add esp, 8
mov dword [ebp - 0x20], 0x7a135c
lea edi, [ebp - 0x38]
mov ecx, edi
call fcn.00402790
push 0x7f2bd8
mov dword [ebp - 4], 5
call fcn.004a57a5
add esp, 4
test eax, eax
je 0x40847f
push eax
call fcn.004a5351
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4