Function at 0x14010c8a0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x4d0
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rsp + 0x4c0], rax
mov rsi, r9
mov rbp, r8
mov r14, rdx
lea rdx, str.CBaseDlgSetPortNetwork::GetIconData
lea rcx, [rsp + 0x50]
call fcn.14001abe0
nop
lea rax, [0x1402a8360]
lea r15, [0x1402bbdb0]
mov rcx, qword [0x1402a8360]
cmp rcx, rax
je 0x14010c92c
test byte [rcx + 0x1c], 1
je 0x14010c92c
mov r9, r15
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x1a
lea r8, [0x140260118]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x2b0]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0xa0]
call fcn.1401e7e40
xor edi, edi
mov ecx, VariantTimeToDosDateTime
mov eax, 0x31
mov r12d, dword [rsp + 0x530]
cmp r12d, 1
cmove ecx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x34], eax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov eax, 0x32
cmp r12d, 1
cmove ecx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x30], eax
mov ebx, edi
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rsp + 0x40], rax
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDC]
mov r13, rax
test rax, rax
je 0x14010c9d0
lea edx, [rdi + 0xc]
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ebx, eax
mov rdx, r13
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_ReleaseDC]
mov eax, 0x21
mov r9d, 0xff
cmp ebx, 0x18
cmovge r9d, eax
mov dword [rsp + 0x28], 8
mov dword [rsp + 0x20], 8
mov r8d, dword [rsp + 0x30]
mov edx, dword [rsp + 0x34]
mov rcx, rbp
call fcn.1401c8060
test r14, r14
jne 0x14010ca41
mov edx, 0x104
lea rcx, [rsp + 0x2b0]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r9, str.SHELL32.DLL
lea r8, [rsp + 0x2b0]
lea rdx, [0x140252608]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x14010ca52
mov rdx, r14
lea rcx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [rsi], 0x7fffffff
je 0x14010cad6
mov rbx, rdi
mov rax, rdi
mov edx, dword [rax + rsi]
mov dword [rsp + 0x20], 1
lea rcx, [rsp + 0xa0]
cmp r12d, 1
jne 0x14010ca83
lea r9, [rsp + 0x38]
xor r8d, r8d
jmp 0x14010ca8b
xor r9d, r9d
lea r8, [rsp + 0x38]
call qword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x14010cab2
mov r8, qword [rsp + 0x38]
test r8, r8
je 0x14010cac2
mov edx, 0xffffffff
mov rcx, qword [rbp + 8]
call qword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
inc edi
jmp 0x14010cac2
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14010cac2
call qword [sym.imp.USER32.dll_DestroyIcon]
inc rbx
lea rax, [rbx*4]
cmp dword [rax + rsi], 0x7fffffff
jne 0x14010ca60
mov cl, 1
mov byte [rsp + 0x58], cl
mov rax, qword [0x1402a8360]
lea rbx, [0x1402a8360]
cmp rax, rbx
je 0x14010cb2c
test byte [rax + 0x1c], cl
je 0x14010cb2c
mov r9, r15
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x1b
mov dword [rsp + 0x20], edi
lea r8, [0x140260118]
mov rcx, qword [rax + 0x10]
call fcn.140001b40
movzx ecx, byte [rsp + 0x58]
mov rax, qword [0x1402a8360]
lea rdx, vtable.WppTrace.0
mov qword [rsp + 0x50], rdx
test cl, cl
jne 0x14010cb85
cmp rax, rbx
je 0x14010cb85
test byte [rax + 0x1c], 1
je 0x14010cb85
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
cmp qword [0x1402bbdc8], 8
cmovae r15, qword [0x1402bbdb0]
mov edx, 0xa
mov qword [rsp + 0x20], rcx
mov r9, r15
lea r8, [0x140252818]
mov rcx, qword [rax + 0x10]
call fcn.140006c90
lea rcx, [rsp + 0x80]
call fcn.1400048a0
lea rcx, [rsp + 0x60]
call fcn.1400048a0
mov eax, edi
mov rcx, qword [rsp + 0x4c0]
xor rcx, rsp
call fcn.1401e2900
mov rbx, qword [rsp + 0x510]
add rsp, 0x4d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret