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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55861d
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5dd024]
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 0x46dc91
mov esi, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
add edi, edi
je 0x46dcb4
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x46dca0
mov eax, dword [ebp - 0x30]
push edx
push ebx
lea ecx, [ebp - 0x48]
push ecx
mov ecx, eax
call fcn.0040ad70
mov eax, dword [eax + 4]
test eax, eax
jne 0x46dcce
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x34]
mov ecx, dword [ebp - 0x34]
cmp eax, dword [ecx + 0x34]
je 0x46dcde
mov eax, dword [eax + 0x20]
jmp 0x46de36
cmp dword [ebx + 0x28], 0
jne 0x46dd16
mov eax, dword [ebp - 0x38]
mov byte [eax], 1
cmp dword [ebx + 0x60], 0
je 0x46de34
cmp dword [ebx + 0x64], 0
je 0x46de34
mov ecx, dword [ebp - 0x3c]
push 0xffff0002
push 0xffff0000
push ebx
call fcn.0046b020
jmp 0x46de36
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 0x46ddc7
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 0x46dd61
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x46dd50
push edx
lea eax, [ebp - 0x2c]
mov ecx, 0x5e359c
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0040ad70
mov eax, dword [eax + 4]
test eax, eax
je 0x46ddbc
cmp eax, dword [0x5e35a0]
je 0x46ddbc
cmp dword [eax + 0x80], 0
je 0x46de54
cmp dword [eax + 0x84], 0
je 0x46de54
add eax, 0x38
lea ecx, [ebp - 0x2c]
cmp ecx, eax
je 0x46ddbc
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x46ddb2
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00407c60
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x46dd34
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 0x46dde6
mov esi, dword [eax]
xor ecx, ecx
mov edx, 0x811c9dc5
add edi, edi
je 0x46de05
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x46ddf1
lea eax, [ebx + 0x18]
mov esi, dword [ebp - 0x30]
mov ecx, esi
push edx
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0040ad70
mov eax, dword [eax + 4]
test eax, eax
jne 0x46de1f
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x30], 0xffff0001
cmp eax, dword [ecx + 0x34]
jne 0x46de6b
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.005255bb
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 0x46de34
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 0x46dec1
nop
push esi
lea ecx, [edi + 0x130]
call fcn.004530d0
mov eax, dword [eax + 0x60]
cmp eax, dword [ebx + 0x60]
jge 0x46dec1
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 0x46de90
mov eax, dword [ebp - 0x38]
mov byte [eax], 1
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x46de34
cmp dword [ebx + 0x60], 0
je 0x46de34
cmp dword [ebx + 0x64], 0
je 0x46de34
push dword [ebp - 0x30]
mov ecx, edi
push eax
push ebx
call fcn.0046b020
jmp 0x46de36