Function at 0x14020f46a
Capabilities:
Get system information on windows

Disassembly:
jmp 0x140311bb0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1f8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x42
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x218]
mov rax, qword [0x140961e80]
xor rax, rbp
mov qword [rbp + 0x1b8], rax
movzx eax, byte [0x14096b430]
test eax, eax
je 0x140311c41
movzx eax, word [0x14096b432]
shl rax, 3
xor r9d, r9d
mov r8d, eax
mov rdx, qword [0x140967d38]
mov ecx, 0x53
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jge 0x140311c3c
movzx eax, word [0x14096b432]
shl rax, 3
mov r8, rax
xor edx, edx
mov rcx, qword [0x140967d38]
call fcn.1402118af
nop
jmp 0x140311cfd
xor eax, eax
mov word [rbp + 0x44], ax
xor eax, eax
mov word [rbp + 0x64], ax
jmp 0x140311c5a
movzx eax, word [rbp + 0x64]
inc ax
mov word [rbp + 0x64], ax
movzx eax, word [rbp + 0x64]
movzx ecx, word [0x14096b434]
cmp eax, ecx
jge 0x140311cfd
movzx ecx, word [rbp + 0x64]
call sym.SystemInformer.exe_PhGetActiveProcessorCount
mov word [rbp + 0x84], ax
movzx eax, word [rbp + 0x84]
shl rax, 3
movzx ecx, word [rbp + 0x44]
mov rdx, qword [0x140967d38]
lea rcx, [rdx + rcx*8]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], eax
mov r9, rcx
mov r8d, 2
lea rdx, [rbp + 0x64]
mov ecx, 0x53
call qword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
test eax, eax
jge 0x140311ce5
movzx eax, word [rbp + 0x84]
shl rax, 3
movzx ecx, word [rbp + 0x44]
mov rdx, qword [0x140967d38]
lea rcx, [rdx + rcx*8]
mov r8, rax
xor edx, edx
call fcn.1402118af
nop
movzx eax, word [rbp + 0x84]
movzx ecx, word [rbp + 0x44]
add ecx, eax
mov eax, ecx
mov word [rbp + 0x44], ax
jmp 0x140311c4f
mov qword [rbp + 0x28], 0
mov dword [rbp + 4], 0
jmp 0x140311d16
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
movzx eax, word [0x14096b432]
cmp dword [rbp + 4], eax
jae 0x140311d40
mov eax, dword [rbp + 4]
mov rcx, qword [0x140967d38]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rbp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x28], rax
jmp 0x140311d0e
mov rax, qword [0x14096f210]
mov rcx, qword [rbp + 0x28]
sub rcx, rax
mov rax, rcx
mov qword [0x14096f218], rax
mov rax, qword [rbp + 0x28]
mov qword [0x14096f210], rax
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [0x14096f218]
mov qword [rax], rcx
movzx eax, byte [0x14096b430]
test eax, eax
je 0x140311dc8
movzx eax, word [0x14096b432]
shl rax, 3
xor r9d, r9d
mov r8d, eax
mov rdx, qword [0x140967d40]
mov ecx, 0x6c
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jge 0x140311dc3
movzx eax, word [0x14096b432]
shl rax, 3
mov r8, rax
xor edx, edx
mov rcx, qword [0x140967d40]
call fcn.1402118af
nop
jmp 0x140311ea5
xor eax, eax
mov word [rbp + 0xa4], ax
xor eax, eax
mov word [rbp + 0xc4], ax
jmp 0x140311ded
movzx eax, word [rbp + 0xc4]
inc ax
mov word [rbp + 0xc4], ax
movzx eax, word [rbp + 0xc4]
movzx ecx, word [0x14096b434]
cmp eax, ecx
jge 0x140311ea5
movzx ecx, word [rbp + 0xc4]
call sym.SystemInformer.exe_PhGetActiveProcessorCount
mov word [rbp + 0xe4], ax
movzx eax, word [rbp + 0xe4]
shl rax, 3
movzx ecx, word [rbp + 0xa4]
mov rdx, qword [0x140967d40]
lea rcx, [rdx + rcx*8]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], eax
mov r9, rcx
mov r8d, 2
lea rdx, [rbp + 0xc4]
mov ecx, 0x6c
call qword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
test eax, eax
jge 0x140311e87
movzx eax, word [rbp + 0xe4]
shl rax, 3
movzx ecx, word [rbp + 0xa4]
mov rdx, qword [0x140967d40]
lea rcx, [rdx + rcx*8]
mov r8, rax
xor edx, edx
call fcn.1402118af
nop
movzx eax, word [rbp + 0xe4]
movzx ecx, word [rbp + 0xa4]
add ecx, eax
mov eax, ecx
mov word [rbp + 0xa4], ax
jmp 0x140311ddc
mov qword [rbp + 0x28], 0
mov dword [rbp + 4], 0
jmp 0x140311ebe
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
movzx eax, word [0x14096b432]
cmp dword [rbp + 4], eax
jae 0x140311ee8
mov eax, dword [rbp + 4]
mov rcx, qword [0x140967d40]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rbp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x28], rax
jmp 0x140311eb6
mov rax, qword [0x14096f200]
mov rcx, qword [rbp + 0x28]
sub rcx, rax
mov rax, rcx
mov qword [0x14096f208], rax
mov rax, qword [rbp + 0x28]
mov qword [0x14096f200], rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140761ee0]
call fcn.1402124fd
mov rcx, qword [rbp + 0x1b8]
xor rcx, rbp
call fcn.14020ee98
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret