Function at 0x18000ffe0
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 0x180010059
xor eax, eax
jmp 0x1800102aa
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.1800105d0
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 0x1800100fd
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 0x1800100c2
jmp 0x1800100fd
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.1800105d0
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 0x1800100fb
jmp 0x1800100fd
jmp 0x180010086
cmp dword [rsp + 0x4c], 0
jge 0x180010118
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
jmp 0x1800102aa
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 0x180010148
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp rax, qword [rsp + 0x40]
jae 0x18001017a
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x18
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + rcx + 4]
cmp eax, 0x1c
jne 0x180010178
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
jmp 0x18001013d
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 0x1800101bc
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp rax, qword [rsp + 0x40]
jae 0x18001028e
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x18
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + rcx + 4]
cmp eax, 0x1c
jne 0x180010289
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.18000fd00
mov eax, dword [rsp + 0x58]
add eax, 1
mov dword [rsp + 0x58], eax
jmp 0x1800101b1
jmp 0x180010290
cmp qword [rsp + 0x38], 0
je 0x1800102a5
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, qword [rsp + 0x28]
add rsp, 0x68
ret