Function at 0x10121350
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
push 0xffffffffffffffff
push 0x101768ed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x48
mov eax, edx
push esi
mov esi, ecx
mov dword [ebp - 0x18], eax
push edi
test byte [eax + 0x1c], 6
mov dword [ebp - 0x1c], esi
je 0x101213e5
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 7
mov dword [esi + 0x14], 0xf
mov eax, dword [0x10274478]
mov dword [esi], eax
mov ax, word [0x1027447c]
mov word [esi + 4], ax
mov al, byte [0x1027447e]
mov byte [esi + 6], al
mov eax, esi
mov byte [esi + 7], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp byte [ebx + 8], 0
push str.default
je 0x1012140a
call fcn.100918c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea ecx, [ebp - 0x40]
call fcn.100918c0
mov dword [ebp - 4], 0
nop dword [eax]
cmp dword [ebp - 0x2c], 0xf
lea edi, [ebp - 0x40]
mov esi, 0x811c9dc5
cmova edi, dword [ebp - 0x40]
xor edx, edx
mov ecx, edi
lea eax, [ecx + 1]
mov dword [ebp - 0x14], eax
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10121440
sub ecx, dword [ebp - 0x14]
je 0x10121461
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10121450
mov eax, dword [0x10274478]
test al, al
jne 0x10121471
mov eax, 0x811c9dc5
jmp 0x10121489
movsx eax, al
mov ecx, 0x10274479
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
call fcn.100de6f0
cmp esi, eax
je 0x1012153a
cmp dword [ebp - 0x2c], 0xf
lea esi, [ebp - 0x40]
mov edi, dword [ebp - 0x30]
mov edx, 0x811c9dc5
cmova esi, dword [ebp - 0x40]
xor eax, eax
test edi, edi
je 0x101214c1
nop word [eax + eax]
movzx ecx, byte [esi + eax]
inc eax
xor ecx, edx
imul edx, ecx, 0x1000193
cmp eax, edi
jb 0x101214b0
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x40]
push edx
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ecx + 0x24]
call fcn.100948e0
cmp dword [eax + 4], 0
jne 0x1012153a
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.100918c0
lea eax, [ebp - 0x58]
push eax
call fcn.100e2db0
push eax
lea ecx, [ebp - 0x40]
call fcn.100917b0
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x10121420
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10121525
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10121534
push ecx
push edx
call fcn.101706c8
add esp, 8
jmp 0x10121420
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ebp - 0x1c]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
movups xmm0, xmmword [ebp - 0x40]
mov dword [eax + 0x14], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [eax + 0x10], xmm0
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret