Function at 0x44e20c
Capabilities:
Check os version
Connect to wmi namespace via wbemlocator
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6cc
push ebx
push esi
lea eax, [ebp - 0xcc]
push edi
mov edi, dword [0x4b52d8]
xor esi, esi
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
xor ebx, ebx
mov dword [ebp - 0xcc], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0xbc], 2
je 0x44e255
xor eax, eax
jmp 0x44e478
lea eax, [ebp - 0x14]
push eax
push 0x4623b0
push 1
push esi
push 0x4623a0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x44e44f
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 4]
push edx
push esi
mov ecx, dword [eax]
push esi
push esi
push esi
push esi
push esi
push str.ROOTCIMV2
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x44e44f
push 0x20
push esi
push 3
push 6
push esi
push esi
push 0xa
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp edi, esi
jne 0x44e2bf
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push esi
mov ecx, dword [eax]
push 0x30
push str.SELECT_SerialNumber_FROM_Win32_PhysicalMedia_WHERE_TAG.PHYSICALDRIVE0
jmp 0x44e305
cmp edi, 1
jne 0x44e2d7
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push esi
mov ecx, dword [eax]
push 0x30
push str.SELECT_SerialNumber_FROM_Win32_PhysicalMedia_WHERE_TAG.PHYSICALDRIVE1
jmp 0x44e305
cmp edi, 2
jne 0x44e2ef
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push esi
mov ecx, dword [eax]
push 0x30
push str.SELECT_SerialNumber_FROM_Win32_PhysicalMedia_WHERE_TAG.PHYSICALDRIVE2
jmp 0x44e305
cmp edi, 3
jne 0x44e30e
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push esi
mov ecx, dword [eax]
push 0x30
push str.SELECT_SerialNumber_FROM_Win32_PhysicalMedia_WHERE_TAG.PHYSICALDRIVE3
push 0x4a324c
push eax
call dword [ecx + 0x50]
cmp eax, esi
jl 0x44e44f
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x28]
push edx
lea edx, [ebp - 0xc]
push edx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0xc], esi
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp eax, esi
jl 0x44e44f
cmp dword [ebp - 0xc], esi
jne 0x44e347
cmp eax, esi
je 0x44e316
jmp 0x44e44f
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0xc]
push esi
lea edx, [ebp - 0x38]
push esi
mov ecx, dword [eax]
push edx
push esi
push str.SerialNumber
push eax
call dword [ecx + 0x10]
mov edi, dword [ebp - 0x30]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x14
mov dword [ebp - 0x18], eax
jle 0x44e417
cmp dword [ebp - 0xc8], 6
jne 0x44e417
push 0x200
lea eax, [ebp - 0x2cc]
push esi
push eax
mov word [ebp - 0x1c], si
call fcn.00454ae0
add esp, 0xc
cmp dword [ebp - 0x18], esi
mov dword [ebp - 0x10], esi
jle 0x44e3fc
add edi, 4
mov ax, word [edi - 4]
push 0x10
mov word [ebp - 0x24], ax
mov ax, word [edi - 2]
mov word [ebp - 0x22], ax
mov ax, word [edi]
mov word [ebp - 0x20], ax
mov ax, word [edi + 2]
mov word [ebp - 0x1e], ax
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.004555f4
add esp, 0xc
mov ecx, eax
mov eax, dword [ebp - 0x10]
add edi, 8
push 4
cdq
pop ebx
idiv ebx
add dword [ebp - 0x10], ebx
mov word [ebp + eax*2 - 0x2cc], cx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jl 0x44e3ad
lea eax, [ebp - 0x2cc]
push 0x400
push eax
lea eax, [ebp - 0x6cc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
jmp 0x44e430
push esi
push esi
lea eax, [ebp - 0x6cc]
push 0x400
push eax
push 0xffffffffffffffff
push edi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x6cc]
push eax
push 0x4b6304
call fcn.004549f0
mov eax, dword [ebp - 0xc]
pop ecx
pop ecx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 1
pop ebx
mov eax, dword [ebp - 8]
cmp eax, esi
je 0x44e45c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x44e469
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
cmp eax, esi
je 0x44e476
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret