Function at 0x140005db0
Capabilities:
Access peb ldr_data
Enumerate pe sections
Get number of processors
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0xb8
mov rax, qword [0x140030018]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x34], 0
mov rax, qword gs:[0x60]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x18]
add rax, 0x20
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
cmp dword [0x1400323c0], 0
jne 0x140005e12
jmp 0x14000611a
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0x38], rax
je 0x14000611a
mov rax, qword [rsp + 0x38]
sub rax, 0x10
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
add rax, 0x58
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax + 8]
call fcn.140005a20
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x98], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x90], 0
cmp qword [rsp + 0x60], 0
je 0x1400060d9
cmp qword [rsp + 0x50], 0
je 0x1400060d9
mov rax, qword [rsp + 0x50]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
cmp dword [rax], 0x4550
je 0x140005edb
jmp 0x1400060d9
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax + 8]
call fcn.140002120
cmp eax, 0x1c630b02
jne 0x140005f0d
jmp 0x1400060d9
mov dword [rsp + 0x30], 0
jmp 0x140005f21
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x30], eax
jge 0x140005fed
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140002120
cmp eax, 0xf205493c
jne 0x140005fe8
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax + 8]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [0x1400323d8], rax
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [0x1400323c8], rax
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [0x1400323d0], rax
jmp 0x140005fed
jmp 0x140005f17
cmp qword [rsp + 0x98], 0
je 0x14000600b
cmp qword [rsp + 0x88], 0
je 0x14000600b
cmp qword [rsp + 0x40], 0
jne 0x140006010
jmp 0x1400060d9
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
cmp qword [rax], rcx
je 0x14000602a
jmp 0x1400060d9
mov rdx, qword [0x140032348]
mov ecx, dword [0x140032340]
call fcn.140006930
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rsp + 0x98]
lea rdx, [rsp + 0x88]
mov rcx, 0xffffffffffffffff
call fcn.14000695c
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jge 0x140006078
jmp 0x1400060d9
mov r8, qword [rsp + 0x98]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x88]
call fcn.140002290
mov rdx, qword [0x140032348]
mov ecx, dword [0x140032340]
call fcn.140006930
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x90]
lea r8, [rsp + 0x98]
lea rdx, [rsp + 0x88]
mov rcx, 0xffffffffffffffff
call fcn.14000695c
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x60], 0
je 0x140006115
mov rdx, qword [0x140032328]
mov ecx, dword [0x140032320]
call fcn.140006930
mov rdx, qword [rsp + 0x60]
mov rcx, 0xffffffffffffffff
call fcn.14000695c
mov dword [rsp + 0x34], eax
jmp 0x140005e1f
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400069a0
add rsp, 0xb8
ret