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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b91c5
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x1011dc04]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov esi, dword [eax]
mov byte [ebp - 4], 3
test esi, esi
je 0x10050486
cmp dword [esi + 0x18], 0
je 0x10050486
mov eax, dword [eax + 8]
mov esi, dword [esi + 0x18]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x8c], esi
mov eax, dword [eax + 0x78]
test eax, eax
je 0x10050387
mov ecx, esi
add eax, esi
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [ebp - 0x84], ecx
je 0x10050387
test esi, esi
je 0x10050387
mov edx, dword [ecx + 0x20]
mov edi, dword [ecx + 0x24]
add edx, esi
mov eax, dword [ecx + 0x1c]
add edi, esi
add eax, esi
mov dword [ebp - 0x80], edi
mov edi, dword [ebp - 0x74]
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x94], eax
test edx, edx
je 0x10050387
test eax, eax
je 0x10050387
cmp dword [ebp - 0x80], 0
je 0x10050387
xor eax, eax
mov dword [ebp - 0x7c], eax
cmp dword [ecx + 0x18], eax
jbe 0x10050387
test esi, esi
je 0x1005028c
mov edx, dword [edx + eax*4]
add edx, esi
jmp 0x1005028e
xor edx, edx
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10050293
sub eax, edi
lea ecx, [ebp - 0x58]
push eax
push edx
call fcn.10029d30
mov edi, dword [ebp - 0x48]
test edi, edi
je 0x100502e1
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
mov edx, 0x811c9dc5
cmovae eax, dword [ebp - 0x58]
xor ecx, ecx
test edi, edi
je 0x100502dc
mov esi, eax
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x100502c5
mov esi, dword [ebp - 0x8c]
cmp edx, dword [ebp + 0x10]
je 0x100502ff
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x7c], eax
cmp eax, dword [ecx + 0x18]
jae 0x10050384
mov edx, dword [ebp - 0x90]
jmp 0x10050281
mov ecx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x7c]
movzx eax, word [ecx + eax*2]
mov ecx, dword [ebp - 0x94]
mov eax, dword [ecx + eax*4]
test esi, esi
je 0x1005031b
lea edx, [esi + eax]
jmp 0x1005031d
xor edx, edx
mov ecx, dword [ebp - 0x84]
cmp edx, ecx
jb 0x1005047f
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 0x7c]
add eax, ecx
cmp edx, eax
jae 0x1005047f
xor eax, eax
lea ecx, [ebp - 0x28]
test edx, edx
cmove edx, eax
push edx
call fcn.100435c0
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
test eax, eax
je 0x100503b2
or ecx, 0xffffffff
dec eax
cmp eax, ecx
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x2e
je 0x1005037a
nop dword [eax]
cmp ecx, edx
je 0x100503b2
dec ecx
cmp byte [ecx], 0x2e
jne 0x10050370
sub ecx, edx
lea esi, [ecx + 1]
cmp esi, 0xffffffff
jne 0x100503b4
mov edi, dword [ebp - 0x74]
lea ecx, [ebp - 0x70]
mov dword [edi], 0
call fcn.10025230
lea ecx, [ebp - 0x40]
call fcn.10025230
lea ecx, [ebp - 0x28]
call fcn.10025230
lea ecx, [ebp - 0x58]
call fcn.10025230
jmp 0x1005048c
xor esi, esi
push esi
push 0
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x28]
call fcn.10042870
push eax
lea ecx, [ebp - 0x40]
call fcn.100424d0
lea ecx, [ebp - 0xac]
call fcn.10025230
push 0x64
lea ecx, [ebp - 0x40]
call fcn.1002aba0
push 0x6c
lea ecx, [ebp - 0x40]
call fcn.1002aba0
push 0x6c
lea ecx, [ebp - 0x40]
call fcn.1002aba0
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x28]
call fcn.10042870
push eax
lea ecx, [ebp - 0x70]
call fcn.100424d0
lea ecx, [ebp - 0xac]
call fcn.10025230
lea eax, [ebp - 0x70]
push eax
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.10023b00
lea eax, [ebp - 0xa0]
push eax
call fcn.100504b0
add esp, 0x1c
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.10050100
add esp, 0xc
mov ecx, dword [eax]
test ecx, ecx
je 0x10050384
mov esi, dword [ebp - 0x74]
mov dword [esi], ecx
lea ecx, [ebp - 0x70]
call fcn.10025230
lea ecx, [ebp - 0x40]
call fcn.10025230
lea ecx, [ebp - 0x28]
call fcn.10025230
lea ecx, [ebp - 0x58]
call fcn.10025230
mov eax, esi
jmp 0x1005048e
mov esi, dword [ebp - 0x74]
mov dword [esi], edx
jmp 0x1005045b
mov dword [edi], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b5aae
mov esp, ebp
pop ebp
ret