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

Disassembly:
push 0xb4
mov eax, 0x100aa984
call fcn.100a845f
mov esi, edx
mov dword [ebp - 0x74], esi
mov ebx, ecx
mov dword [ebp - 0x98], ebx
xor eax, eax
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
push 0xf
pop ecx
mov edx, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], edx
mov byte [ebp - 0x40], 0
and dword [ebp - 4], 0
lea edi, [ebp - 0x28]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 0x18], 0
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x28], 0
xor eax, eax
lea edi, [ebp - 0x58]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 0x48], 0
mov dword [ebp - 0x44], ecx
mov byte [ebp - 0x58], 0
xor eax, eax
lea edi, [ebp - 0x70]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 0x70], 0
mov byte [ebp - 4], 3
mov esi, dword [esi]
test esi, esi
je 0x10046dab
cmp dword [esi + 0x18], 0
je 0x10046dab
mov eax, dword [ebp - 0x74]
mov esi, dword [esi + 0x18]
mov dword [ebp - 0xa4], esi
mov eax, dword [eax + 8]
mov dword [ebp - 0x80], eax
mov eax, dword [eax + 0x78]
test eax, eax
je 0x10046dab
mov edi, esi
add eax, esi
neg edi
sbb edi, edi
and edi, eax
mov dword [ebp - 0xa8], edi
je 0x10046dab
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
add eax, esi
mov dword [ebp - 0x78], eax
add ecx, esi
mov eax, dword [edi + 0x1c]
add eax, esi
mov dword [ebp - 0x7c], ecx
cmp dword [ebp - 0x78], 0
je 0x10046dab
test eax, eax
je 0x10046dab
test ecx, ecx
je 0x10046dab
xor ecx, ecx
cmp dword [edi + 0x18], ecx
jbe 0x10046c33
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x90], edx
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x84], eax
mov edx, dword [edx + ecx*4]
add edx, esi
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x74], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10046b45
sub ecx, dword [ebp - 0x74]
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.1002f95a
cmp dword [ebp - 0x30], 0
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x78], edx
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x7c], edx
mov edx, dword [ebp - 0x2c]
je 0x10046c29
mov ebx, dword [ebp - 0x8c]
lea eax, [ebp - 0x40]
cmp edx, 0xf
mov dword [ebp - 0x78], ebx
mov ebx, dword [ebp - 0x90]
cmova eax, dword [ebp - 0x40]
and dword [ebp - 0x9c], 0
cmp dword [ebp - 0x30], 0
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x94], 0x811c9dc5
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x7c], ebx
jbe 0x10046c18
mov edi, dword [ebp - 0x94]
mov ecx, eax
mov eax, dword [ebp - 0x8c]
mov esi, dword [ebp - 0xa0]
mov dword [ebp - 0x78], eax
mov eax, ebx
mov ebx, dword [ebp - 0x9c]
mov dword [ebp - 0x74], ecx
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x7c], eax
movzx eax, byte [ebx + esi]
xor eax, edi
imul edi, eax, 0x1000193
inc ebx
cmp ebx, dword [ebp - 0x30]
jb 0x10046bf1
mov esi, dword [ebp - 0xa4]
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x94], edi
mov edi, dword [ebp - 0xa8]
mov ebx, dword [ebp + 8]
cmp dword [ebp - 0x94], ebx
mov ebx, dword [ebp - 0x98]
je 0x10046c3b
inc ecx
cmp ecx, dword [edi + 0x18]
jb 0x10046b1a
and dword [ebx], 0
jmp 0x10046d79
mov eax, dword [ebp - 0x7c]
movzx eax, word [eax + ecx*2]
mov ecx, dword [ebp - 0x74]
mov ecx, dword [ecx + eax*4]
add ecx, esi
cmp ecx, edi
jb 0x10046d77
mov eax, dword [ebp - 0x80]
mov eax, dword [eax + 0x7c]
add eax, edi
cmp ecx, eax
jae 0x10046d77
xor eax, eax
test ecx, ecx
cmove ecx, eax
mov edx, ecx
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x10046c6e
sub edx, esi
push edx
push ecx
lea ecx, [ebp - 0x28]
call fcn.1002f95a
push ecx
push ecx
lea ecx, [ebp - 0x28]
call fcn.1004ad0f
lea esi, [eax + 1]
cmp esi, 0xffffffff
jne 0x10046caa
and dword [ebx], 0
push 0xf
pop esi
mov edx, dword [ebp - 0x14]
cmp edx, esi
jbe 0x10046d8e
inc edx
jmp 0x10046d86
push esi
push 0
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x28]
call fcn.1004641b
push eax
lea ecx, [ebp - 0x58]
call fcn.1002cfce
lea ecx, [ebp - 0xc0]
call fcn.1002d1e8
push 0x64
lea ecx, [ebp - 0x58]
call fcn.1002f91f
push 0x6c
lea ecx, [ebp - 0x58]
call fcn.1002f91f
push 0x6c
lea ecx, [ebp - 0x58]
call fcn.1002f91f
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x28]
call fcn.1004641b
push eax
lea ecx, [ebp - 0x70]
call fcn.1002cfce
lea ecx, [ebp - 0xc0]
call fcn.1002d1e8
lea eax, [ebp - 0x70]
push eax
sub esp, 0x18
lea eax, [ebp - 0x58]
mov ecx, esp
push eax
call fcn.100346ca
lea ecx, [ebp - 0xb4]
call fcn.100464f5
add esp, 0x18
lea ecx, [ebp - 0x80]
mov edx, eax
call fcn.10046db6
mov edx, dword [ebp - 0x5c]
pop ecx
push 0xf
mov eax, dword [eax]
pop esi
test eax, eax
jne 0x10046d73
and dword [ebx], eax
cmp edx, esi
jbe 0x10046d5a
mov ecx, dword [ebp - 0x70]
inc edx
call fcn.1002d40a
mov edx, dword [ebp - 0x44]
cmp edx, esi
jbe 0x10046c99
mov ecx, dword [ebp - 0x58]
inc edx
call fcn.1002d40a
jmp 0x10046c99
mov dword [ebx], eax
jmp 0x10046d4d
mov dword [ebx], ecx
mov eax, dword [ebp - 0x14]
push 0xf
pop esi
cmp eax, esi
jbe 0x10046d91
lea edx, [eax + 1]
mov ecx, dword [ebp - 0x28]
call fcn.1002d40a
mov edx, dword [ebp - 0x2c]
and dword [ebp - 0x18], 0
mov dword [ebp - 0x14], esi
mov byte [ebp - 0x28], 0
cmp edx, esi
jbe 0x10046dae
mov ecx, dword [ebp - 0x40]
inc edx
call fcn.1002d40a
jmp 0x10046dae
and dword [ebx], 0
mov eax, ebx
call fcn.100a841d
ret