Function at 0x41f210
Capabilities:
Reference sql statements
Reference wmi statements

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9760
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
push esi
push edi
mov eax, dword [0x828208]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [ebp - 0x1c]
mov byte [ebp - 4], 3
mov ecx, 0x4dee54
call fcn.0041ee10
mov edi, eax
test edi, edi
js 0x41f3cb
mov edi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x24]
push str.SELECT__FROM_Win32_Volume_WHERE_BootVolume__True
call fcn.0041ea60
mov esi, eax
push 0x4deea0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.0041ea60
mov byte [ebp - 4], 5
mov ecx, dword [esi]
test ecx, ecx
je 0x41f2ce
mov edx, dword [ecx]
jmp 0x41f2d0
xor edx, edx
mov eax, dword [eax]
test eax, eax
je 0x41f2da
mov ecx, dword [eax]
jmp 0x41f2dc
xor ecx, ecx
mov eax, dword [edi]
lea esi, [ebp - 0x18]
push esi
push 0
push 0x30
push edx
push ecx
push edi
call dword [eax + 0x50]
mov esi, dword [ebp - 0x20]
mov edi, eax
mov ecx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
or eax, 0xffffffff
test esi, esi
je 0x41f34b
lock xadd dword [esi + 8], eax
dec eax
jne 0x41f341
test esi, esi
je 0x41f341
mov eax, dword [esi]
test eax, eax
je 0x41f319
push eax
call ecx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x41f330
push eax
call fcn.00489f8e
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00489f24
mov ecx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 8
mov dword [ebp - 0x20], 0
or eax, 0xffffffff
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x41f39a
lock xadd dword [esi + 8], eax
dec eax
jne 0x41f393
test esi, esi
je 0x41f393
mov eax, dword [esi]
test eax, eax
je 0x41f371
push eax
call ecx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x41f388
push eax
call fcn.00489f8e
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00489f24
add esp, 8
mov dword [ebp - 0x24], 0
test edi, edi
js 0x41f3cb
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
push edx
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x28], 0
mov edi, eax
jne 0x41f42d
push str.pEnumerator__Next_failed.___n
push dword [ebp - 0x2c]
call fcn.0040abf0
add esp, 8
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x40]
push eax
call esi
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x41f3f2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41f403
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41f417
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
test edi, edi
js 0x41f3cb
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x40]
push eax
call esi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x40]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.DeviceID
push eax
call dword [ecx + 0x10]
mov edi, eax
test edi, edi
js 0x41f3d1
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x41f470
call fcn.0041ec40
jmp 0x41f3d1
mov edi, 0x8000ffff
jmp 0x41f3d1