Function at 0x437d60
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5694
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x4ff1a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
push 0x502e20
push 0x4c3fcc
push 1
push ebx
push 0x4c409c
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp dword [0x502e20], ebx
jne 0x437ee0
push 1
push 2
lea ecx, [ebp - 0x100]
call fcn.00413cc0
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x100]
push str.WMIDeviceQueryInit_FAILED._return__3.
push eax
call fcn.00416b90
add esp, 8
push 0x12
mov edi, 0xf
push str.WMIDeviceQueryInit
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.0040ebe0
mov byte [ebp - 4], 1
push 0x12
push str.WMIDeviceQuery.cpp
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.0040ebe0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x100]
call fcn.00413de0
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x2c]
push edx
push 0x104
lea eax, [ebp - 0x48]
push eax
push 3
call fcn.004144e0
mov ecx, eax
call fcn.0042e360
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], 8
jb 0x437e74
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00490458
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
mov byte [ebp - 4], 1
mov esi, 0x10
cmp dword [ebp - 0x34], esi
jb 0x437e9e
mov eax, dword [ebp - 0x48]
push eax
call fcn.00490458
add esp, 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], esi
jb 0x437ebb
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00490458
add esp, 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.00412cc0
mov eax, 0xfffffffd
jmp 0x4382cb
lea edx, [ebp - 0x68]
push edx
mov edi, str.ROOTCIMV2
call fcn.00436f00
mov dword [ebp - 4], 4
mov eax, dword [eax]
cmp eax, ebx
je 0x437eff
mov ecx, dword [eax]
jmp 0x437f01
xor ecx, ecx
mov eax, dword [0x502e20]
mov edx, dword [eax]
push 0x502e24
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x68]
cmp eax, ebx
je 0x437f65
mov edi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x437f62
cmp edi, ebx
je 0x437f62
mov eax, dword [edi]
cmp eax, ebx
je 0x437f49
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x437f59
push eax
call fcn.004913ca
add esp, 4
push edi
call fcn.00490458
add esp, 4
mov dword [ebp - 0x68], ebx
cmp dword [0x502e20], ebx
jne 0x43808a
push 1
push 2
lea ecx, [ebp - 0x100]
call fcn.00413cc0
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x100]
push str.WMIDeviceQueryInit_FAILED._return__4.
push ecx
call fcn.00416b90
add esp, 8
push 0x12
mov edi, 0xf
push str.WMIDeviceQueryInit
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.0040ebe0
mov byte [ebp - 4], 6
push 0x12
push str.WMIDeviceQuery.cpp
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.0040ebe0
mov byte [ebp - 4], 7
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp - 0x100]
call fcn.00413de0
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x48]
push eax
push 0x115
lea ecx, [ebp - 0x2c]
push ecx
push 3
call fcn.004144e0
mov ecx, eax
call fcn.0042e360
mov byte [ebp - 4], 7
cmp dword [ebp - 0x50], 8
jb 0x43801d
mov edx, dword [ebp - 0x64]
push edx
call fcn.00490458
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
mov byte [ebp - 4], 6
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jb 0x438047
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00490458
add esp, 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 5
cmp dword [ebp - 0x34], esi
jb 0x438065
mov edx, dword [ebp - 0x48]
push edx
call fcn.00490458
add esp, 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.00412cc0
mov eax, 0xfffffffc
jmp 0x4382cb
mov eax, dword [0x502e24]
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
push 1
lea ecx, [ebp - 0x100]
push 2
cmp eax, ebx
je 0x4381c1
call fcn.00413cc0
mov dword [ebp - 4], 9
lea ecx, [ebp - 0x100]
push str.WMIDeviceQueryInit_FAILED._return__5.
push ecx
call fcn.00416b90
add esp, 8
push 0x12
mov edi, 0xf
push str.WMIDeviceQueryInit
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.0040ebe0
mov byte [ebp - 4], 0xa
push 0x12
push str.WMIDeviceQuery.cpp
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.0040ebe0
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp - 0x100]
call fcn.00413de0
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x48]
push eax
push 0x126
lea ecx, [ebp - 0x2c]
push ecx
push 3
call fcn.004144e0
mov ecx, eax
call fcn.0042e360
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x50], 8
jb 0x438154
mov edx, dword [ebp - 0x64]
push edx
call fcn.00490458
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
mov byte [ebp - 4], 0xa
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jb 0x43817e
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00490458
add esp, 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 9
cmp dword [ebp - 0x34], esi
jb 0x43819c
mov edx, dword [ebp - 0x48]
push edx
call fcn.00490458
add esp, 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.00412cc0
mov eax, 0xfffffffb
jmp 0x4382cb
call fcn.00413cc0
mov dword [ebp - 4], 0xd
lea eax, [ebp - 0x100]
push str.WMIDeviceQueryInit_OK.
push eax
call fcn.00416b90
add esp, 8
push 0x12
mov edi, 0xf
push str.WMIDeviceQueryInit
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.0040ebe0
mov byte [ebp - 4], 0xe
push 0x12
push str.WMIDeviceQuery.cpp
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.0040ebe0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x100]
call fcn.00413de0
mov byte [ebp - 4], 0x10
push eax
lea edx, [ebp - 0x48]
push edx
push 0x12a
lea eax, [ebp - 0x2c]
push eax
push 3
call fcn.004144e0
mov ecx, eax
call fcn.0042e360
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x50], 8
jb 0x438263
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00490458
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
mov byte [ebp - 4], 0xe
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jb 0x43828d
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00490458
add esp, 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x34], esi
jb 0x4382ab
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00490458
add esp, 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.00412cc0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004911d1
mov esp, ebp
pop ebp
ret