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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x80
xor eax, eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 8]
push esi
push edi
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x28]
cmp ecx, eax
je 0x10165f1f
nop
cmp dword [ecx], 0xa11c35e9
je 0x10165f5c
add ecx, 0xc
cmp ecx, eax
jne 0x10165f10
or esi, 0xffffffff
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x10166560
mov edx, dword [ebp - 0x18]
mov eax, ecx
sub edx, ecx
and edx, 0xfffffffc
cmp edx, 0x1000
jb 0x10166556
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1016656d
jmp 0x10166556
mov eax, dword [ecx + 8]
movq xmm0, qword [ecx]
add eax, 0xfffffffc
movq qword [ebp - 0x50], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], eax
je 0x10165f1f
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x1c], 0
push 4
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x20], edi
mov dword [ebp - 8], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call fcn.1012ca90
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 8]
mov dword [ecx], eax
lea eax, [ecx + 4]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
call fcn.1012ca30
mov eax, dword [ebp - 0x3c]
mov esi, edi
mov ecx, dword [ebp - 0x40]
sub eax, ecx
mov dword [ebp - 0x10], eax
je 0x10165fe3
xor edx, edx
mov al, byte [esi]
cmp al, byte [edx + ecx]
jne 0x10166143
inc edx
inc esi
cmp edx, dword [ebp - 0x10]
jb 0x10165fd1
test ecx, ecx
je 0x10166029
mov edx, dword [ebp - 0x38]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1016600a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10166572
push edx
push ecx
call fcn.101e1f2f
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
inc edi
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 0x24]
jb 0x10165f81
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
cmp eax, esi
je 0x10165f1f
mov ecx, dword [ebx + 0x10]
mov esi, eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 8], esi
nop word [eax + eax]
mov dword [ebp - 0x14], 0
test ecx, ecx
js 0x10166130
mov dword [ebp - 0x24], 0
nop word [eax + eax]
push 4
lea ecx, [ebp - 0x50]
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
call fcn.1012ca90
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0xc]
mov dword [ecx], eax
lea eax, [ecx + 4]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x4c], eax
call fcn.1012ca30
mov edi, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
mov esi, dword [esi]
sub edi, edx
je 0x101660e1
xor ecx, ecx
nop word [eax + eax]
mov al, byte [esi]
cmp al, byte [ecx + edx]
jne 0x101661c9
inc ecx
inc esi
cmp ecx, edi
jb 0x101660d0
test edx, edx
je 0x10166127
mov ecx, dword [ebp - 0x48]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x10166108
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10166572
push ecx
push edx
call fcn.101e1f2f
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
add esp, 8
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebx + 0x10]
add esi, 4
mov dword [ebp - 8], esi
cmp esi, eax
jne 0x10166060
jmp 0x10165f1f
test ecx, ecx
je 0x10166189
mov edx, dword [ebp - 0x38]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1016616a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10166572
push edx
push ecx
call fcn.101e1f2f
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov eax, edi
test edi, edi
je 0x10166191
mov eax, dword [edi]
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x2c]
cmp eax, dword [ecx]
jne 0x1016602c
cmp esi, dword [ebp - 0x18]
je 0x101661b1
mov dword [esi], edi
add esi, 4
mov dword [ebp - 0x2c], esi
jmp 0x1016602c
lea eax, [ebp - 0x20]
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.10165cb0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
jmp 0x10166029
test edx, edx
je 0x1016620f
mov ecx, dword [ebp - 0x48]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x101661f0
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10166572
push ecx
push edx
call fcn.101e1f2f
add esp, 8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov eax, dword [ebp - 8]
add dword [eax], 0xfffffffc
mov esi, dword [eax]
je 0x1016621b
mov esi, dword [esi]
push 4
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call fcn.1012ca90
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], 0
mov dword [ecx], eax
lea eax, [ecx + 4]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x3c], eax
call fcn.1012ca30
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
sub edi, eax
je 0x10166281
xor edx, edx
nop word [eax + eax]
mov cl, byte [esi]
cmp cl, byte [edx + eax]
jne 0x10166305
inc edx
inc esi
cmp edx, edi
jb 0x10166270
test eax, eax
je 0x101662c7
mov edx, dword [ebp - 0x38]
mov ecx, eax
sub edx, eax
cmp edx, 0x1000
jb 0x101662a8
mov eax, dword [eax - 4]
add edx, 0x23
sub ecx, eax
add ecx, 0xfffffffc
cmp ecx, 0x1f
ja 0x10166572
push edx
push eax
call fcn.101e1f2f
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov al, 1
mov esi, dword [ebp - 8]
test al, al
je 0x10166352
mov eax, dword [esi]
test eax, eax
je 0x10166355
mov eax, dword [eax]
mov dword [esi], eax
test eax, eax
je 0x10166355
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10166355
lea edx, [eax + 8]
test edx, edx
je 0x10166355
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101662f5
sub ecx, esi
jne 0x10166366
mov esi, dword [ebp - 8]
jmp 0x10166355
test eax, eax
je 0x1016634b
mov edx, dword [ebp - 0x38]
mov ecx, eax
sub edx, eax
cmp edx, 0x1000
jb 0x1016632c
mov eax, dword [eax - 4]
add edx, 0x23
sub ecx, eax
add ecx, 0xfffffffc
cmp ecx, 0x1f
ja 0x10166572
push edx
push eax
call fcn.101e1f2f
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
xor al, al
jmp 0x101662c9
inc dword [ebp - 0x14]
mov eax, dword [ebx + 0x10]
cmp dword [ebp - 0x14], eax
jle 0x10166080
jmp 0x1016612a
mov ecx, edx
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10166380
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.1000d310
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
cmp eax, 4
jb 0x10166577
add eax, 0xfffffffc
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x54], 0x10
lea eax, [ebp - 0x68]
cmovae eax, dword [ebp - 0x68]
push ecx
add eax, 4
lea ecx, [ebp - 0x80]
push eax
call fcn.1000d310
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x68]
call fcn.1000d280
mov edx, dword [ebp - 0x6c]
cmp edx, 0x10
jb 0x10166418
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1016640e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10166572
push edx
push ecx
call fcn.101e1f2f
add esp, 8
push ecx
push 0x1026b2d0
lea ecx, [ebp - 0x68]
call fcn.100f84d0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
lea ecx, [eax - 1]
cmp dword [ebp - 0x58], ecx
lea eax, [ebp - 0x68]
cmovb ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x54], 0x10
push ecx
cmovae eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x80]
push eax
call fcn.1000d310
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x68]
call fcn.1000d280
mov edx, dword [ebp - 0x6c]
cmp edx, 0x10
jb 0x1016649a
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10166490
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10166572
push edx
push ecx
call fcn.101e1f2f
add esp, 8
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x68]
mov edi, dword [ebp - 0x68]
cmp ecx, 0x10
mov dword [ebp - 0x20], edi
mov esi, 0x811c9dc5
cmovae eax, edi
setae dl
mov byte [ebp - 1], dl
mov dword [ebp - 0x24], eax
test eax, eax
je 0x101664f0
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101664c3
sub ecx, edx
mov edx, 0
je 0x101664ea
mov edi, dword [ebp - 0x24]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x101664d6
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x54]
mov dl, byte [ebp - 1]
cmp esi, dword [ebx + 0xc]
je 0x10166524
test dl, dl
je 0x10166127
inc ecx
mov eax, edi
cmp ecx, 0x1000
jb 0x10166518
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10166572
push ecx
push edi
call fcn.101e1f2f
jmp 0x10166124
cmp ecx, 0x10
jb 0x1016654e
inc ecx
mov eax, edi
cmp ecx, 0x1000
jb 0x10166544
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10166572
push ecx
push edi
call fcn.101e1f2f
add esp, 8
mov esi, dword [ebp - 0x14]
jmp 0x10165f22
push edx
push ecx
call fcn.101e1f2f
add esp, 8
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.101e6db2
call fcn.101e6db2
call fcn.100184d0
int3