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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b83c5
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x100d400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x74], ecx
mov ebx, 0xf
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0
mov edx, ebx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], edx
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], ebx
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 0x70], 0
mov byte [ebp - 4], 3
mov eax, dword [esi]
test eax, eax
je 0x10046ee4
mov edi, dword [eax + 0x18]
mov dword [ebp - 0x84], edi
test edi, edi
je 0x10046ee4
mov eax, dword [esi + 8]
mov dword [ebp - 0x7c], eax
mov eax, dword [eax + 0x78]
test eax, eax
je 0x10046ee4
lea ecx, [eax + edi]
mov dword [ebp - 0x88], ecx
test ecx, ecx
je 0x10046ee4
mov esi, dword [ecx + 0x20]
mov ebx, dword [ecx + 0x24]
add esi, edi
mov eax, dword [ecx + 0x1c]
add ebx, edi
add eax, edi
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0xa4], esi
mov ebx, edx
mov dword [ebp - 0xa8], eax
test esi, esi
je 0x10046ee4
test eax, eax
je 0x10046ee4
cmp dword [ebp - 0x80], 0
je 0x10046ee4
xor eax, eax
mov dword [ebp - 0x78], eax
cmp dword [ecx + 0x18], eax
jbe 0x10046e65
nop
mov edx, dword [esi + eax*4]
add edx, edi
mov ecx, edx
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10046a50
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.1002bb90
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x40]
test ebx, ebx
je 0x10046a9e
cmp dword [ebp - 0x2c], 0x10
lea edi, [ebp - 0x40]
mov edx, 0x811c9dc5
cmovae edi, esi
xor ecx, ecx
test ebx, ebx
je 0x10046a93
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x10046a82
cmp edx, dword [ebp + 8]
je 0x10046abc
mov edi, dword [ebp - 0x84]
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x78], eax
cmp eax, dword [ecx + 0x18]
jae 0x10046e5d
mov esi, dword [ebp - 0xa4]
jmp 0x10046a40
mov ecx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x84]
movzx eax, word [ecx + eax*2]
mov ecx, dword [ebp - 0xa8]
mov eax, dword [ecx + eax*4]
add edx, eax
mov ecx, dword [ebp - 0x88]
cmp edx, ecx
jb 0x10046dd8
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x7c]
add eax, ecx
cmp edx, eax
jae 0x10046dd8
xor eax, eax
test edx, edx
cmove edx, eax
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10046b01
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.1002bb90
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae edx, edi
test eax, eax
je 0x10046b89
or ecx, 0xffffffff
dec eax
cmp eax, ecx
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x2e
je 0x10046b42
cmp ecx, edx
je 0x10046b89
dec ecx
cmp byte [ecx], 0x2e
jne 0x10046b38
sub ecx, edx
lea ebx, [ecx + 1]
cmp ebx, 0xffffffff
jne 0x10046b8b
mov ebx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x14]
mov dword [ebx], 0
cmp eax, 0x10
jb 0x10046e11
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10046b82
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046ed0
push ecx
push edi
jmp 0x10046e09
xor ebx, ebx
cmp dword [ebp - 0x18], ebx
lea eax, [ebp - 0x28]
mov ecx, ebx
mov dword [ebp - 0xa0], 0
cmovb ecx, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 0x10
push ecx
cmovae eax, edi
mov dword [ebp - 0x90], 0
push eax
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x8c], 0xf
call fcn.1002bb90
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x58]
call fcn.10040d80
mov edx, dword [ebp - 0x8c]
cmp edx, 0x10
jb 0x10046c12
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10046c08
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046ed0
push edx
push ecx
call fcn.100b3d40
add esp, 8
push 0x64
lea ecx, [ebp - 0x58]
call fcn.1002ba40
push 0x6c
lea ecx, [ebp - 0x58]
call fcn.1002ba40
push 0x6c
lea ecx, [ebp - 0x58]
call fcn.1002ba40
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
cmp eax, ebx
jb 0x10046f09
sub eax, ebx
mov ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
add eax, ebx
lea ecx, [ebp - 0xa0]
push eax
call fcn.1002bb90
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x70]
call fcn.10040d80
mov edx, dword [ebp - 0x8c]
cmp edx, 0x10
jb 0x10046cc9
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10046cbf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046ed0
push edx
push ecx
call fcn.100b3d40
add esp, 8
lea eax, [ebp - 0x70]
push eax
sub esp, 0x18
lea eax, [ebp - 0x58]
mov ecx, esp
push eax
call fcn.10030340
lea ecx, [ebp - 0x94]
call fcn.10045ed0
add esp, 0x18
lea ecx, [ebp - 0x7c]
mov edx, eax
call fcn.10046f10
mov ebx, dword [ebp - 0x74]
add esp, 4
mov edx, dword [ebp - 0x5c]
mov eax, dword [eax]
test eax, eax
jne 0x10046d6f
mov dword [ebx], eax
cmp edx, 0x10
jb 0x10046d35
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10046d2b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046ed0
push edx
push ecx
call fcn.100b3d40
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x10046ddd
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10046d63
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046ed0
push edx
push ecx
call fcn.100b3d40
add esp, 8
jmp 0x10046ddd
mov dword [ebx], eax
cmp edx, 0x10
jb 0x10046da2
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10046d98
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046ed0
push edx
push ecx
call fcn.100b3d40
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x10046ddd
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10046dcc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046ed0
push edx
push ecx
call fcn.100b3d40
add esp, 8
jmp 0x10046ddd
mov ebx, dword [ebp - 0x74]
mov dword [ebx], edx
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10046e11
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10046e07
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046ed0
push edx
push ecx
call fcn.100b3d40
add esp, 8
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
cmp eax, 0x10
jb 0x10046e56
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x10046e4c
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046ed0
push ecx
push esi
call fcn.100b3d40
add esp, 8
mov eax, ebx
jmp 0x10046eed
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x2c]
jmp 0x10046e68
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x74]
mov dword [edi], 0
cmp edx, 0x10
jb 0x10046e9e
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10046e94
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046ed0
push edx
push ecx
call fcn.100b3d40
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ebx, 0x10
jb 0x10046ee0
inc ebx
mov eax, esi
cmp ebx, 0x1000
jb 0x10046ed6
mov esi, dword [esi - 4]
add ebx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10046ed6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ebx
push esi
call fcn.100b3d40
add esp, 8
mov eax, edi
jmp 0x10046eed
mov eax, dword [ebp - 0x74]
mov dword [eax], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b38c5
mov esp, ebp
pop ebp
ret
call fcn.1002be60
int3