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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102229a3
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x102d5080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x20], ebx
mov edx, dword [0x10bbf240]
add edx, 0xaff3cc8c
xor edx, 0x3743f7af
mov eax, dword [edx + 0x134]
cmp dword [eax + 0x9960], 0
je 0x1002f90a
mov eax, dword [edx + 0x140]
or dword [eax + 0x30], 0x400000
mov eax, dword [0x10bbf240]
lea edx, [eax - 0x500c3374]
xor edx, 0x3743f7af
mov esi, dword [edx + 0x110]
cmp byte [esi + 0x7c], 0
jne 0x1002f900
cmp byte [esi + 0x20], 0
jne 0x1002f900
mov ecx, dword [edx + 0x134]
mov dword [ebp - 0x24], ecx
mov ecx, dword [0x10375568]
test cl, 1
jne 0x1002f83c
or ecx, 1
mov dword [0x10375568], ecx
mov dword [ebp - 4], 0
mov edx, dword [0x10371278]
mov dword [ebp - 0x14], edx
cmp edx, dword [0x1037127c]
je 0x1002f76d
mov ecx, dword [edx]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x1002f75f
mov edi, dword [ecx + 0xc]
mov ebx, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x1002f736
xor esi, esi
test ecx, ecx
je 0x1002f75f
movsx edx, byte [esi + edi]
inc esi
xor edx, ebx
imul ebx, edx, 0x1000193
cmp esi, ecx
jb 0x1002f743
cmp ebx, 0x72e242a1
je 0x1002f77d
mov edx, dword [ebp - 0x14]
add edx, 4
mov dword [ebp - 0x14], edx
cmp edx, dword [0x1037127c]
jne 0x1002f723
mov ebx, dword [ebp - 0x20]
xor ecx, ecx
mov dword [0x10373c68], ecx
jmp 0x1002f842
mov ecx, dword [ebp - 0x1c]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
cmp dword [ecx + 4], ebx
jle 0x1002f819
xor eax, eax
mov dword [ebp - 0x10], eax
mov edi, dword [ecx]
mov ecx, dword [edi + eax + 0x28]
add edi, eax
test ecx, ecx
je 0x1002f7c8
cmp dword [ecx + 4], 0
jle 0x1002f7c8
push 0
mov edx, 0xa4a37590
call fcn.1013bb80
add esp, 4
test eax, eax
je 0x1002f7c5
mov ecx, dword [edi + 0x2c]
add ecx, eax
add ebx, ecx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x10]
mov esi, dword [edi]
mov ebx, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x1002f7d1
xor edx, edx
test ecx, ecx
je 0x1002f7fc
nop
movsx eax, byte [edx + esi]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x1002f7e0
cmp ebx, 0xa4a37590
je 0x1002f826
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
add eax, 0x3c
mov ecx, dword [ebp - 0x1c]
inc edx
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], eax
cmp edx, dword [ecx + 4]
jl 0x1002f796
mov eax, dword [0x10bbf240]
mov ecx, ebx
mov ebx, dword [ebp - 0x20]
mov dword [0x10373c68], ecx
jmp 0x1002f842
mov ecx, dword [edi + 0x2c]
add ecx, dword [ebp - 0x14]
mov eax, dword [0x10bbf240]
mov ebx, dword [ebp - 0x20]
mov dword [0x10373c68], ecx
jmp 0x1002f842
mov ecx, dword [0x10373c68]
mov edx, dword [ebp - 0x24]
test byte [ecx + edx], 0x40
jne 0x1002f900
mov ecx, dword [0x10bbf25c]
add ecx, 0x8376617e
xor ecx, 0xbb244766
cmp dword [ecx + 4], 3
jl 0x1002f900
cmp byte [0x1035c430], 0
je 0x1002f900
cmp byte [0x102d5b48], 0
je 0x1002f8af
lea ecx, [eax - 0x500c3374]
xor ecx, 0x3743f7af
mov eax, dword [ecx + 0xa8]
cmp dword [eax + 0x4d30], 0
jg 0x1002f907
mov eax, dword [ecx + 0x140]
mov byte [0x102d5b48], 0
and dword [eax + 0x30], 0xfffffffb
jmp 0x1002f907
add eax, 0xaff3cc8c
xor eax, 0x3743f7af
mov ecx, dword [eax + 0x140]
mov eax, dword [eax + 0xa8]
cmp dword [eax + 0x4d30], 7
jge 0x1002f8e7
and dword [ecx + 0x30], 0xfffffffb
mov byte [ebx], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or dword [ecx + 0x30], 4
mov byte [ebx], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [0x102d5b48], 1
mov byte [ebx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret