Function at 0x18000e6f0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
mov dword [rsp + 0x4c], 0xc0000001
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x58], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x48], 0x20000
mov edx, dword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x18000e769
xor eax, eax
jmp 0x18000e9ba
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.18000ece0
xor r9d, r9d
mov r8d, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x38]
mov ecx, 0x10
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0xc0000004
jne 0x18000e80d
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, dword [rsp + 0x48]
shl eax, 1
mov dword [rsp + 0x48], eax
mov edx, dword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x18000e7d2
jmp 0x18000e80d
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.18000ece0
xor r9d, r9d
mov r8d, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x38]
mov ecx, 0x10
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x48], 0x6400000
jbe 0x18000e80b
jmp 0x18000e80d
jmp 0x18000e796
cmp dword [rsp + 0x4c], 0
jge 0x18000e828
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
jmp 0x18000e9ba
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
add rax, 8
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x20], 0
jmp 0x18000e858
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp rax, qword [rsp + 0x40]
jae 0x18000e88a
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x18
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + rcx + 4]
cmp eax, 0x1c
jne 0x18000e888
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
jmp 0x18000e84d
mov rdx, qword [rsp + 0x30]
imul rdx, rdx, 0x128
add rdx, 0x130
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x30]
mov qword [rcx], rax
mov dword [rsp + 0x20], 0
jmp 0x18000e8cc
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp rax, qword [rsp + 0x40]
jae 0x18000e99e
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x18
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + rcx + 4]
cmp eax, 0x1c
jne 0x18000e999
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x18
mov rax, qword [rsp + 0x50]
movzx edx, word [rax + rcx]
mov ecx, dword [rsp + 0x58]
imul rcx, rcx, 0x128
mov rax, qword [rsp + 0x28]
mov qword [rax + rcx + 0x110], rdx
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x18
mov rax, qword [rsp + 0x50]
movzx edx, word [rax + rcx + 6]
mov ecx, dword [rsp + 0x58]
imul rcx, rcx, 0x128
mov rax, qword [rsp + 0x28]
mov qword [rax + rcx + 0x118], rdx
mov r8d, dword [rsp + 0x20]
imul r8, r8, 0x18
mov edx, dword [rsp + 0x58]
imul rdx, rdx, 0x128
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + r8 + 8]
mov qword [rcx + rdx + 0x120], rax
mov ecx, dword [rsp + 0x58]
imul rcx, rcx, 0x128
mov rax, qword [rsp + 0x28]
lea rcx, [rax + rcx + 8]
call fcn.18000e410
mov eax, dword [rsp + 0x58]
add eax, 1
mov dword [rsp + 0x58], eax
jmp 0x18000e8c1
jmp 0x18000e9a0
cmp qword [rsp + 0x38], 0
je 0x18000e9b5
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, qword [rsp + 0x28]
add rsp, 0x68
ret