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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f75b2
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x53e754]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xf0], esi
mov dword [ebp - 0xf8], esi
mov dword [ebp - 0xf8], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov edx, 0x53f178
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x100]
call fcn.00432330
push str.Querying_hardward_UUID.
mov byte [ebp - 4], 1
mov ecx, dword [eax]
push 2
call fcn.00413c00
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0xfc]
test edi, edi
je 0x45867b
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x45867b
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x45867b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
push 0
push 0
mov byte [ebp - 4], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x4586f0
mov edx, eax
mov ecx, str.Failed_to_initialize_COM_library__hr:__ld_
call fcn.00441dc0
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
mov ecx, esi
push 0x51b71c
mov word [esi], ax
call fcn.004225a0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x458ee2
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x458ed8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458eff
jmp 0x458ed8
mov byte [ebp - 0x114], 0
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
mov byte [ebp - 4], 3
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x45874e
mov edx, eax
mov ecx, str.Failed_to_initialize_COM_security__hr:__ld_
call fcn.00441dc0
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
mov ecx, esi
push 0x51b71c
mov word [esi], ax
call fcn.004225a0
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x4586b9
mov dword [ebp - 0xe0], 0
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 4
push eax
push 0x52244c
push 0x17
push 0
push 0x50c24c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x4587b2
mov edx, eax
mov ecx, str.Failed_to_create_IWbemLocator_object__hr:__ld_
call fcn.00441dc0
push 0x51b71c
mov ecx, esi
call fcn.00421d40
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x4587a7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x4586b9
lea eax, [ebp - 0xe0]
mov byte [ebp - 0x110], 0
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0xe4], 0
mov byte [ebp - 4], 7
mov edi, dword [ebp - 0xe0]
push str.rootcimv2
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xf4], eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x104], esi
test esi, esi
je 0x458f04
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 8
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push edi
call dword [ebp - 0xf4]
push esi
mov edi, eax
mov byte [ebp - 4], 7
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
jns 0x45888b
mov edx, edi
mov ecx, str.Could_not_connect_to_ROOTCIMV2_WMI_namespace__hr:__ld_
call fcn.00441dc0
mov esi, dword [ebp - 0xf0]
mov ecx, esi
push 0x51b71c
call fcn.00421d40
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0xe4]
test eax, eax
je 0x458861
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x110]
call fcn.0045acb0
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x458880
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x4586b9
lea eax, [ebp - 0xe4]
mov byte [ebp - 0x100], 0
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xec], 0
push str.Select__from_Win32_ComputerSystemProduct
mov byte [ebp - 4], 0xc
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov dword [ebp - 0x128], edi
test edi, edi
je 0x458f0e
mov byte [ebp - 4], 0xd
mov esi, dword [ebp - 0xe4]
push ecx
lea ecx, [ebp - 0x104]
mov eax, dword [esi]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0xf4], eax
call fcn.00456cf0
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0xe
push ecx
push 0
push 0x20
push edi
push dword [eax]
push esi
call dword [ebp - 0xf4]
mov byte [ebp - 4], 0xd
mov esi, eax
push dword [ebp - 0x104]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
jns 0x458a67
mov edx, esi
mov ecx, 0x521c48
call fcn.00441dc0
push 0x1a
push str.DsnQueryHardwareUuidFailed
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00418ea0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x40]
push 6
push str.Common
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00418ea0
push 1
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x40]
call fcn.00445990
mov byte [ebp - 4], 0xf
add esp, 4
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x4589b9
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4589af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458eff
push edx
push ecx
call fcn.004a68a5
add esp, 8
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x4589f1
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4589e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458eff
push edx
push ecx
call fcn.004a68a5
add esp, 8
mov esi, dword [ebp - 0xf0]
mov ecx, esi
push 0x51b71c
call fcn.00421d40
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0xec]
test eax, eax
je 0x458a1e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x100]
call fcn.0045acb0
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0xe4]
test eax, eax
je 0x458a3d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x110]
call fcn.0045acb0
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x458a5c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x4586b9
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xe8], 0
lea edx, [ebp - 0xf8]
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0xec]
push edx
lea edx, [ebp - 0xe8]
push edx
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x458d78
cmp dword [ebp - 0xe8], 0
je 0x458d78
lea eax, [ebp - 0xe8]
mov byte [ebp - 0x108], 0
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x124]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x124], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0
push 0
mov byte [ebp - 4], 0x1c
lea edx, [ebp - 0x124]
mov eax, dword [ebp - 0xe8]
push edx
push 0
push str.UUID
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
test eax, eax
jns 0x458c7e
mov edx, eax
mov ecx, str.UUID_retrieval_failed__hr:__ld_
call fcn.00441dc0
push 0x15
push str.DsnUuidRetrieveFailed
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00418ea0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x58]
push 6
push str.Common
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00418ea0
push 1
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x58]
call fcn.00445990
mov byte [ebp - 4], 0x1d
add esp, 4
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x458ba4
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x458b9a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458eff
push edx
push ecx
call fcn.004a68a5
add esp, 8
mov byte [ebp - 4], 0x1c
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x458bdc
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x458bd2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458eff
push edx
push ecx
call fcn.004a68a5
add esp, 8
mov esi, dword [ebp - 0xf0]
mov ecx, esi
push 0x51b71c
call fcn.00421d40
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x108]
call fcn.0045acb0
mov byte [ebp - 4], 0x1f
mov eax, dword [ebp - 0xe8]
test eax, eax
je 0x458c1a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0x20
mov eax, dword [ebp - 0xec]
test eax, eax
je 0x458c35
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x100]
call fcn.0045acb0
mov byte [ebp - 4], 0x21
mov eax, dword [ebp - 0xe4]
test eax, eax
je 0x458c54
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x110]
call fcn.0045acb0
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x458c73
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x4586b9
push dword [ebp - 0x11c]
lea ecx, [ebp - 0xdc]
call fcn.0045b660
mov byte [ebp - 4], 0x23
mov edx, dword [eax]
mov ecx, edx
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x458ca0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00418ea0
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0xd8]
mov eax, dword [ebp - 0xdc]
cmp eax, ecx
je 0x458cd0
push eax
call fcn.004c6fff
add esp, 4
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
mov esi, dword [ebp - 0xf0]
mov ecx, esi
cmovae edx, dword [ebp - 0x28]
call fcn.00439c70
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x108]
call fcn.0045acb0
mov byte [ebp - 4], 0x24
mov eax, dword [ebp - 0xe8]
test eax, eax
je 0x458d14
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0x25
mov eax, dword [ebp - 0xec]
test eax, eax
je 0x458d2f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x100]
call fcn.0045acb0
mov byte [ebp - 4], 0x26
mov eax, dword [ebp - 0xe4]
test eax, eax
je 0x458d4e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x110]
call fcn.0045acb0
mov byte [ebp - 4], 0x27
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x458d6d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x4586b9
mov edx, eax
mov ecx, str.WmiObject_retrieval_failed__hr:__ld_
call fcn.00441dc0
push 0x18
push str.DsnWmiObjectCreateFailed
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00418ea0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x58]
push 6
push str.Common
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00418ea0
push 1
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x58]
call fcn.00445990
mov byte [ebp - 4], 0x15
add esp, 4
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x458e16
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x458e0c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458eff
push edx
push ecx
call fcn.004a68a5
add esp, 8
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x458e4e
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x458e44
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458eff
push edx
push ecx
call fcn.004a68a5
add esp, 8
mov esi, dword [ebp - 0xf0]
mov ecx, esi
push 0x51b71c
call fcn.00421d40
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0xe8]
test eax, eax
je 0x458e74
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0xec]
test eax, eax
je 0x458e8f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x100]
call fcn.0045acb0
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0xe4]
test eax, eax
je 0x458eae
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x110]
call fcn.0045acb0
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x458ecd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x4586b9
push edx
push ecx
call fcn.004a68a5
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a6894
mov esp, ebp
pop ebp
ret
call fcn.004c6faf
push 0x8007000e
call fcn.00439b70
push 0x8007000e
call fcn.00439b70
int3