Function at 0x10120410
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 0x1017574d
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 0x101204a5
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 [0x102732c8]
mov dword [esi], eax
mov ax, word [0x102732cc]
mov word [esi + 4], ax
mov al, byte [0x102732ce]
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 0x101204ca
call fcn.10091990
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.10091990
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 0x10120500
sub ecx, dword [ebp - 0x14]
je 0x10120521
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10120510
mov eax, dword [0x102732c8]
test al, al
jne 0x10120531
mov eax, 0x811c9dc5
jmp 0x10120549
movsx eax, al
mov ecx, 0x102732c9
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
call fcn.100de180
cmp esi, eax
je 0x101205fa
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 0x10120581
nop word [eax + eax]
movzx ecx, byte [eax + esi]
inc eax
xor ecx, edx
imul edx, ecx, 0x1000193
cmp eax, edi
jb 0x10120570
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.10094890
cmp dword [eax + 4], 0
jne 0x101205fa
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.10091990
lea eax, [ebp - 0x58]
push eax
call fcn.100e2850
push eax
lea ecx, [ebp - 0x40]
call fcn.100918d0
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x101204e0
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101205e5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101205f4
push ecx
push edx
call fcn.1016f528
add esp, 8
jmp 0x101204e0
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