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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x585b7f
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x615000]
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.0047e660
mov dword [ebp - 4], 0
mov dword [ebp - 0x44], 1
movzx eax, byte [0x63a453]
test eax, eax
jne 0x47d5bb
call fcn.00465b00
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x3c]
push ecx
push 0x58e8e4
push 1
push 0
push 0x58e9b4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jge 0x47d62b
mov edx, dword [ebp - 0x38]
push edx
push 0x5dcde0
push 0x5dce30
call fcn.0040c050
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
call fcn.0047e6d0
mov ecx, dword [ebp - 0x12c]
or ecx, 1
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0047e7d0
mov eax, dword [ebp + 8]
jmp 0x47d9e8
call fcn.00402270
mov dword [ebp - 0x34], eax
push 0x5dce50
lea ecx, [ebp - 0x120]
call fcn.004144e0
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.004145a0
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.00414580
cmp dword [ebp - 0x38], 0
jl 0x47d94c
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.00414440
mov dword [ebp - 0x138], eax
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x13c], edx
mov byte [ebp - 4], 2
push 0x5dce88
lea ecx, [ebp - 0x128]
call fcn.00414440
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.004145a0
push eax
mov ecx, dword [ebp - 0x144]
call fcn.004145a0
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.00414580
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x124]
call fcn.00414580
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 0x38], 0
jl 0x47d93c
cmp dword [ebp - 0x44], 0
jbe 0x47d93c
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.0041f850
mov byte [ebp - 4], 4
cmp dword [ebp - 0x38], 0
jl 0x47d917
cmp dword [ebp - 0x44], 0
jbe 0x47d917
call fcn.00402270
mov dword [ebp - 0x104], eax
push 0
push 0
lea eax, [ebp - 0x11c]
push eax
push 0
push 0x5dce8c
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.0042e580
mov byte [ebp - 4], 5
cmp dword [ebp - 0x100], 0
jl 0x47d8b7
movzx edx, word [ebp - 0x11c]
cmp edx, 1
je 0x47d8b7
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0
jne 0x47d822
mov dword [ebp - 0x148], 0
jmp 0x47d898
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 0x47d850
mov dword [ebp - 0x14c], 0
jmp 0x47d88c
mov eax, dword [ebp - 0xf8]
shl eax, 1
call fcn.0056a8e0
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.00405fb0
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 0x47d8f8
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x30]
call fcn.0047ea30
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.0042e5a0
jmp 0x47d928
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xf4]
call fcn.0047d520
jmp 0x47d93c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xf4]
call fcn.0047d520
jmp 0x47d750
mov edx, dword [ebp - 0x54]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [eax + 8]
call edx
jmp 0x47d99f
mov eax, dword [ebp - 0x38]
push eax
push 0x5dceb8
push str.CUSBMonitor::getRegUsbInfoWmi
call fcn.0040c050
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.0047e6d0
mov eax, dword [ebp - 0x12c]
or eax, 1
mov dword [ebp - 0x12c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0047e7d0
mov eax, dword [ebp + 8]
jmp 0x47d9e8
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.0047e6d0
mov ecx, dword [ebp - 0x12c]
or ecx, 1
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0047e7d0
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.0055abea
mov esp, ebp
pop ebp
ret