Function at 0x1014be10
Capabilities:
Access peb ldr_data
Encode data using xor
Get number of processors
Hash data using fnv
Resolve function by parsing pe exports
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov dword [esp + 0x1c], ecx
call fcn.10169100
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0xc8
mov dword [esp + 0x14], 0
call fcn.10150ae0
call fcn.10168140
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0xc8
mov dword [esp + 0x14], 0
call fcn.10150ae0
push 0x102970ec
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov eax, dword [0x1027673c]
xor esi, esi
test eax, eax
je 0x1014be8e
sub esp, 8
xor edx, edx
mov ecx, 0x10150fc0
call fcn.10168e00
mov eax, dword [0x1027673c]
inc esi
add esp, 8
cmp esi, eax
jb 0x1014be72
xor esi, esi
test eax, eax
je 0x1014beb7
nop dword [eax]
nop dword [eax + eax]
push 0xffffffffffffffff
push dword [0x1028acec]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
inc esi
cmp esi, dword [0x1027673c]
jb 0x1014bea0
push 0x102970ec
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
call fcn.10169100
cmp dword [0x102b1db0], 0
je 0x1014c00b
mov eax, dword [0x1027673c]
xor esi, esi
test eax, eax
je 0x1014befa
xor edx, edx
mov ecx, dword [0x102b1db0]
mov al, 1
add ecx, edx
xchg byte [ecx], al
mov eax, dword [0x1027673c]
inc esi
add edx, 0x14
cmp esi, eax
jb 0x1014bee1
xor edx, edx
test eax, eax
je 0x1014bf1c
xor ecx, ecx
mov eax, dword [0x102b1db0]
lea ecx, [ecx + 0x14]
inc edx
mov eax, dword [ecx + eax - 0xc]
mov byte [eax + 0x30], 1
mov eax, dword [0x1027673c]
cmp edx, eax
jb 0x1014bf02
mov ebx, dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov ecx, 4
mov dword [esp + 0xc], ecx
nop dword [eax + eax]
xor edi, edi
test eax, eax
je 0x1014bf63
xor esi, esi
nop dword [eax + eax]
mov eax, dword [0x102b1db0]
push 0
push 1
mov eax, dword [esi + eax + 8]
push dword [eax + 0x50]
call ebx
mov eax, dword [0x1027673c]
lea esi, [esi + 0x14]
inc edi
cmp edi, eax
jb 0x1014bf40
mov ecx, dword [esp + 0xc]
sub ecx, 1
mov dword [esp + 0xc], ecx
jne 0x1014bf30
xor ebx, ebx
test eax, eax
je 0x1014bff3
xor esi, esi
nop dword [eax + eax]
mov eax, dword [0x102b1db0]
push dword [esi + eax + 0x10]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [0x102b1db0]
push 0x64
push dword [esi + eax + 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1014bfb1
mov eax, dword [0x102b1db0]
mov al, byte [esi + eax + 1]
nop
mov eax, dword [0x102b1db0]
mov edi, dword [esi + eax + 4]
test edi, edi
je 0x1014bfd5
push edi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push 0x18
push edi
call fcn.10170096
mov eax, dword [0x102b1db0]
add esp, 8
push dword [esi + eax + 0x10]
mov dword [esi + eax + 4], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
add esi, 0x14
cmp ebx, dword [0x1027673c]
jb 0x1014bf80
push dword [0x102b1db0]
call fcn.1017629f
add esp, 4
mov dword [0x102b1db0], 0
call dword [0x102766bc]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
nop dword [eax]
mov edx, dword [eax + 0x18]
mov dword [esp + 0x10], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [esp + 0xc], ecx
cmp ecx, edx
je 0x1014c084
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x1014c084
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, edx
mov ecx, dword [ebx - 4]
lea ebx, [ebx - 4]
add ecx, edx
dec edi
mov esi, 0x811c9dc5
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0x1014c07d
nop dword [eax]
movsx edx, dl
lea ecx, [ecx + 1]
xor edx, esi
imul esi, edx, 0x1000193
mov dl, byte [ecx - 1]
test dl, dl
jne 0x1014c060
cmp esi, 0x9faf5837
je 0x1014c088
mov edx, dword [eax + 0x18]
test edi, edi
jne 0x1014c047
mov eax, dword [eax]
jmp 0x1014c020
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push 0
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
mov esi, dword [esp + 0x20]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
push dword [esi]
add eax, edx
call eax
push 8
push esi
call fcn.10170096
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret