Function at 0x46c5d0
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 0x46c630
mov esi, dword [ecx]
lea edi, [eax + eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x46c651
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x46c640
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 0x46c67c
mov eax, ebx
jmp 0x46c681
mov eax, dword [eax + edx]
mov eax, dword [eax]
cmp esi, eax
je 0x46c6f6
mov eax, dword [ebp - 0x30]
lea edi, [esi + 8]
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x46c695
mov edx, dword [eax]
cmp dword [edi + 0x14], 8
mov ecx, edi
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x3c], eax
jb 0x46c6a5
mov ecx, dword [edi]
mov ebx, dword [ebp - 0x30]
cmp eax, dword [ebx + 0x10]
mov ebx, dword [ebp - 0x44]
jne 0x46c6bd
push eax
call fcn.00406f00
add esp, 4
test eax, eax
je 0x46c6ca
mov esi, dword [esi]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x38]
jmp 0x46c674
cmp dword [edi + 0x14], 8
jb 0x46c6d2
mov edi, dword [edi]
mov edx, dword [ebp - 0x30]
mov ecx, edx
cmp dword [edx + 0x14], 8
jb 0x46c6df
mov ecx, dword [edx]
mov eax, dword [edx + 0x10]
cmp eax, dword [ebp - 0x3c]
jne 0x46c6f6
push eax
mov edx, edi
call fcn.00406f00
add esp, 4
test eax, eax
je 0x46c6f8
mov esi, ebx
cmp esi, ebx
je 0x46c704
mov eax, dword [esi + 0x20]
jmp 0x46c902
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x28], 0
jne 0x46c73f
mov ecx, dword [ebp - 0x48]
mov byte [ecx], 1
cmp dword [eax + 0x60], 0
je 0x46c900
cmp dword [eax + 0x64], 0
je 0x46c900
mov ecx, dword [ebp - 0x4c]
push 0xffff0002
push 0xffff0000
push eax
call fcn.00469ea0
jmp 0x46c902
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 0x46c885
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 0x46c791
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x46c780
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 0x46c7be
mov eax, dword [edx + ebx]
mov eax, dword [eax]
cmp esi, eax
je 0x46c877
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 0x46c7e1
mov ecx, dword [edi]
cmp ebx, dword [ebp - 0x1c]
jne 0x46c7f3
push ebx
call fcn.00406f00
add esp, 4
test eax, eax
je 0x46c803
mov esi, dword [esi]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov ebx, dword [0x5d64d0]
jmp 0x46c7b0
cmp dword [edi + 0x14], 8
jb 0x46c80b
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 0x46c833
push eax
mov edx, edi
call fcn.00406f00
add esp, 4
test eax, eax
jne 0x46c833
mov eax, dword [0x5d64c8]
jmp 0x46c83a
mov eax, dword [0x5d64c8]
mov esi, eax
cmp esi, eax
je 0x46c877
cmp dword [esi + 0x80], 0
je 0x46c8eb
cmp dword [esi + 0x84], 0
je 0x46c8eb
add esi, 0x38
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x46c877
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x46c86d
mov esi, dword [esi]
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.004079c0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x46c760
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 0x46c8a4
mov esi, dword [ebx]
lea edi, [eax + eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x46c8c3
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x46c8b2
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 0x46c920
mov eax, ecx
jmp 0x46c924
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 0x46c99a
mov eax, dword [ebp - 0x34]
lea edi, [esi + 8]
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x46c938
mov edx, dword [eax]
cmp dword [edi + 0x14], 8
mov eax, edi
mov ebx, dword [edi + 0x10]
jb 0x46c945
mov eax, dword [edi]
cmp ebx, dword [ebp - 0x44]
jne 0x46c95c
push ebx
mov ecx, eax
call fcn.00406f00
add esp, 4
test eax, eax
je 0x46c969
mov ecx, dword [ebp - 0x3c]
mov esi, dword [esi]
mov ebx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x50]
jmp 0x46c8e3
cmp dword [edi + 0x14], 8
jb 0x46c971
mov edi, dword [edi]
mov ecx, dword [ebp - 0x34]
cmp dword [ecx + 0x14], 8
jb 0x46c97c
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x44]
cmp eax, ebx
jne 0x46c992
push eax
mov edx, edi
call fcn.00406f00
add esp, 4
test eax, eax
je 0x46c99c
mov eax, dword [ebp - 0x40]
mov esi, dword [eax + 0x34]
jmp 0x46c99f
mov esi, ecx
mov eax, dword [ebp - 0x40]
mov ebx, 0xffff0001
cmp esi, dword [eax + 0x34]
jne 0x46c9b4
mov eax, dword [ebp - 0x54]
mov byte [eax], 1
jmp 0x46c900
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 0x46ca13
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 0x46ca13
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 0x46c9e0
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x54]
mov byte [ecx], 1
test eax, eax
je 0x46c900
mov ecx, dword [ebp - 0x30]
cmp dword [ecx + 0x60], 0
je 0x46c900
cmp dword [ecx + 0x64], 0
je 0x46c900
push ebx
push eax
push ecx
mov ecx, edi
call fcn.00469ea0
jmp 0x46c902