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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x100e4f80]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x100e9304]
add ecx, 0x92a
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10089960
push ebx
sub ecx, edx
sar ecx, 1
push esi
push edi
je 0x10089b75
push 0x100d1160
push str.Dwrite.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10c5eb30], eax
test eax, eax
je 0x100899fb
mov eax, dword [0x100e9304]
push 1
push 0
add eax, 0x92a
push 0
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10088320
add esp, 0x14
cmp dword [ebp - 0x28], 0
jne 0x100899d8
lea ecx, [ebp - 0x2c]
xor esi, esi
call fcn.100372f0
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a8e4d
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
mov eax, dword [eax]
mov esi, dword [eax + 8]
call fcn.100372f0
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a8e4d
mov esp, ebp
pop ebp
ret
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10c5f494]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10c5eb54]
cmp eax, dword [ecx + 4]
jg 0x10089b88
mov edx, dword [0x100e9304]
xorps xmm0, xmm0
add edx, 0x92a
mov dword [ebp - 0xc], 0
mov ecx, edx
mov dword [ebp - 8], 0
movups xmmword [ebp - 0x1c], xmm0
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10089a41
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1c]
call fcn.10016540
mov eax, dword [ebp - 0xc]
lea esi, [ebp - 0x1c]
cmp dword [ebp - 8], 7
mov edx, 0x811c9dc5
mov edi, dword [ebp - 0x1c]
cmova esi, edi
xor ecx, ecx
lea ebx, [eax + eax]
test ebx, ebx
je 0x10089a89
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x10089a78
push edx
lea eax, [ebp - 0x1c]
mov ecx, 0x10c5eb34
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10085f50
mov ebx, dword [0x10c5eb38]
mov esi, ebx
mov eax, dword [eax + 4]
test eax, eax
cmovne esi, eax
mov eax, dword [ebp - 8]
cmp eax, 7
jbe 0x10089ae3
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x10089ad9
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10089bdd
push ecx
push edi
call fcn.100a8e3f
add esp, 8
cmp esi, ebx
je 0x10089b75
mov eax, dword [0x100e9304]
lea ecx, [ebp - 0x1c]
add eax, 0x92a
push eax
call fcn.10004f00
mov eax, dword [ebp - 0xc]
lea esi, [ebp - 0x1c]
cmp dword [ebp - 8], 7
mov ecx, 0x811c9dc5
cmova esi, dword [ebp - 0x1c]
xor edx, edx
lea edi, [eax + eax]
test edi, edi
je 0x10089b31
nop word [eax + eax]
movzx eax, byte [esi + edx]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, edi
jb 0x10089b20
push ecx
lea eax, [ebp - 0x1c]
mov ecx, 0x10c5eb34
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10085f50
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x10089be2
add esi, 0x20
cmp dword [esi + 0x14], 7
jbe 0x10089b5a
mov esi, dword [esi]
lea ecx, [ebp - 0x1c]
call fcn.10005550
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a8e4d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a8e4d
mov esp, ebp
pop ebp
ret
push 0x10c5eb54
call fcn.100a8f76
add esp, 4
cmp dword [0x10c5eb54], 0xffffffff
jne 0x10089a1b
lea eax, [ebp - 0x24]
push eax
call fcn.10088810
add esp, 4
mov ecx, 0x10c5eb34
push eax
call fcn.100864f0
lea ecx, [ebp - 0x24]
call fcn.10086be0
push 0x100c2150
call fcn.100a8cb2
push 0x10c5eb54
call fcn.100a8f25
add esp, 8
jmp 0x10089a1b
call fcn.100aa330
push str.invalid_unordered_map_K__T__key
call fcn.1009156b
int3