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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42cb93
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x43c010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140.dll_Ordinal_4315]
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
push eax
push 0x432b78
push 1
push 0
push 0x432c48
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x4160a5
push eax
call fcn.00412509
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x10]
push edx
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push 0x432968
push eax
mov byte [ebp - 4], 2
call dword [ecx + 0xc]
test eax, eax
jns 0x4160d8
push eax
call fcn.00412509
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x4160f9
push eax
call fcn.00412509
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc140.dll_Ordinal_316]
push dword [ebp + 8]
mov ebx, dword [sym.imp.mfc140.dll_Ordinal_4807]
lea eax, [ebp - 0x2c]
push str.ASSOCIATORS_OF_Win32_LogicalDisk.DeviceID__s__WHERE_ResultClassWin32_DiskPartition
push eax
mov byte [ebp - 4], 4
call ebx
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x34]
add esp, 0xc
push dword [ebp - 0x2c]
call fcn.004156a0
mov ecx, dword [eax]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x416147
mov ecx, dword [ecx]
jmp 0x416149
xor ecx, ecx
mov eax, dword [esi]
lea edx, [ebp - 0x1c]
push edx
push 0
push 0x30
push ecx
push 0x4329fc
push esi
call dword [eax + 0x50]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
mov esi, eax
call fcn.00416700
test esi, esi
jns 0x416175
push esi
call fcn.00412509
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4163aa
mov dword [ebp - 0x18], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x18]
mov byte [ebp - 4], 6
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x20], 0
je 0x416399
test eax, eax
js 0x416399
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x48]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push 0x432a60
push eax
mov byte [ebp - 4], 7
call dword [ecx + 0x10]
test eax, eax
js 0x41609f
push dword [ebp - 0x40]
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc140.dll_Ordinal_306]
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc140.dll_Ordinal_316]
push dword [ebp - 0x34]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
push str.ASSOCIATORS_OF_Win32_DiskPartition.DeviceID__s__WHERE_ResultClassWin32_DiskDrive
push eax
call ebx
mov dword [ebp - 0x14], 0
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x28]
push 0xc
mov byte [ebp - 4], 0xa
call sub.mfc140.dll_Ordinal_1507
mov esi, eax
add esp, 0x10
mov dword [ebp - 0x38], esi
mov byte [ebp - 4], 0xb
test esi, esi
je 0x416244
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.00417160
mov dword [esi], eax
jmp 0x416246
xor esi, esi
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x24], esi
test esi, esi
je 0x416401
mov eax, dword [ebx]
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0x30
push dword [esi]
mov byte [ebp - 4], 0xc
push 0x4329fc
push ebx
call dword [eax + 0x50]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xa
mov esi, eax
call fcn.00416700
test esi, esi
js 0x41616f
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4162c6
mov dword [ebp - 0x24], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x24]
mov byte [ebp - 4], 0xd
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x20], 0
je 0x4162b2
test eax, eax
jns 0x416317
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x4162c3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 9
test eax, eax
je 0x4162d4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 4
test eax, eax
je 0x416301
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4163aa
mov ebx, dword [sym.imp.mfc140.dll_Ordinal_4807]
jmp 0x416180
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x58]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.SerialNumber
push eax
mov byte [ebp - 4], 0xe
call dword [ecx + 0x10]
test eax, eax
jns 0x416347
push eax
call fcn.00412509
push dword [ebp - 0x50]
mov ecx, dword [ebp + 0xc]
call dword [sym.imp.mfc140.dll_Ordinal_1528]
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x58]
push eax
call ebx
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x416370
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 9
test eax, eax
je 0x416381
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea eax, [ebp - 0x48]
push eax
call ebx
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 4
test eax, eax
je 0x4163aa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
test eax, eax
je 0x4163c4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
test eax, eax
je 0x4163d5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 0
test eax, eax
je 0x4163e6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.00417140
int3