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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov dword [rax + 0x20], r9d
mov dword [rax + 0x18], r8d
mov dword [rax + 0x10], edx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x268]
sub rsp, 0x340
mov rsi, rcx
mov rcx, qword [0x140398a98]
call fcn.1400604a4
xor r14d, r14d
mov rdi, rax
cmp dword [0x140394168], r14d
jne 0x14003552d
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [r14 + 1]
call fcn.140044bd0
lea rdx, str.My_Documents
mov qword [0x140393f58], rax
lea rcx, [0x140393b40]
call fcn.140091cdc
lea rdx, str.My_Computer
lea rcx, [0x140394170]
call fcn.140091cdc
lea r8, [rsp + 0x60]
xor ecx, ecx
lea edx, [r14 + 5]
call sub.SHELL32.dll_SHGetSpecialFolderLocation
lea rbx, [0x140393d50]
mov r15d, 0x2b8
test eax, eax
jne 0x140035382
mov rcx, qword [rsp + 0x60]
mov rdx, rbx
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov dword [0x14039416c], eax
test eax, eax
je 0x140035375
mov rcx, qword [rsp + 0x60]
lea r8, [rbp - 0x80]
mov r9d, r15d
mov dword [rsp + 0x20], 0x4009
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
jne 0x1400352f0
mov r9d, r15d
mov dword [rsp + 0x20], 0x4001
lea r8, [rbp - 0x80]
xor edx, edx
lea rcx, str.::450d8fba_ad25_11d0_98a8_0800361b1103
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
jne 0x1400352f0
mov r9d, r15d
mov dword [rsp + 0x20], 0x4001
lea r8, [rbp - 0x80]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
jne 0x1400352f0
mov dword [0x14039416c], r14d
jmp 0x1400352f9
mov eax, dword [rbp - 0x78]
mov dword [0x140393d48], eax
mov rcx, qword [rsp + 0x60]
lea r8, [rbp - 0x80]
mov r9d, r15d
mov dword [rsp + 0x20], 0x208
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
jne 0x140035365
mov r9d, r15d
mov dword [rsp + 0x20], 0x200
lea r8, [rbp - 0x80]
xor edx, edx
lea rcx, str.::450d8fba_ad25_11d0_98a8_0800361b1103
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
jne 0x140035365
mov r9d, r15d
mov dword [rsp + 0x20], 0x200
lea r8, [rbp - 0x80]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
jne 0x140035365
mov dword [0x14039416c], r14d
jmp 0x140035375
lea rdx, [rbp - 0x70]
lea rcx, [0x140393b40]
call fcn.140091cdc
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x140035389
mov dword [0x14039416c], r14d
mov rcx, rbx
call fcn.140016160
cmp word [rbx + rax*2 - 2], 0x5c
je 0x1400353a8
lea rdx, [0x1400ac428]
mov rcx, rbx
call fcn.140091cb0
mov rdx, rbx
lea rbx, [0x140393f60]
mov rcx, rbx
call fcn.140091cdc
movzx eax, word [0x140393f60]
jmp 0x1400353d5
movzx ecx, ax
call fcn.140092fa8
mov word [rbx], ax
lea rbx, [rbx + 2]
movzx eax, word [rbx]
test ax, ax
jne 0x1400353c3
lea r8, [rsp + 0x68]
mov edx, 0x11
xor ecx, ecx
call sub.SHELL32.dll_SHGetSpecialFolderLocation
xor edx, edx
lea r8, [rbp - 0x80]
mov r9d, r15d
test eax, eax
jne 0x14003545c
mov rcx, qword [rsp + 0x68]
mov dword [rsp + 0x20], 0x4009
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov edx, dword [0x140393d4c]
lea r8, [rbp - 0x80]
mov rcx, qword [rsp + 0x68]
test rax, rax
mov r9d, r15d
mov dword [rsp + 0x20], 0x208
cmovne edx, dword [rbp - 0x78]
mov dword [0x140393d4c], edx
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x14003544f
lea rdx, [rbp - 0x70]
lea rcx, [0x140394170]
call fcn.140091cdc
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x1400354b7
lea rcx, str.::20D04FE0_3AEA_1069_A2D8_08002B30309D
mov dword [rsp + 0x20], 0x4001
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov edx, dword [0x140393d4c]
lea r8, [rbp - 0x80]
test rax, rax
mov dword [rsp + 0x20], 0x200
mov r9d, r15d
lea rcx, str.::20D04FE0_3AEA_1069_A2D8_08002B30309D
cmovne edx, dword [rbp - 0x78]
mov dword [0x140393d4c], edx
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x1400354b7
lea rdx, [rbp - 0x70]
lea rcx, [0x140394170]
call fcn.140091cdc
mov ebx, 0x148
lea rcx, [0x140394380]
mov r8d, ebx
xor edx, edx
call fcn.14001eb70
lea rax, [0x140034768]
mov dword [0x140394380], 0x19
mov qword [0x140394388], rax
lea rax, [0x14003499c]
mov qword [0x140394390], rax
lea rax, [fcn.140034a34]
mov qword [0x1403943b0], rax
lea rax, [0x1400349b0]
mov qword [0x1403943a8], rax
lea rax, [0x1400349e8]
mov qword [0x1403943d8], rax
mov dword [0x140394384], ebx
mov dword [0x140394168], 1
mov ebx, dword [rbp + 0x2a0]
lea r9, [rbp + 0x290]
lea r8, [rbp + 0x288]
and ebx, 0x100
lea rdx, [rbp + 0x280]
lea rcx, [rbp + 0x278]
call fcn.14004c3cc
mov qword [rsp + 0x58], r14
lea rdx, str.ComboBoxEx32
mov eax, ebx
neg eax
mov rax, qword [0x140391b90]
mov qword [rsp + 0x50], rax
sbb r9d, r9d
mov rax, qword [rdi]
btr r9d, 0x10
or r15, 0xffffffffffffffff
add r9d, 0x50010003
mov qword [rsp + 0x48], r15
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov eax, dword [rbp + 0x288]
mov dword [rsp + 0x38], 0x15e
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0x280]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x278]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rdi, rax
test rax, rax
je 0x140035751
test ebx, ebx
je 0x140035681
xor r9d, r9d
xor r8d, r8d
mov edx, 0x407
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
mov rax, qword [0x140394378]
test rax, rax
jne 0x140035635
lea rcx, str.shlwapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x140035629
lea rdx, str.SHAutoComplete
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140394378], rax
jmp 0x140035630
mov rax, qword [0x140394378]
test rax, rax
je 0x14003563f
mov edx, 1
mov rcx, rbx
call rax
lea r8, [0x14003463c]
mov edx, 0xfffffffc
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov r14d, 0xfffffff0
mov rcx, rbx
mov edx, r14d
mov qword [0x1403944c8], rax
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov edx, r14d
mov rcx, rbx
bts rax, 0x10
mov r8, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov r9, qword [0x140393f58]
xor r8d, r8d
mov edx, 0x402
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x140398aa0]
mov rdx, rsi
call fcn.14006070c
movsxd rcx, dword [rbp + 0x2a0]
mov edx, 8
mov r8d, 0x208
mov rbx, rax
mov qword [rax + 0x20], rcx
mov rcx, qword [0x140391b98]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
lea r9, [0x140394380]
mov r8, rdi
mov rdx, rbx
mov qword [rbx + 0x28], rax
mov rcx, rsi
call fcn.1400436b4
mov rcx, qword [rbx]
mov esi, 0x153
mov edx, esi
mov dword [0x1403917e4], r15d
mov r9d, 0xf
mov r8, r15
mov rdi, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx]
lea rdx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [rsp + 0x7c]
mov r8, r15
sub ecx, dword [rsp + 0x74]
mov edx, esi
mov eax, dword [rbp + 0x290]
add ecx, 0xfffffff1
sub eax, ecx
mov dword [0x1403917e4], ecx
mov rcx, qword [rbx]
movsxd r9, eax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, qword [rbp + 0x298]
mov rcx, rbx
call fcn.140034a34
mov rbx, qword [rsp + 0x370]
mov rax, rdi
add rsp, 0x340
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret