Function at 0x100d5ddd
Capabilities:
Get system information on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xe0
cmp dword [ecx + 0x48], 0
jne 0x100d63b6
lea eax, [esp + 0xb0]
xorps xmm0, xmm0
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], 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, 0x80000004
mov dword [esp + 8], eax
jb 0x100d5ee8
push 4
pop ecx
push 0x50
pop edx
call sym.__ZN63__LT_alloc..alloc..Global_u20_as_u20_core..alloc..Allocator_GT_8allocate17h4d3fea93a7ca0a04E.1414
test eax, eax
je 0x100d63c3
mov ebx, eax
lea eax, [esp + 0x24]
xor esi, esi
xor ecx, ecx
mov dword [eax], 5
mov dword [eax + 4], ebx
mov eax, 0x80000000
test cl, 1
mov dword [esp + 0x2c], esi
jne 0x100d5f04
cmp eax, dword [esp + 8]
ja 0x100d5f04
setae cl
mov edi, eax
mov dword [esp + 0xc], ebx
mov dword [esp + 4], ecx
adc edi, 0
xor ecx, ecx
mov ebx, ebx
cpuid
xchg ebx, ebx
mov dword [esp + 0x10], ebx
cmp esi, dword [esp + 0x24]
jne 0x100d5ebe
mov dword [esp + 0xc], ecx
mov ebx, edx
mov edx, esi
lea ecx, [esp + 0x24]
mov esi, eax
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::reserve_for_push::h782a97237148c650
mov eax, esi
mov edx, ebx
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
jmp 0x100d5ec2
mov ebx, dword [esp + 0xc]
shl esi, 4
mov dword [ebx + esi], eax
mov eax, dword [esp + 0x10]
mov dword [ebx + esi + 4], eax
mov dword [ebx + esi + 8], ecx
mov dword [ebx + esi + 0xc], edx
mov ecx, dword [esp + 4]
mov eax, edi
mov esi, dword [esp + 0x2c]
inc esi
jmp 0x100d5e60
xor eax, eax
mov dword [esp + 8], 0
mov dword [esp + 0x30], 0
inc eax
mov dword [esp + 0x14], eax
jmp 0x100d6041
push 0x30
pop ecx
xor edx, edx
xor ebx, ebx
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::allocate_in::h27dc888bb151676b
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0x18]
shl esi, 4
mov dword [ecx], eax
mov dword [ecx + 4], edx
and dword [ecx + 8], 0
add esi, edi
push 2
pop eax
push 5
pop edx
test bl, 1
je 0x100d5f3c
test edx, edx
je 0x100d5f9a
cmp edi, esi
je 0x100d5f9a
dec edx
jmp 0x100d5f56
cmp edx, eax
jbe 0x100d5f9a
mov ecx, esi
sub ecx, edi
shr ecx, 4
cmp ecx, eax
jbe 0x100d5f9a
mov ecx, eax
shl eax, 4
not ecx
add edi, eax
add edx, ecx
mov dword [esp + 4], edx
mov edx, dword [edi]
lea ebx, [esp + 0x18]
lea eax, [edi + 0x10]
mov ecx, ebx
mov dword [esp + 0x10], eax
call sym.sysinfo::windows::cpu::get_vendor_id_and_brand::add_u32::h51c9dd776252363e
mov edx, dword [edi + 4]
mov ecx, ebx
call sym.sysinfo::windows::cpu::get_vendor_id_and_brand::add_u32::h51c9dd776252363e
mov edx, dword [edi + 8]
mov ecx, ebx
call sym.sysinfo::windows::cpu::get_vendor_id_and_brand::add_u32::h51c9dd776252363e
mov edx, dword [edi + 0xc]
mov ecx, ebx
call sym.sysinfo::windows::cpu::get_vendor_id_and_brand::add_u32::h51c9dd776252363e
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 4]
xor eax, eax
mov bl, 1
jmp 0x100d5f2c
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
xor eax, eax
cmp edx, eax
je 0x100d5fb1
cmp byte [esi + eax], 0
je 0x100d5fb3
inc eax
jmp 0x100d5fa4
mov eax, edx
mov ecx, esi
push 0x101c3a90
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::hfdede27dac32abf4
pop ecx
pop ecx
mov edi, edx
lea ebx, [esp + 0x58]
mov edx, eax
mov ecx, ebx
push edi
call dbg.from_utf8
pop eax
cmp dword [ebx], 0
je 0x100d5ff1
xor eax, eax
mov dword [esp + 8], 0
mov dword [esp + 0x30], 0
inc eax
mov dword [esp + 0x14], eax
jmp 0x100d601d
mov edi, dword [esp + 0x60]
mov esi, dword [esp + 0x5c]
xor edx, edx
mov ecx, edi
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::allocate_in::h27dc888bb151676b
mov dword [esp + 0x30], eax
mov dword [esp + 8], edi
push edi
push esi
mov dword [esp + 0x1c], edx
push edx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, esi
call sym.__LT_alloc..raw_vec..RawVec_LT_T_C_A_GT__u20_as_u20_core..ops..drop..Drop_GT_::drop::h1e3cb15a61af7b6e
mov eax, dword [esp + 0x24]
test eax, eax
je 0x100d6041
mov ecx, dword [esp + 0x28]
shl eax, 4
push 4
pop edx
push eax
call sym.__LT_alloc..alloc..Global_u20_as_u20_core..alloc..Allocator_GT_::deallocate::hfbcbcf7f85fde04c
pop eax
xor eax, eax
xor ecx, ecx
mov ebx, ebx
cpuid
xchg ebx, ebx
mov dword [esp + 4], ecx
mov edi, edx
mov eax, dword [esp + 0x3c]
add eax, 0x40
mov dword [esp + 0x80], eax
push 0xc
pop ecx
xor edx, edx
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::allocate_in::h27dc888bb151676b
lea esi, [esp + 0x18]
mov dword [esi], eax
mov dword [esi + 4], edx
and dword [esi + 8], 0
mov ecx, esi
mov edx, ebx
call sym.sysinfo::windows::cpu::get_vendor_id_and_brand::add_u32::h51c9dd776252363e
mov ecx, esi
mov edx, edi
call sym.sysinfo::windows::cpu::get_vendor_id_and_brand::add_u32::h51c9dd776252363e
mov edx, dword [esp + 4]
mov ecx, esi
call sym.sysinfo::windows::cpu::get_vendor_id_and_brand::add_u32::h51c9dd776252363e
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
xor eax, eax
cmp edx, eax
je 0x100d60a8
cmp byte [ecx + eax], 0
je 0x100d60aa
inc eax
jmp 0x100d609b
mov eax, edx
push 0x101c3aa0
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::hfdede27dac32abf4
pop ecx
pop ecx
mov esi, edx
lea edi, [esp + 0x58]
mov edx, eax
mov ecx, edi
push esi
call dbg.from_utf8
pop eax
cmp dword [edi], 0
je 0x100d60ea
movsx eax, word [esp + 0xb0]
cmp eax, 0xe
ja 0x100d60f4
mov edi, dword [eax*4 + 0x101eb26c]
mov esi, dword [eax*4 + 0x101eb2a8]
jmp 0x100d60fc
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x60]
jmp 0x100d60fc
mov esi, 0x101c3a7f
push 7
pop edi
mov ecx, edi
xor edx, edx
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::allocate_in::h27dc888bb151676b
mov dword [esp + 0x38], eax
push edi
push esi
mov dword [esp + 0x3c], edx
push edx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
call sym.__LT_alloc..raw_vec..RawVec_LT_T_C_A_GT__u20_as_u20_core..ops..drop..Drop_GT_::drop::h1e3cb15a61af7b6e
mov ebx, dword [esp + 0xc4]
cmp byte [esp + 0x40], 0
mov dword [esp + 0x48], edi
je 0x100d6153
lea edi, [esp + 0x84]
mov edx, ebx
mov ecx, edi
call sym.sysinfo::windows::cpu::get_frequencies::hf23c6a8eae2ac6e9
mov eax, dword [edi + 4]
mov esi, dword [edi + 8]
mov dword [esp + 0x44], eax
jmp 0x100d6178
xor edx, edx
mov ecx, ebx
inc edx
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::allocate_in::h43d754cbb8e71622
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x8c], ebx
mov esi, ebx
inc ebx
jne 0x100d6180
push 8
pop eax
jmp 0x100d61a9
cmp ebx, 0x1ffffff
ja 0x100d63be
mov edi, ebx
shl edi, 6
js 0x100d63be
push 8
pop ecx
mov edx, edi
call sym.__ZN63__LT_alloc..alloc..Global_u20_as_u20_core..alloc..Allocator_GT_8allocate17h4d3fea93a7ca0a04E.1414
test eax, eax
je 0x100d63ce
lea ecx, [esp + 0x4c]
shl esi, 3
mov dword [ecx], ebx
mov dword [ecx + 4], eax
and dword [ecx + 8], 0
xor ebx, ebx
xor edi, edi
inc edi
test esi, esi
je 0x100d6309
lea ecx, [esp + 0x70]
mov dword [esp + 0x58], 0x101c3e84
mov dword [esp + 4], esi
lea esi, [esp + 0x18]
lea edx, [esp + 0x58]
mov dword [esp + 0xc], eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x18], ecx
xor ecx, ecx
mov dword [esp + 0x1c], sym.core::fmt::num::imp::__LT_impl_u20_core..fmt..Display_u20_for_u20_u32_GT_::fmt::h44482e698c6d5ebe
inc ecx
mov dword [esp + 0x5c], ecx
and dword [esp + 0x68], 0
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x24]
call sym.__ZN5alloc3fmt6format17h89356f2389f6f651E.1424
mov edx, dword [esp + 0x34]
mov ecx, esi
push dword [esp + 0x48]
call dbg.clone
pop eax
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x58]
push dword [esp + 8]
call dbg.clone
pop eax
mov eax, dword [esp + 0x44]
movsd xmm0, qword [esp + 0x18]
mov dword [esp + 0x10], edi
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x60]
cmp ebx, dword [esp + 0x4c]
mov ecx, dword [eax + edi*8 - 8]
mov edi, dword [eax + edi*8 - 4]
movsd qword [esp + 0x70], xmm0
movsd xmm0, qword [esp + 0x58]
mov dword [esp + 0x78], esi
mov dword [esp + 0xa8], edx
movsd qword [esp + 0xa0], xmm0
jne 0x100d6292
mov esi, ecx
lea ecx, [esp + 0x4c]
mov edx, ebx
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::reserve_for_push::hcacaa57363dd7e7f
mov ecx, esi
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 4]
jmp 0x100d629a
mov esi, dword [esp + 4]
mov eax, dword [esp + 0xc]
shl ebx, 6
add esi, 0xfffffff8
mov dword [eax + ebx + 4], edi
mov dword [eax + ebx], ecx
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
inc edi
mov dword [eax + ebx + 0x10], ecx
movsd xmm0, qword [esp + 0x24]
movsd qword [eax + ebx + 8], xmm0
movsd xmm0, qword [esp + 0x70]
movsd qword [eax + ebx + 0x14], xmm0
mov ecx, dword [esp + 0x78]
mov dword [eax + ebx + 0x1c], ecx
movsd xmm0, qword [esp + 0xa0]
movsd qword [eax + ebx + 0x20], xmm0
mov ecx, dword [esp + 0xa8]
mov dword [eax + ebx + 0x28], ecx
mov dword [eax + ebx + 0x2c], 0x80000000
and dword [eax + ebx + 0x38], 0
mov ebx, dword [esp + 0x54]
inc ebx
mov dword [esp + 0x54], ebx
jmp 0x100d61be
mov eax, dword [esp + 0x54]
movsd xmm0, qword [esp + 0x4c]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov dword [esp + 0x98], eax
movsd qword [esp + 0x90], xmm0
call sym.__LT_alloc..raw_vec..RawVec_LT_T_C_A_GT__u20_as_u20_core..ops..drop..Drop_GT_::drop::h3fd2556214c6534d
mov edi, dword [esp + 0x3c]
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::h424a155f3d3d1ca6
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::h8e886dcb8f77c6c6
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x80]
movsd xmm0, qword [esp + 0x90]
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::h1e3cb15a61af7b6e
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x48]
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::h1e3cb15a61af7b6e
mov eax, dword [esp + 0x30]
mov dword [edi + 0x20], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0x24], eax
mov eax, dword [esp + 8]
mov dword [edi + 0x28], eax
mov eax, dword [esp + 0x40]
mov byte [edi + 0x4c], al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call sym.alloc::raw_vec::capacity_overflow::h7b8b81325d19d337
push 4
pop ecx
push 0x50
pop edx
call dbg.handle_alloc_error
push 8
pop ecx
mov edx, edi
call dbg.handle_alloc_error