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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a16f8
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x100c0364]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x7c], edx
mov esi, ecx
mov dword [ebp - 0x70], esi
vpxor xmm0, xmm0, xmm0
vmovq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.10044570
mov edi, dword [ebp - 0x1c]
test al, al
jne 0x1004aeff
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
test edi, edi
je 0x1004b1f7
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 2
cmp ecx, 0x1000
jb 0x1004b1ed
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1004b1ed
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x74], eax
cmp edi, eax
je 0x1004aea0
nop dword [eax]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov byte [ebp - 4], 2
mov ecx, dword [edi]
test ecx, ecx
jne 0x1004af86
lea ecx, [ebp - 0x4c]
call fcn.10033870
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x1004af7c
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004af72
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004aef9
push edx
push ecx
call fcn.1009d147
add esp, 8
mov esi, 0x811c9dc5
jmp 0x1004b17b
movzx eax, word [ecx + 0x2c]
xor edx, edx
shr eax, 1
push eax
push dword [ecx + 0x30]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], dx
call fcn.100338d0
lea ecx, [ebp - 0x4c]
call fcn.10033870
vmovdqu xmm0, xmmword [ebp - 0x6c]
vmovdqu xmmword [ebp - 0x4c], xmm0
vmovq xmm0, qword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x5c], 0
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x58], 7
vmovq qword [ebp - 0x3c], xmm0
mov word [ebp - 0x6c], ax
call fcn.10033870
cmp dword [ebp - 0x38], 8
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0x3c]
lea edi, [ebp - 0x4c]
cmovae edx, dword [ebp - 0x4c]
lea ecx, [ebp - 0x6c]
cmovae edi, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
lea eax, [edx + eax*2]
mov byte [ebp - 0x6c], 0
mov dword [ebp - 0x54], eax
sub eax, edi
sar eax, 1
push eax
call fcn.10033470
push dword [ebp - 0x74]
lea ecx, [ebp - 0x6c]
push dword [ebp - 0x54]
push edi
call fcn.100343b0
lea ecx, [ebp - 0x34]
call fcn.10027480
cmp dword [ebp - 0x58], 0x10
lea eax, [ebp - 0x34]
vmovdqu xmm0, xmmword [ebp - 0x6c]
vmovq xmm1, qword [ebp - 0x5c]
vmovd edx, xmm0
cmovae eax, edx
lea ecx, [ebp - 0x34]
cmovae ecx, edx
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x5c]
add eax, ecx
lea ecx, [ebp - 0x34]
cmp dword [ebp - 0x58], 0x10
mov edi, eax
vmovdqu xmmword [ebp - 0x34], xmm0
cmovae ecx, edx
xor esi, esi
sub edi, ecx
mov dword [ebp - 0x78], ecx
xor edx, edx
cmp ecx, eax
vmovq qword [ebp - 0x24], xmm1
cmova edi, edx
test edi, edi
je 0x1004b0a9
movsx eax, byte [esi + ecx]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov ecx, dword [ebp - 0x54]
add esp, 4
mov byte [esi + ecx], al
inc esi
mov ecx, dword [ebp - 0x78]
cmp esi, edi
jne 0x1004b083
vmovq xmm1, qword [ebp - 0x24]
vmovdqu xmm0, xmmword [ebp - 0x34]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x24], 0
vmovdqu xmmword [ebp - 0x94], xmm0
vmovq qword [ebp - 0x84], xmm1
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
call fcn.10033870
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x1004b10b
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004b101
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004aef9
push edx
push ecx
call fcn.1009d147
add esp, 8
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x94]
mov edi, dword [ebp - 0x94]
cmp eax, 0x10
mov esi, 0x811c9dc5
cmovae edx, edi
xor ecx, ecx
cmp dword [ebp - 0x84], ecx
jbe 0x1004b148
nop
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [ebp - 0x84]
jb 0x1004b130
mov eax, dword [ebp - 0x80]
cmp eax, 0x10
jb 0x1004b178
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1004b16e
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004aef9
push ecx
push edi
call fcn.1009d147
add esp, 8
mov edi, dword [ebp - 0x50]
cmp esi, dword [ebp - 0x7c]
je 0x1004b19a
add edi, 0xc
mov dword [ebp - 0x50], edi
cmp edi, dword [ebp - 0x74]
jne 0x1004af10
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x70]
jmp 0x1004aea0
mov esi, dword [ebp - 0x70]
vmovq xmm0, qword [edi]
vmovq qword [esi], xmm0
mov eax, dword [edi + 8]
mov edi, dword [ebp - 0x1c]
mov dword [esi + 8], eax
test edi, edi
je 0x1004b1f7
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 2
cmp ecx, 0x1000
jb 0x1004b1ed
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1004b1ed
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.1009d147
add esp, 8
mov eax, esi
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.1009cc5f
mov esp, ebp
pop ebp
ret