Function at 0x14000f290
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3f8]
sub rsp, 0x4f8
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov rax, qword [0x14027bbd0]
xor rax, rsp
mov qword [rbp + 0x3e0], rax
mov r14d, r9d
mov dword [rsp + 0x50], r9d
mov rsi, r8
mov r12, rdx
mov r15, rcx
mov rax, qword [rbp + 0x468]
mov qword [rbp - 0x70], rax
xor r8d, r8d
lea rdx, str.Tool_GetIconData
lea rcx, [rbp - 0x68]
call fcn.140017fc0
nop
mov ebx, dword [rbp + 0x460]
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], r14d
mov eax, dword [rsi]
mov dword [rsp + 0x20], eax
mov r9, r15
lea r8, str.lpszFile___s__lpIconID___d__bSmallSize___d__bAdd___
mov edx, 1
lea rcx, [rbp - 0x68]
call fcn.140017c80
xor r13d, r13d
mov ecx, VariantTimeToDosDateTime
mov eax, 0x31
cmp r14d, 1
cmove ecx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x40], eax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov eax, 0x32
cmp r14d, 1
cmove ecx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x44], eax
test ebx, ebx
jne 0x14000f3e4
test r12, r12
je 0x14000f377
cmp qword [r12 + 8], r13
je 0x14000f377
mov rcx, r12
call fcn.14005eb88
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov r14, rax
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDC]
mov rdi, rax
test rax, rax
je 0x14000f3b8
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ebx, eax
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.USER32.dll_ReleaseDC]
cmp ebx, 0x18
mov r9d, 0x21
jge 0x14000f3be
mov r9d, 0xff
mov dword [rsp + 0x28], 8
mov dword [rsp + 0x20], 8
mov r8d, dword [rsp + 0x44]
mov edx, dword [rsp + 0x40]
mov rcx, r12
call fcn.14005ed68
mov r14d, dword [rsp + 0x50]
test r15, r15
jne 0x14000f41c
mov edx, 0x104
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r9, str.SHELL32.DLL
lea r8, [rbp + 0x1d0]
lea rdx, str._s_s
lea rcx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x14000f429
mov rdx, r15
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
xor r15d, r15d
mov edi, r15d
movsxd r14, r14d
cmp dword [rsi], 0x7fffffff
je 0x14000f4c1
mov rax, rsi
mov dword [rsp + 0x20], 1
mov edx, dword [rax]
lea rcx, [rbp - 0x40]
cmp r14, 1
jne 0x14000f45f
lea r9, [rsp + 0x48]
xor r8d, r8d
jmp 0x14000f467
xor r9d, r9d
lea r8, [rsp + 0x48]
call qword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x14000f4a2
cmp qword [rsp + 0x48], r15
je 0x14000f4b2
mov rbx, qword [r12 + 8]
call fcn.140054cb8
mov rcx, qword [rax + 0xc8]
mov r9, qword [rsp + 0x48]
or r8d, 0xffffffff
mov rdx, rbx
mov rcx, qword [rcx]
call fcn.1400168c0
inc r13d
jmp 0x14000f4b2
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000f4b2
call qword [sym.imp.USER32.dll_DestroyIcon]
inc rdi
lea rax, [rsi + rdi*4]
cmp dword [rax], 0x7fffffff
jne 0x14000f441
mov r14d, r15d
cmp dword [rsi], 0x7fffffff
je 0x14000f6d8
lea rax, vtable.CBitmap.0
nop word [rax + rax]
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x14000f66f
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x70]
call fcn.140061914
nop
mov qword [rbp - 0x50], 0
mov r15d, dword [rsp + 0x44]
mov dword [rbp - 0x44], r15d
mov edi, dword [rsp + 0x40]
mov dword [rbp - 0x48], edi
mov rcx, qword [rbx + 8]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14006226c
mov r8d, r15d
mov edx, edi
mov rcx, qword [rbx + 8]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.14006260c
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
call fcn.1400626e4
mov r15, rax
mov ecx, 5
call qword [sym.imp.USER32.dll_GetSysColor]
mov r8d, eax
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.140063654
xor eax, eax
mov qword [rsp + 0x50], rax
mov rdi, qword [r12 + 8]
mov ebx, eax
shr rbx, 0x20
call fcn.140054cb8
mov rcx, qword [rax + 0xc8]
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], ebx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov r9, qword [rsp + 0x78]
mov r8d, r14d
mov rdx, rdi
mov rcx, qword [rcx]
call fcn.140016a20
mov qword [rsp + 0x68], rbx
mov rdi, qword [r12 + 8]
shr rbx, 0x20
call fcn.140054cb8
mov rcx, qword [rax + 0xc8]
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x78]
mov r8d, 6
mov rdx, rdi
mov rcx, qword [rcx]
call fcn.140016a20
test r15, r15
jne 0x14000f60c
mov rdx, r15
jmp 0x14000f613
mov rdx, qword [r15 + 8]
xor r15d, r15d
mov rcx, qword [rsp + 0x78]
call fcn.1400626e4
lea rcx, [rsp + 0x70]
call fcn.140062308
mov rbx, qword [r12 + 8]
call fcn.140054cb8
mov rcx, qword [rax + 0xc8]
xor r9d, r9d
mov r8, qword [rsp + 0x60]
mov rdx, rbx
mov rcx, qword [rcx]
call fcn.140016760
nop
lea rcx, [rsp + 0x70]
call fcn.140062330
nop
lea rax, vtable.CBitmap.0
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x58]
call fcn.140018370
jmp 0x14000f6bb
mov rbx, qword [r12 + 8]
call fcn.140054cb8
mov rcx, qword [rax + 0xc8]
xor r9d, r9d
mov r8d, r14d
mov rdx, rbx
mov rcx, qword [rcx]
call fcn.140016b90
mov qword [rsp + 0x48], rax
mov rbx, qword [r12 + 8]
call fcn.140054cb8
mov rcx, qword [rax + 0xc8]
mov r9, qword [rsp + 0x48]
or r8d, 0xffffffff
mov rdx, rbx
mov rcx, qword [rcx]
call fcn.1400168c0
inc r13d
inc r14d
add rsi, 4
cmp dword [rsi], 0x7fffffff
lea rax, vtable.CBitmap.0
jne 0x14000f4e0
mov r9d, r13d
lea r8, str.return___d
mov edx, 2
lea rcx, [rbp - 0x68]
call fcn.140017c80
nop
lea rcx, [rbp - 0x68]
call fcn.140018150
mov eax, r13d
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.1401945b0
add rsp, 0x4f8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret