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

Disassembly:
sub rsp, 0xb8
mov rax, qword gs:[0x60]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x1400426f3
cmp qword [rsp + 0x60], 0
je 0x1400426fa
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0x118], 0xa
je 0x1400426fa
xor eax, eax
jmp 0x1400429b6
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x38], 0
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x18]
add rax, 0x20
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x80]
cmp qword [rsp + 0x58], rax
je 0x1400429b1
mov rax, qword [rsp + 0x58]
sub rax, 0x10
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
add rax, 0x58
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 8]
call fcn.140042510
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x78], 0
je 0x14004299f
cmp qword [rsp + 0x40], 0
je 0x14004299f
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140042811
xor eax, eax
jmp 0x1400429b6
mov rax, qword [rsp + 0x98]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp dword [rax], 0x4550
je 0x140042841
xor eax, eax
jmp 0x1400429b6
mov dword [rsp + 0x34], 0
jmp 0x140042855
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x34], eax
jge 0x1400428e0
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x68]
lea rax, [rcx + rax + 0x18]
movsxd rcx, dword [rsp + 0x34]
imul rcx, rcx, 0x28
add rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax]
or eax, 0x20202020
cmp eax, 0x7865742e
jne 0x1400428db
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
jmp 0x14004284b
cmp qword [rsp + 0x48], 0
je 0x1400428fb
cmp qword [rsp + 0x50], 0
je 0x1400428fb
cmp qword [rsp + 0x88], 0
jne 0x140042902
xor eax, eax
jmp 0x1400429b6
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x80
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rcx, 0xffffffffffffffff
call fcn.140042d70
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x30], 0
jge 0x140042937
xor eax, eax
jmp 0x1400429b6
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x50]
call fcn.140001520
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x38]
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rcx, 0xffffffffffffffff
call fcn.140042d70
cmp dword [rsp + 0x30], 0
jge 0x14004297e
xor eax, eax
jmp 0x1400429b6
lea r8, [rsp + 0x30]
mov rdx, qword [rsp + 0x78]
mov rcx, 0xffffffffffffffff
call fcn.140042e60
cmp dword [rsp + 0x30], 0
jge 0x14004299f
xor eax, eax
jmp 0x1400429b6
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
jmp 0x140042774
mov eax, 1
add rsp, 0xb8
ret