Function at 0x140069640
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov qword [rsp + 0x20], 0
mov rax, qword gs:[0x30]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x60]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x30], rax
jmp 0x140069697
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x30], 0
je 0x1400696d7
mov rcx, qword [rsp + 0xc0]
call fcn.1400015e8
mov rdx, rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x60]
call fcn.1400e8768
test eax, eax
jne 0x1400696d5
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x20], rax
jmp 0x1400696d7
jmp 0x14006968a
cmp qword [rsp + 0x20], 0
jne 0x1400696f9
mov rcx, qword [rsp + 0xc0]
call fcn.1400015e8
mov rcx, rax
call fcn.140066c54
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14006972f
mov qword [rsp + 0x60], 0
mov rcx, qword [rsp + 0xc0]
call fcn.140003844
nop
mov rcx, qword [rsp + 0xc8]
call fcn.14000389c
mov rax, qword [rsp + 0x60]
jmp 0x1400698f6
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax + 0x88]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x28], 0
jmp 0x1400697e1
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x28], eax
jae 0x1400698a7
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0xc8]
call fcn.14000a750
mov rcx, qword [rsp + 0x80]
sub rax, rcx
mov dl, byte [rcx]
cmp dl, byte [rcx + rax]
jne 0x14006983c
inc rcx
test dl, dl
jne 0x14006982a
xor eax, eax
jmp 0x140069841
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400698a2
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x88]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x2c], ax
movzx eax, word [rsp + 0x2c]
mov rcx, qword [rsp + 0x90]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0xc0]
call fcn.140003844
nop
mov rcx, qword [rsp + 0xc8]
call fcn.14000389c
mov rax, qword [rsp + 0x98]
jmp 0x1400698f6
jmp 0x1400697d7
mov rcx, qword [rsp + 0xc8]
call fcn.14000a750
mov rdx, rax
mov rcx, qword [rsp + 0x20]
call fcn.140066d64
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0xc0]
call fcn.140003844
nop
mov rcx, qword [rsp + 0xc8]
call fcn.14000389c
mov rax, qword [rsp + 0xa0]
add rsp, 0xb8
ret