Function at 0x140010c4c
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 [0x140228310]
call fcn.14002c6f4
xor r12d, r12d
mov rdi, rax
cmp dword [0x140228180], r12d
jne 0x140011034
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
call fcn.140062d14
lea ecx, [r12 + 1]
call fcn.140062ccc
mov qword [0x140228168], rax
test rax, rax
je 0x140011227
lea rdx, str.My_Documents
lea rcx, [0x140227b40]
call fcn.14003838c
lea rdx, str.My_Computer
lea rcx, [0x140227f50]
call fcn.14003838c
mov edx, 0x104
mov word [rbp + 0x230], r12w
lea rcx, [rbp + 0x230]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov ebx, 0x2b8
lea r8, [rsp + 0x70]
mov r14d, 0x4001
lea rcx, [rbp + 0x230]
mov r9d, ebx
mov dword [rsp + 0x20], r14d
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [0x140228164]
lea r8, [rsp + 0x60]
test rax, rax
lea edx, [r12 + 5]
cmovne ecx, dword [rsp + 0x78]
mov dword [0x140228164], ecx
xor ecx, ecx
call sub.SHELL32.dll_SHGetSpecialFolderLocation
lea rsi, [0x140227d48]
test eax, eax
jne 0x140010e71
mov rcx, qword [rsp + 0x60]
mov rdx, rsi
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov dword [reloc.WS2_32.dll_accept], eax
test eax, eax
je 0x140010e64
mov rcx, qword [rsp + 0x60]
lea r8, [rsp + 0x70]
mov r9d, ebx
mov dword [rsp + 0x20], 0x4009
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
jne 0x140010dd2
mov r9d, ebx
mov dword [rsp + 0x20], r14d
lea r8, [rsp + 0x70]
xor edx, edx
lea rcx, str.::450d8fba_ad25_11d0_98a8_0800361b1103
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
jne 0x140010dd2
mov r9d, ebx
mov dword [rsp + 0x20], r14d
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x140010dde
mov eax, dword [rsp + 0x78]
mov dword [0x140228158], eax
jmp 0x140010de5
mov dword [reloc.WS2_32.dll_accept], r12d
mov rcx, qword [rsp + 0x60]
lea r8, [rsp + 0x70]
mov r9d, ebx
mov dword [rsp + 0x20], 0x208
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
jne 0x140010e54
mov r9d, ebx
mov dword [rsp + 0x20], 0x200
lea r8, [rsp + 0x70]
xor edx, edx
lea rcx, str.::450d8fba_ad25_11d0_98a8_0800361b1103
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
jne 0x140010e54
mov r9d, ebx
mov dword [rsp + 0x20], 0x200
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
jne 0x140010e54
mov dword [reloc.WS2_32.dll_accept], r12d
jmp 0x140010e64
lea rdx, [rbp - 0x80]
lea rcx, [0x140227b40]
call fcn.14003838c
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x140010e78
mov dword [reloc.WS2_32.dll_accept], r12d
mov rcx, rsi
call fcn.140037f38
lea rcx, [0x140227b40]
cmp word [rcx + rax*2 + 0x206], 0x5c
je 0x140010ea1
lea rdx, [0x140138348]
mov rcx, rsi
call fcn.1400394e0
lea r8, [rsp + 0x68]
mov edx, reloc.WS2_32.dll_recvfrom
xor ecx, ecx
call sub.SHELL32.dll_SHGetSpecialFolderLocation
xor edx, edx
lea r8, [rsp + 0x70]
mov r9d, ebx
test eax, eax
jne 0x140010f26
mov rcx, qword [rsp + 0x68]
mov dword [rsp + 0x20], 0x4009
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov edx, dword [0x14022815c]
lea r8, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
test rax, rax
mov r9d, ebx
mov dword [rsp + 0x20], 0x208
cmovne edx, dword [rsp + 0x78]
mov dword [0x14022815c], edx
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x140010f19
lea rdx, [rbp - 0x80]
lea rcx, [0x140227f50]
call fcn.14003838c
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x140010f80
lea rcx, str.::20D04FE0_3AEA_1069_A2D8_08002B30309D
mov dword [rsp + 0x20], r14d
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov edx, dword [0x14022815c]
lea r8, [rsp + 0x70]
test rax, rax
mov dword [rsp + 0x20], 0x200
mov r9d, ebx
lea rcx, str.::20D04FE0_3AEA_1069_A2D8_08002B30309D
cmovne edx, dword [rsp + 0x78]
mov dword [0x14022815c], edx
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x140010f80
lea rdx, [rbp - 0x80]
lea rcx, [0x140227f50]
call fcn.14003838c
mov ebx, 0x148
lea rcx, [0x1402279f0]
mov r8d, ebx
xor edx, edx
call fcn.140001690
lea rax, [0x140012094]
mov dword [0x1402279f0], 0x18
mov qword [0x1402279f8], rax
lea rcx, str.shell32.dll
lea rax, [0x1400126e0]
mov dword [0x1402279f4], ebx
mov qword [0x140227a00], rax
lea rax, [fcn.14001275c]
mov qword [0x140227a20], rax
lea rax, [0x140012d44]
mov qword [0x140227a18], rax
lea rax, [0x140012dd0]
mov qword [0x140227a08], rax
lea rax, [0x140012f74]
mov qword [0x140227ae0], rax
lea rax, [0x140012ee8]
mov qword [0x140227ad8], rax
lea rax, [0x140012e44]
mov qword [0x140227a68], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [0x140228188], rax
mov dword [0x140228180], 1
cmp qword [0x140228170], r12
jne 0x140011082
mov rcx, qword [rdi]
mov qword [0x140228170], rcx
jmp 0x140011059
call qword [sym.imp.USER32.dll_GetParent]
mov qword [0x140228170], rax
mov rcx, rax
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, qword [0x140228170]
test rax, rax
jne 0x140011049
lea r8, [0x140011ae4]
lea edx, [rax - 4]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov qword [0x140228178], rax
mov r14d, dword [rbp + 0x4b0]
lea r9, [rbp + 0x4a0]
mov ecx, r14d
lea r8, [rbp + 0x498]
shr ecx, 0x13
lea rdx, [rbp + 0x490]
and ecx, 0x20
or ecx, 0x50010000
mov ebx, ecx
or ebx, 2
bt r14d, 0x1a
cmovb ebx, ecx
lea rcx, [rbp + 0x488]
call fcn.14005f5e8
mov rax, qword [0x140224820]
lea rdx, str.SysTreeView32
mov qword [rsp + 0x58], r12
mov r9d, ebx
mov qword [rsp + 0x50], rax
or r9d, 1
mov rax, qword [rdi]
mov ecx, r14d
bt r14d, 0x1b
cmovb r9d, ebx
or qword [rsp + 0x48], 0xffffffffffffffff
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov eax, dword [rbp + 0x4a0]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x498]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0x490]
shr ecx, 0xb
mov dword [rsp + 0x28], eax
not ecx
mov eax, dword [rbp + 0x488]
and ecx, 0x200
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rcx, qword [0x140224818]
mov edx, 8
mov r8d, 0x238
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rsi, rsi
je 0x140011227
test rax, rax
je 0x140011227
mov r9, qword [0x140228168]
xor r8d, r8d
mov edx, 0x1109
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
mov r8d, 4
mov edx, 0x112c
mov r9d, r8d
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
lea r8, [0x140012fdc]
mov edx, 0xfffffffc
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov rcx, qword [0x140228308]
mov rdx, r15
mov qword [0x140227b38], rax
call fcn.14002d99c
lea rcx, [rbx + 0x10]
mov rdi, rax
lea rdx, [0x140147018]
or qword [rax + 0x28], 0xffffffffffffffff
mov qword [rax + 0x20], rbx
mov qword [rbx], rsi
mov dword [rbx + 0xc], r14d
mov dword [rbx + 8], r15d
call fcn.14003838c
lea r9, [0x1402279f0]
mov r8, rsi
mov rdx, rdi
mov rcx, r15
call fcn.14005f3ac
lea rdx, [0x14013841c]
mov rcx, rdi
mov rbx, rax
call fcn.14001275c
mov rdx, qword [rbp + 0x4a8]
mov rcx, rdi
call fcn.14001275c
mov rax, rbx
jmp 0x140011229
xor eax, eax
add rsp, 0x540
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret