Function at 0x458a80
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x625ebc]
sub esp, 0x84
cmp eax, 0xffffffff
jne 0x458b0d
lea eax, [esp + 8]
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetControlProductOptions
push 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x458b0d
lea ecx, [esp]
lea edx, [esp + 0xc]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x18]
push str.ProductType
push eax
mov dword [esp + 0x18], 0x20
mov dword [0x625ebc], 1
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x458b02
lea ecx, [esp + 0xc]
push str.WinNT
push ecx
call fcn.00501e90
add esp, 8
test eax, eax
je 0x458b02
mov dword [0x625ebc], 0
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [0x63fb5c]
push ebx
push ebp
push esi
test eax, eax
push edi
jne 0x458b99
push str.NETAPI32.DLL
call dword [sym.imp.kernel32.dll_LoadLibraryA]
test eax, eax
mov dword [0x63fb5c], eax
je 0x458b99
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.NetStatisticsGet
push eax
call esi
mov dword [0x63fb98], eax
mov eax, dword [0x63fb5c]
push str.NetApiBufferSize
push eax
call esi
mov ecx, dword [0x63fb5c]
push str.NetApiBufferFree
push ecx
mov dword [0x63fb9c], eax
call esi
mov ecx, dword [0x63fb98]
mov dword [0x63fba0], eax
test ecx, ecx
je 0x458b7e
mov ecx, dword [0x63fb9c]
test ecx, ecx
je 0x458b7e
test eax, eax
jne 0x458b94
mov edx, dword [0x63fb5c]
push edx
call dword [sym.imp.kernel32.dll_FreeLibrary]
xor eax, eax
mov dword [0x63fb5c], eax
jmp 0x458b99
mov eax, dword [0x63fb5c]
mov ecx, dword [0x64e1a0]
mov esi, dword [0x64e1a4]
mov dl, byte [ecx]
and edx, 0xf
add esi, edx
test eax, eax
mov dword [0x64e1a4], esi
je 0x458c0c
mov eax, dword [0x625ebc]
test eax, eax
mov eax, str.LanmanWorkstation
jne 0x458bc9
mov eax, str.LanmanServer
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push eax
push 0
call dword [0x63fb98]
test eax, eax
jne 0x458c0c
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push eax
call dword [0x63fb9c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.00452440
mov eax, dword [esp + 0x1c]
add esp, 8
push eax
call dword [0x63fba0]
mov ebx, dword [sym.imp.kernel32.dll_CreateFileA]
mov ebp, dword [sym.imp.kernel32.dll_DeviceIoControl]
xor edi, edi
push edi
lea ecx, [esp + 0x20]
push str..PhysicalDrive_d
push ecx
call fcn.004f58b5
add esp, 0xc
lea edx, [esp + 0x1c]
push 0
push 0
push 3
push 0
push 3
push 0
push edx
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x458c84
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x44]
push 0x58
push ecx
push 0
push 0
push 0x70020
push esi
call ebp
test eax, eax
je 0x458c77
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.00452440
add esp, 8
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
inc edi
cmp edi, 1
jl 0x458c1a
push 1
call fcn.00459670
mov ecx, dword [0x625ec0]
push ecx
call fcn.004f5323
push 0
mov esi, eax
call fcn.004f68de
mov dword [esi], eax
mov edx, dword [0x625ec0]
push edx
push esi
call fcn.00452440
push esi
call fcn.004f5907
add esp, 0x18
mov dword [0x64e1ac], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret