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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5535dd
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5d6024]
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 0x46d371
mov esi, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
add edi, edi
je 0x46d394
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x46d380
mov eax, dword [ebp - 0x30]
push edx
push ebx
lea ecx, [ebp - 0x48]
push ecx
mov ecx, eax
call fcn.0040add0
mov eax, dword [eax + 4]
test eax, eax
jne 0x46d3ae
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x34]
mov ecx, dword [ebp - 0x34]
cmp eax, dword [ecx + 0x34]
je 0x46d3be
mov eax, dword [eax + 0x20]
jmp 0x46d516
cmp dword [ebx + 0x28], 0
jne 0x46d3f6
mov eax, dword [ebp - 0x38]
mov byte [eax], 1
cmp dword [ebx + 0x60], 0
je 0x46d514
cmp dword [ebx + 0x64], 0
je 0x46d514
mov ecx, dword [ebp - 0x3c]
push 0xffff0002
push 0xffff0000
push ebx
call fcn.0046a6d0
jmp 0x46d516
lea eax, [ebx + 0x18]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406c70
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x46d4a7
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 0x46d441
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x46d430
push edx
lea eax, [ebp - 0x2c]
mov ecx, 0x5dc400
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0040add0
mov eax, dword [eax + 4]
test eax, eax
je 0x46d49c
cmp eax, dword [0x5dc404]
je 0x46d49c
cmp dword [eax + 0x80], 0
je 0x46d534
cmp dword [eax + 0x84], 0
je 0x46d534
add eax, 0x38
lea ecx, [ebp - 0x2c]
cmp ecx, eax
je 0x46d49c
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x46d492
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00407c80
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x46d414
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00407f50
cmp dword [ebx + 0x2c], 8
lea eax, [ebx + 0x18]
mov edi, dword [eax + 0x10]
mov esi, eax
jb 0x46d4c6
mov esi, dword [eax]
xor ecx, ecx
mov edx, 0x811c9dc5
add edi, edi
je 0x46d4e5
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x46d4d1
lea eax, [ebx + 0x18]
mov esi, dword [ebp - 0x30]
mov ecx, esi
push edx
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0040add0
mov eax, dword [eax + 4]
test eax, eax
jne 0x46d4ff
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x30], 0xffff0001
cmp eax, dword [ecx + 0x34]
jne 0x46d54b
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.00521461
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.00407f50
jmp 0x46d514
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 0x46d5a1
nop
push esi
lea ecx, [edi + 0x130]
call fcn.00452ad0
mov eax, dword [eax + 0x60]
cmp eax, dword [ebx + 0x60]
jge 0x46d5a1
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 0x46d570
mov eax, dword [ebp - 0x38]
mov byte [eax], 1
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x46d514
cmp dword [ebx + 0x60], 0
je 0x46d514
cmp dword [ebx + 0x64], 0
je 0x46d514
push dword [ebp - 0x30]
mov ecx, edi
push eax
push ebx
call fcn.0046a6d0
jmp 0x46d516