Function at 0x10018180
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 0x10041188
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
mov eax, dword [0x1004e008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], edx
mov esi, ecx
mov dword [ebp - 0x54], esi
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.10017af0
test al, al
jne 0x10018268
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x10018260
mov ecx, dword [ebp - 0x18]
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 0x10018256
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10018256
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.1003e156
add esp, 8
mov eax, dword [ebp - 0x54]
jmp 0x10018613
mov edi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x64], edx
cmp edi, edx
je 0x1001854c
mov eax, dword [ebp - 0x58]
nop
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
xor ecx, ecx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], cx
mov byte [ebp - 4], 2
mov ecx, dword [edi]
test ecx, ecx
jne 0x100182bd
mov byte [ebp - 4], cl
mov esi, 0x811c9dc5
jmp 0x10018534
movzx eax, word [ecx + 0x2c]
xor edx, edx
shr eax, 1
push eax
push dword [ecx + 0x30]
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], dx
call fcn.10019fa0
lea ecx, [ebp - 0x50]
call fcn.10019ea0
movups xmm1, xmmword [ebp - 0x80]
cmp dword [ebp - 0x6c], 8
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x70]
lea edi, [ebp - 0x50]
movq xmm0, qword [ebp - 0x70]
movd ecx, xmm1
movups xmmword [ebp - 0x50], xmm1
mov dword [ebp - 0x88], 0
cmovae edx, ecx
movq qword [ebp - 0x40], xmm0
cmovae edi, ecx
mov dword [ebp - 0x84], 0xf
lea ecx, [ebp - 0x98]
mov byte [ebp - 0x98], 0
lea eax, [edx + eax*2]
mov dword [ebp - 0x60], eax
sub eax, edi
sar eax, 1
push eax
call fcn.1000fc70
push dword [ebp - 0x68]
lea ecx, [ebp - 0x98]
push dword [ebp - 0x60]
push edi
call fcn.1001a520
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x38]
call fcn.10017a10
mov edx, dword [ebp - 0x84]
cmp edx, 0x10
jb 0x100183a0
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10018396
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018250
push edx
push ecx
call fcn.1003e156
add esp, 8
cmp dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0x38]
lea ecx, [ebp - 0x38]
cmovae eax, edx
cmovae ecx, edx
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x28]
add eax, ecx
cmp dword [ebp - 0x24], 0x10
lea ecx, [ebp - 0x38]
mov edi, eax
cmovae ecx, edx
xor edx, edx
sub edi, ecx
mov dword [ebp - 0x68], ecx
xor esi, esi
cmp ecx, eax
cmova edi, edx
test edi, edi
je 0x100183fc
nop dword [eax]
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 - 0x60]
add esp, 4
mov byte [esi + ecx], al
inc esi
mov ecx, dword [ebp - 0x68]
cmp esi, edi
jne 0x100183e0
movups xmm0, xmmword [ebp - 0x38]
mov eax, 0xf
mov byte [ebp - 0x38], 0
movups xmmword [ebp - 0xb0], xmm0
movq xmm0, qword [ebp - 0x28]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x3c]
movq qword [ebp - 0xa0], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], eax
cmp edx, 8
jb 0x10018468
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001845b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018250
push edx
push ecx
call fcn.1003e156
mov eax, dword [ebp - 0x24]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], cx
mov byte [ebp - 4], cl
cmp eax, 0x10
jb 0x100184b2
mov ecx, dword [ebp - 0x38]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x100184a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018250
push edx
push ecx
call fcn.1003e156
add esp, 8
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0xb0]
mov edi, dword [ebp - 0xb0]
cmp eax, 0x10
mov esi, 0x811c9dc5
cmovae edx, edi
xor ecx, ecx
cmp dword [ebp - 0xa0], ecx
jbe 0x100184fb
nop dword [eax]
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [ebp - 0xa0]
jb 0x100184e0
mov eax, dword [ebp - 0x9c]
cmp eax, 0x10
jb 0x1001852b
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10018521
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018250
push ecx
push edi
call fcn.1003e156
add esp, 8
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x64]
mov edi, dword [ebp - 0x5c]
cmp esi, eax
je 0x100185a3
add edi, 0xc
mov dword [ebp - 0x5c], edi
cmp edi, edx
jne 0x10018280
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x54]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
test edi, edi
je 0x10018611
mov ecx, dword [ebp - 0x18]
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 0x10018607
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10018607
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, dword [ebp - 0x54]
movq xmm0, qword [edi]
mov esi, dword [ebp - 0x20]
movq qword [ecx], xmm0
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
test esi, esi
je 0x10018603
mov ecx, dword [ebp - 0x18]
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 0x100185f6
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100185f6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.1003e156
mov ecx, dword [ebp - 0x54]
add esp, 8
mov eax, ecx
jmp 0x10018613
push ecx
push edi
call fcn.1003e156
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 - 0x14]
xor ecx, ebp
call fcn.1003dcc3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret