Function at 0x1400030a0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x180
mov rdx, rcx
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov r8b, 1
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlUnicodeStringToAnsiString]
xor edi, edi
lea r9, [rsp + 0x198]
xor r8d, r8d
mov dword [rsp + 0x198], edi
xor edx, edx
lea ecx, [rdi + 0xb]
call sub.ntoskrnl.exe_ZwQuerySystemInformation
mov eax, dword [rsp + 0x198]
test eax, eax
je 0x1400032bc
mov edx, eax
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov rsi, rax
test rax, rax
je 0x1400032bc
mov r8d, dword [rsp + 0x198]
xor edx, edx
mov rcx, rax
call fcn.140003600
mov r8d, dword [rsp + 0x198]
lea r9, [rsp + 0x198]
mov rdx, rsi
lea ecx, [rdi + 0xb]
call sub.ntoskrnl.exe_ZwQuerySystemInformation
test eax, eax
jns 0x14000315d
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlFreeAnsiString]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x1400032c7
mov qword [rsp + 0x190], rbx
mov ebx, edi
cmp dword [rsi], ebx
jbe 0x14000328a
nop
test rdi, rdi
jne 0x14000328a
mov eax, ebx
lea edx, [rdi + 2]
imul rcx, rax, 0x128
lea rax, [rsi + 8]
add rax, rcx
lea rcx, [rsp + 0x50]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x140003191
movups xmm0, xmmword [rax]
lea rdx, [rsp + 0x78]
movups xmm1, xmmword [rax + 0x10]
mov rax, qword [rax + 0x20]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
mov qword [rcx + 0x20], rax
lea rcx, [rsp + 0x78]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140003210
test rax, rax
je 0x140003280
movzx ecx, byte [rsp + 0x78]
mov eax, 0xffffffff
test cl, cl
je 0x14000325a
nop dword [rax]
cmp cl, 0x5c
jne 0x140003240
lea rcx, [rsp + 0x78]
mov eax, edx
sub eax, ecx
inc eax
movzx ecx, byte [rdx + 1]
inc rdx
test cl, cl
jne 0x140003230
test eax, eax
js 0x14000325a
movsxd rcx, eax
lea rdx, [rsp + 0x78]
add rdx, rcx
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlEqualString]
test al, al
cmovne rdi, qword [rsp + 0x60]
inc ebx
cmp ebx, dword [rsi]
jb 0x140003170
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlFreeAnsiString]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rbx, qword [rsp + 0x190]
mov rax, rdi
mov rsi, qword [rsp + 0x1a0]
add rsp, 0x180
pop rdi
ret
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlFreeAnsiString]
mov rsi, qword [rsp + 0x1a0]
xor eax, eax
add rsp, 0x180
pop rdi
ret