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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1009c364]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [0x1009c438]
push ebx
push esi
push edi
test edx, edx
je 0x10077db0
mov ecx, dword [0x100a4f90]
mov eax, dword [0x100a4f8c]
cmp eax, ecx
je 0x10077b1b
cmp dword [eax], 4
je 0x100779e0
add eax, 4
cmp eax, ecx
jne 0x100779d4
cmp eax, ecx
je 0x10077b1b
mov eax, dword [0x100d6c9c]
add eax, 0xffffffcc
xor eax, 0x18b2ca97
cmp dword [eax + edx], 0
jne 0x10077b1b
mov eax, dword [0x100d6d3c]
mov ecx, dword [0x100d6aa8]
add eax, 0xffffffa4
xor eax, 0x18b2cac0
push ecx
mov eax, dword [eax + edx]
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
test eax, eax
je 0x10077b1b
mov ecx, dword [0x100d6d3c]
mov eax, dword [0x1009c438]
add ecx, 0xffffffa4
xor ecx, 0x18b2cac0
mov eax, dword [ecx + eax]
mov ecx, dword [0x100d6aa8]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
mov ecx, dword [eax]
mov edx, dword [ecx + 0x6f8]
mov ecx, eax
call edx
cmp dword [eax + 0xc8], 5
jne 0x10077b1b
mov ecx, dword [0x100d6cec]
mov eax, dword [0x1009c438]
add ecx, 0xffffffb8
xor ecx, 0x18b2caac
cmp byte [ecx + eax], 0
je 0x10077b1b
mov eax, dword [0x1009c510]
mov ecx, dword [0x1009c514]
mov dword [ebp - 0xc], eax
cdq
sub eax, edx
mov dword [ebp - 8], ecx
mov esi, eax
mov eax, ecx
mov ecx, dword [0x100d6ba0]
cdq
sub eax, edx
sar esi, 1
mov edi, eax
mov edx, dword [ecx]
sar edi, 1
mov edx, dword [edx + 0x34]
call edx
mov ebx, eax
cmp ebx, 1
jle 0x10077ac7
cdq
sub eax, edx
sar eax, 1
sub esi, eax
sub edi, eax
mov ecx, dword [0x100d6ab0]
push dword [0x1008eed0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100d6ab0]
lea eax, [ebx + edi]
push eax
push dword [ebp - 0xc]
mov edx, dword [ecx]
push edi
push 0
mov eax, dword [edx + 0x40]
call eax
mov ecx, dword [0x100d6ab0]
push dword [0x1008eed0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100d6ab0]
lea eax, [ebx + esi]
push dword [ebp - 8]
push eax
mov edx, dword [ecx]
push 0
push esi
mov eax, dword [edx + 0x40]
call eax
mov ecx, dword [0x100d6aa8]
mov ebx, 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
cmp eax, ebx
jl 0x10077c6e
mov ecx, dword [0x100d6aa8]
push ebx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
test esi, esi
je 0x10077c58
mov ecx, dword [esi]
mov edx, dword [ecx + 0x260]
mov ecx, esi
call edx
test al, al
je 0x10077b90
mov eax, dword [0x100d6c9c]
add eax, 0xffffffcc
xor eax, 0x18b2ca97
cmp dword [eax + esi], 0
jne 0x10077c58
mov eax, dword [0x100d6c40]
cmp byte [eax + esi], 0
jne 0x10077c58
push esi
mov ecx, 0x100d9898
call fcn.1007a860
jmp 0x10077bd4
cmp byte [0x100a477c], 0
je 0x10077bc0
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x280]
call eax
test al, al
je 0x10077bc0
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x10077bc0
push esi
call fcn.100797a0
jmp 0x10077bd4
cmp byte [0x100a491c], 0
je 0x10077bd4
push esi
mov ecx, 0x100d9898
call fcn.10078960
cmp byte [0x100a4b6c], 0
je 0x10077c58
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x10077c58
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x1a122bdf
push eax
call fcn.10035060
lea ecx, [esi + 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 8]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x10077c19
mov eax, dword [eax + 0x14]
jmp 0x10077c1c
or eax, 0xffffffff
cmp dword [ebp - 0xc], eax
je 0x10077c52
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x1d49b0b5
push eax
call fcn.10035060
lea ecx, [esi + 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 8]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x10077c4a
mov eax, dword [eax + 0x14]
jmp 0x10077c4d
or eax, 0xffffffff
cmp dword [ebp - 0xc], eax
jne 0x10077c58
push esi
call fcn.10078630
mov ecx, dword [0x100d6aa8]
inc ebx
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
cmp ebx, eax
jle 0x10077b35
mov ecx, 0x100d9898
call fcn.10076a50
call fcn.10078350
call fcn.10077dd0
cmp byte [0x100a5770], 0
je 0x10077ce6
cmp byte [0x1009c43c], 0
je 0x10077ce6
mov eax, dword [0x1009c510]
mov ecx, dword [0x100d6ab0]
cdq
sub eax, edx
mov edi, eax
mov eax, dword [0x1009c514]
cdq
sub eax, edx
sar edi, 1
mov edx, dword [0x1008eee0]
sar eax, 1
cmp byte [0x1009c55c], 0
cmovne edx, dword [0x1008eed4]
lea esi, [eax - 1]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100d6ab0]
lea eax, [esi + 3]
push eax
lea eax, [edi + 3]
push eax
mov edx, dword [ecx]
push esi
push edi
mov eax, dword [edx + 0x40]
call eax
mov ecx, 0x100d9898
call fcn.10075d10
call fcn.1007c370
mov eax, dword [0x100dc258]
test al, 1
jne 0x10077d58
or eax, 1
mov dword [0x100dc258], eax
mov eax, dword [0x100d6aa0]
mov ebx, dword [eax + 0x30]
jmp 0x10077d4c
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor eax, eax
nop word [eax + eax]
inc eax
cmp byte [eax + edi], 0
jne 0x10077d20
xor edx, edx
test eax, eax
je 0x10077d49
nop dword [eax]
movsx ecx, byte [edx + edi]
inc edx
xor ecx, esi
imul esi, ecx, 0x1000193
cmp edx, eax
jb 0x10077d30
cmp esi, 0xdb8fd052
je 0x10077d50
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x10077d10
mov dword [0x100dc25c], ebx
jmp 0x10077d5e
mov ebx, dword [0x100dc25c]
cmp byte [0x1009c43c], 0
je 0x10077da5
cmp byte [0x100a302c], 0
je 0x10077da5
cmp byte [0x100dbbe4], 0
je 0x10077da5
mov eax, dword [ebx]
mov ecx, ebx
push 0
mov eax, dword [eax + 0x40]
call eax
push 0xff
push dword [0x1009c438]
call fcn.1007cb00
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10081803
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx]
mov ecx, ebx
push 1
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10081803
mov esp, ebp
pop ebp
ret