Function at 0x1011c68
Capabilities:
Get common file path
Get disk information

Disassembly:
push 0x1c
mov eax, 0x101851f
call fcn.01013191
cmp dword [ebp + 0xc], 0
jne 0x1011c84
mov eax, 0x80004003
jmp 0x1011ef9
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x1011c7a
push 3
pop ebx
mov edi, 0x101d174
push edi
lea ecx, [ebp - 0x18]
mov dword [esi], ebx
call fcn.01009374
and dword [ebp - 4], 0
push 0x104
lea ecx, [ebp - 0x18]
call fcn.01009b61
push eax
xor eax, eax
push eax
push eax
push 5
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
mov dword [ebp - 0x1c], eax
jl 0x1011eeb
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.01009321
push dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
call fcn.0100abd2
push dword [ebp - 0x18]
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.0100abd2
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 2
call fcn.01011738
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathIsUNCW]
test eax, eax
jne 0x1011eae
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathIsUNCServerW]
test eax, eax
jne 0x1011eae
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathIsUNCServerShareW]
test eax, eax
jne 0x1011eae
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
mov dword [ebp - 0x24], eax
jne 0x1011e60
push 1
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 0x10]
call fcn.0100f493
mov esi, 0x100257c
jmp 0x1011d93
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0xc]
dec eax
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 0x10]
call fcn.01009f56
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 3
call fcn.0100a134
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.01008d5a
push 1
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 0x10]
call fcn.0100f493
push esi
push eax
call fcn.01010f29
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov bl, al
call fcn.01008d5a
test bl, bl
jne 0x1011d55
and dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
push 0
push dword [ebp + 0x10]
call sub.MPR.dll_WNetGetConnectionW
cmp eax, 0xea
jne 0x1011e57
push edi
lea ecx, [ebp - 0x14]
call fcn.01009374
mov eax, dword [ebp - 0x20]
inc eax
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.01009b61
lea ecx, [ebp - 0x20]
push ecx
push eax
push dword [ebp + 0x10]
call sub.MPR.dll_WNetGetConnectionW
test eax, eax
jne 0x1011e43
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.01009321
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathSkipRootW]
sub eax, esi
sar eax, 1
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.01009f2c
push dword [eax]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.0100a1b1
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.01008d5a
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.0100a134
jmp 0x1011e4a
mov dword [ebp - 0x1c], 0x80004005
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.01008d5a
jmp 0x1011ec1
mov dword [ebp - 0x1c], 0x80004005
jmp 0x1011ec1
cmp eax, ebx
jne 0x1011e82
push esi
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x28], esp
mov ecx, esp
push eax
call fcn.010093a3
call fcn.01011b4f
test eax, eax
mov dword [ebp - 0x1c], eax
jl 0x1011ed5
jmp 0x1011eb5
push 0x100212c
lea ecx, [ebp - 0x20]
call fcn.0100abd2
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 6
call fcn.0100a134
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.01008d5a
mov dword [esi], ebx
jmp 0x1011ec1
mov dword [ebp - 0x24], 4
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0100a134
cmp dword [ebp - 0x1c], 0
jl 0x1011ed5
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp dword [ebp - 0x24], 4
sete al
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.01008d5a
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.01008d5a
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.01008d5a
mov eax, dword [ebp - 0x1c]
call fcn.0101327d
ret 0xc