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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f4c63
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x10285040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [0x10b33e60]
add eax, 0x7a4232c8
xor eax, 0xfcb4fca8
cmp byte [eax + 7], 0
je 0x10178c6d
cmp dword [eax + 0x14c], 0
je 0x10178c6d
mov edx, dword [0x10306128]
lea ecx, [ebp - 0x24]
test edx, edx
mov dword [ebp - 0x28], 0x17
mov eax, 0x10306128
mov dword [ebp - 0x24], 0
setg byte [ebp - 0xd]
test edx, edx
cmovns ecx, eax
cmp edx, 0x17
lea eax, [ebp - 0x28]
cmovle eax, ecx
mov eax, dword [eax]
mov dword [0x10306128], eax
cmp eax, 0x17
jne 0x10178a46
mov edi, 0x103060a8
jmp 0x10178a5a
lea ecx, [eax + eax*2]
mov eax, dword [0x10323eb8]
cmp dword [eax + ecx*8 + 0x14], 0xf
lea edi, [eax + ecx*8]
jbe 0x10178a5a
mov edi, dword [edi]
cmp byte [ebp - 0xd], 0
lea ebx, [esi + 0x14]
je 0x10178aaf
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10178a68
sub esi, ecx
cmp dword [ebx + 0x14], 0xf
mov ecx, ebx
jbe 0x10178a7b
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x10]
push esi
push edi
call fcn.1004a210
add esp, 8
test al, al
jne 0x10178b0a
mov eax, dword [0x107691c4]
mov ecx, edi
call eax
mov ecx, edi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10178aa0
sub ecx, edx
push ecx
push edi
mov ecx, ebx
jmp 0x10178b05
mov edi, dword [esi + 0x40]
add esi, 0x2c
mov eax, esi
cmp edi, 0xf
jbe 0x10178abe
mov eax, dword [esi]
cmp dword [ebx + 0x14], 0xf
mov edx, dword [ebx + 0x10]
jbe 0x10178ac9
mov ebx, dword [ebx]
push dword [esi + 0x10]
mov ecx, ebx
push eax
call fcn.1004a210
add esp, 8
test al, al
jne 0x10178b0a
mov eax, dword [0x107691c4]
cmp edi, 0xf
jbe 0x10178ae7
mov esi, dword [esi]
mov ecx, esi
call eax
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + 0x2c]
add ecx, 0x14
cmp ecx, eax
je 0x10178b0a
cmp dword [eax + 0x14], 0xf
mov edx, dword [eax + 0x10]
jbe 0x10178b03
mov eax, dword [eax]
push edx
push eax
call fcn.10041b40
mov eax, dword [0x10b33e60]
add eax, 0x7a4232c8
xor eax, 0xfcb4fca8
mov eax, dword [eax + 0x14c]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x103246d8]
test al, 1
jne 0x10178c5e
or eax, 1
mov dword [0x103246d8], eax
mov dword [ebp - 4], 0
mov ebx, dword [0x1031cd80]
cmp ebx, dword [0x1031cd84]
je 0x10178b94
nop dword [eax]
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10178b89
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor eax, eax
inc eax
cmp byte [esi + eax], 0
jne 0x10178b63
xor edx, edx
test eax, eax
je 0x10178b89
movsx ecx, byte [esi + edx]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, eax
jb 0x10178b70
cmp edi, 0x72e242a1
je 0x10178ba0
add ebx, 4
cmp ebx, dword [0x1031cd84]
jne 0x10178b50
xor eax, eax
mov dword [0x103246d4], eax
jmp 0x10178c63
mov eax, dword [ebp - 0x14]
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
cmp dword [eax + 4], ebx
jle 0x10178c48
xor ecx, ecx
mov dword [ebp - 0x20], ecx
nop dword [eax]
mov edi, dword [eax]
add edi, ecx
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x10178bf1
cmp dword [ecx + 4], 0
jle 0x10178bf1
push 0
mov edx, 0xbed71773
call fcn.1012b660
add esp, 4
test eax, eax
je 0x10178bee
mov ecx, dword [edi + 0x2c]
add ecx, eax
add ebx, ecx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x14]
mov esi, dword [edi]
mov ebx, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x10178c00
xor edx, edx
test ecx, ecx
je 0x10178c2c
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x10178c10
cmp ebx, 0xbed71773
je 0x10178c51
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
inc edx
mov ebx, dword [ebp - 0x18]
add ecx, 0x3c
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], ecx
cmp edx, dword [eax + 4]
jl 0x10178bc0
mov eax, ebx
mov dword [0x103246d4], eax
jmp 0x10178c63
mov eax, dword [edi + 0x2c]
add eax, dword [ebp - 0x18]
mov dword [0x103246d4], eax
jmp 0x10178c63
mov eax, dword [0x103246d4]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + ecx], 0xff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret