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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012dce8
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x1016c008]
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 - 0x8c], 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 - 0x70], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 0x70], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x88], 0
mov byte [ebp - 4], 3
mov eax, dword [esi]
test eax, eax
je 0x1005ab41
mov edi, dword [eax + 0x18]
mov dword [ebp - 0x9c], edi
test edi, edi
je 0x1005ab41
mov eax, dword [esi + 8]
mov dword [ebp - 0x94], eax
mov eax, dword [eax + 0x78]
test eax, eax
je 0x1005ab41
lea ecx, [eax + edi]
mov dword [ebp - 0xa0], ecx
test ecx, ecx
je 0x1005ab41
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 - 0x98], ebx
mov dword [ebp - 0xa4], esi
mov ebx, edx
mov dword [ebp - 0xa8], eax
test esi, esi
je 0x1005ab41
test eax, eax
je 0x1005ab41
cmp dword [ebp - 0x98], 0
je 0x1005ab41
xor eax, eax
mov dword [ebp - 0x90], eax
cmp dword [ecx + 0x18], eax
jbe 0x1005aabf
mov edx, dword [esi + eax*4]
add edx, edi
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005a6b0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.10011990
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x40]
test ebx, ebx
je 0x1005a6fe
cmp dword [ebp - 0x2c], 0x10
lea edi, [ebp - 0x40]
mov edx, 0x811c9dc5
cmovae edi, esi
xor ecx, ecx
test ebx, ebx
je 0x1005a6f3
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1005a6e2
cmp edx, dword [ebp + 8]
je 0x1005a722
mov edi, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0x90], eax
cmp eax, dword [ecx + 0x18]
jae 0x1005aab7
mov esi, dword [ebp - 0xa4]
jmp 0x1005a6a3
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x90]
mov edx, dword [ebp - 0x9c]
movzx eax, word [ecx + eax*2]
mov ecx, dword [ebp - 0xa8]
mov eax, dword [ecx + eax*4]
add edx, eax
mov ecx, dword [ebp - 0xa0]
cmp edx, ecx
jb 0x1005aa2f
mov eax, dword [ebp - 0x94]
mov eax, dword [eax + 0x7c]
add eax, ecx
cmp edx, eax
jae 0x1005aa2f
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 0x1005a770
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10011990
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 0x1005a7fb
or ecx, 0xffffffff
dec eax
cmp eax, ecx
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x2e
je 0x1005a7b1
cmp ecx, edx
je 0x1005a7fb
dec ecx
cmp byte [ecx], 0x2e
jne 0x1005a7a7
sub ecx, edx
lea ebx, [ecx + 1]
cmp ebx, 0xffffffff
jne 0x1005a7fd
mov ebx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x14]
mov dword [ebx], 0
cmp eax, 0x10
jb 0x1005aa6b
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1005a7f4
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005ab2d
push ecx
push edi
jmp 0x1005aa63
xor ebx, ebx
cmp dword [ebp - 0x18], ebx
lea eax, [ebp - 0x28]
mov ecx, ebx
mov dword [ebp - 0x58], 0
cmovb ecx, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 0x10
push ecx
cmovae eax, edi
mov dword [ebp - 0x48], 0
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 0xf
call fcn.10011990
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x70]
call fcn.1001fbe0
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x1005a86f
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005a865
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005ab2d
push edx
push ecx
call fcn.10128808
add esp, 8
push 0x64
lea ecx, [ebp - 0x70]
call fcn.10011880
push 0x6c
lea ecx, [ebp - 0x70]
call fcn.10011880
push 0x6c
lea ecx, [ebp - 0x70]
call fcn.10011880
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
cmp eax, ebx
jb 0x1005ab69
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 - 0x58]
push eax
call fcn.10011990
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x88]
call fcn.1001fbe0
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x1005a914
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005a90a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005ab2d
push edx
push ecx
call fcn.10128808
add esp, 8
lea eax, [ebp - 0x88]
push eax
sub esp, 0x18
lea eax, [ebp - 0x70]
mov ecx, esp
push eax
call fcn.100113c0
lea ecx, [ebp - 0x4c]
call fcn.10059b50
add esp, 0x18
lea ecx, [ebp - 0x94]
mov edx, eax
call fcn.1005ab70
mov ebx, dword [ebp - 0x8c]
add esp, 4
mov edx, dword [ebp - 0x74]
mov eax, dword [eax]
test eax, eax
jne 0x1005a9c3
mov dword [ebx], eax
cmp edx, 0x10
jb 0x1005a989
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005a97f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005ab2d
push edx
push ecx
call fcn.10128808
add esp, 8
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x1005aa37
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005a9b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005ab2d
push edx
push ecx
call fcn.10128808
add esp, 8
jmp 0x1005aa37
mov dword [ebx], eax
cmp edx, 0x10
jb 0x1005a9f9
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005a9ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005ab2d
push edx
push ecx
call fcn.10128808
add esp, 8
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x1005aa37
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005aa23
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005ab2d
push edx
push ecx
call fcn.10128808
add esp, 8
jmp 0x1005aa37
mov ebx, dword [ebp - 0x8c]
mov dword [ebx], edx
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1005aa6b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005aa61
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005ab2d
push edx
push ecx
call fcn.10128808
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 0x1005aab0
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1005aaa6
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005ab2d
push ecx
push esi
call fcn.10128808
add esp, 8
mov eax, ebx
jmp 0x1005ab4d
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x2c]
jmp 0x1005aac2
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x8c]
mov dword [edi], 0
cmp edx, 0x10
jb 0x1005aafb
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005aaf1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005ab2d
push edx
push ecx
call fcn.10128808
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ebx, 0x10
jb 0x1005ab3d
inc ebx
mov eax, esi
cmp ebx, 0x1000
jb 0x1005ab33
mov esi, dword [esi - 4]
add ebx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005ab33
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ebx
push esi
call fcn.10128808
add esp, 8
mov eax, edi
jmp 0x1005ab4d
mov eax, dword [ebp - 0x8c]
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.1012838d
mov esp, ebp
pop ebp
ret
call fcn.10011c20
int3