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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46df29
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x491654]
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.00417c10
xor esi, esi
cmp dword [0x49687c], esi
je 0x444166
push str.getHDDSerial__used_cached_value
push str.INFO
mov ecx, edi
call fcn.00417c10
mov eax, 0x49686c
call fcn.00402639
push eax
push 0x47b520
push 0x100
push ebx
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
jmp 0x4444fa
push 0x110
lea ecx, [ebp - 0x144]
push esi
push ecx
mov dword [ebp - 0x148], 0x114
call fcn.0045e9a0
add esp, 0xc
lea edx, [ebp - 0x148]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x144], 6
jae 0x4441a9
mov esi, edi
mov eax, ebx
call fcn.00444060
jmp 0x4444fa
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 0x4441e0
push str.Failed_to_initialize_security._Error_code__0x
push str.ERROR
mov ecx, edi
call fcn.00417c10
mov esi, edi
mov eax, ebx
call fcn.00444060
jmp 0x444535
lea eax, [ebp - 0x150]
push eax
push 0x479800
push 1
push esi
push 0x4798d0
mov dword [ebp - 0x150], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jge 0x44420b
push str.Failed_to_create_IWbemLocator_object._Err_code__0x
jmp 0x4441c6
lea ecx, [ebp - 0x164]
push ecx
mov edi, str.ROOTCIMV2
mov dword [ebp - 0x154], esi
call fcn.0041bc90
mov byte [ebp - 4], 1
mov eax, dword [eax]
cmp eax, esi
je 0x444230
mov eax, dword [eax]
jmp 0x444232
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.0041bd30
test esi, esi
jns 0x444294
mov esi, dword [ebp - 0x14c]
push str.Could_not_connect._Error_code__0x
push str.ERROR
mov ecx, esi
call fcn.00417c10
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, ebx
call fcn.00444060
jmp 0x444535
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 0x4442f2
mov esi, dword [ebp - 0x14c]
push str.Could_not_set_proxy_blanket.Error_code__0x
push str.ERROR
mov ecx, esi
call fcn.00417c10
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.00444060
jmp 0x444535
push str.Select__from_Win32_DiskDrive_where_InterfaceType__IDE
lea ebx, [ebp - 0x16c]
mov dword [ebp - 0x158], 0
call fcn.00443b40
mov esi, eax
push 0x4823a0
lea ebx, [ebp - 0x164]
mov byte [ebp - 4], 2
call fcn.00443b40
mov byte [ebp - 4], 3
mov ecx, dword [esi]
xor esi, esi
cmp ecx, esi
je 0x444332
mov ecx, dword [ecx]
jmp 0x444334
xor ecx, ecx
mov eax, dword [eax]
cmp eax, esi
je 0x44433e
mov edx, dword [eax]
jmp 0x444340
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.0041bd30
lea edi, [ebp - 0x16c]
mov byte [ebp - 4], 0
call fcn.0041bd30
cmp ebx, esi
jge 0x4443bd
mov esi, dword [ebp - 0x14c]
push str.Query_for_operating_system_name_failed.
push str.ERROR
mov ecx, esi
call fcn.00417c10
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.00444060
jmp 0x444535
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 0x444499
mov ecx, dword [ebp - 0x14c]
push str.getHDDSerial__process_item
push str.INFO
call fcn.00417c10
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 0x444499
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 0x47b520
mov eax, 0x100
push eax
push ebx
call esi
add esp, 0x10
call fcn.004065d0
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 0x4443d5
mov ecx, dword [ebp - 0x14c]
push str.getHDDSerial__serial_is_founded__break_loop
push str.INFO
call fcn.00417c10
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 0x4444e3
mov esi, dword [ebp - 0x14c]
mov eax, edi
call fcn.00444060
push edi
mov edi, 0x49686c
call fcn.00402628
mov ebx, dword [ebp - 0x15c]
mov edi, dword [ebp - 0x14c]
push str.getHDDSerial_end__result:
lea eax, [ebp - 0x30]
call fcn.004025ce
push ebx
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 4], 5
call fcn.0040260d
lea eax, [ebp - 0x30]
call fcn.00402639
push eax
push str.INFO
mov ecx, edi
call fcn.00417c10
lea ecx, [ebp - 0x30]
call fcn.004025ff
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.00452dc2
mov esp, ebp
pop ebp
ret