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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58c06f
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x61b000]
xor eax, ebp
mov dword [ebp - 0x60], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x12c], 0
lea ecx, [ebp - 0x30]
call fcn.00483cc0
mov dword [ebp - 4], 0
mov dword [ebp - 0x44], 1
movzx eax, byte [0x640473]
test eax, eax
jne 0x481ecb
call fcn.00468970
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x3c]
push ecx
push 0x594904
push 1
push 0
push 0x5949d4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jge 0x481f3b
mov edx, dword [ebp - 0x38]
push edx
push 0x5e2ed8
push 0x5e2f28
call fcn.0040c230
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
call fcn.00483d30
mov ecx, dword [ebp - 0x12c]
or ecx, 1
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00483e30
mov eax, dword [ebp + 8]
jmp 0x4822f8
call fcn.00402270
mov dword [ebp - 0x34], eax
push 0x5e2f48
lea ecx, [ebp - 0x120]
call fcn.00413ad0
mov dword [ebp - 0x130], eax
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0x134], edx
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x134]
call fcn.00413b90
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
call ecx
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x120]
call fcn.00413b70
cmp dword [ebp - 0x38], 0
jl 0x48225c
mov dword [ebp - 0x54], 0
call fcn.00402270
mov dword [ebp - 0x58], eax
push str.Select__from_Win32_LogicalDisk
lea ecx, [ebp - 0x124]
call fcn.00413a30
mov dword [ebp - 0x138], eax
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x13c], edx
mov byte [ebp - 4], 2
push 0x5e2f80
lea ecx, [ebp - 0x128]
call fcn.00413a30
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x144], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x54]
push ecx
push 0
push 0x10
mov ecx, dword [ebp - 0x13c]
call fcn.00413b90
push eax
mov ecx, dword [ebp - 0x144]
call fcn.00413b90
push eax
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
call edx
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x128]
call fcn.00413b70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x124]
call fcn.00413b70
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 0x38], 0
jl 0x48224c
cmp dword [ebp - 0x44], 0
jbe 0x48224c
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x4c]
push ecx
push 1
push 0xffffffffffffffff
mov edx, dword [ebp - 0x54]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [eax + 0x10]
call edx
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0xf4]
call fcn.00481e20
mov byte [ebp - 4], 4
cmp dword [ebp - 0x38], 0
jl 0x482227
cmp dword [ebp - 0x44], 0
jbe 0x482227
call fcn.00402270
mov dword [ebp - 0x104], eax
push 0
push 0
lea eax, [ebp - 0x11c]
push eax
push 0
push 0x5e2f84
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [edx + 0x10]
call ecx
mov dword [ebp - 0x100], eax
lea ecx, [ebp - 0x108]
call fcn.0042eca0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x100], 0
jl 0x4821c7
movzx edx, word [ebp - 0x11c]
cmp edx, 1
je 0x4821c7
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0
jne 0x482132
mov dword [ebp - 0x148], 0
jmp 0x4821a8
mov ecx, dword [ebp - 0xfc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0x3fffffff
jle 0x482160
mov dword [ebp - 0x14c], 0
jmp 0x48219c
mov eax, dword [ebp - 0xf8]
shl eax, 1
call fcn.00570840
mov dword [ebp - 0x150], esp
mov edx, dword [ebp - 0x104]
push edx
mov eax, dword [ebp - 0xf8]
shl eax, 1
push eax
mov ecx, dword [ebp - 0xfc]
push ecx
mov edx, dword [ebp - 0x150]
push edx
call fcn.004022d0
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x148]
push ecx
lea ecx, [ebp - 0xf4]
call fcn.00406110
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push 0
push 0
lea eax, [ebp - 0x11c]
push eax
push 0
push str.DriveType
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [edx + 0x10]
call ecx
mov dword [ebp - 0x100], eax
movzx edx, byte [ebp - 0x114]
cmp edx, 2
jne 0x482208
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x30]
call fcn.00484090
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [edx + 8]
call ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x108]
call fcn.0042ecc0
jmp 0x482238
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xf4]
call fcn.004691f0
jmp 0x48224c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xf4]
call fcn.004691f0
jmp 0x482060
mov edx, dword [ebp - 0x54]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [eax + 8]
call edx
jmp 0x4822af
mov eax, dword [ebp - 0x38]
push eax
push 0x5e2fb0
push str.CUSBMonitor::getRegUsbInfoWmi
call fcn.0040c230
add esp, 0xc
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [edx + 8]
call ecx
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 8]
call fcn.00483d30
mov eax, dword [ebp - 0x12c]
or eax, 1
mov dword [ebp - 0x12c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00483e30
mov eax, dword [ebp + 8]
jmp 0x4822f8
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [eax + 8]
call edx
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
call fcn.00483d30
mov ecx, dword [ebp - 0x12c]
or ecx, 1
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00483e30
mov eax, dword [ebp + 8]
lea esp, [ebp - 0x154]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x60]
xor ecx, ebp
call fcn.00560c61
mov esp, ebp
pop ebp
ret