Function at 0x41f840
Capabilities:
Get common file path
Get disk information
Get file system object information

Disassembly:
sub esp, 0x4d4
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.0041f600
lea ecx, [esi + 0x3c]
call fcn.00443e11
mov ecx, 0xac
xor eax, eax
lea edi, [esp + 0x28]
push 0x111
rep stosd dword es:[edi], eax
lea eax, [esp + 0x28]
push 0x2b4
push eax
xor ebp, ebp
push 0x10
push str.C:Folder
mov dword [esi + 0x54], ebp
mov dword [esp + 0x38], ebp
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0041f500
mov edx, dword [esp + 0x24]
mov ecx, esi
push edx
call fcn.0041ee80
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x2da]
mov word [esp + 0x2d8], bp
rep stosd dword es:[edi], eax
mov eax, dword [0x463d70]
mov ecx, dword [0x463d74]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [esp + 0x14], eax
xor ebx, ebx
mov edx, dword [esp + 0x14]
mov ecx, ebx
shr edx, cl
test dl, 1
je 0x41f999
lea eax, [ebx + 0x41]
mov ecx, 0x82
mov word [esp + 0x18], ax
xor eax, eax
lea edi, [esp + 0x30]
push 0x301
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x28]
push 0x2b4
push ecx
lea edx, [esp + 0x24]
push ebp
push edx
mov dword [esp + 0x38], ebp
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp word [esp + 0x30], bp
lea edi, [esp + 0x18]
je 0x41f92e
lea edi, [esp + 0x30]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.00432a93
add esp, 4
lea edx, [eax + eax + 2]
lea eax, [esp + 0x1c]
mov ecx, esi
push edx
push eax
push 0xffffffffffffffff
push edi
call fcn.0041f640
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x41f963
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
cmp word [esp + 0x2d8], bp
je 0x41f982
lea ecx, [esp + 0x2d8]
push 0x463d68
push ecx
call fcn.004330a9
add esp, 8
lea edx, [esp + 0x18]
push 2
lea eax, [esp + 0x2dc]
push edx
push eax
call fcn.004341c2
add esp, 0xc
inc ebx
cmp ebx, 0x1a
jl 0x41f8da
mov dword [esp + 0x20], ebp
call fcn.00448fbb
cmp eax, ebp
je 0x41f9b9
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x41f9bb
xor eax, eax
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push 0x11
push edx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x41faae
push 0x309
lea ecx, [esp + 0x28]
push 0x2b4
push ecx
push ebp
push eax
mov dword [esp + 0x38], ebp
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp word [esp + 0x30], bp
jne 0x41fa11
lea edx, [esp + 0x2d8]
lea eax, [esp + 0x30]
push edx
push eax
call fcn.004330d3
add esp, 8
jmp 0x41fa44
lea ecx, [esp + 0x30]
push 0x462e50
push ecx
call fcn.004330a9
lea edx, [esp + 0x2e0]
lea eax, [esp + 0x38]
push edx
push eax
call fcn.004330a9
lea ecx, [esp + 0x40]
push 0x462e4c
push ecx
call fcn.004330a9
add esp, 0x18
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x2d8]
push edx
push eax
call fcn.00432a93
add esp, 4
lea ecx, [eax + eax + 2]
lea edx, [esp + 0x2dc]
lea eax, [esp + 0x34]
push ecx
push edx
push ebp
push eax
mov ecx, esi
call fcn.0041f640
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x41fa82
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebp
push ecx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x41faae
mov ecx, dword [esp + 0x20]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x14]
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov word [esp + 0x10], 5
mov word [esp + 0x12], 0x10
lea ebx, [esp + 0x10]
mov dword [esp + 0x14], 2
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x2d8]
push ebp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
lea ecx, [esp + 0x2dc]
mov ax, word [ebx]
push eax
push ecx
push ebp
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41fb7d
cmp word [esp + 0x2d8], bp
je 0x41fb7d
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x30]
push 0x301
lea edx, [esp + 0x28]
push 0x2b4
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x2e4]
push ebp
push eax
mov dword [esp + 0x38], ebp
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp word [esp + 0x30], bp
lea edi, [esp + 0x2d8]
je 0x41fb43
lea edi, [esp + 0x30]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x2d8]
push ecx
push edx
call fcn.00432a93
add esp, 4
lea eax, [eax + eax + 2]
lea ecx, [esp + 0x2dc]
push eax
push ecx
push ebp
push edi
mov ecx, esi
call fcn.0041f640
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x41fb7d
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [esp + 0x14]
add ebx, 2
dec eax
mov dword [esp + 0x14], eax
jne 0x41fac8
mov edx, dword [esi + 0x1c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebp
push ebp
push 0x146
push edx
call edi
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x1c]
push ebp
push ebp
push 0x407
push eax
call edi
push eax
call fcn.00445590
cmp eax, ebp
jne 0x41fbc0
xor eax, eax
jmp 0x41fbc3
mov eax, dword [eax + 0x1c]
push 0x20
push eax
call dword [sym.imp.SHLWAPI.dll_SHAutoComplete]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x4d4
ret