Function at 0x100609b0
Capabilities:
Connect to wmi namespace via wbemlocator
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1009b93c
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x100c230c]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100c230c]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
mov edi, ecx
xor ebx, ebx
push eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x30], ebx
call fcn.1000ffe0
mov esi, 1
mov dword [esp + 0x268], esi
mov dword [esp + 0x24], ebx
mov byte [esp + 0x268], 3
lea ecx, [esp + 0x24]
push ecx
push 0x100a2610
push esi
push ebx
push 0x100a26e0
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x1006101a
cmp dword [esp + 0x24], ebx
je 0x1006101a
lea edx, [esp + 0x20]
push edx
call fcn.1002bcf0
mov byte [esp + 0x268], 4
mov ebp, dword [esp + 0x24]
push str.ROOTCIMV2
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [esp + 0x30], esi
cmp esi, ebx
jne 0x10060a77
push 0x8007000e
call fcn.10002030
mov byte [esp + 0x268], 5
mov eax, dword [ebp]
mov edx, dword [eax + 0xc]
lea ecx, [esp + 0x20]
push ecx
push ebx
push ebx
push 0x80
push ebx
push ebx
push ebx
push esi
push ebp
call edx
mov ebx, eax
mov byte [esp + 0x268], 4
mov ebp, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
call ebp
test ebx, ebx
jl 0x10060fe6
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10060fe6
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jge 0x10060b0f
lea eax, [esp + 0x18]
push eax
push edi
call fcn.100024a0
mov dword [esp + 0x2c], 1
mov byte [esp + 0x268], 3
lea ecx, [esp + 0x20]
push ecx
call fcn.1005ee00
mov byte [esp + 0x268], 1
lea edx, [esp + 0x24]
push edx
jmp 0x10061036
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x5e]
push ecx
mov word [esp + 0x60], ax
call fcn.10079c60
add esp, 0xc
push 0x104
lea edx, [esp + 0x58]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x58]
call fcn.10002500
mov byte [esp + 0x268], 6
mov eax, 0x5c
lea ebx, [esp + 0x34]
call fcn.100162d0
lea edx, [esp + 0x28]
push edx
call fcn.1000ffe0
mov byte [esp + 0x268], 7
mov eax, dword [esp + 0x34]
push eax
push str.ASSOCIATORS_OF_Win32_LogicalDisk.DeviceID_s_where_ResultClass__Win32_DiskPartition
lea edi, [esp + 0x30]
call fcn.10012130
add esp, 8
lea ecx, [esp + 0x1c]
push ecx
call fcn.1002bcf0
mov byte [esp + 0x268], 8
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
lea esi, [esp + 0x30]
call fcn.1001f880
mov ebx, eax
mov byte [esp + 0x268], 9
lea esi, [esp + 0x14]
call fcn.100322e0
mov byte [esp + 0x268], 0xa
mov ecx, dword [ebx]
mov eax, dword [eax]
mov edx, dword [edi]
lea esi, [esp + 0x1c]
push esi
xor ebx, ebx
push ebx
push 0x30
push ecx
push eax
mov eax, dword [edx + 0x50]
push edi
call eax
mov esi, eax
mov byte [esp + 0x268], 9
mov ecx, dword [esp + 0x14]
push ecx
call ebp
mov byte [esp + 0x268], 8
mov edx, dword [esp + 0x30]
push edx
call ebp
cmp esi, ebx
jge 0x10060c95
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x18]
push eax
push esi
call fcn.100024a0
mov ebx, 1
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x268], 7
lea ecx, [esp + 0x1c]
push ecx
call fcn.1005ee00
mov byte [esp + 0x268], 6
lea ecx, [esp + 0x28]
call fcn.100025b0
mov byte [esp + 0x268], 4
lea ecx, [esp + 0x34]
call fcn.100025b0
mov byte [esp + 0x268], 3
lea edx, [esp + 0x20]
push edx
call fcn.1005ee00
mov byte [esp + 0x268], bl
lea eax, [esp + 0x24]
push eax
call fcn.1005ee00
mov byte [esp + 0x268], 0
lea ecx, [esp + 0x18]
call fcn.100025b0
mov eax, esi
jmp 0x1006104e
lea ecx, [esp + 0x3c]
push ecx
call fcn.1000ffe0
mov byte [esp + 0x268], 0xb
mov dword [esp + 0x38], ebx
cmp dword [esp + 0x1c], ebx
je 0x10060da0
lea edx, [esp + 0x14]
push edx
call fcn.1002bcf0
mov byte [esp + 0x268], 0xc
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
lea edx, [esp + 0x18]
push edx
push 1
push 0x7d0
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, ebx
jl 0x10060d8e
cmp dword [esp + 0x14], ebx
je 0x10060d8e
cmp dword [esp + 0x38], ebx
je 0x10060d8e
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push ebx
push ebx
lea ecx, [esp + 0x4c]
push ecx
push ebx
push str.DeviceID
push eax
call edx
cmp eax, ebx
jl 0x10060d30
cmp word [esp + 0x44], 8
je 0x10060d4e
mov byte [esp + 0x268], 0xb
lea eax, [esp + 0x14]
push eax
call fcn.1005ee00
cmp dword [esp + 0x1c], ebx
jne 0x10060cb5
jmp 0x10060da0
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.1001b7a0
mov byte [esp + 0x268], 0xd
lea edi, [esp + 0x3c]
call fcn.10003590
mov byte [esp + 0x268], 0xc
lea ecx, [esp + 0x30]
call fcn.100025b0
mov byte [esp + 0x268], 0xb
lea eax, [esp + 0x14]
push eax
jmp 0x10060d9b
mov byte [esp + 0x268], 0xb
lea ecx, [esp + 0x14]
push ecx
call fcn.1005ee00
mov edx, dword [esp + 0x3c]
push edx
push str.ASSOCIATORS_OF_Win32_DiskPartition.DeviceID_s_where_ResultClass__Win32_DiskDrive
lea edi, [esp + 0x30]
call fcn.10012130
mov eax, dword [esp + 0x24]
add esp, 8
cmp eax, ebx
je 0x10060dca
mov dword [esp + 0x1c], ebx
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
lea esi, [esp + 0x14]
call fcn.1001f880
mov ebx, eax
mov byte [esp + 0x268], 0xe
lea esi, [esp + 0x30]
call fcn.100322e0
mov byte [esp + 0x268], 0xf
mov ebx, dword [ebx]
mov eax, dword [eax]
mov ecx, dword [edi]
lea edx, [esp + 0x1c]
push edx
push 0
push 0x30
push ebx
push eax
mov eax, dword [ecx + 0x50]
push edi
call eax
mov esi, eax
mov byte [esp + 0x268], 0xe
mov ecx, dword [esp + 0x30]
push ecx
call ebp
mov byte [esp + 0x268], 0xb
mov edx, dword [esp + 0x14]
push edx
call ebp
test esi, esi
jge 0x10060eb0
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x18]
push eax
push esi
call fcn.100024a0
mov dword [esp + 0x2c], 1
mov byte [esp + 0x268], 8
lea ecx, [esp + 0x3c]
call fcn.100025b0
mov byte [esp + 0x268], 7
lea ecx, [esp + 0x1c]
push ecx
call fcn.1005ee00
mov byte [esp + 0x268], 6
lea ecx, [esp + 0x28]
call fcn.100025b0
mov byte [esp + 0x268], 4
lea ecx, [esp + 0x34]
call fcn.100025b0
mov byte [esp + 0x268], 3
lea edx, [esp + 0x20]
push edx
call fcn.1005ee00
mov byte [esp + 0x268], 1
jmp 0x10060c73
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x38], 0
je 0x10060f66
lea ecx, [esp + 0x14]
push ecx
call fcn.1002bcf0
mov byte [esp + 0x268], 0x10
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x18]
push ecx
push 1
push 0x7d0
push eax
call edx
test eax, eax
jl 0x10060f54
cmp dword [esp + 0x14], 0
je 0x10060f54
cmp dword [esp + 0x38], 0
je 0x10060f54
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push 0
push 0
lea edx, [esp + 0x4c]
push edx
push 0
push str.Caption
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jl 0x10060f45
cmp word [esp + 0x44], 8
jne 0x10060f45
lea ecx, [esp + 0x44]
push ecx
lea edi, [esp + 0x1c]
call fcn.100320c0
mov byte [esp + 0x268], 0xb
lea edx, [esp + 0x14]
push edx
jmp 0x10060f61
mov byte [esp + 0x268], 0xb
lea eax, [esp + 0x14]
push eax
call fcn.1005ee00
mov esi, dword [esp + 0x40]
lea ecx, [esp + 0x18]
push ecx
push esi
call fcn.100024a0
mov dword [esp + 0x2c], 1
mov byte [esp + 0x268], 8
lea ecx, [esp + 0x3c]
call fcn.100025b0
mov byte [esp + 0x268], 7
lea edx, [esp + 0x1c]
push edx
call fcn.1005ee00
mov byte [esp + 0x268], 6
lea ecx, [esp + 0x28]
call fcn.100025b0
mov byte [esp + 0x268], 4
lea ecx, [esp + 0x34]
call fcn.100025b0
mov byte [esp + 0x268], 3
lea eax, [esp + 0x20]
push eax
call fcn.1005ee00
mov byte [esp + 0x268], 1
lea ecx, [esp + 0x24]
push ecx
jmp 0x10060c78
lea edx, [esp + 0x18]
push edx
push edi
call fcn.100024a0
mov dword [esp + 0x2c], 1
mov byte [esp + 0x268], 3
lea eax, [esp + 0x20]
push eax
call fcn.1005ee00
mov byte [esp + 0x268], 1
lea ecx, [esp + 0x24]
push ecx
jmp 0x10061036
lea edx, [esp + 0x18]
push edx
push edi
call fcn.100024a0
mov dword [esp + 0x2c], esi
mov byte [esp + 0x268], 1
lea eax, [esp + 0x24]
push eax
call fcn.1005ee00
mov byte [esp + 0x268], 0
lea ecx, [esp + 0x18]
call fcn.100025b0
mov eax, edi
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.100755ed
add esp, 0x258
ret