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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d3ba3
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x1021b380]
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 [0x107001f0]
add edx, 0xd5bd03c9
xor edx, 0xde9a561b
mov eax, dword [edx + 0x14c]
cmp dword [eax + 0x9960], 0
je 0x1002da96
mov eax, dword [edx + 0x158]
or dword [eax + 0x30], 0x400000
mov eax, dword [0x107001f0]
lea ecx, [eax - 0x2a42fc37]
xor ecx, 0xde9a561b
mov edx, dword [ecx + 0x128]
cmp byte [edx + 0x7c], 0
jne 0x1002da8c
cmp byte [edx + 0x20], 0
jne 0x1002da8c
mov edx, dword [ecx + 0x14c]
mov ecx, dword [0x102b7078]
mov dword [ebp - 0x24], edx
test cl, 1
jne 0x1002d9c6
or ecx, 1
mov dword [0x102b7078], ecx
mov dword [ebp - 4], 0
mov edx, dword [0x102b3e88]
mov dword [ebp - 0x14], edx
cmp edx, dword [0x102b3e8c]
je 0x1002d8dd
mov ecx, dword [edx]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x1002d8cf
mov edi, dword [ecx + 0xc]
mov ebx, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [edi + ecx], 0
jne 0x1002d8a6
xor esi, esi
test ecx, ecx
je 0x1002d8cf
movsx edx, byte [edi + esi]
inc esi
xor edx, ebx
imul ebx, edx, 0x1000193
cmp esi, ecx
jb 0x1002d8b3
cmp ebx, 0x72e242a1
je 0x1002d8f0
mov edx, dword [ebp - 0x14]
add edx, 4
mov dword [ebp - 0x14], edx
cmp edx, dword [0x102b3e8c]
jne 0x1002d893
mov ebx, dword [ebp - 0x20]
xor ecx, ecx
mov edx, dword [ebp - 0x24]
mov dword [0x102b5780], ecx
jmp 0x1002d9cc
mov ecx, dword [ebp - 0x1c]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
cmp dword [ecx + 4], ebx
jle 0x1002d99d
xor eax, eax
mov dword [ebp - 0x10], eax
nop dword [eax]
mov edi, dword [ecx]
mov ecx, dword [edi + eax + 0x28]
add edi, eax
test ecx, ecx
je 0x1002d942
cmp dword [ecx + 4], 0
jle 0x1002d942
push 0
mov edx, 0xa4a37590
call fcn.1012aec0
add esp, 4
test eax, eax
je 0x1002d93f
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
nop dword [eax + eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x1002d950
xor edx, edx
test ecx, ecx
je 0x1002d97c
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x1002d960
cmp ebx, 0xa4a37590
je 0x1002d9ad
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 0x1002d910
mov eax, dword [0x107001f0]
mov edx, dword [ebp - 0x24]
mov ecx, ebx
mov ebx, dword [ebp - 0x20]
mov dword [0x102b5780], ecx
jmp 0x1002d9cc
mov ecx, dword [edi + 0x2c]
add ecx, dword [ebp - 0x14]
mov eax, dword [0x107001f0]
mov ebx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov dword [0x102b5780], ecx
jmp 0x1002d9cc
mov ecx, dword [0x102b5780]
mov ecx, dword [edx + ecx]
shr ecx, 6
test cl, 1
jne 0x1002da8c
mov ecx, dword [0x1070020c]
add ecx, 0x5eba160d
xor ecx, 0xa5d9832d
cmp dword [ecx + 4], 3
jl 0x1002da8c
cmp byte [0x1029fb34], 0
je 0x1002da8c
cmp byte [0x1021b3ec], 0
je 0x1002da3b
lea ecx, [eax - 0x2a42fc37]
xor ecx, 0xde9a561b
mov eax, dword [ecx + 0xc0]
cmp dword [eax + 0x4d30], 0
jg 0x1002da93
mov eax, dword [ecx + 0x158]
mov byte [0x1021b3ec], 0
and dword [eax + 0x30], 0xfffffffb
jmp 0x1002da93
add eax, 0xd5bd03c9
xor eax, 0xde9a561b
mov ecx, dword [eax + 0x158]
mov eax, dword [eax + 0xc0]
cmp dword [eax + 0x4d30], 7
jge 0x1002da73
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 [0x1021b3ec], 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