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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov byte [rsp + 0x2e], r9b
mov dword [rsp + 0x3c], r8d
mov r14, rdx
call fcn.18000cc59
test rax, rax
je 0x18000163a
mov rdi, rax
movsxd rax, dword [rax + 0x3c]
lea rsi, [rdi + rax]
movzx ebx, word [rdi + rax + 0x14]
mov r12d, dword [rbx + rsi + 0x28]
lea rcx, [rsp + 0x2f]
lea r15, [rsp + 0xa0]
mov rdx, r15
mov r8, r14
call fcn.180001686
mov eax, dword [rbx + rsi + 0x24]
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
xor esi, esi
sub r12, r8
mov qword [rsp + 0x40], r12
je 0x180001662
add rdi, rax
xor r9d, r9d
xor r10d, r10d
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], r8
mov eax, r9d
mov qword [rsp + 0x30], rax
test r8, r8
je 0x18000163e
mov rax, qword [rsp + 0x30]
lea r11, [rdi + rax]
xor r14d, r14d
mov qword [rsp + 0x60], r9
mov qword [rsp + 0x58], r11
lea rcx, [r11 + r14]
cmp rcx, r10
jb 0x1800015ef
mov qword [rsp + 0x68], r10
mov rdi, rdx
mov rax, qword gs:[0x60]
mov rdx, qword [rax + 0x18]
add rdx, 0x10
mov rdx, qword [rdx]
mov rax, qword [rdx + 0x30]
movsxd r8, dword [rax + 0x3c]
mov r8d, dword [rax + r8 + 0x88]
test r8, r8
je 0x180001504
mov r9d, dword [rax + r8 + 0x18]
test r9, r9
je 0x180001504
mov r10d, dword [rax + r8 + 0x20]
add r10, rax
lea r11, [rax + 1]
dec r9
mov r15d, r9d
mov r13d, dword [r10 + r15*4]
mov r12b, byte [rax + r13]
test r12b, r12b
je 0x180001580
add r13, r11
mov ebp, 0x955f8b0b
movsx r12d, r12b
lea esi, [r12 - 0x41]
mov ebx, r12d
or ebx, 0x20
cmp sil, 0x1a
cmovae ebx, r12d
xor ebx, ebp
imul ebp, ebx, 0x1000193
mov r12b, byte [r13]
inc r13
test r12b, r12b
jne 0x18000154d
cmp ebp, 0x1cc61792
je 0x18000158a
test r15, r15
jne 0x180001532
jmp 0x180001504
mov edx, dword [rax + r8 + 0x1c]
mov r8d, dword [rax + r8 + 0x24]
add rdx, rax
add r8, rax
movzx r8d, word [r8 + r15*2]
mov r9d, dword [rdx + r8*4]
add r9, rax
mov r8d, 0x30
lea rdx, [rsp + 0x70]
call r9
test rax, rax
mov rdx, rdi
mov rdi, qword [rsp + 0x50]
mov r8, qword [rsp + 0x48]
mov r9, qword [rsp + 0x60]
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x58]
je 0x18000163e
cmp dword [rsp + 0x94], 1
mov rax, qword [rsp + 0x70]
je 0x180001612
add rax, qword [rsp + 0x88]
mov r10, rax
lea eax, [r14 + r9]
movzx ecx, byte [rdi + rax]
mov eax, dword [rdx + r14*4]
cmp eax, ecx
je 0x180001604
cmp eax, 0xffffffff
jne 0x180001628
inc r14d
cmp r8, r14
ja 0x1800014de
jmp 0x18000163e
mov rcx, qword [rsp + 0x30]
add ecx, edi
sub eax, ecx
add eax, dword [rsp + 0x88]
add r9d, eax
dec r9d
xor esi, esi
inc r9d
cmp qword [rsp + 0x40], r9
ja 0x1800014b7
jmp 0x180001662
xor esi, esi
jmp 0x18000166f
add rdi, qword [rsp + 0x30]
cmp byte [rsp + 0x2e], 0
je 0x18000165f
movsxd rax, dword [rsp + 0x3c]
mov rcx, rdi
add rcx, rax
movsxd rsi, dword [rdi + rax - 4]
add rsi, rcx
jmp 0x180001662
mov rsi, rdi
lea rcx, [rsp + 0xa0]
call fcn.180001896
mov rax, rsi
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret