Function at 0x18000d6e0
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 0x18000d759
xor eax, eax
jmp 0x18000d9aa
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.18000dcd0
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 0x18000d7fd
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 0x18000d7c2
jmp 0x18000d7fd
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.18000dcd0
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 0x18000d7fb
jmp 0x18000d7fd
jmp 0x18000d786
cmp dword [rsp + 0x4c], 0
jge 0x18000d818
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
jmp 0x18000d9aa
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 0x18000d848
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp rax, qword [rsp + 0x40]
jae 0x18000d87a
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x18
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + rcx + 4]
cmp eax, 0x1c
jne 0x18000d878
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
jmp 0x18000d83d
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 0x18000d8bc
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp rax, qword [rsp + 0x40]
jae 0x18000d98e
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x18
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + rcx + 4]
cmp eax, 0x1c
jne 0x18000d989
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.18000d400
mov eax, dword [rsp + 0x58]
add eax, 1
mov dword [rsp + 0x58], eax
jmp 0x18000d8b1
jmp 0x18000d990
cmp qword [rsp + 0x38], 0
je 0x18000d9a5
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, qword [rsp + 0x28]
add rsp, 0x68
ret