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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55389d
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5d8024]
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 edx, ecx
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 0xc]
neg ecx
mov ebx, dword [ebp + 8]
mov esi, ebx
mov dword [ebp - 0x40], eax
sbb ecx, ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
lea eax, [edx - 0x18c]
mov edi, dword [ebx + 0x10]
and ecx, eax
cmp dword [ebx + 0x14], 8
lea eax, [edx + 0x30]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x30], eax
jb 0x46d3f1
mov esi, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
add edi, edi
je 0x46d414
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x46d400
mov eax, dword [ebp - 0x30]
push edx
push ebx
lea ecx, [ebp - 0x48]
push ecx
mov ecx, eax
call fcn.0040ad60
mov eax, dword [eax + 4]
test eax, eax
jne 0x46d42e
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x34]
mov ecx, dword [ebp - 0x34]
cmp eax, dword [ecx + 0x34]
je 0x46d43e
mov eax, dword [eax + 0x20]
jmp 0x46d596
cmp dword [ebx + 0x28], 0
jne 0x46d476
mov eax, dword [ebp - 0x38]
mov byte [eax], 1
cmp dword [ebx + 0x60], 0
je 0x46d594
cmp dword [ebx + 0x64], 0
je 0x46d594
mov ecx, dword [ebp - 0x3c]
push 0xffff0002
push 0xffff0000
push ebx
call fcn.0046a780
jmp 0x46d596
lea eax, [ebx + 0x18]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406c50
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x46d527
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 0x46d4c1
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x46d4b0
push edx
lea eax, [ebp - 0x2c]
mov ecx, 0x5de56c
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0040ad60
mov eax, dword [eax + 4]
test eax, eax
je 0x46d51c
cmp eax, dword [0x5de570]
je 0x46d51c
cmp dword [eax + 0x80], 0
je 0x46d5b4
cmp dword [eax + 0x84], 0
je 0x46d5b4
add eax, 0x38
lea ecx, [ebp - 0x2c]
cmp ecx, eax
je 0x46d51c
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x46d512
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00407c60
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x46d494
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00407f30
cmp dword [ebx + 0x2c], 8
lea eax, [ebx + 0x18]
mov edi, dword [eax + 0x10]
mov esi, eax
jb 0x46d546
mov esi, dword [eax]
xor ecx, ecx
mov edx, 0x811c9dc5
add edi, edi
je 0x46d565
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x46d551
lea eax, [ebx + 0x18]
mov esi, dword [ebp - 0x30]
mov ecx, esi
push edx
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0040ad60
mov eax, dword [eax + 4]
test eax, eax
jne 0x46d57f
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x30], 0xffff0001
cmp eax, dword [ecx + 0x34]
jne 0x46d5cb
mov eax, dword [ebp - 0x40]
mov byte [eax], 1
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.00521dac
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 0x38]
mov byte [eax], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00407f30
jmp 0x46d594
mov eax, dword [eax + 0x20]
mov edi, dword [ebp - 0x3c]
push eax
push 4
push 0x110a
push dword [edi + 0x130]
mov dword [ebp - 0x40], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
test esi, esi
je 0x46d621
nop
push esi
lea ecx, [edi + 0x130]
call fcn.00452b80
mov eax, dword [eax + 0x60]
cmp eax, dword [ebx + 0x60]
jge 0x46d621
push esi
push 1
push 0x110a
push dword [edi + 0x130]
mov dword [ebp - 0x30], esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
test esi, esi
jne 0x46d5f0
mov eax, dword [ebp - 0x38]
mov byte [eax], 1
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x46d594
cmp dword [ebx + 0x60], 0
je 0x46d594
cmp dword [ebx + 0x64], 0
je 0x46d594
push dword [ebp - 0x30]
mov ecx, edi
push eax
push ebx
call fcn.0046a780
jmp 0x46d596