Function at 0x1002c740
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
lea esi, [ebp - 0x24]
mov edx, 0x10159d10
mov ecx, esi
push 0x12
call sym.__ZN7sysinfo7windows6system20get_reg_string_value17h6f828cdcd7485d83E.llvm.5654590013857732212
add esp, 4
xor eax, eax
cmp eax, dword [ebp - 0x24]
jno 0x1002c77b
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x28], 0
jmp 0x1002c78b
mov eax, dword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x24]
mov dword [ebp - 0x28], eax
movsd qword [ebp - 0x30], xmm0
call sym.sysinfo::windows::system::SystemInner::is_windows_eleven::hca85aa2a89a85f2c
mov ebx, 0xb
test al, al
jne 0x1002c8f7
lea eax, [0x10159cef]
mov dword [ebp - 0x20], 0x10159cc3
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x18], 0
mov dword [ebp - 0x24], 1
lea eax, [ebp - 0x54]
push esi
push eax
call sym.__ZN98__LT_alloc..vec..Vec_LT_T_GT__u20_as_u20_alloc..vec..spec_from_iter..SpecFromIter_LT_T_C_I_GT__GT_9from_iter17h19c3d2f2b
add esp, 8
lea eax, [0x10159d3b]
mov dword [ebp - 0x20], 0x10159d22
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x18], 0
mov dword [ebp - 0x24], 1
lea eax, [ebp - 0x44]
push esi
push eax
call sym.__ZN98__LT_alloc..vec..Vec_LT_T_GT__u20_as_u20_alloc..vec..spec_from_iter..SpecFromIter_LT_T_C_I_GT__GT_9from_iter17h19c3d2f2b
add esp, 8
mov edi, dword [ebp - 0x50]
call sym.__ZN100__LT_windows..Win32..Storage..FileSystem..CLFS_MGMT_POLICY_0_0_u20_as_u20_core..default..Default_GT_7default17h55e47144
mov dword [ebp - 0x24], eax
push esi
push 0x20019
push 0
push edi
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x1002c848
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x1002c82a
add eax, eax
push 2
push eax
push dword [ebp - 0x40]
call sym.___rust_dealloc
add esp, 0xc
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x1002c8f5
add eax, eax
push 2
push eax
push edi
call sym.___rust_dealloc
add esp, 0xc
jmp 0x1002c8f5
mov dword [ebp - 0x5c], edi
mov edi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x60], 4
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x48]
push eax
push ecx
push esi
push 0
mov dword [ebp - 0x58], edx
push edx
mov dword [ebp - 0x34], edi
push edi
call sub.advapi32.dll_RegQueryValueExW
mov edi, eax
test eax, eax
je 0x1002c8b6
movzx eax, di
or eax, 0x80070000
test edi, edi
cmovle eax, edi
push eax
call sym.__ZN108__LT_windows_result..error..Error_u20_as_u20_core..convert..From_LT_windows_result..hresult..HRESULT_GT__GT_4from17ha98
add esp, 4
test edx, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov byte [ebp - 0x24], 1
je 0x1002c8bb
lea eax, [ebp - 0x1c]
push eax
call sym.__LT_windows_result..com..ComPtr_u20_as_u20_core..ops..drop..Drop_GT_::drop::h9cbffdb6c4b299b4
add esp, 4
jmp 0x1002c8bb
mov ebx, dword [ebp - 0x48]
jmp 0x1002c8bb
push dword [ebp - 0x34]
call sub.advapi32.dll_RegCloseKey
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x1002c8da
add eax, eax
push 2
push eax
push dword [ebp - 0x58]
call sym.___rust_dealloc
add esp, 0xc
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x1002c8f1
add eax, eax
push 2
push eax
push dword [ebp - 0x5c]
call sym.___rust_dealloc
add esp, 0xc
test edi, edi
je 0x1002c8f7
xor ebx, ebx
lea eax, [ebp - 0x54]
mov dword [ebp - 0x24], 0x10159d40
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x40], sym.core::fmt::num::imp::__LT_impl_u20_core..fmt..Display_u20_for_u20_u32_GT_::fmt::h8917667e5366c09f
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x38], fcn.1002aae0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 2
lea eax, [ebp - 0x6c]
push esi
push eax
call sym.alloc::fmt::format::format_inner::h615817f0e0a04e8e
add esp, 8
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x64]
movsd xmm0, qword [ebp - 0x6c]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x30]
movsd qword [esi], xmm0
test eax, eax
je 0x1002c96a
push 1
push eax
push dword [ebp - 0x2c]
call sym.___rust_dealloc
add esp, 0xc
mov eax, esi
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret