Function at 0x447b20
Capabilities:
Check os version
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x475529
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x49b3d4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov edi, edx
push str.getHDDSerial_start
xor eax, eax
push str.INFO
mov ecx, edi
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x14c], edi
mov word [ebx], ax
call fcn.00416a80
xor esi, esi
cmp dword [0x4a1820], esi
je 0x447bb6
push str.getHDDSerial__used_cached_value
push str.INFO
mov ecx, edi
call fcn.00416a80
mov eax, 0x4a1810
call fcn.0040263b
push eax
push 0x484e18
push 0x100
push ebx
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
jmp 0x447f4a
push 0x110
lea ecx, [ebp - 0x144]
push esi
push ecx
mov dword [ebp - 0x148], 0x114
call fcn.00465a00
add esp, 0xc
lea edx, [ebp - 0x148]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x144], 6
jae 0x447bf9
mov esi, edi
mov eax, ebx
call fcn.00447ab0
jmp 0x447f4a
push esi
push esi
push esi
push 3
push esi
push esi
push esi
push 0xffffffffffffffff
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, esi
jge 0x447c30
push str.Failed_to_initialize_security._Error_code__0x
push str.ERROR
mov ecx, edi
call fcn.00416a80
mov esi, edi
mov eax, ebx
call fcn.00447ab0
jmp 0x447f85
lea eax, [ebp - 0x150]
push eax
push 0x4805a8
push 1
push esi
push 0x480678
mov dword [ebp - 0x150], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jge 0x447c5b
push str.Failed_to_create_IWbemLocator_object._Err_code__0x
jmp 0x447c16
lea ecx, [ebp - 0x164]
push ecx
mov edi, str.ROOTCIMV2
mov dword [ebp - 0x154], esi
call fcn.0041bb20
mov byte [ebp - 4], 1
mov eax, dword [eax]
cmp eax, esi
je 0x447c80
mov eax, dword [eax]
jmp 0x447c82
xor eax, eax
mov ecx, dword [ebp - 0x150]
mov edx, dword [ecx]
lea edi, [ebp - 0x154]
push edi
push esi
push esi
push esi
push esi
push esi
push esi
push eax
mov eax, dword [edx + 0xc]
push ecx
call eax
lea edi, [ebp - 0x164]
mov esi, eax
mov byte [ebp - 4], 0
call fcn.0041bbc0
test esi, esi
jns 0x447ce4
mov esi, dword [ebp - 0x14c]
push str.Could_not_connect._Error_code__0x
push str.ERROR
mov ecx, esi
call fcn.00416a80
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, ebx
call fcn.00447ab0
jmp 0x447f85
mov eax, dword [ebp - 0x154]
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x447d42
mov esi, dword [ebp - 0x14c]
push str.Could_not_set_proxy_blanket.Error_code__0x
push str.ERROR
mov ecx, esi
call fcn.00416a80
mov eax, dword [ebp - 0x154]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, ebx
call fcn.00447ab0
jmp 0x447f85
push str.Select__from_Win32_DiskDrive_where_InterfaceType__IDE
lea ebx, [ebp - 0x16c]
mov dword [ebp - 0x158], 0
call fcn.00447a20
mov esi, eax
push 0x48c464
lea ebx, [ebp - 0x164]
mov byte [ebp - 4], 2
call fcn.00447a20
mov byte [ebp - 4], 3
mov ecx, dword [esi]
xor esi, esi
cmp ecx, esi
je 0x447d82
mov ecx, dword [ecx]
jmp 0x447d84
xor ecx, ecx
mov eax, dword [eax]
cmp eax, esi
je 0x447d8e
mov edx, dword [eax]
jmp 0x447d90
xor edx, edx
mov eax, dword [ebp - 0x154]
mov edi, dword [eax]
lea ebx, [ebp - 0x158]
push ebx
push esi
push 0x30
push ecx
push edx
push eax
mov eax, dword [edi + 0x50]
call eax
lea edi, [ebp - 0x164]
mov ebx, eax
call fcn.0041bbc0
lea edi, [ebp - 0x16c]
mov byte [ebp - 4], 0
call fcn.0041bbc0
cmp ebx, esi
jge 0x447e0d
mov esi, dword [ebp - 0x14c]
push 0x48c468
push str.ERROR
mov ecx, esi
call fcn.00416a80
mov eax, dword [ebp - 0x154]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x15c]
call fcn.00447ab0
jmp 0x447f85
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [ebp - 0x160], esi
mov dword [ebp - 0x168], esi
mov esi, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
cmp dword [ebp - 0x158], 0
je 0x447ee9
mov ecx, dword [ebp - 0x14c]
push str.getHDDSerial__process_item
push str.INFO
call fcn.00416a80
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax]
lea edx, [ebp - 0x168]
push edx
lea edx, [ebp - 0x160]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [ebp - 0x168], 0
je 0x447ee9
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax]
push 0
push 0
lea edx, [ebp - 0x180]
push edx
push 0
push str.SerialNumber
push eax
mov eax, dword [ecx + 0x10]
call eax
mov ecx, dword [ebp - 0x178]
mov ebx, dword [ebp - 0x15c]
push ecx
push 0x484e18
mov eax, 0x100
push eax
push ebx
call esi
add esp, 0x10
call fcn.004061a0
lea edx, [ebp - 0x180]
push edx
call edi
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp word [ebx], 0
je 0x447e25
mov ecx, dword [ebp - 0x14c]
push str.getHDDSerial__serial_is_founded__break_loop
push str.INFO
call fcn.00416a80
mov eax, dword [ebp - 0x154]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x15c]
cmp word [edi], 0
jne 0x447f33
mov esi, dword [ebp - 0x14c]
mov eax, edi
call fcn.00447ab0
push edi
mov edi, 0x4a1810
call fcn.0040262a
mov ebx, dword [ebp - 0x15c]
mov edi, dword [ebp - 0x14c]
push str.getHDDSerial_end__result:
lea eax, [ebp - 0x30]
call fcn.004025d0
push ebx
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 4], 5
call fcn.0040260f
lea eax, [ebp - 0x30]
call fcn.0040263b
push eax
push str.INFO
mov ecx, edi
call fcn.00416a80
lea ecx, [ebp - 0x30]
call fcn.00402601
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00458db6
mov esp, ebp
pop ebp
ret