Function at 0x439781
Capabilities:
Connect to wmi namespace via wbemlocator
Reference wmi statements

Disassembly:
push 0xa8
mov eax, 0x4b3df3
call fcn.004935c5
mov esi, dword [ebp + 8]
xor ebx, ebx
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
mov dword [ebp - 0xa8], ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [ebp - 0xac], ebx
lea eax, [ebp - 0xac]
push eax
push 0x4d68f8
xor edi, edi
inc edi
push edi
push ebx
push 0x4d69c8
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x4397e6
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
jmp 0x439b2a
mov dword [ebp - 0xb4], ebx
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax]
lea edx, [ebp - 0xb4]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str.ROOTCIMV2
push eax
mov byte [ebp - 4], 1
call dword [ecx + 0xc]
cmp eax, ebx
jge 0x439823
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
jmp 0x439b17
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [ebp - 0xb4]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, ebx
jl 0x439812
mov dword [ebp - 0xb0], ebx
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax]
lea edx, [ebp - 0xb0]
push edx
push ebx
push 0x30
push str.SELECT__FROM_Win32_DiskDrive
push 0x4c27f4
push eax
mov byte [ebp - 4], 2
call dword [ecx + 0x50]
cmp eax, ebx
jge 0x43987c
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
jmp 0x439b03
push 0xf
pop eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x84], bl
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
cmp dword [ebp - 0xb0], ebx
je 0x4399dc
mov dword [ebp - 0xa4], ebx
mov eax, dword [ebp - 0xb0]
lea ecx, [ebp - 0xa8]
push ecx
lea ecx, [ebp - 0xa4]
push ecx
push edi
push 0xffffffffffffffff
push dword [ebp - 0xb0]
mov dword [ebp - 0xa8], ebx
mov eax, dword [eax]
mov byte [ebp - 4], 6
call dword [eax + 0x10]
cmp eax, ebx
jl 0x4399c0
cmp dword [ebp - 0xa8], ebx
je 0x4399c0
push str.SerialNumber
push dword [ebp - 0xa4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00438d4d
add esp, 0xc
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 7
call fcn.004044f2
push ebx
push edi
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 6
call fcn.0040187b
cmp dword [ebp - 0x3c], ebx
jne 0x439951
mov eax, dword [ebp - 0xa4]
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x439940
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0xb0], ebx
jne 0x4398a9
jmp 0x4399d4
push str.Model
push dword [ebp - 0xa4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00438d4d
add esp, 0xc
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 8
call fcn.004044f2
push ebx
push edi
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 6
call fcn.0040187b
push 0x4c27a8
push dword [ebp - 0xa4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00438d4d
add esp, 0xc
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 9
call fcn.004044f2
push ebx
push edi
lea ecx, [ebp - 0xa0]
call fcn.0040187b
mov eax, dword [ebp - 0xa4]
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x4399d4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x3c], ebx
jne 0x4399ff
push 0xf
pop eax
push ebx
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], ebx
push edi
lea ecx, [ebp - 0x4c]
mov byte [esi], bl
call fcn.0040187b
push ebx
push edi
lea ecx, [ebp - 0x68]
call fcn.0040187b
push ebx
push edi
jmp 0x439af8
push 0x1e
lea eax, [ebp - 0x30]
push 0x20
push eax
call fcn.00492b40
mov eax, dword [ebp - 0x74]
add esp, 0xc
push 4
pop edi
cmp eax, ebx
je 0x439a56
mov dword [ebp - 0xa8], eax
cmp eax, edi
mov dword [ebp - 0xa4], edi
lea eax, [ebp - 0xa8]
jl 0x439a35
lea eax, [ebp - 0xa4]
cmp dword [ebp - 0x70], 0x10
mov ecx, dword [ebp - 0x84]
jae 0x439a47
lea ecx, [ebp - 0x84]
push dword [eax]
lea eax, [ebp - 0x30]
push ecx
push eax
call fcn.004927d0
add esp, 0xc
mov eax, dword [ebp - 0x58]
cmp eax, ebx
je 0x439a94
mov dword [ebp - 0xa8], eax
cmp eax, edi
mov dword [ebp - 0xa4], edi
lea eax, [ebp - 0xa8]
jl 0x439a79
lea eax, [ebp - 0xa4]
cmp dword [ebp - 0x54], 0x10
mov ecx, dword [ebp - 0x68]
jae 0x439a85
lea ecx, [ebp - 0x68]
push dword [eax]
lea eax, [ebp - 0x2c]
push ecx
push eax
call fcn.004927d0
add esp, 0xc
mov eax, dword [ebp - 0x3c]
push 0x14
pop ecx
mov dword [ebp - 0xa8], eax
cmp eax, ecx
mov dword [ebp - 0xa4], ecx
lea eax, [ebp - 0xa8]
jl 0x439ab6
lea eax, [ebp - 0xa4]
cmp dword [ebp - 0x38], 0x10
mov ecx, dword [ebp - 0x4c]
jae 0x439ac2
lea ecx, [ebp - 0x4c]
push dword [eax]
lea eax, [ebp - 0x28]
push ecx
push eax
call fcn.004927d0
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
mov byte [ebp - 0x14], bl
call fcn.00401998
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.0040187b
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.0040187b
push ebx
push 1
lea ecx, [ebp - 0x84]
call fcn.0040187b
mov eax, dword [ebp - 0xb0]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x439b17
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xb4]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x439b2a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xac]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x439b3e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
call fcn.00493648
ret