Function at 0x1800145c0
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 0x180014639
xor eax, eax
jmp 0x18001488a
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.180014bb0
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 0x1800146dd
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 0x1800146a2
jmp 0x1800146dd
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.180014bb0
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 0x1800146db
jmp 0x1800146dd
jmp 0x180014666
cmp dword [rsp + 0x4c], 0
jge 0x1800146f8
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
jmp 0x18001488a
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 0x180014728
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp rax, qword [rsp + 0x40]
jae 0x18001475a
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x18
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + rcx + 4]
cmp eax, 0x1c
jne 0x180014758
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
jmp 0x18001471d
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 0x18001479c
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp rax, qword [rsp + 0x40]
jae 0x18001486e
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x18
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + rcx + 4]
cmp eax, 0x1c
jne 0x180014869
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.1800142e0
mov eax, dword [rsp + 0x58]
add eax, 1
mov dword [rsp + 0x58], eax
jmp 0x180014791
jmp 0x180014870
cmp qword [rsp + 0x38], 0
je 0x180014885
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, qword [rsp + 0x28]
add rsp, 0x68
ret