Function at 0x100387e0
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, 0xfffffff8
sub esp, 0xf0
cmp dword [ecx + 8], 0
jne 0x10038ec2
mov dword [esp + 0x30], ecx
lea esi, [esp + 0xc8]
push esi
mov dword [esp + 0x48], edx
call sym.__ZN108__LT_windows..Win32..System..SystemInformation..NUMA_NODE_RELATIONSHIP_u20_as_u20_core..default..Default_GT_7default17h
add esp, 4
push esi
call sub.kernel32.dll_GetSystemInfo
movzx eax, word [esp + 0xc8]
xor ecx, ecx
mov ebx, 1
mov edi, 0
mov dword [esp + 0x70], eax
mov eax, 0x80000000
mov esi, ebx
cpuid
xchg ebx, esi
cmp eax, 0x80000004
jb 0x10038a49
mov dword [esp + 0x48], eax
mov eax, dword [0x101918ac]
movzx eax, byte [eax]
push 4
push 0x50
call sym.___rust_alloc
add esp, 8
test eax, eax
je 0x10038f60
mov dword [esp + 8], 5
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
mov ebx, 0x80000000
mov edi, 0x80000000
mov dword [esp + 0x10], 0
nop word [eax + eax]
cmp ebx, eax
mov eax, ebx
adc edi, 0
xor ecx, ecx
mov esi, ebx
cpuid
xchg ebx, esi
mov dword [esp], esi
mov dword [esp + 0x2c], eax
mov dword [esp + 4], ecx
mov dword [esp + 0x34], edx
mov esi, dword [esp + 0x10]
cmp esi, dword [esp + 8]
jne 0x100388c5
lea eax, [esp + 8]
push eax
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::grow_one::h52b196eafe2b7f22
add esp, 4
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x2c]
mov eax, esi
inc esi
shl eax, 4
mov dword [ecx + eax], edx
mov edx, dword [esp]
mov dword [ecx + eax + 4], edx
mov edx, dword [esp + 4]
mov dword [ecx + eax + 8], edx
mov edx, dword [esp + 0x34]
mov dword [ecx + eax + 0xc], edx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], esi
cmp ebx, eax
jae 0x100388ff
cmp edi, eax
mov ebx, edi
jbe 0x10038890
mov eax, dword [0x101918ac]
movzx eax, byte [eax]
push 1
push 0x30
call sym.___rust_alloc
add esp, 8
test eax, eax
je 0x10038f69
mov ecx, dword [esp + 0x10]
xor edx, edx
mov dword [esp + 0x14], 0x30
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
cmp ecx, 3
jb 0x100389f7
mov ebx, dword [esp + 0xc]
mov esi, ecx
mov edx, dword [ebx + 0x20]
lea ecx, [esp + 0x14]
call sym.sysinfo::windows::cpu::get_vendor_id_and_brand::add_u32::h20e3a38c4068547a
mov edx, dword [ebx + 0x24]
lea ecx, [esp + 0x14]
call sym.sysinfo::windows::cpu::get_vendor_id_and_brand::add_u32::h20e3a38c4068547a
mov edx, dword [ebx + 0x28]
lea ecx, [esp + 0x14]
call sym.sysinfo::windows::cpu::get_vendor_id_and_brand::add_u32::h20e3a38c4068547a
mov edx, dword [ebx + 0x2c]
lea ecx, [esp + 0x14]
call sym.sysinfo::windows::cpu::get_vendor_id_and_brand::add_u32::h20e3a38c4068547a
shl esi, 4
add ebx, 0x30
lea edi, [esp + 0x14]
add esi, 0xffffffd0
mov dword [esp], esi
mov esi, 0x20
nop dword [eax]
test esi, esi
je 0x100389cd
mov eax, dword [esp]
add eax, esi
cmp eax, 0x20
je 0x100389cd
mov edx, dword [ebx]
mov ecx, edi
call sym.sysinfo::windows::cpu::get_vendor_id_and_brand::add_u32::h20e3a38c4068547a
mov edx, dword [ebx + 4]
mov ecx, edi
call sym.sysinfo::windows::cpu::get_vendor_id_and_brand::add_u32::h20e3a38c4068547a
mov edx, dword [ebx + 8]
mov ecx, edi
call sym.sysinfo::windows::cpu::get_vendor_id_and_brand::add_u32::h20e3a38c4068547a
mov edx, dword [ebx + 0xc]
add ebx, 0x10
add esi, 0xfffffff0
mov ecx, edi
call sym.sysinfo::windows::cpu::get_vendor_id_and_brand::add_u32::h20e3a38c4068547a
jmp 0x10038990
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
xor edx, edx
test ecx, ecx
je 0x100389f7
nop dword [eax + eax]
cmp byte [eax + edx], 0
je 0x100389ef
inc edx
cmp ecx, edx
jne 0x100389e0
mov edx, ecx
jmp 0x100389f7
cmp edx, ecx
ja 0x10038fab
lea ecx, [esp + 0x78]
push edx
push eax
push ecx
call sym.core::str::converts::from_utf8::hb1736ed88349000a
add esp, 0xc
cmp dword [esp + 0x78], 0
je 0x10038eca
mov ebx, 1
xor edi, edi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10038a2f
push 1
push eax
push dword [esp + 0x20]
call sym.___rust_dealloc
add esp, 0xc
mov eax, dword [esp + 8]
test eax, eax
je 0x10038a49
shl eax, 4
push 4
push eax
push dword [esp + 0x14]
call sym.___rust_dealloc
add esp, 0xc
mov dword [esp + 4], ebx
mov dword [esp], edi
xor eax, eax
xor ecx, ecx
mov esi, ebx
cpuid
xchg ebx, esi
mov eax, dword [0x101918ac]
mov ebx, ecx
mov edi, edx
movzx eax, byte [eax]
push 1
push 0xc
call sym.___rust_alloc
add esp, 8
test eax, eax
je 0x10038f29
mov dword [esp + 0x14], 0xc
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
lea ecx, [esp + 0x14]
mov edx, esi
call sym.sysinfo::windows::cpu::get_vendor_id_and_brand::add_u32::h20e3a38c4068547a
mov esi, dword [esp + 0x70]
lea ecx, [esp + 0x14]
mov edx, edi
call sym.sysinfo::windows::cpu::get_vendor_id_and_brand::add_u32::h20e3a38c4068547a
lea ecx, [esp + 0x14]
mov edx, ebx
call sym.sysinfo::windows::cpu::get_vendor_id_and_brand::add_u32::h20e3a38c4068547a
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x10038ae7
xor edx, edx
nop word cs:[eax + eax]
nop dword [eax + eax]
cmp byte [ecx + edx], 0
je 0x10038add
inc edx
cmp eax, edx
jne 0x10038ad0
jmp 0x10038ae7
cmp edx, eax
ja 0x10038f77
mov eax, edx
lea edx, [esp + 0x78]
push eax
push ecx
push edx
call sym.core::str::converts::from_utf8::hb1736ed88349000a
add esp, 0xc
cmp dword [esp + 0x78], 0
je 0x10038b15
cmp si, 0xe
ja 0x10038b31
mov eax, esi
mov esi, dword [esi*4 + 0x1016f5fc]
mov edi, dword [eax*4 + 0x1016f638]
jmp 0x10038b3b
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x7c]
test esi, esi
je 0x10038efe
jns 0x10038b3b
xor eax, eax
jmp 0x10038f3f
mov edi, 0x1016f542
mov esi, 7
mov eax, dword [0x101918ac]
movzx eax, byte [eax]
push 1
push esi
call sym.___rust_alloc
add esp, 8
test eax, eax
je 0x10038f3a
mov ebx, eax
push esi
push edi
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x14]
mov edi, dword [esp]
test eax, eax
je 0x10038b7d
push 1
push eax
push dword [esp + 0x20]
call sym.___rust_dealloc
add esp, 0xc
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], ebx
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xdc]
cmp byte [esp + 0x44], 0
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], esi
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edi
je 0x10038bbe
lea ecx, [esp + 0x4c]
mov edx, ebx
call sym.__ZN7sysinfo7windows3cpu15get_frequencies17ha94647ba7a019d55E.llvm.13677351167597926412
inc ebx
jne 0x10038c00
xor ebx, ebx
mov eax, 8
jmp 0x10038c2c
test ebx, ebx
je 0x10038bee
lea esi, [ebx*8]
cmp ebx, 0xfffffff
ja 0x10038f88
push 8
push esi
call sym.___rust_alloc_zeroed
add esp, 8
test eax, eax
jne 0x10038bf3
mov eax, 8
jmp 0x10038f8a
mov eax, 8
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ebx
inc ebx
mov esi, ebx
shl esi, 6
cmp ebx, 0x1ffffff
ja 0x10038f4b
mov eax, dword [0x101918ac]
movzx eax, byte [eax]
push 8
push esi
call sym.___rust_alloc
add esp, 8
test eax, eax
je 0x10038f4f
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x40], 0
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x54]
test eax, eax
je 0x10038e24
shl eax, 3
mov esi, 1
lea ebx, [esp + 8]
jmp 0x10038d04
mov eax, dword [esp + 0x3c]
movsd xmm0, qword [esp + 0xb0]
mov ecx, edi
inc edi
inc esi
lea ebx, [esp + 8]
shl ecx, 6
movsd qword [eax + ecx + 0x38], xmm0
movsd xmm0, qword [esp + 0xa8]
movsd qword [eax + ecx + 0x30], xmm0
movsd xmm0, qword [esp + 0xa0]
movsd qword [eax + ecx + 0x28], xmm0
movsd xmm0, qword [esp + 0x98]
movsd qword [eax + ecx + 0x20], xmm0
movsd xmm0, qword [esp + 0x90]
movsd qword [eax + ecx + 0x18], xmm0
movsd xmm0, qword [esp + 0x88]
movsd qword [eax + ecx + 0x10], xmm0
movsd xmm0, qword [esp + 0x78]
movsd xmm1, qword [esp + 0x80]
movsd qword [eax + ecx + 8], xmm1
movsd qword [eax + ecx], xmm0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x40], edi
add eax, 0xfffffff8
je 0x10038e24
mov dword [esp + 0x34], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x14], 0x1016f5e0
mov dword [esp + 0x18], 1
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x74], esi
mov dword [esp + 0x20], 1
mov dword [esp + 8], eax
mov dword [esp + 0xc], sym.core::fmt::num::imp::__LT_impl_u20_core..fmt..Display_u20_for_u20_u32_GT_::fmt::hde7cfeaa5e335763
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0xc0]
push eax
call sym.alloc::fmt::format::format_inner::h50f5774af0e74e13
add esp, 8
mov eax, dword [esp + 0xbc]
mov edi, dword [esp + 0xc4]
mov dword [esp], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], eax
lea eax, [esp + 0x58]
push eax
push ebx
call sym.__LT_alloc..string..String_u20_as_u20_core..clone..Clone_GT_::clone::h87b442ee1f7372c8
add esp, 8
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x18]
push eax
call sym.__LT_alloc..string..String_u20_as_u20_core..clone..Clone_GT_::clone::h87b442ee1f7372c8
add esp, 8
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp]
movsd xmm0, qword [esp + 8]
mov ebx, dword [esp + 0x1c]
mov eax, dword [ecx + esi*8 - 8]
mov ecx, dword [ecx + esi*8 - 4]
mov dword [esp + 0x90], edx
mov edx, dword [esp + 4]
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], edi
lea edi, [esp + 0x9c]
mov edx, dword [esp + 0x10]
movsd qword [edi], xmm0
movsd xmm0, qword [esp + 0x14]
mov dword [edi + 8], edx
mov dword [edi + 0x14], ebx
movsd qword [edi + 0xc], xmm0
mov edi, dword [esp + 0x40]
mov dword [esp + 0x78], 0x80000000
mov dword [esp + 0x84], 0
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x88], eax
cmp edi, dword [esp + 0x38]
jne 0x10038c70
lea eax, [esp + 0x38]
push eax
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::grow_one::h059f69f63c70dde9
add esp, 4
jmp 0x10038c70
mov eax, dword [esp + 0x40]
movsd xmm0, qword [esp + 0x38]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x4c]
movsd qword [esp + 0x78], xmm0
test eax, eax
je 0x10038e59
shl eax, 3
push 8
push eax
push dword [esp + 0x34]
call sym.___rust_dealloc
add esp, 0xc
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x30]
test eax, eax
je 0x10038e74
push 1
push eax
push dword [esp + 0x70]
call sym.___rust_dealloc
add esp, 0xc
mov eax, dword [esp + 0x58]
test eax, eax
je 0x10038e8b
push 1
push eax
push dword [esp + 0x64]
call sym.___rust_dealloc
add esp, 0xc
push esi
call sym.__LT_alloc..vec..Vec_LT_T_C_A_GT__u20_as_u20_core..ops..drop..Drop_GT_::drop::hd629f6f4c5681660
add esp, 4
mov eax, dword [esi]
test eax, eax
je 0x10038eab
shl eax, 6
push 8
push eax
push dword [esi + 4]
call sym.___rust_dealloc
add esp, 0xc
mov eax, dword [esp + 0x80]
movsd xmm0, qword [esp + 0x78]
mov dword [esi + 8], eax
movsd qword [esi], xmm0
mov byte [esi + 0x1c], bl
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [esp + 0x80]
mov esi, dword [esp + 0x7c]
test edi, edi
je 0x10038f08
js 0x10038f96
mov eax, dword [0x101918ac]
movzx eax, byte [eax]
push 1
push edi
call sym.___rust_alloc
add esp, 8
test eax, eax
je 0x10038f9a
mov ebx, eax
jmp 0x10038f0d
mov ebx, 1
jmp 0x10038b58
mov ebx, 1
push edi
push esi
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x10038a20
jmp 0x10038a2f
push 0xc
push 1
call sym.alloc::raw_vec::handle_error::hfb8b40974975e9a6
add esp, 8
jmp 0x10038fba
mov eax, 1
push esi
push eax
call sym.alloc::raw_vec::handle_error::hfb8b40974975e9a6
add esp, 8
jmp 0x10038fba
xor eax, eax
jmp 0x10038f54
mov eax, 8
push esi
push eax
call sym.alloc::raw_vec::handle_error::hfb8b40974975e9a6
add esp, 8
jmp 0x10038fba
push 0x50
push 4
call sym.alloc::raw_vec::handle_error::hfb8b40974975e9a6
push 0x30
push 1
call sym.alloc::raw_vec::handle_error::hfb8b40974975e9a6
add esp, 8
jmp 0x10038fba
push 0x1016f5cc
push eax
push edx
call sym.core::slice::index::slice_end_index_len_fail::hb7bcdcb5c84f7e98
add esp, 0xc
jmp 0x10038fba
xor eax, eax
push esi
push eax
call sym.alloc::raw_vec::handle_error::hfb8b40974975e9a6
add esp, 8
jmp 0x10038fba
xor eax, eax
jmp 0x10038f9f
mov eax, 1
push edi
push eax
call sym.alloc::raw_vec::handle_error::hfb8b40974975e9a6
add esp, 8
jmp 0x10038fba
push 0x1016f5bc
push ecx
push edx
call sym.core::slice::index::slice_end_index_len_fail::hb7bcdcb5c84f7e98
add esp, 0xc
ud2