Function at 0x18000bf7e
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push rbp
mov rbp, rsp
push rbx
sub rsp, 0xb8
mov dword [0x18008f8fc], 0xfe5
mov dword [0x18008f8f8], 0xfaa
mov r8, qword gs:[0x30]
mov r9d, dword [0x18008f8fc]
mov rax, qword [r8 + 0x60]
mov rax, qword [rax + 0x18]
mov r8, rax
add r8, 0x20
mov r10d, r9d
add r10d, 0xffffe406
mov dword [0x18008f8f8], r10d
mov rax, qword [rax + 0x20]
mov r11d, r9d
add r11d, 0xffffe314
mov dword [0x18008f8fc], r11d
mov qword [rbp - 0x10], rdx
mov qword [rbp - 0x18], rcx
mov dword [rbp - 0x1c], r9d
mov dword [rbp - 0x20], r10d
mov qword [rbp - 0x28], r8
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x28]
cmp rax, rcx
mov edx, dword [rbp - 0x20]
mov dword [rbp - 0x34], edx
je 0x18000c271
mov rax, qword [rbp - 0x10]
cmp rax, 0
setne cl
mov byte [rbp - 0x35], cl
mov eax, dword [rbp - 0x1c]
add eax, 0xffffd329
mov rcx, qword [rbp - 0x30]
mov qword [rbp - 0x40], rcx
mov dword [rbp - 0x44], eax
mov eax, dword [rbp - 0x44]
mov rcx, qword [rbp - 0x40]
mov edx, 0x12f3
mov dword [0x18008f8fc], 0x10bc
mov r8, rcx
add r8, 0x20
mov r9, qword [rbp - 0x10]
cmp qword [rcx + 0x20], r9
sete r10b
mov r11b, byte [rbp - 0x35]
and r11b, r10b
test r11b, 1
mov dword [rbp - 0x48], eax
mov qword [rbp - 0x50], rcx
mov qword [rbp - 0x58], r8
mov dword [rbp - 0x5c], edx
jne 0x18000c081
jmp 0x18000c0d6
mov ecx, 0x54
mov eax, dword [rbp - 0x48]
mov dword [0x18008f8f8], eax
call fcn.18000c367
mov dword [0x18008f8fc], 0xc1f
cmp ax, 0x31
sete dl
mov byte [rbp - 0x5d], dl
mov al, byte [rbp - 0x5d]
test al, 1
jne 0x18000c0c4
jmp 0x18000c0b1
mov rax, qword [rbp - 0x50]
add rax, 0xfffffffffffffff0
mov qword [rbp - 0x68], rax
jmp 0x18000c287
mov eax, 0xe56
mov dword [0x18008f8f8], 0x1be1
mov dword [rbp - 0x5c], eax
mov eax, dword [rbp - 0x5c]
xor ecx, ecx
mov rdx, qword [rbp - 0x50]
mov r8w, word [rdx + 0x48]
mov dword [0x18008f8fc], eax
mov r9, qword [rdx + 0x50]
mov dword [0x18008f8f8], 0x688
shr r8w, 1
movzx eax, r8w
cmp r8w, 0
mov qword [rbp - 0x70], r9
mov dword [rbp - 0x74], eax
mov dword [rbp - 0x78], ecx
je 0x18000c23f
mov eax, dword [rbp - 0x78]
mov ecx, eax
mov edx, ecx
mov r8, qword [rbp - 0x70]
mov r9w, word [r8 + rdx*2]
mov dword [0x18008f8fc], 0x1b01
cmp r9w, 0
mov dword [rbp - 0x7c], eax
mov qword [rbp - 0x88], rdx
mov word [rbp - 0x8a], r9w
jne 0x18000c192
mov dword [0x18008f8f8], 0x182f
mov rax, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x88]
cmp word [rax + rcx*2], 0
sete dl
and dl, 1
movzx r8d, dl
mov dword [rbp - 0x90], r8d
mov dword [0x18008f8fc], 0x8b0
mov eax, dword [rbp - 0x90]
mov dword [rbp - 0x94], eax
jmp 0x18000c217
mov ax, word [rbp - 0x8a]
movzx ecx, ax
call fcn.18000c367
mov dword [0x18008f8fc], 0x23e4
mov word [rbp - 0x96], ax
mov rax, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x88]
mov dx, word [rbp - 0x96]
cmp word [rax + rcx*2], dx
sete r8b
mov dword [0x18008f8f8], 0x23a4
mov r9d, dword [rbp - 0x7c]
add r9d, 1
mov r10d, dword [rbp - 0x74]
cmp r9d, r10d
setb r11b
mov bl, r8b
and bl, r11b
test bl, 1
mov byte [rbp - 0x97], r8b
mov dword [rbp - 0x78], r9d
jne 0x18000c117
mov al, byte [rbp - 0x97]
and al, 1
movzx ecx, al
mov dword [rbp - 0x94], ecx
mov eax, dword [rbp - 0x94]
cmp eax, 0
je 0x18000c23f
mov rax, qword [rbp - 0x58]
mov rcx, qword [rax]
mov qword [rbp - 0xa0], rcx
mov rax, qword [rbp - 0xa0]
mov qword [rbp - 0x68], rax
jmp 0x18000c287
mov eax, 0x1e80
mov ecx, 0xda3
mov rdx, qword [rbp - 0x50]
mov r8, qword [rdx]
mov dword [0x18008f8f8], 0x1e80
mov r9, qword [rbp - 0x28]
cmp r8, r9
mov dword [rbp - 0x44], ecx
mov qword [rbp - 0x40], r8
mov dword [rbp - 0x34], eax
jne 0x18000c038
mov eax, dword [rbp - 0x34]
xor ecx, ecx
mov edx, ecx
add eax, 0xfffff15e
mov dword [0x18008f8f8], eax
mov qword [rbp - 0x68], rdx
mov rax, qword [rbp - 0x68]
add rsp, 0xb8
pop rbx
pop rbp
ret