Function at 0x1400010b0
Capabilities:
Check os version
Get number of processors
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r11, qword [0x140006790]
mov r15, rdx
mov r14d, ecx
test r11, r11
jne 0x14000119a
mov rax, qword gs:[0x60]
test rax, rax
je 0x140001180
cmp dword [rax + 0x118], 0xa
jne 0x140001180
mov rax, qword [rax + 0x18]
mov rcx, qword [rax + 0x20]
mov rax, qword [rcx]
mov r11, qword [rax + 0x20]
test r11, r11
je 0x140001180
mov eax, 0x5a4d
cmp word [r11], ax
jne 0x140001180
movsxd rax, dword [r11 + 0x3c]
cmp dword [rax + r11], 0x4550
jne 0x140001180
mov ecx, dword [rax + r11 + 0x88]
add rcx, r11
je 0x140001180
mov edx, dword [rcx + 0x18]
mov ebp, dword [rcx + 0x20]
mov esi, dword [rcx + 0x1c]
add rbp, r11
mov edi, dword [rcx + 0x24]
add rsi, r11
add rdi, r11
mov qword [0x140006790], r11
mov dword [0x140006788], edx
mov qword [0x140006778], rbp
mov qword [0x140006770], rsi
mov qword [0x140006780], rdi
test edx, edx
je 0x140001180
test rbp, rbp
je 0x140001180
test rsi, rsi
je 0x140001180
test rdi, rdi
jne 0x1400011b5
xor eax, eax
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov edx, dword [0x140006788]
mov rdi, qword [0x140006780]
mov rbp, qword [0x140006778]
mov rsi, qword [0x140006770]
xor r12d, r12d
mov qword [rsp + 0x50], rbx
mov dword [r15 + 4], r14d
mov r10d, r12d
mov ebx, edx
mov r13d, 0xff
test edx, edx
je 0x140001399
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rdi + r10*2]
mov ecx, dword [rbp + r10*4]
add rcx, r11
mov r9d, dword [rsi + rax*4]
add r9, r11
call section..text
cmp eax, r14d
je 0x14000120b
inc r10
cmp r10, rbx
jb 0x1400011e0
jmp 0x140001399
mov qword [r15 + 8], r9
mov r8d, 1
movzx eax, byte [r9]
cmp al, 0x4c
jne 0x140001264
cmp byte [r9 + 1], 0x8b
jne 0x1400012ff
cmp byte [r9 + 2], 0xd1
jne 0x1400012ff
cmp byte [r9 + 3], 0xb8
jne 0x1400012ff
cmp byte [r9 + 6], r12b
jne 0x1400012ff
cmp byte [r9 + 7], r12b
jne 0x1400012ff
movzx ecx, byte [r9 + 5]
movzx eax, byte [r9 + 4]
shl ecx, 8
jmp 0x140001394
cmp al, 0xe9
jne 0x1400012ff
movzx ecx, r8w
movzx r10d, cx
mov edx, r10d
shl edx, 5
add rdx, r9
cmp byte [rdx], 0x4c
jne 0x1400012a0
cmp byte [rdx + 1], 0x8b
jne 0x1400012a0
cmp byte [rdx + 2], 0xd1
jne 0x1400012a0
cmp byte [rdx + 3], 0xb8
jne 0x1400012a0
cmp byte [rdx + 6], r12b
jne 0x1400012a0
cmp byte [rdx + 7], r12b
je 0x1400012dc
mov eax, r10d
neg eax
shl eax, 5
movsxd rdx, eax
add rdx, r9
cmp byte [rdx], 0x4c
jne 0x1400012d1
cmp byte [rdx + 1], 0x8b
jne 0x1400012d1
cmp byte [rdx + 2], 0xd1
jne 0x1400012d1
cmp byte [rdx + 3], 0xb8
jne 0x1400012d1
cmp byte [rdx + 6], r12b
jne 0x1400012d1
cmp byte [rdx + 7], r12b
je 0x1400012ec
inc cx
cmp cx, r13w
jbe 0x140001270
jmp 0x1400012ff
movzx ecx, byte [rdx + 5]
movzx eax, byte [rdx + 4]
shl ecx, 8
sub eax, r10d
jmp 0x1400012fa
movzx ecx, byte [rdx + 4]
movzx eax, byte [rdx + 5]
add ecx, r10d
shl eax, 8
or ecx, eax
mov dword [r15], ecx
cmp byte [r9 + 3], 0xe9
jne 0x140001399
nop word [rax + rax]
movzx r10d, r8w
mov edx, r10d
shl edx, 5
add rdx, r9
cmp byte [rdx], 0x4c
jne 0x140001340
cmp byte [rdx + 1], 0x8b
jne 0x140001340
cmp byte [rdx + 2], 0xd1
jne 0x140001340
cmp byte [rdx + 3], 0xb8
jne 0x140001340
cmp byte [rdx + 6], r12b
jne 0x140001340
cmp byte [rdx + 7], r12b
je 0x14000137d
mov eax, r10d
neg eax
shl eax, 5
movsxd rdx, eax
add rdx, r9
cmp byte [rdx], 0x4c
jne 0x140001371
cmp byte [rdx + 1], 0x8b
jne 0x140001371
cmp byte [rdx + 2], 0xd1
jne 0x140001371
cmp byte [rdx + 3], 0xb8
jne 0x140001371
cmp byte [rdx + 6], r12b
jne 0x140001371
cmp byte [rdx + 7], r12b
je 0x140001386
inc r8w
cmp r8w, r13w
jbe 0x140001310
jmp 0x140001399
movzx ecx, byte [rdx + 4]
sub ecx, r10d
jmp 0x14000138d
movzx ecx, byte [rdx + 4]
add ecx, r10d
movzx eax, byte [rdx + 5]
shl eax, 8
or ecx, eax
mov dword [r15], ecx
mov r8, qword [r15 + 8]
mov rbx, qword [rsp + 0x50]
test r8, r8
je 0x140001180
mov ecx, r12d
nop
mov edx, ecx
add rdx, r13
add rdx, r8
inc ecx
cmp byte [rdx], 0xf
jne 0x1400013ca
cmp byte [rcx + r8 + 0xff], 5
je 0x1400013d1
cmp ecx, r13d
jbe 0x1400013b0
jmp 0x1400013d5
mov qword [r15 + 0x10], rdx
cmp dword [r15], r12d
je 0x140001180
cmp qword [r15 + 0x10], r12
setne r12b
mov eax, r12d
jmp 0x140001182