Function at 0x14005a2f8
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 0x14005a34f
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 0x14005a38f
mov rcx, qword [rsp + 0xc0]
call fcn.140001550
mov rdx, rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x60]
call fcn.1400c5a90
test eax, eax
jne 0x14005a38d
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x20], rax
jmp 0x14005a38f
jmp 0x14005a342
cmp qword [rsp + 0x20], 0
jne 0x14005a3b1
mov rcx, qword [rsp + 0xc0]
call fcn.140001550
mov rcx, rax
call fcn.14005c49c
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14005a3e7
mov qword [rsp + 0x60], 0
mov rcx, qword [rsp + 0xc0]
call fcn.140004118
nop
mov rcx, qword [rsp + 0xc8]
call fcn.1400040f0
mov rax, qword [rsp + 0x60]
jmp 0x14005a5ae
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 0x14005a499
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 0x14005a55f
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.14000a93c
mov rcx, qword [rsp + 0x80]
sub rax, rcx
mov dl, byte [rcx]
cmp dl, byte [rcx + rax]
jne 0x14005a4f4
inc rcx
test dl, dl
jne 0x14005a4e2
xor eax, eax
jmp 0x14005a4f9
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14005a55a
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.140004118
nop
mov rcx, qword [rsp + 0xc8]
call fcn.1400040f0
mov rax, qword [rsp + 0x98]
jmp 0x14005a5ae
jmp 0x14005a48f
mov rcx, qword [rsp + 0xc8]
call fcn.14000a93c
mov rdx, rax
mov rcx, qword [rsp + 0x20]
call fcn.14005c0e8
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0xc0]
call fcn.140004118
nop
mov rcx, qword [rsp + 0xc8]
call fcn.1400040f0
mov rax, qword [rsp + 0xa0]
add rsp, 0xb8
ret