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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e01e5
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x100f500c]
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 edi, ecx
mov dword [ebp - 0x70], edi
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
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.10041550
mov esi, dword [ebp - 0x1c]
test al, al
jne 0x1004aa27
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
test esi, esi
je 0x1004aa0a
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x1004aa00
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ad91
push ecx
push esi
call fcn.100dc450
add esp, 8
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.100dbfd5
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x78], eax
cmp esi, eax
je 0x1004ad38
nop dword [eax + eax]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov byte [ebp - 4], 2
mov ecx, dword [esi]
test ecx, ecx
jne 0x1004aadf
xor edi, edi
mov dword [ebp - 0x80], 0xf
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x84], edi
call fcn.10048d10
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x10
jb 0x1004acae
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004aad0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ad91
push ecx
push edx
call fcn.100dc450
add esp, 8
jmp 0x1004acae
movzx eax, word [ecx + 0x2c]
shr eax, 1
push eax
push dword [ecx + 0x30]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
call fcn.10048d70
lea ecx, [ebp - 0x4c]
call fcn.10048d10
movups xmm0, xmmword [ebp - 0x6c]
xor eax, eax
lea ecx, [ebp - 0x6c]
mov word [ebp - 0x6c], ax
movups xmmword [ebp - 0x4c], xmm0
movq xmm0, qword [ebp - 0x5c]
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
call fcn.10048d10
cmp dword [ebp - 0x38], 8
lea esi, [ebp - 0x4c]
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x6c]
cmovae esi, dword [ebp - 0x4c]
setae dl
test dl, dl
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
lea edi, [esi + eax*2]
lea esi, [ebp - 0x4c]
mov eax, edi
cmovne esi, dword [ebp - 0x4c]
sub eax, esi
sar eax, 1
push eax
call fcn.1003bea0
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 3
cmp esi, edi
je 0x1004aba3
nop dword [eax + eax]
movzx eax, byte [esi]
lea ecx, [ebp - 0x6c]
push eax
call fcn.10028670
add esi, 2
cmp esi, edi
jne 0x1004ab90
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x34]
call fcn.1003c030
mov ecx, dword [ebp - 0x58]
cmp ecx, 0x10
jb 0x1004abe7
mov edx, dword [ebp - 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004abdd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ad91
push ecx
push edx
call fcn.100dc450
add esp, 8
cmp dword [ebp - 0x20], 0x10
lea edi, [ebp - 0x34]
mov esi, dword [ebp - 0x34]
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x24]
setae cl
cmovae edi, esi
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
test cl, cl
je 0x1004ac17
add eax, esi
jmp 0x1004ac1c
add eax, edx
lea esi, [ebp - 0x34]
mov dword [ebp - 0x50], eax
cmp esi, eax
je 0x1004ac3b
sub edi, esi
movsx eax, byte [esi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [esi + edi], al
add esp, 4
inc esi
cmp esi, dword [ebp - 0x50]
jne 0x1004ac25
movups xmm0, xmmword [ebp - 0x34]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 0x34], 0
movups xmmword [ebp - 0x94], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [ebp - 0x84], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
call fcn.10048d10
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x10
jb 0x1004aca5
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004ac9b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ad91
push ecx
push edx
call fcn.100dc450
add esp, 8
mov edi, dword [ebp - 0x94]
mov dword [ebp - 0x50], edi
mov eax, dword [ebp - 0x80]
lea ecx, [ebp - 0x94]
mov edx, dword [ebp - 0x84]
cmp eax, 0x10
mov esi, 0x811c9dc5
cmovae ecx, edi
mov dword [ebp - 0x74], ecx
xor ecx, ecx
test edx, edx
je 0x1004aceb
mov edi, dword [ebp - 0x74]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x1004acd4
mov edi, dword [ebp - 0x50]
mov eax, dword [ebp - 0x80]
cmp eax, 0x10
jb 0x1004ad1b
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1004ad11
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ad91
push ecx
push edi
call fcn.100dc450
add esp, 8
cmp esi, dword [ebp - 0x7c]
je 0x1004ad97
mov esi, dword [ebp - 0x54]
add esi, 0xc
mov dword [ebp - 0x54], esi
cmp esi, dword [ebp - 0x78]
jne 0x1004aa40
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x70]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
test esi, esi
je 0x1004aa0a
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x1004aa00
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1004aa00
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ebp - 0x54]
mov edi, dword [ebp - 0x70]
mov esi, dword [ebp - 0x1c]
movq xmm0, qword [eax]
movq qword [edi], xmm0
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
jmp 0x1004a9c3