Function at 0x4027d0
Capabilities:
Reference wmi statements

Disassembly:
push 0xffffffffffffffff
push 0x471410
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48e780]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
xor edi, edi
push str.SELECT__FROM_Win32_DiskDrive
lea ebx, [esp + 0x24]
mov dword [esp + 0x1c], edi
call fcn.00401120
mov esi, eax
push 0x4827e0
lea ebx, [esp + 0x20]
mov dword [esp + 0x60], edi
call fcn.00401120
mov byte [esp + 0x5c], 1
mov ecx, dword [esi]
cmp ecx, edi
je 0x40282e
mov ecx, dword [ecx]
jmp 0x402830
xor ecx, ecx
mov eax, dword [eax]
cmp eax, edi
je 0x40283a
mov edx, dword [eax]
jmp 0x40283c
xor edx, edx
mov eax, dword [0x493fc8]
mov esi, dword [eax]
lea ebx, [esp + 0x18]
push ebx
push edi
push 0x30
push ecx
push edx
push eax
mov eax, dword [esi + 0x50]
call eax
mov ebx, eax
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x40289b
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, edi
jne 0x402897
cmp esi, edi
je 0x402897
mov eax, dword [esi]
cmp eax, edi
je 0x40287e
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x40288e
push eax
call fcn.0041da60
add esp, 4
push esi
call fcn.0041da60
add esp, 4
mov dword [esp + 0x1c], edi
mov dword [esp + 0x5c], 0xffffffff
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x4028e9
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, edi
jne 0x4028e5
cmp esi, edi
je 0x4028e5
mov eax, dword [esi]
cmp eax, edi
je 0x4028cc
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x4028dc
push eax
call fcn.0041da60
add esp, 4
push esi
call fcn.0041da60
add esp, 4
mov dword [esp + 0x20], edi
cmp ebx, edi
jge 0x402921
mov eax, dword [0x493fc8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [0x493fcc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x402ac9
mov ebp, dword [esp + 0x64]
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x18]
push edx
push 1
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], edi
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [esp + 0x24], edi
je 0x402ac5
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [esp + 0x2c]
push ecx
call esi
lea edx, [esp + 0x3c]
push edx
call esi
push str.SerialNumber
lea ebx, [esp + 0x24]
call fcn.00401120
mov dword [esp + 0x5c], 2
mov eax, dword [eax]
cmp eax, edi
je 0x40298d
mov eax, dword [eax]
jmp 0x40298f
xor eax, eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push edi
lea esi, [esp + 0x34]
push esi
push edi
push eax
mov eax, dword [edx + 0x10]
push ecx
call eax
mov dword [esp + 0x5c], 0xffffffff
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x4029f2
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, edi
jne 0x4029ee
cmp esi, edi
je 0x4029ee
mov eax, dword [esi]
cmp eax, edi
je 0x4029d5
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x4029e5
push eax
call fcn.0041da60
add esp, 4
push esi
call fcn.0041da60
add esp, 4
mov dword [esp + 0x20], edi
push str.Caption
lea ebx, [esp + 0x2c]
call fcn.00401120
mov dword [esp + 0x5c], 3
mov eax, dword [eax]
cmp eax, edi
je 0x402a12
mov eax, dword [eax]
jmp 0x402a14
xor eax, eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push edi
lea esi, [esp + 0x44]
push esi
push edi
push eax
mov eax, dword [edx + 0x10]
push ecx
call eax
mov dword [esp + 0x5c], 0xffffffff
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x402a77
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x402a73
cmp esi, edi
je 0x402a73
mov eax, dword [esi]
cmp eax, edi
je 0x402a5a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x402a6a
push eax
call fcn.0041da60
add esp, 4
push esi
call fcn.0041da60
add esp, 4
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x34]
mov edx, ebp
call fcn.00401200
mov eax, dword [esp + 0x44]
lea edx, [ebp + 0x100]
call fcn.00401200
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x2c]
push ecx
call esi
lea edx, [esp + 0x3c]
push edx
call esi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
add ebp, 0x200
call edx
mov eax, dword [esp + 0x18]
cmp eax, edi
jne 0x402931
jmp 0x402ac9
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [0x493fc8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [0x493fcc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret