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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54f7c8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5d0074]
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 ebx, ecx
mov dword [ebp - 0x40], ebx
mov ecx, dword [ebp + 8]
mov edx, ebx
mov eax, dword [ebp + 0xc]
neg edx
mov dword [ebp - 0x54], eax
mov esi, ecx
mov eax, dword [ebp + 0x10]
sbb edx, edx
mov dword [ebp - 0x48], eax
lea eax, [ebx - 0x18c]
and edx, eax
mov dword [ebp - 0x30], ecx
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x4c], edx
jb 0x4660a0
mov esi, dword [ecx]
lea edi, [eax + eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x4660c1
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x4660b0
mov eax, dword [ebx + 0x48]
and eax, edx
mov edx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x34]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x44], ebx
mov ecx, dword [edx + eax*8]
lea eax, [eax*8 + 4]
mov dword [ebp - 0x34], ecx
mov esi, ecx
mov dword [ebp - 0x38], eax
cmp ecx, ebx
jne 0x4660ec
mov eax, ebx
jmp 0x4660f1
mov eax, dword [eax + edx]
mov eax, dword [eax]
cmp esi, eax
je 0x466166
mov eax, dword [ebp - 0x30]
lea edi, [esi + 8]
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x466105
mov edx, dword [eax]
cmp dword [edi + 0x14], 8
mov ecx, edi
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x3c], eax
jb 0x466115
mov ecx, dword [edi]
mov ebx, dword [ebp - 0x30]
cmp eax, dword [ebx + 0x10]
mov ebx, dword [ebp - 0x44]
jne 0x46612d
push eax
call fcn.00406f00
add esp, 4
test eax, eax
je 0x46613a
mov esi, dword [esi]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x38]
jmp 0x4660e4
cmp dword [edi + 0x14], 8
jb 0x466142
mov edi, dword [edi]
mov edx, dword [ebp - 0x30]
mov ecx, edx
cmp dword [edx + 0x14], 8
jb 0x46614f
mov ecx, dword [edx]
mov eax, dword [edx + 0x10]
cmp eax, dword [ebp - 0x3c]
jne 0x466166
push eax
mov edx, edi
call fcn.00406f00
add esp, 4
test eax, eax
je 0x466168
mov esi, ebx
cmp esi, ebx
je 0x466174
mov eax, dword [esi + 0x20]
jmp 0x466372
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x28], 0
jne 0x4661af
mov ecx, dword [ebp - 0x48]
mov byte [ecx], 1
cmp dword [eax + 0x60], 0
je 0x466370
cmp dword [eax + 0x64], 0
je 0x466370
mov ecx, dword [ebp - 0x4c]
push 0xffff0002
push 0xffff0000
push eax
call fcn.00463260
jmp 0x466372
lea ebx, [eax + 0x18]
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x34], ebx
call fcn.00406d00
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4662f5
cmp dword [ebp - 0x18], 8
lea esi, [ebp - 0x2c]
lea edi, [eax + eax]
mov edx, 0x811c9dc5
cmovae esi, dword [ebp - 0x2c]
xor ecx, ecx
test edi, edi
je 0x466201
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x4661f0
and edx, dword [0x5d64dc]
mov ebx, dword [0x5d64d0]
mov ecx, dword [ebx + edx*8]
lea edx, [edx*8 + 4]
mov dword [ebp - 0x3c], ecx
mov esi, ecx
mov dword [ebp - 0x38], edx
nop
mov eax, dword [0x5d64c8]
cmp ecx, eax
je 0x46622e
mov eax, dword [edx + ebx]
mov eax, dword [eax]
cmp esi, eax
je 0x4662e7
cmp dword [ebp - 0x18], 8
lea edi, [esi + 8]
mov ebx, dword [edi + 0x10]
lea edx, [ebp - 0x2c]
cmovae edx, dword [ebp - 0x2c]
mov ecx, edi
cmp dword [edi + 0x14], 8
jb 0x466251
mov ecx, dword [edi]
cmp ebx, dword [ebp - 0x1c]
jne 0x466263
push ebx
call fcn.00406f00
add esp, 4
test eax, eax
je 0x466273
mov esi, dword [esi]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov ebx, dword [0x5d64d0]
jmp 0x466220
cmp dword [edi + 0x14], 8
jb 0x46627b
mov edi, dword [edi]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x4662a3
push eax
mov edx, edi
call fcn.00406f00
add esp, 4
test eax, eax
jne 0x4662a3
mov eax, dword [0x5d64c8]
jmp 0x4662aa
mov eax, dword [0x5d64c8]
mov esi, eax
cmp esi, eax
je 0x4662e7
cmp dword [esi + 0x80], 0
je 0x46635b
cmp dword [esi + 0x84], 0
je 0x46635b
add esi, 0x38
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x4662e7
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x4662dd
mov esi, dword [esi]
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.004079c0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4661d0
mov ebx, dword [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00407c80
cmp dword [ebx + 0x14], 8
mov esi, ebx
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x44], eax
jb 0x466314
mov esi, dword [ebx]
lea edi, [eax + eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x466333
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x466322
mov ecx, dword [ebp - 0x40]
and edx, dword [ecx + 0x48]
mov eax, dword [ecx + 0x3c]
mov ecx, dword [ecx + 0x34]
mov dword [ebp - 0x3c], ecx
mov ebx, dword [eax + edx*8]
lea eax, [eax + edx*8]
add eax, 4
mov dword [ebp - 0x38], ebx
mov esi, ebx
mov dword [ebp - 0x50], eax
cmp ebx, ecx
jne 0x466390
mov eax, ecx
jmp 0x466394
mov ecx, dword [ebp - 0x48]
mov byte [ecx], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00407c80
xor eax, eax
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.00520c02
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x46640a
mov eax, dword [ebp - 0x34]
lea edi, [esi + 8]
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x4663a8
mov edx, dword [eax]
cmp dword [edi + 0x14], 8
mov eax, edi
mov ebx, dword [edi + 0x10]
jb 0x4663b5
mov eax, dword [edi]
cmp ebx, dword [ebp - 0x44]
jne 0x4663cc
push ebx
mov ecx, eax
call fcn.00406f00
add esp, 4
test eax, eax
je 0x4663d9
mov ecx, dword [ebp - 0x3c]
mov esi, dword [esi]
mov ebx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x50]
jmp 0x466353
cmp dword [edi + 0x14], 8
jb 0x4663e1
mov edi, dword [edi]
mov ecx, dword [ebp - 0x34]
cmp dword [ecx + 0x14], 8
jb 0x4663ec
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x44]
cmp eax, ebx
jne 0x466402
push eax
mov edx, edi
call fcn.00406f00
add esp, 4
test eax, eax
je 0x46640c
mov eax, dword [ebp - 0x40]
mov esi, dword [eax + 0x34]
jmp 0x46640f
mov esi, ecx
mov eax, dword [ebp - 0x40]
mov ebx, 0xffff0001
cmp esi, dword [eax + 0x34]
jne 0x466424
mov eax, dword [ebp - 0x54]
mov byte [eax], 1
jmp 0x466370
mov eax, dword [esi + 0x20]
mov edi, dword [ebp - 0x4c]
push eax
push 4
push 0x110a
push dword [edi + 0x130]
mov dword [ebp - 0x54], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
test esi, esi
je 0x466483
nop word [eax + eax]
push esi
lea ecx, [edi + 0x130]
call fcn.00452ad0
mov ecx, dword [ebp - 0x30]
mov eax, dword [eax + 0x60]
cmp eax, dword [ecx + 0x60]
jge 0x466483
push esi
push 1
push 0x110a
push dword [edi + 0x130]
mov ebx, esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
test esi, esi
jne 0x466450
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x54]
mov byte [ecx], 1
test eax, eax
je 0x466370
mov ecx, dword [ebp - 0x30]
cmp dword [ecx + 0x60], 0
je 0x466370
cmp dword [ecx + 0x64], 0
je 0x466370
push ebx
push eax
push ecx
mov ecx, edi
call fcn.00463260
jmp 0x466372