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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x10389ef4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x2c], eax
mov ebx, dword [edi + 8]
mov eax, dword [edi]
push ebx
push eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x18], 0
call fcn.100f8a30
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
jne 0x100f80c1
mov edx, 0x811c9dc5
xor ecx, ecx
mov dword [ebp - 0x18], edx
test ebx, ebx
je 0x100f80e5
mov edi, dword [edi]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x100f80a8
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x18], edx
jmp 0x100f80e5
cmp esi, 0x3c
jg 0x100f80d5
shl eax, 4
add eax, esi
mov eax, dword [eax*4 + 0x102e6700]
mov dword [ebp - 0x18], eax
cmp esi, 0x16
je 0x100f8134
cmp esi, 0x1f
jne 0x100f80e5
cmp dword [edi + 0xc], 0x14
jb 0x100f8134
test byte [edi + 0x10], 1
jne 0x100f8134
cmp esi, 3
je 0x100f812d
cmp esi, 0x14
je 0x100f812d
cmp esi, 0x1b
je 0x100f812d
cmp esi, 0x21
je 0x100f812d
cmp esi, 0x27
je 0x100f812d
cmp esi, 0x28
je 0x100f812d
cmp esi, 0x2d
je 0x100f812d
cmp esi, 0x36
je 0x100f812d
mov eax, dword [ebp - 0x1c]
lea ecx, [ebx + 0x20]
add ecx, dword [edi + 0xc]
mov eax, dword [eax + 0x18]
lea eax, [eax + eax*2]
shr eax, 2
cmp ecx, eax
ja 0x100f812d
xor ebx, ebx
jmp 0x100f8139
mov ebx, 1
jmp 0x100f8139
mov ebx, 2
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x18]
lea ecx, [eax + 0x24]
push ecx
push ebx
push esi
push edi
push eax
mov dword [ebp - 0x24], ecx
call fcn.100f9fc0
add esp, 0x18
mov dword [ebp - 0x30], eax
test edx, edx
je 0x100f81ed
lea ecx, [eax + 1]
mov eax, ecx
cmp eax, 0x7f
jae 0x100f8174
or cl, 0x80
mov esi, 1
mov byte [ebp - 0x14], cl
jmp 0x100f81c4
sub eax, 0x7f
mov edx, 1
cmp eax, 0x80
jb 0x100f818e
shr eax, 7
inc edx
cmp eax, 0x80
jae 0x100f8183
lea esi, [edx + 1]
cmp esi, 0x10
ja 0x100f82a2
sub ecx, 0x7f
mov byte [ebp - 0x14], 0xff
lea edx, [ebp - 0x13]
cmp ecx, 0x80
jb 0x100f81c2
nop dword [eax]
mov al, cl
shr ecx, 7
or al, 0x80
mov byte [edx], al
inc edx
cmp ecx, 0x80
jae 0x100f81b0
mov byte [edx], cl
push esi
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x20]
call fcn.100fab20
add esp, 0xc
test eax, eax
je 0x100f82df
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10100ce5
mov esp, ebp
pop ebp
ret
test ebx, ebx
jne 0x100f82bb
cmp eax, 0xffffffff
je 0x100f8218
push eax
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100f9f10
mov eax, dword [eax]
push eax
mov dword [ebp - 0x14], eax
call fcn.100fe9f0
add esp, 0x10
jmp 0x100f8235
push dword [ebp - 0x2c]
mov eax, dword [edi]
push dword [edi + 8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.100fea70
add esp, 0x10
test eax, eax
jne 0x100f82e1
push dword [ebp - 0x2c]
lea eax, [ebp - 0x10]
push dword [edi + 0xc]
push dword [edi + 4]
push eax
call fcn.100fea70
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x100f8270
push dword [ebp - 0x14]
call fcn.100fe9a0
mov eax, dword [ebp - 0x28]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10100ce5
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], esi
push dword [ebp - 0x24]
mov byte [ebp - 8], 0
push eax
push dword [ebp - 0x1c]
call fcn.100f7cd0
push dword [ebp - 0x10]
mov esi, eax
call fcn.100fe9a0
push dword [ebp - 0x14]
call fcn.100fe9a0
add esp, 0x18
test esi, esi
je 0x100f82b8
pop edi
pop esi
mov eax, 0xfffffdf5
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10100ce5
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x30]
push ebx
push edi
cmp eax, 0xffffffff
jne 0x100f82cf
push dword [ebp - 0x20]
call fcn.100f8400
add esp, 0xc
jmp 0x100f82db
push eax
push dword [ebp - 0x20]
call fcn.100f8300
add esp, 0x10
test eax, eax
jne 0x100f82e1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10100ce5
mov esp, ebp
pop ebp
ret