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

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov dword [rax + 0x18], r8d
mov dword [rax + 0x10], edx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x478]
sub rsp, 0x540
mov r15, rcx
mov rcx, qword [0x140368360]
call fcn.140152f38
xor r12d, r12d
cmp dword [0x1403653b0], r12d
mov r14, rax
jne 0x140129f72
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
call fcn.140132460
lea ecx, [r12 + 1]
call fcn.140132038
mov qword [0x140365508], rax
test rax, rax
je 0x14012a15e
lea rsi, [0x140365510]
lea rdx, str.My_Documents
mov rcx, rsi
call fcn.1400e60fd
lea rdx, str.My_Computer
lea rcx, [0x140365920]
call fcn.1400e60fd
lea rcx, [rbp + 0x230]
mov edx, 0x104
mov word [rbp + 0x230], r12w
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov ebx, 0x2b8
lea r8, [rsp + 0x70]
lea rcx, [rbp + 0x230]
mov r9d, ebx
xor edx, edx
mov dword [rsp + 0x20], 0x4001
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [0x140365b34]
lea r8, [rsp + 0x60]
test rax, rax
lea edx, [r12 + 5]
cmovne ecx, dword [rsp + 0x78]
mov dword [0x140365b34], ecx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea rdi, [0x140365718]
test eax, eax
jne 0x140129dc0
mov rcx, qword [rsp + 0x60]
mov rdx, rdi
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov dword [0x140359dd8], eax
test eax, eax
je 0x140129db3
mov rcx, qword [rsp + 0x60]
lea r8, [rsp + 0x70]
mov r9d, ebx
xor edx, edx
mov dword [rsp + 0x20], 0x4009
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
jne 0x140129d25
lea r8, [rsp + 0x70]
lea rcx, str.::450d8fba_ad25_11d0_98a8_0800361b1103
mov r9d, ebx
xor edx, edx
mov dword [rsp + 0x20], 0x4001
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
jne 0x140129d25
lea r8, [rsp + 0x70]
mov r9d, ebx
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x20], 0x4001
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x140129d31
mov eax, dword [rsp + 0x78]
mov dword [0x140365b28], eax
jmp 0x140129d38
mov dword [0x140359dd8], r12d
mov rcx, qword [rsp + 0x60]
lea r8, [rsp + 0x70]
mov r9d, ebx
xor edx, edx
mov dword [rsp + 0x20], 0x208
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
jne 0x140129d9e
lea r8, [rsp + 0x70]
lea rcx, str.::450d8fba_ad25_11d0_98a8_0800361b1103
mov r9d, ebx
xor edx, edx
mov dword [rsp + 0x20], 0x200
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
jne 0x140129d9e
lea r8, [rsp + 0x70]
mov r9d, ebx
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x20], 0x200
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x140129dac
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.1400e60fd
jmp 0x140129db3
mov dword [0x140359dd8], r12d
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x140129dc7
mov dword [0x140359dd8], r12d
mov rcx, rdi
call sub.msvcrt.dll_wcslen
cmp word [rsi + rax*2 + 0x206], 0x5c
je 0x140129de9
lea rdx, [0x140233664]
mov rcx, rdi
call sub.msvcrt.dll_wcscat
lea r8, [rsp + 0x68]
mov edx, 0x11
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
xor edx, edx
mov r9d, ebx
lea r8, [rsp + 0x70]
test eax, eax
jne 0x140129e6f
mov rcx, qword [rsp + 0x68]
mov dword [rsp + 0x20], 0x4009
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov edx, dword [0x140365b2c]
mov rcx, qword [rsp + 0x68]
test rax, rax
lea r8, [rsp + 0x70]
mov r9d, ebx
cmovne edx, dword [rsp + 0x78]
mov dword [rsp + 0x20], 0x208
mov dword [0x140365b2c], edx
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x140129e62
lea rdx, [rbp - 0x80]
lea rcx, [0x140365920]
call fcn.1400e60fd
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x140129ecc
lea rcx, str.::20D04FE0_3AEA_1069_A2D8_08002B30309D
mov dword [rsp + 0x20], 0x4001
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov edx, dword [0x140365b2c]
lea r8, [rsp + 0x70]
test rax, rax
lea rcx, str.::20D04FE0_3AEA_1069_A2D8_08002B30309D
mov r9d, ebx
cmovne edx, dword [rsp + 0x78]
mov dword [rsp + 0x20], 0x200
mov dword [0x140365b2c], edx
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x140129ecc
lea rdx, [rbp - 0x80]
lea rcx, [0x140365920]
call fcn.1400e60fd
mov ebx, 0x140
lea rcx, [0x1403653c0]
xor edx, edx
mov r8d, ebx
call fcn.1400e6121
lea rax, [0x14012821c]
lea rcx, str.shell32.dll
mov qword [0x1403653c8], rax
lea rax, [0x140128870]
mov dword [0x1403653c0], 0x18
mov qword [0x1403653d0], rax
lea rax, [fcn.1401291f0]
mov dword [0x1403653c4], ebx
mov qword [0x1403653f0], rax
lea rax, [0x1401289c8]
mov qword [0x1403653e8], rax
lea rax, [0x140128954]
mov qword [0x1403653d8], rax
lea rax, [0x1401288ec]
mov qword [0x1403654b0], rax
lea rax, [0x140129164]
mov qword [0x1403654a8], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x1403653b0], 1
mov qword [0x140365b48], rax
cmp qword [0x140365b38], r12
jne 0x140129fc0
mov rcx, qword [r14]
mov qword [0x140365b38], rcx
jmp 0x140129f97
call qword [sym.imp.USER32.dll_GetParent]
mov qword [0x140365b38], rax
mov rcx, rax
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, qword [0x140365b38]
test rax, rax
jne 0x140129f87
lea r8, [0x140128a54]
lea edx, [rax - 4]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov qword [0x140365b40], rax
mov esi, dword [rbp + 0x4b0]
mov edi, 0x50010000
bt esi, 0x18
lea eax, [rdi + 0x20]
cmovb edi, eax
bt esi, 0x1a
jb 0x140129fde
or edi, 2
bt esi, 0x1b
jb 0x140129fe7
or edi, 1
mov eax, 0x200
lea r9, [rbp + 0x4a0]
lea r8, [rbp + 0x498]
lea rdx, [rbp + 0x490]
lea rcx, [rbp + 0x488]
bt esi, 0x14
mov ebx, r12d
cmovae ebx, eax
call fcn.1401382a0
mov rax, qword [0x140360a28]
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], rax
or qword [rsp + 0x48], 0xffffffffffffffff
mov rax, qword [r14]
lea rdx, str.SysTreeView32
mov r9d, edi
mov qword [rsp + 0x40], rax
mov eax, dword [rbp + 0x4a0]
xor r8d, r8d
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x498]
mov ecx, ebx
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0x490]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x488]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rcx, qword [0x140360a30]
mov edx, 8
mov r8d, 0x238
mov r14, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test r14, r14
je 0x14012a15e
test rax, rax
je 0x14012a15e
mov r9, qword [0x140365508]
xor r8d, r8d
mov edx, 0x1109
mov rcx, r14
call qword [sym.imp.USER32.dll_SendMessageW]
mov r8d, 4
mov edx, 0x112c
mov r9d, r8d
mov rcx, r14
call qword [sym.imp.USER32.dll_SendMessageW]
lea r8, [0x140127f08]
mov edx, 0xfffffffc
mov rcx, r14
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov rcx, qword [0x140368320]
mov rdx, r15
mov qword [0x140365500], rax
call fcn.140152fe4
lea rcx, [rbx + 0x10]
or qword [rax + 0x28], 0xffffffffffffffff
mov qword [rax + 0x20], rbx
lea rdx, [0x1402337b8]
mov qword [rbx], r14
mov dword [rbx + 0xc], esi
mov dword [rbx + 8], r15d
mov rdi, rax
call fcn.1400e60fd
lea r9, [0x1403653c0]
mov r8, r14
mov rdx, rdi
mov rcx, r15
call fcn.140130e74
lea rdx, [0x14021d568]
mov rcx, rdi
mov rbx, rax
call fcn.1401291f0
mov rdx, qword [rbp + 0x4a8]
mov rcx, rdi
call fcn.1401291f0
mov rax, rbx
jmp 0x14012a160
xor eax, eax
add rsp, 0x540
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret