Function at 0x18000f260
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1a8
cmp qword [rcx + 0x10], 0
jne 0x18000fa40
mov byte [rsp + 0x27], dl
mov qword [rsp + 0x78], rcx
lea rsi, [rsp + 0x178]
mov rcx, rsi
call sym._ZN102__LT_windows..Win32..Networking..WinSock..SERVICE_TYPE_INFO_ABSA_u20_as_u20_core..default..Default_GT_7default17h6397a6c
mov rcx, rsi
call sub.kernel32.dll_GetSystemInfo
movzx r12d, word [rsp + 0x178]
mov eax, 0x80000000
xor ecx, ecx
mov r8, rbx
cpuid
xchg rbx, r8
cmp eax, 0x80000004
jb 0x18000f450
mov edi, eax
mov qword [rsp + 0x40], r12
mov rax, qword [0x180143fe8]
movzx eax, byte [rax]
mov ecx, 0x50
mov edx, 4
call sym.__rust_alloc
test rax, rax
je 0x18000fab8
mov qword [rsp + 0x28], 5
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0
mov ebx, 0x80000000
mov r13d, 0x80000000
nop dword [rax]
cmp ebx, edi
adc r13d, 0
mov eax, ebx
xor ecx, ecx
mov r12, rbx
cpuid
xchg rbx, r12
mov r15d, eax
mov ebp, ecx
mov r14d, edx
mov rsi, qword [rsp + 0x38]
cmp rsi, qword [rsp + 0x28]
jne 0x18000f340
lea rcx, [rsp + 0x28]
call sym.alloc::raw_vec::RawVec_T_A_::grow_one::h9d4659e196eb66c0
mov rax, rsi
shl rax, 4
mov rcx, qword [rsp + 0x30]
mov dword [rcx + rax], r15d
inc rsi
mov dword [rcx + rax + 4], r12d
mov dword [rcx + rax + 8], ebp
mov dword [rcx + rax + 0xc], r14d
mov qword [rsp + 0x38], rsi
cmp ebx, edi
jae 0x18000f372
mov ebx, r13d
cmp r13d, edi
jbe 0x18000f310
mov r15, qword [0x180143fe8]
movzx eax, byte [r15]
mov ecx, 0x30
mov edx, 1
call sym.__rust_alloc
test rax, rax
je 0x18000fac7
mov qword [rsp + 0x48], 0x30
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0
mov rdi, qword [rsp + 0x38]
cmp rdi, 3
jb 0x18000f45d
mov rbx, qword [rsp + 0x30]
mov edx, dword [rbx + 0x20]
lea rcx, [rsp + 0x48]
call sym.sysinfo::windows::cpu::get_vendor_id_and_brand::add_u32::h45b2f3bf738189e6
mov edx, dword [rbx + 0x24]
lea rcx, [rsp + 0x48]
call sym.sysinfo::windows::cpu::get_vendor_id_and_brand::add_u32::h45b2f3bf738189e6
mov edx, dword [rbx + 0x28]
lea rcx, [rsp + 0x48]
call sym.sysinfo::windows::cpu::get_vendor_id_and_brand::add_u32::h45b2f3bf738189e6
mov edx, dword [rbx + 0x2c]
lea rcx, [rsp + 0x48]
call sym.sysinfo::windows::cpu::get_vendor_id_and_brand::add_u32::h45b2f3bf738189e6
add rbx, 0x30
shl rdi, 4
add rdi, 0xffffffffffffffd0
xor r14d, r14d
lea rsi, [rsp + 0x48]
mov r12, qword [rsp + 0x40]
nop dword [rax]
cmp r14, 0x20
je 0x18000f466
cmp rdi, r14
je 0x18000f466
mov edx, dword [rbx]
mov rcx, rsi
call sym.sysinfo::windows::cpu::get_vendor_id_and_brand::add_u32::h45b2f3bf738189e6
mov edx, dword [rbx + 4]
mov rcx, rsi
call sym.sysinfo::windows::cpu::get_vendor_id_and_brand::add_u32::h45b2f3bf738189e6
mov edx, dword [rbx + 8]
mov rcx, rsi
call sym.sysinfo::windows::cpu::get_vendor_id_and_brand::add_u32::h45b2f3bf738189e6
mov edx, dword [rbx + 0xc]
add rbx, 0x10
add r14, 0x10
mov rcx, rsi
call sym.sysinfo::windows::cpu::get_vendor_id_and_brand::add_u32::h45b2f3bf738189e6
jmp 0x18000f410
mov r14d, 1
xor edi, edi
jmp 0x18000f4f8
xor edx, edx
mov r12, qword [rsp + 0x40]
jmp 0x18000f497
mov rax, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x18000f495
xor r8d, r8d
nop dword [rax + rax]
cmp byte [rax + r8], 0
je 0x18000fa7b
inc r8
cmp rdx, r8
jne 0x18000f480
jmp 0x18000f497
xor edx, edx
mov r8, rdx
lea rcx, [rsp + 0xe0]
mov rdx, rax
call sym.core::str::converts::from_utf8::h91bdb42bd814e555
test byte [rsp + 0xe0], 1
je 0x18000f6d3
mov r14d, 1
xor edi, edi
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x18000f4da
mov rcx, qword [rsp + 0x50]
mov r8d, 1
call sym.__rust_dealloc
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x18000f4f8
mov rcx, qword [rsp + 0x30]
shl rdx, 4
mov r8d, 4
call sym.__rust_dealloc
xor eax, eax
xor ecx, ecx
mov rbp, rbx
cpuid
xchg rbx, rbp
mov esi, ecx
mov ebx, edx
mov r13, qword [0x180143fe8]
movzx eax, byte [r13]
mov ecx, 0xc
mov edx, 1
call sym.__rust_alloc
test rax, rax
je 0x18000fa98
mov qword [rsp + 0x48], 0xc
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0
lea rcx, [rsp + 0x48]
mov edx, ebp
call sym.sysinfo::windows::cpu::get_vendor_id_and_brand::add_u32::h45b2f3bf738189e6
lea rcx, [rsp + 0x48]
mov edx, ebx
call sym.sysinfo::windows::cpu::get_vendor_id_and_brand::add_u32::h45b2f3bf738189e6
lea rcx, [rsp + 0x48]
mov edx, esi
call sym.sysinfo::windows::cpu::get_vendor_id_and_brand::add_u32::h45b2f3bf738189e6
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
test r8, r8
je 0x18000f59c
xor ecx, ecx
nop dword [rax + rax]
cmp byte [rdx + rcx], 0
je 0x18000f590
inc rcx
cmp r8, rcx
jne 0x18000f580
jmp 0x18000f59c
cmp rcx, r8
ja 0x18000fae7
mov r8, rcx
lea rcx, [rsp + 0xe0]
call sym.core::str::converts::from_utf8::h91bdb42bd814e555
test byte [rsp + 0xe0], 1
je 0x18000f5d5
cmp r12w, 0xe
ja 0x18000f5f7
lea rax, [0x180116608]
mov r15, qword [rax + r12*8]
lea rax, [0x180116680]
movsxd r12, dword [rax + r12*4]
add r12, rax
jmp 0x18000f604
mov r15, qword [rsp + 0xf0]
test r15, r15
js 0x18000fad8
mov r12, qword [rsp + 0xe8]
jne 0x18000f604
mov esi, 1
jmp 0x18000f627
lea r12, [0x180116542]
mov r15d, 7
movzx eax, byte [r13]
mov ebx, 1
mov edx, 1
mov rcx, r15
call sym.__rust_alloc
test rax, rax
je 0x18000fada
mov rsi, rax
mov rcx, rsi
mov rdx, r12
mov r8, r15
call fcn.180102e60
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x18000f64f
mov rcx, qword [rsp + 0x50]
mov r8d, 1
call sym.__rust_dealloc
mov qword [rsp + 0xb0], r15
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xc0], r15
mov qword [rsp + 0xc8], rdi
mov qword [rsp + 0xd0], r14
mov qword [rsp + 0xd8], rdi
mov esi, dword [rsp + 0x198]
cmp byte [rsp + 0x27], 0
je 0x18000f6a2
lea rcx, [rsp + 0x98]
mov rdx, rsi
call sym._ZN7sysinfo7windows3cpu15get_frequencies17hbbd71794233e5acfE.llvm.15418698780560329357
jmp 0x18000f736
test rsi, rsi
je 0x18000f719
lea rdi, [rsi*8]
mov edx, 8
mov rcx, rdi
call sym.__rust_alloc_zeroed
test rax, rax
jne 0x18000f71e
mov ecx, 8
mov rdx, rdi
call sym.alloc::raw_vec::handle_error::hcf880acc1984e8dc
jmp 0x18000fb08
mov rdi, qword [rsp + 0xf0]
test rdi, rdi
js 0x18000fafb
mov rsi, qword [rsp + 0xe8]
je 0x18000fa54
movzx eax, byte [r15]
mov ebx, 1
mov edx, 1
mov rcx, rdi
call sym.__rust_alloc
test rax, rax
je 0x18000fafd
mov r14, rax
jmp 0x18000fa5a
mov eax, 8
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rsi
inc rsi
imul rdi, rsi, 0x70
movzx eax, byte [r13]
mov edx, 8
mov rcx, rdi
call sym.__rust_alloc
test rax, rax
je 0x18000faa9
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], 0
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x40], rax
mov r15, qword [rsp + 0xa8]
test r15, r15
je 0x18000f968
lea r13, [rsp + 0xf8]
shl r15, 3
mov ebp, 1
lea r14, [rsp + 0x28]
lea r12, [rsp + 0x48]
jmp 0x18000f83e
mov rax, qword [rsp + 0x88]
imul rcx, rsi, 0x70
movups xmm0, xmmword [rsp + 0x140]
movups xmmword [rax + rcx + 0x60], xmm0
movups xmm0, xmmword [rsp + 0x130]
movups xmmword [rax + rcx + 0x50], xmm0
movups xmm0, xmmword [rsp + 0x120]
movups xmmword [rax + rcx + 0x40], xmm0
movups xmm0, xmmword [rsp + 0xe0]
movups xmm1, xmmword [rsp + 0xf0]
movups xmm2, xmmword [rsp + 0x100]
movups xmm3, xmmword [rsp + 0x110]
movups xmmword [rax + rcx + 0x30], xmm3
movups xmmword [rax + rcx + 0x20], xmm2
movups xmmword [rax + rcx + 0x10], xmm1
movups xmmword [rax + rcx], xmm0
inc rsi
mov qword [rsp + 0x90], rsi
inc rbp
add r15, 0xfffffffffffffff8
je 0x18000f968
mov qword [rsp + 0x158], rbp
lea rax, [rsp + 0x158]
mov qword [rsp + 0x28], rax
lea rax, [sym.core::fmt::num::imp::__impl_core::fmt::Display_for_u64_::fmt::hdfb866ac1c355e69]
mov qword [rsp + 0x30], rax
lea rax, str.CPU
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 1
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], 1
lea rcx, [rsp + 0x160]
mov rdx, r12
call sym.alloc::fmt::format::format_inner::h0033b6d4996550c5
mov rsi, qword [rsp + 0x160]
mov rbx, qword [rsp + 0x168]
mov rdi, qword [rsp + 0x170]
mov rcx, r14
lea rdx, [rsp + 0xb0]
call sym.__alloc::string::String_as_core::clone::Clone_::clone::h8184c76edcee804e
mov rcx, r12
lea rdx, [rsp + 0xc8]
call sym.__alloc::string::String_as_core::clone::Clone_::clone::h8184c76edcee804e
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + rbp*8 - 8]
mov rcx, qword [rsp + 0x38]
mov qword [r13 + 0x10], rcx
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [r13], xmm0
mov rcx, qword [rsp + 0x58]
mov qword [r13 + 0x28], rcx
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [r13 + 0x18], xmm0
mov qword [rsp + 0xe0], rsi
mov qword [rsp + 0xe8], rbx
mov qword [rsp + 0xf0], rdi
movabs rcx, 0x8000000000000000
mov qword [rsp + 0x128], rcx
mov dword [rsp + 0x140], 0
mov qword [rsp + 0x148], rax
mov rsi, qword [rsp + 0x90]
cmp rsi, qword [rsp + 0x80]
jne 0x18000f7c0
lea rcx, [rsp + 0x80]
call sym.alloc::raw_vec::RawVec_T_A_::grow_one::hc79edac67cbffa79
jmp 0x18000f7c0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xe8], rax
mov rdx, qword [rsp + 0x98]
test rdx, rdx
mov rsi, qword [rsp + 0x78]
je 0x18000f9be
shl rdx, 3
mov r8d, 8
mov rcx, qword [rsp + 0x40]
call sym.__rust_dealloc
mov rdx, qword [rsp + 0xc8]
test rdx, rdx
je 0x18000f9de
mov rcx, qword [rsp + 0xd0]
mov r8d, 1
call sym.__rust_dealloc
mov rdx, qword [rsp + 0xb0]
test rdx, rdx
je 0x18000f9fe
mov rcx, qword [rsp + 0xb8]
mov r8d, 1
call sym.__rust_dealloc
mov rcx, rsi
call sym.__alloc::vec::Vec_T_A__as_core::ops::drop::Drop_::drop::hbcfacddbb50bd077
mov rax, qword [rsi]
test rax, rax
je 0x18000fa21
mov rcx, qword [rsi + 8]
imul rdx, rax, 0x70
mov r8d, 8
call sym.__rust_dealloc
mov rax, qword [rsp + 0xf0]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0xe0]
movups xmmword [rsi], xmm0
movzx eax, byte [rsp + 0x27]
mov byte [rsi + 0x38], al
add rsp, 0x1a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r14d, 1
mov rcx, r14
mov rdx, rsi
mov r8, rdi
call fcn.180102e60
mov rdx, qword [rsp + 0x48]
test rdx, rdx
jne 0x18000f4ca
jmp 0x18000f4da
cmp r8, rdx
jbe 0x18000f49a
lea rax, [0x1801165c0]
mov rcx, r8
mov r8, rax
call sym.core::slice::index::slice_end_index_len_fail::hca289dda450e409b
jmp 0x18000fb08
mov ecx, 1
mov edx, 0xc
call sym.alloc::raw_vec::handle_error::hcf880acc1984e8dc
jmp 0x18000fb08
mov ecx, 8
mov rdx, rdi
call sym.alloc::raw_vec::handle_error::hcf880acc1984e8dc
jmp 0x18000fb08
mov ecx, 4
mov edx, 0x50
call sym.alloc::raw_vec::handle_error::hcf880acc1984e8dc
mov ecx, 1
mov edx, 0x30
call sym.alloc::raw_vec::handle_error::hcf880acc1984e8dc
jmp 0x18000fb08
xor ebx, ebx
mov rcx, rbx
mov rdx, r15
call sym.alloc::raw_vec::handle_error::hcf880acc1984e8dc
jmp 0x18000fb08
lea rax, [0x1801165d8]
mov rdx, r8
mov r8, rax
call sym.core::slice::index::slice_end_index_len_fail::hca289dda450e409b
jmp 0x18000fb08
xor ebx, ebx
mov rcx, rbx
mov rdx, rdi
call sym.alloc::raw_vec::handle_error::hcf880acc1984e8dc
ud2