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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7252
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 0x4583cb
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x4583cb
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x4583cb
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 0x458440
mov edx, eax
mov ecx, str.Failed_to_initialize_COM_library__hr:__ld_
call fcn.00441c00
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 0x458c32
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x458c28
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458c4f
jmp 0x458c28
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 0x45849e
mov edx, eax
mov ecx, str.Failed_to_initialize_COM_security__hr:__ld_
call fcn.00441c00
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 0x458409
mov dword [ebp - 0xe0], 0
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 4
push eax
push 0x52240c
push 0x17
push 0
push 0x50c24c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x458502
mov edx, eax
mov ecx, str.Failed_to_create_IWbemLocator_object__hr:__ld_
call fcn.00441c00
push 0x51b71c
mov ecx, esi
call fcn.00421d40
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x4584f7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x458409
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 0x458c54
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 0x4585db
mov edx, edi
mov ecx, str.Could_not_connect_to_ROOTCIMV2_WMI_namespace__hr:__ld_
call fcn.00441c00
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 0x4585b1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x110]
call fcn.0045aa10
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x4585d0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x458409
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 0x458c5e
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.00456a40
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 0x4587b7
mov edx, esi
mov ecx, 0x521c08
call fcn.00441c00
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.004456d0
mov byte [ebp - 4], 0xf
add esp, 4
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x458709
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4586ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458c4f
push edx
push ecx
call fcn.004a6603
add esp, 8
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x458741
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x458737
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458c4f
push edx
push ecx
call fcn.004a6603
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 0x45876e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x100]
call fcn.0045aa10
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0xe4]
test eax, eax
je 0x45878d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x110]
call fcn.0045aa10
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x4587ac
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x458409
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 0x458ac8
cmp dword [ebp - 0xe8], 0
je 0x458ac8
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 0x4589ce
mov edx, eax
mov ecx, str.UUID_retrieval_failed__hr:__ld_
call fcn.00441c00
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.004456d0
mov byte [ebp - 4], 0x1d
add esp, 4
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x4588f4
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4588ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458c4f
push edx
push ecx
call fcn.004a6603
add esp, 8
mov byte [ebp - 4], 0x1c
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x45892c
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x458922
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458c4f
push edx
push ecx
call fcn.004a6603
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.0045aa10
mov byte [ebp - 4], 0x1f
mov eax, dword [ebp - 0xe8]
test eax, eax
je 0x45896a
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 0x458985
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x100]
call fcn.0045aa10
mov byte [ebp - 4], 0x21
mov eax, dword [ebp - 0xe4]
test eax, eax
je 0x4589a4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x110]
call fcn.0045aa10
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x4589c3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x458409
push dword [ebp - 0x11c]
lea ecx, [ebp - 0xdc]
call fcn.0045b3c0
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 0x4589f0
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 0x458a20
push eax
call fcn.004c6d3f
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.0045aa10
mov byte [ebp - 4], 0x24
mov eax, dword [ebp - 0xe8]
test eax, eax
je 0x458a64
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 0x458a7f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x100]
call fcn.0045aa10
mov byte [ebp - 4], 0x26
mov eax, dword [ebp - 0xe4]
test eax, eax
je 0x458a9e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x110]
call fcn.0045aa10
mov byte [ebp - 4], 0x27
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x458abd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x458409
mov edx, eax
mov ecx, str.WmiObject_retrieval_failed__hr:__ld_
call fcn.00441c00
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.004456d0
mov byte [ebp - 4], 0x15
add esp, 4
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x458b66
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x458b5c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458c4f
push edx
push ecx
call fcn.004a6603
add esp, 8
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x458b9e
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x458b94
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458c4f
push edx
push ecx
call fcn.004a6603
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 0x458bc4
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 0x458bdf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x100]
call fcn.0045aa10
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0xe4]
test eax, eax
je 0x458bfe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x110]
call fcn.0045aa10
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x458c1d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x458409
push edx
push ecx
call fcn.004a6603
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.004a65f2
mov esp, ebp
pop ebp
ret
call fcn.004c6cef
push 0x8007000e
call fcn.00439b70
push 0x8007000e
call fcn.00439b70
int3