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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102a1d62
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x10389ef4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x68], eax
mov esi, dword [ebp + 0xc]
lea ebx, [eax + 0xd0]
xor edi, edi
mov dword [ebp - 0x54], ebx
push edi
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x58], edi
push eax
push edi
push ebx
mov dword [ebp - 0x64], edi
call dword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
test eax, eax
je 0x1018660e
cmp dword [ebp - 0x6c], edi
je 0x101864d7
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], 4
mov eax, dword [esi + 0xc]
xor ebx, ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x74], eax
test eax, eax
jle 0x101864bb
nop dword [eax + eax]
mov eax, dword [esi + 0x14]
mov eax, dword [eax + ebx*4 + 4]
mov dword [ebp - 0x70], eax
lea esi, [eax + 0x10]
or edi, 4
mov dword [ebp - 0x28], 0
mov ecx, esi
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x64], edi
call fcn.10132240
mov ecx, esi
mov dword [ebp - 0x5c], eax
call fcn.1004cce0
mov edi, eax
mov esi, edi
cmp edi, dword [ebp - 0x5c]
je 0x10186448
mov ebx, 0xfffffff8
lea eax, [ebp - 0x50]
sub ebx, eax
cmp esi, edi
je 0x1018641a
push 1
push 0x102ad07c
lea ecx, [ebp - 0x28]
call fcn.1005f6e0
lea eax, [ebp - 0x48]
push eax
push dword [esi]
mov dword [ebp - 0x50], eax
call fcn.10168010
add eax, ebx
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10168ac0
add esi, 4
add esp, 0x10
cmp esi, dword [ebp - 0x5c]
jne 0x10186407
mov ebx, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ecx + 0xd4]
call fcn.1016e800
mov edi, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x70]
and edi, 0xfffffffb
mov dword [ebp - 0x58], edi
mov eax, dword [eax]
mov byte [ebp - 4], 0
mov dword [eax + 0x20], ecx
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x101864aa
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x101864a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10186613
push edx
push ecx
call fcn.100ffd71
add esp, 8
inc ebx
mov dword [ebp - 0x60], ebx
cmp ebx, dword [ebp - 0x74]
jge 0x101864bb
mov esi, dword [ebp + 0xc]
jmp 0x101863b0
push 0
push 0
push dword [ebp - 0x54]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_InitOnceComplete]
test eax, eax
je 0x1018660e
mov eax, dword [ebp - 0x58]
xor edi, edi
or eax, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 0xf
mov ebx, dword [eax]
mov esi, ebx
mov ecx, dword [eax + 4]
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x54], ecx
cmp esi, ecx
je 0x10186561
mov edi, 0xfffffff8
lea eax, [ebp - 0x50]
sub edi, eax
nop dword [eax]
cmp esi, ebx
je 0x10186533
push 1
push 0x102ad07c
lea ecx, [ebp - 0x28]
call fcn.1005f6e0
lea eax, [ebp - 0x48]
push eax
push dword [esi]
mov dword [ebp - 0x50], eax
call fcn.10168010
add eax, edi
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10168ac0
add esi, 4
add esp, 0x10
cmp esi, dword [ebp - 0x54]
jne 0x10186520
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x28]
cmp ebx, 0x10
mov edx, 0x811c9dc5
cmovae eax, esi
xor ecx, ecx
test edi, edi
je 0x10186594
mov ebx, eax
nop dword [eax]
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x10186580
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x68]
lea eax, [ebp - 0x28]
push edx
push eax
lea eax, [ebp - 0x8c]
push eax
lea ecx, [edi + 0xd4]
call fcn.1016ddd0
mov eax, dword [eax + 4]
test eax, eax
je 0x101865c2
cmp eax, dword [edi + 0xd8]
je 0x101865c2
mov edi, dword [eax + 0x20]
jmp 0x101865c4
xor edi, edi
cmp ebx, 0x10
jb 0x101865ee
inc ebx
mov eax, esi
cmp ebx, 0x1000
jb 0x101865e4
mov esi, dword [esi - 4]
add ebx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10186613
push ebx
push esi
call fcn.100ffd71
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10100ce5
mov esp, ebp
pop ebp
ret 8
call fcn.1011a8f8
call fcn.1010c7ff
int3