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

Disassembly:
jmp 0x40f500
sub esp, 0x4d4
mov eax, dword [0x44e1b4]
xor eax, esp
mov dword [esp + 0x4d0], eax
push ebx
push esi
mov esi, dword [esp + 0x4e0]
xor ebx, ebx
cmp esi, ebx
jne 0x40f53c
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x4d0]
xor ecx, esp
call fcn.0041bdf4
add esp, 0x4d4
ret
push ebp
push edi
push 0x200
lea edi, [esp + 0x2e4]
mov eax, edi
push ebx
push eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
call fcn.0041be10
push 0x2b4
xor eax, eax
lea ecx, [esp + 0x34]
push ebx
push ecx
mov dword [esp + 0x2f0], eax
mov word [esp + 0x2f4], ax
call fcn.0041be10
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 0x18
push 0x3f5
push esi
mov dword [0x486310], ebx
mov dword [0x48630c], ebx
call ebp
push 0x45e730
push 0x3f6
push esi
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x3f6
push esi
call ebp
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push 0xffffffffffffffff
push ebx
push 0xb1
push 0x3f6
push esi
call ebp
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call ebx
lea edx, [esp + 0x1c]
push edx
push 0x11
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x40f6f1
push 0x2b4
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0041be10
mov edx, dword [esp + 0x28]
add esp, 0xc
push 0x4009
push 0x2b4
lea ecx, [esp + 0x2c]
push ecx
push 0
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov dword [0x486314], eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
cmp eax, 0x80004005
je 0x40f6f1
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [0x486314]
test eax, eax
je 0x40f6f1
push eax
mov eax, dword [esp + 0x18]
push 0
push 0x1109
push eax
call ebx
push 0x45e730
push esi
call fcn.00401267
push 0x45e730
push eax
push esi
mov dword [esp + 0x34], eax
call fcn.004010a5
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
add esp, 0x14
push ecx
push 2
push 0x1102
push edx
call ebx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
push eax
push 9
push 0x110b
push ecx
call ebx
push 2
push 0x45e730
lea edx, [esp + 0x2e0]
push 3
push edx
call fcn.0041c29b
add esp, 0x10
lea eax, [esp + 0x2d8]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
mov ecx, edi
push ecx
push 0x100
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
jne 0x40f6f8
xor eax, eax
jmp 0x40f77e
cmp word [esp + 0x2e0], 0
je 0x40f770
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
je 0x40f75a
cmp eax, 5
je 0x40f75a
push edi
call dword [sym.imp.USER32.dll_CharUpperW]
mov edx, dword [esp + 0x10]
push edi
push edx
push 0x143
push 0x3f7
push esi
call ebp
push eax
call ebx
mov ax, word [edi]
cmp ax, word [esp + 0x2d8]
jne 0x40f755
mov ecx, dword [esp + 0x10]
push 0
push ecx
push 0x14e
push 0x3f7
push esi
call ebp
push eax
call ebx
add dword [esp + 0x10], 1
push 0
push edi
call fcn.0041bd74
add eax, 2
mov edi, eax
add esp, 8
cmp word [edi], 0
jne 0x40f703
push esi
call fcn.0040128f
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x4e0]
pop edi
pop ebp
pop esi
pop ebx
xor ecx, esp
call fcn.0041bdf4
add esp, 0x4d4
ret