Function at 0x1400ea5d8
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2f0
mov rax, qword [0x14017da30]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x60], rcx
xor edx, edx
mov r8d, 0xa0
call sub.MSVCR120.dll_memset
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.DISPLAY
call qword [sym.imp.GDI32.dll_CreateDCW]
mov r12, rax
mov qword [rsp + 0x58], rax
xor r14d, r14d
test rax, rax
je 0x1400eab75
lea r15d, [r14 + 0x5a]
mov edx, r15d
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ebx, eax
xor edx, edx
lea r8d, [r14 + 0x5c]
lea rcx, [rsp + 0x70]
call sub.MSVCR120.dll_memset
mov r8d, 0x2d0
mov edx, ebx
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x80], 0x190
mov byte [rsp + 0x87], r14b
mov byte [rsp + 0x8b], gethostbyname
lea r8, str.Courier_New
lea r13d, [r14 + 0x20]
mov edx, r13d
lea rcx, [rsp + 0x8c]
call qword [sym.imp.MSVCR120.dll_wcscpy_s]
lea rcx, [rsp + 0x70]
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov qword [rsi], rax
xor edx, edx
lea r8d, [r14 + 0x5c]
lea rcx, [rsp + 0x70]
call sub.MSVCR120.dll_memset
mov r8d, 0x2d0
mov edx, ebx
lea r15d, [r14 + 0x3c]
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x80], 0x190
mov byte [rsp + 0x87], r14b
mov byte [rsp + 0x8b], 0x22
mov byte [rsp + 0x85], 1
lea r8, str.MS_Sans_Serif
mov edx, r13d
lea rcx, [rsp + 0x8c]
call qword [sym.imp.MSVCR120.dll_wcscpy_s]
lea rcx, [rsp + 0x70]
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov qword [rsi + 8], rax
xor edx, edx
lea r8d, [r14 + 0x5c]
lea rcx, [rsp + 0x70]
call sub.MSVCR120.dll_memset
mov r8d, 0x2d0
mov edx, ebx
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x80], 0x190
mov byte [rsp + 0x87], r14b
mov byte [rsp + 0x8b], 0x22
lea r8, str.MS_Sans_Serif
mov edx, r13d
lea rcx, [rsp + 0x8c]
call qword [sym.imp.MSVCR120.dll_wcscpy_s]
lea rcx, [rsp + 0x70]
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov qword [rsi + 0x10], rax
mov edx, 0x7f89
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rsi + 0x18], rax
test rax, rax
jne 0x1400ea81d
mov edx, 0x104
lea rcx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rdx, str.winhlp32.exe
lea rcx, [rsp + 0xd0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x1400ea81d
lea edx, [r14 + 0x6a]
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadCursorW]
test rax, rax
je 0x1400ea814
mov rcx, rax
call qword [sym.imp.USER32.dll_CopyIcon]
mov qword [rsi + 0x18], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rsi + 0x20], rax
mov edx, 0x7f8a
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rsi + 0x28], rax
mov edx, 0x7f02
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rsi + 0x40], rax
mov edx, 0x7f85
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rsi + 0x30], rax
mov edx, 0x7f84
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rsi + 0x38], rax
mov edx, 0x7f01
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rsi + 0x48], rax
mov ecx, 5
call qword [sym.imp.USER32.dll_GetSysColorBrush]
mov qword [rsi + 0x50], rax
mov ecx, 0xf
call qword [sym.imp.USER32.dll_GetSysColorBrush]
mov qword [rsi + 0x60], rax
mov ecx, shutdown
call qword [sym.imp.USER32.dll_GetSysColorBrush]
mov qword [rsi + 0x58], rax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
call qword [sym.imp.USER32.dll_GetSysColorBrush]
mov qword [rsi + 0x68], rax
mov word [rsi + 0x98], r14w
test rdi, rdi
je 0x1400ea99b
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov ebx, 0x1f4
mov dword [rsp + 0x28], ebx
mov r15d, 2
mov dword [rsp + 0x20], r15d
xor r9d, r9d
lea r8d, [r15 - 1]
lea r13d, [r15 + 0x7d]
mov edx, r13d
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
test rax, rax
je 0x1400ea915
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x70], rax
jmp 0x1400ea919
mov qword [rsi + 0x70], r14
cmp qword [rsi + 0x70], r14
jne 0x1400ea931
mov edx, 0xfffffff2
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetClassLongPtrW]
mov qword [rsi + 0x70], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov edx, r13d
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
test rax, rax
je 0x1400ea966
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x78], rax
jmp 0x1400ea96a
mov qword [rsi + 0x78], r14
cmp qword [rsi + 0x78], r14
jne 0x1400ea982
mov edx, 0xffffffde
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetClassLongPtrW]
mov qword [rsi + 0x78], rax
jmp 0x1400ea99b
mov ecx, gethostbyname
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
mov ecx, gethostbyname
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cmp qword [rsi + 0x78], r14
jne 0x1400ea9e6
mov byte [rsi + 0x99], 1
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], eax
mov r9d, ebx
mov edx, 0x69
lea r8d, [rdx - 0x68]
mov rcx, qword [0x140192f90]
call qword [sym.imp.USER32.dll_LoadImageW]
mov qword [rsi + 0x78], rax
mov ecx, reloc.WS2_32.dll_inet_addr
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r13d, eax
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x50], eax
cmp qword [rsi + 0x70], r14
jne 0x1400eaa44
mov byte [rsi + 0x98], 1
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], eax
mov r9d, r13d
mov edx, 0x69
lea r8d, [rdx - 0x68]
mov rcx, qword [0x140192f90]
call qword [sym.imp.USER32.dll_LoadImageW]
mov qword [rsi + 0x70], rax
mov eax, dword [rsp + 0x50]
cmp qword [rsi + 0x70], r14
je 0x1400eab0e
mov r8d, eax
mov edx, r13d
mov rcx, r12
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rsi + 0x80], rax
test rax, rax
je 0x1400eab0e
mov rcx, r12
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r15, rax
test rax, rax
je 0x1400eab0e
mov rdx, qword [rsi + 0x80]
mov rcx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdi, rax
mov rdx, qword [rsi + 0x50]
mov rcx, r15
call qword [sym.imp.GDI32.dll_SelectObject]
mov rbx, rax
mov dword [rsp + 0x28], 0xf00021
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
mov r9d, r13d
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.GDI32.dll_PatBlt]
mov dword [rsp + 0x40], 3
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], r14d
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r13d
mov r9, qword [rsi + 0x70]
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.USER32.dll_DrawIconEx]
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteDC]
mov ebx, 0x1000
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov edx, 0x85
mov rcx, qword [0x140192f90]
call qword [sym.imp.USER32.dll_LoadImageW]
mov qword [rsi + 0x88], rax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 0xff00ff
xor r9d, r9d
mov edx, 0x88
lea r8d, [r9 + 7]
mov rcx, qword [0x140192f90]
call qword [sym.imp.COMCTL32.dll_ImageList_LoadImageW]
mov qword [rsi + 0x90], rax
mov rcx, r12
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rax, rsi
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.14010a480
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret