Function at 0x100d61c2
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xc0
cmp dword [ecx + 0x48], 0
jne 0x100d671f
lea eax, [esp + 0x90]
xorps xmm0, xmm0
mov edi, ecx
mov dword [esp + 0x4c], edx
and dword [eax + 0x20], 0
movaps xmmword [eax + 0x10], xmm0
movaps xmmword [eax], xmm0
push eax
call sub.kernel32.dll_GetSystemInfo
xor ecx, ecx
mov eax, 0x80000000
mov esi, ebx
cpuid
xchg ebx, esi
cmp eax, 0x80000003
mov dword [esp + 0x34], eax
mov dword [esp + 0x48], edi
jbe 0x100d62cf
push 4
pop ecx
push 0x50
pop edx
call sym.__ZN63__LT_alloc..alloc..Global_u20_as_u20_core..alloc..Allocator_GT_8allocate17hf6ea05e3b69cdf8fE.1434
test eax, eax
je 0x100d6727
mov ebx, eax
lea eax, [esp + 0x18]
xor esi, esi
xor ecx, ecx
mov dword [eax], 5
mov dword [eax + 4], ebx
mov eax, 0x80000000
test cl, 1
mov dword [esp + 0x20], esi
jne 0x100d62e6
cmp eax, dword [esp + 0x34]
ja 0x100d62e6
setae cl
mov edi, eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ecx
adc edi, 0
xor ecx, ecx
mov ebx, ebx
cpuid
xchg ebx, ebx
mov dword [esp + 0x14], ebx
cmp esi, dword [esp + 0x18]
jne 0x100d62a5
mov dword [esp + 0x10], edx
mov ebx, ecx
mov edx, esi
lea ecx, [esp + 0x18]
mov esi, eax
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::reserve_for_push::h28314967d925af27
mov eax, esi
mov ecx, ebx
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
jmp 0x100d62a9
mov ebx, dword [esp + 0x10]
shl esi, 4
mov dword [ebx + esi], eax
mov eax, dword [esp + 0x14]
mov dword [ebx + esi + 4], eax
mov dword [ebx + esi + 8], ecx
mov dword [ebx + esi + 0xc], edx
mov ecx, dword [esp + 0xc]
mov eax, edi
mov esi, dword [esp + 0x20]
inc esi
jmp 0x100d6247
and dword [esp + 0x28], 0
mov dword [esp + 0x2c], 1
and dword [esp + 0x30], 0
jmp 0x100d6401
lea ecx, [esp + 0x38]
push 0x30
pop edx
call sym.alloc::vec::Vec_LT_T_GT_::with_capacity::hba094e01bc4d2442
mov ebx, dword [esp + 0x1c]
shl esi, 4
add esi, ebx
push 2
pop eax
push 5
pop edx
xor ecx, ecx
mov dword [esp + 0x10], ebx
test cl, 1
je 0x100d6317
test edx, edx
je 0x100d6375
cmp ebx, esi
je 0x100d6375
dec edx
jmp 0x100d6331
cmp edx, eax
jbe 0x100d6375
mov ecx, esi
sub ecx, ebx
shr ecx, 4
cmp ecx, eax
jbe 0x100d6375
mov ecx, eax
shl eax, 4
not ecx
add ebx, eax
add edx, ecx
mov dword [esp + 0xc], edx
mov edx, dword [ebx]
lea edi, [esp + 0x38]
lea eax, [ebx + 0x10]
mov ecx, edi
mov dword [esp + 0x14], eax
call sym.sysinfo::windows::cpu::get_vendor_id_and_brand::add_u32::h52c82002107d1127
mov edx, dword [ebx + 4]
mov ecx, edi
call sym.sysinfo::windows::cpu::get_vendor_id_and_brand::add_u32::h52c82002107d1127
mov edx, dword [ebx + 8]
mov ecx, edi
call sym.sysinfo::windows::cpu::get_vendor_id_and_brand::add_u32::h52c82002107d1127
mov edx, dword [ebx + 0xc]
mov ecx, edi
call sym.sysinfo::windows::cpu::get_vendor_id_and_brand::add_u32::h52c82002107d1127
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
xor eax, eax
mov cl, 1
jmp 0x100d6307
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
xor eax, eax
cmp edx, eax
je 0x100d638c
cmp byte [esi + eax], 0
je 0x100d638e
inc eax
jmp 0x100d637f
mov eax, edx
mov ecx, esi
push 0x101bfeec
push eax
call sym.__LT_alloc..vec..Vec_LT_T_C_A_GT__u20_as_u20_core..ops..index..Index_LT_I_GT__GT_::index::h43f6b9ccdb8134f6
pop ecx
pop ecx
mov ebx, edx
lea edi, [esp + 0x64]
mov edx, eax
mov ecx, edi
push ebx
call dbg.from_utf8
pop eax
cmp dword [edi], 0
je 0x100d63c7
and dword [esp + 0x28], 0
mov dword [esp + 0x2c], 1
and dword [esp + 0x30], 0
jmp 0x100d63d9
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x28]
push dword [esp + 0x6c]
call sym.__ZN47__LT_str_u20_as_u20_alloc..string..ToString_GT_9to_string17h76b562e98917fdcdE.1519
pop eax
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x48]
mov edx, esi
call sym.__LT_alloc..raw_vec..RawVec_LT_T_C_A_GT__u20_as_u20_core..ops..drop..Drop_GT_::drop::h5bf4e74882597c41
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100d6401
shl eax, 4
push 4
pop edx
mov ecx, dword [esp + 0x10]
push eax
call sym.__LT_alloc..alloc..Global_u20_as_u20_core..alloc..Allocator_GT_::deallocate::hcacc92fefce56ab3
pop eax
lea eax, [edi + 0x40]
xor edi, edi
xor ecx, ecx
lea ebx, [esp + 0x18]
mov dword [esp + 0x84], eax
xor eax, eax
mov esi, ebx
cpuid
xchg ebx, esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], edx
push 0xc
pop edx
mov ecx, ebx
call sym.alloc::vec::Vec_LT_T_GT_::with_capacity::hba094e01bc4d2442
mov ecx, ebx
mov edx, esi
call sym.sysinfo::windows::cpu::get_vendor_id_and_brand::add_u32::h52c82002107d1127
mov edx, dword [esp + 0x14]
mov ecx, ebx
call sym.sysinfo::windows::cpu::get_vendor_id_and_brand::add_u32::h52c82002107d1127
mov edx, dword [esp + 0xc]
mov ecx, ebx
call sym.sysinfo::windows::cpu::get_vendor_id_and_brand::add_u32::h52c82002107d1127
mov esi, dword [ebx + 4]
mov edx, dword [ebx + 8]
cmp edx, edi
je 0x100d645f
cmp byte [esi + edi], 0
je 0x100d6461
inc edi
jmp 0x100d6452
mov edi, edx
mov ecx, esi
push 0x101bfefc
push edi
call sym.__LT_alloc..vec..Vec_LT_T_C_A_GT__u20_as_u20_core..ops..index..Index_LT_I_GT__GT_::index::h43f6b9ccdb8134f6
pop ecx
pop ecx
mov edi, edx
lea ebx, [esp + 0x64]
mov edx, eax
mov ecx, ebx
push edi
call dbg.from_utf8
pop eax
cmp dword [ebx], 0
je 0x100d64a3
movzx ecx, word [esp + 0x90]
cmp ecx, 0xe
ja 0x100d64b1
mov eax, dword [ecx*4 + 0x101e6f54]
mov edx, dword [ecx*4 + 0x101e6f90]
jmp 0x100d64b9
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x38]
push dword [esp + 0x6c]
jmp 0x100d64be
mov edx, 0x101bfedb
push 7
pop eax
lea ecx, [esp + 0x38]
push eax
call sym.__ZN47__LT_str_u20_as_u20_alloc..string..ToString_GT_9to_string17h76b562e98917fdcdE.1519
pop eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], edx
mov edx, esi
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x18]
call sym.__LT_alloc..raw_vec..RawVec_LT_T_C_A_GT__u20_as_u20_core..ops..drop..Drop_GT_::drop::h5bf4e74882597c41
mov esi, dword [esp + 0xa4]
cmp byte [esp + 0x4c], 0
je 0x100d651d
lea ecx, [esp + 0x28]
mov edx, esi
call sym.sysinfo::windows::cpu::get_frequencies::h0e64e2675b7a2e98
jmp 0x100d6528
lea ecx, [esp + 0x28]
mov edx, esi
call sym.alloc::vec::from_elem::heee6267c9c3f0a60
xor edi, edi
inc esi
jne 0x100d6534
push 8
pop ebx
xor esi, esi
jmp 0x100d655b
cmp esi, 0x1ffffff
ja 0x100d6732
mov edx, esi
shl edx, 6
push 8
pop ecx
mov dword [esp + 0xc], edx
call sym.__ZN63__LT_alloc..alloc..Global_u20_as_u20_core..alloc..Allocator_GT_8allocate17hf6ea05e3b69cdf8fE.1434
mov ebx, eax
test eax, eax
je 0x100d6737
lea eax, [esp + 0x58]
mov dword [eax], esi
mov dword [eax + 4], ebx
and dword [eax + 8], 0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x30]
shl eax, 3
xor esi, esi
inc esi
test eax, eax
je 0x100d6695
xor ecx, ecx
mov dword [esp + 0xc], eax
lea eax, [esp + 0x8c]
mov dword [esp + 0x64], 0x101c0270
mov dword [esp + 0x8c], esi
mov dword [esp + 0x14], esi
lea esi, [esp + 0x64]
inc ecx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov edx, esi
mov dword [esp + 0x1c], sym.core::fmt::num::imp::__LT_impl_u20_core..fmt..Display_u20_for_u20_u32_GT_::fmt::hebf983c945178ef0
mov dword [esp + 0x68], ecx
and dword [esp + 0x74], 0
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x38]
call sym.__ZN5alloc3fmt6format17h28429d8526483b61E.1447
mov ecx, esi
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x54]
push dword [esp + 0x50]
call dbg.clone
pop eax
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push dword [esp + 0x34]
call dbg.clone
pop eax
mov eax, dword [esp + 0x88]
cmp edi, dword [esp + 0x58]
mov ecx, dword [eax + esi*8 - 8]
mov eax, dword [eax + esi*8 - 4]
jne 0x100d662c
mov ebx, ecx
mov edx, edi
lea ecx, [esp + 0x58]
mov edi, eax
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::reserve_for_push::h0685f90bbf17eb6e
mov eax, edi
mov ecx, ebx
mov ebx, dword [esp + 0x5c]
mov edi, dword [esp + 0x60]
shl edi, 6
inc esi
mov dword [ebx + edi], ecx
mov dword [ebx + edi + 4], eax
mov eax, dword [esp + 0x40]
mov dword [ebx + edi + 0x10], eax
movsd xmm0, qword [esp + 0x38]
movsd qword [ebx + edi + 8], xmm0
movsd xmm0, qword [esp + 0x64]
movsd qword [ebx + edi + 0x14], xmm0
mov eax, dword [esp + 0x6c]
mov dword [ebx + edi + 0x1c], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + edi + 0x28], eax
mov eax, dword [esp + 0xc]
movsd xmm0, qword [esp + 0x18]
add eax, 0xfffffff8
movsd qword [ebx + edi + 0x20], xmm0
mov dword [ebx + edi + 0x2c], 0x80000000
and dword [ebx + edi + 0x38], 0
mov edi, dword [esp + 0x60]
inc edi
mov dword [esp + 0x60], edi
jmp 0x100d657d
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
call sym.__LT_alloc..raw_vec..RawVec_LT_T_C_A_GT__u20_as_u20_core..ops..drop..Drop_GT_::drop::hfd9bb8a12a430182
mov edi, dword [esp + 0x48]
mov esi, dword [edi + 0x44]
mov edx, dword [edi + 0x48]
mov ecx, esi
call sym.__LT_alloc..vec..Vec_LT_T_C_A_GT__u20_as_u20_core..ops..drop..Drop_GT_::drop::haa01381bbc8f6745
mov ecx, dword [edi + 0x40]
mov edx, esi
call sym.__LT_alloc..raw_vec..RawVec_LT_T_C_A_GT__u20_as_u20_core..ops..drop..Drop_GT_::drop::h0364dc3e2ce0f882
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x84]
movsd xmm0, qword [esp + 0x58]
mov dword [ecx + 8], eax
movsd qword [ecx], xmm0
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x18]
call sym.__LT_alloc..raw_vec..RawVec_LT_T_C_A_GT__u20_as_u20_core..ops..drop..Drop_GT_::drop::h5bf4e74882597c41
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], edx
mov dword [edi + 0x1c], ecx
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x24]
call sym.__LT_alloc..raw_vec..RawVec_LT_T_C_A_GT__u20_as_u20_core..ops..drop..Drop_GT_::drop::h5bf4e74882597c41
mov eax, dword [esp + 0x80]
mov dword [edi + 0x20], eax
mov eax, dword [esp + 0x10]
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x34]
mov dword [edi + 0x28], eax
mov eax, dword [esp + 0x4c]
mov byte [edi + 0x4c], al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 4
pop ecx
push 0x50
pop edx
call dbg.handle_alloc_error
call sym.alloc::raw_vec::capacity_overflow::h5648a8ceafa88914
push 8
pop ecx
mov edx, dword [esp + 0xc]
call dbg.handle_alloc_error