Function at 0x140009490
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x14005c040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, qword [0x1400607f8]
mov rbx, qword [rdi + 8]
lea r13, [0x1400607f8]
cmp byte [rbx + 0x19], 0
jne 0x140009505
nop word [rax + rax]
mov r8, qword [rbx + 0x10]
mov rdx, r13
mov rcx, r13
call fcn.140009700
mov rcx, rbx
mov rbx, qword [rbx]
mov edx, 0x30
call fcn.1400486f8
cmp byte [rbx + 0x19], 0
je 0x1400094e0
mov qword [rdi + 8], rdi
mov qword [rdi], rdi
mov qword [rdi + 0x10], rdi
xor r12d, r12d
mov qword [0x140060800], r12
mov esi, r12d
mov qword [rbp - 9], 0x11
mov qword [rbp + 7], 0x20
mov dword [rbp - 0x19], r12d
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
movups xmmword [rbp + 0x1f], xmm0
mov dword [rbp + 0xf], 2
mov dword [rbp - 0x11], 0x2d
mov dword [rbp - 0xd], 0x6b756843
lea rax, [rbp + 0xf]
mov qword [rbp - 1], rax
lea r9, [rbp - 0x19]
mov r8d, 0x20
lea rdx, [rbp - 0x11]
mov ecx, 0x4f
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
je 0x1400095ce
mov ecx, dword [rbp - 0x19]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
mov r8d, dword [rbp - 0x19]
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov dword [rsi], 2
mov dword [rbp - 0x11], 0x2d
mov dword [rbp - 0xd], 0x6b756843
mov qword [rbp - 1], rsi
mov edx, dword [rbp - 0x19]
mov dword [rbp + 7], edx
mov dword [rbp - 9], 0x11
lea r9, [rbp - 0x19]
mov r8d, 0x20
lea rdx, [rbp - 0x11]
mov ecx, 0x4f
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov eax, dword [rsi + 8]
test eax, eax
jne 0x140009602
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140048370
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov edi, r12d
test eax, eax
je 0x1400095d5
movabs rdx, 0x555555555555555
mov r15, qword [0x1400607f8]
movabs rcx, 0xfffffffffffff
mov eax, edi
inc rax
add rax, rax
mov r14, qword [rsi + rax*8 + 8]
and r14, rcx
shl r14, 0xc
mov rbx, qword [rsi + rax*8]
shl rbx, 0xc
mov rax, qword [r15 + 8]
mov qword [rbp - 0x49], rax
mov dword [rbp - 0x41], r12d
mov rcx, r15
cmp byte [rax + 0x19], 0
jne 0x14000967c
mov qword [rbp - 0x49], rax
cmp qword [rax + 0x20], rbx
jae 0x140009669
mov dword [rbp - 0x41], r12d
mov rax, qword [rax + 0x10]
jmp 0x140009676
mov dword [rbp - 0x41], 1
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140009655
cmp byte [rcx + 0x19], 0
jne 0x140009688
cmp rbx, qword [rcx + 0x20]
jae 0x1400096e9
cmp qword [0x140060800], rdx
je 0x1400096f9
mov qword [rbp - 0x29], r13
mov qword [rbp - 0x21], r12
mov ecx, 0x30
call fcn.140048474
nop
mov qword [rax + 0x20], rbx
mov qword [rax + 0x28], r14
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov word [rax + 0x18], 0
mov qword [rbp - 0x21], r12
movups xmm0, xmmword [rbp - 0x49]
movaps xmmword [rbp - 0x49], xmm0
mov r8, rax
lea rdx, [rbp - 0x49]
mov rcx, r13
call fcn.140009750
mov r15, qword [0x1400607f8]
movabs rdx, 0x555555555555555
inc edi
cmp edi, dword [rsi + 8]
jae 0x1400095d5
jmp 0x14000961a
call fcn.140009470
int3