Function at 0x18001c41c
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 [0x18004a010]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
mov r15, rdx
mov rdi, rcx
mov rsi, rcx
mov qword [rsp + 0x58], rcx
xor edx, edx
mov r8d, 0xa0
call fcn.180023140
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 + 0x60], rax
xor r14d, r14d
test rax, rax
je 0x18001c9bd
lea r13d, [r14 + 0x5a]
mov edx, r13d
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 fcn.180023140
mov r8d, 0x2d0
mov edx, ebx
mov ecx, r13d
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 edx, [r14 + 0x20]
lea rcx, [rsp + 0x8c]
call fcn.180029998
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 fcn.180023140
mov r8d, 0x2d0
mov edx, ebx
lea r13d, [r14 + 0x3c]
mov ecx, r13d
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
lea edx, [r14 + 0x20]
lea rcx, [rsp + 0x8c]
call fcn.180029998
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 fcn.180023140
mov r8d, 0x2d0
mov edx, ebx
mov ecx, r13d
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
lea edx, [r14 + 0x20]
lea rcx, [rsp + 0x8c]
call fcn.180029998
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 0x18001c660
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 0x18001c660
lea edx, [r14 + 0x6a]
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadCursorW]
test rax, rax
je 0x18001c657
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 [rdi + 0x20], rax
mov edx, 0x7f8a
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rdi + 0x28], rax
mov edx, 0x7f02
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rdi + 0x40], rax
mov edx, 0x7f85
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rdi + 0x30], rax
mov edx, 0x7f84
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rdi + 0x38], rax
mov edx, 0x7f01
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rdi + 0x48], rax
mov ecx, 5
call qword [sym.imp.USER32.dll_GetSysColorBrush]
mov qword [rdi + 0x50], rax
mov ecx, 0xf
call qword [sym.imp.USER32.dll_GetSysColorBrush]
mov qword [rdi + 0x60], rax
mov ecx, setsockopt
call qword [sym.imp.USER32.dll_GetSysColorBrush]
mov qword [rdi + 0x58], rax
mov ecx, reloc.WS2_32.dll_inet_ntoa
call qword [sym.imp.USER32.dll_GetSysColorBrush]
mov qword [rdi + 0x68], rax
mov word [rdi + 0x98], r14w
test r15, r15
je 0x18001c7df
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov ebx, 0x1f4
mov dword [rsp + 0x28], ebx
mov r13d, 2
mov dword [rsp + 0x20], r13d
xor r9d, r9d
lea edx, [r13 + 0x7d]
lea r8d, [r13 - 1]
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
test rax, rax
je 0x18001c755
mov rax, qword [rsp + 0x50]
mov qword [rdi + 0x70], rax
jmp 0x18001c75c
mov qword [rdi + 0x70], r14
mov rax, r14
test rax, rax
jne 0x18001c771
lea edx, [rax - 0xe]
mov rcx, r15
call qword [sym.imp.USER32.dll_GetClassLongPtrW]
mov qword [rdi + 0x70], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x7f]
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
test rax, rax
je 0x18001c7a7
mov rax, qword [rsp + 0x50]
mov qword [rdi + 0x78], rax
jmp 0x18001c7ae
mov qword [rdi + 0x78], r14
mov rax, r14
test rax, rax
jne 0x18001c7c3
lea edx, [rax - 0x22]
mov rcx, r15
call qword [sym.imp.USER32.dll_GetClassLongPtrW]
mov qword [rdi + 0x78], rax
jmp 0x18001c7df
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 0x18001c82a
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 [0x1801769a0]
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.WS2_32.dll_inet_ntoa
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x50], eax
mov rcx, qword [rsi + 0x70]
test rcx, rcx
jne 0x18001c88c
mov byte [rsi + 0x98], 1
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], eax
mov r9d, r13d
lea edx, [rcx + 0x69]
lea r8d, [rcx + 1]
mov rcx, qword [0x1801769a0]
call qword [sym.imp.USER32.dll_LoadImageW]
mov qword [rsi + 0x70], rax
mov rcx, qword [rdi + 0x70]
mov eax, dword [rsp + 0x50]
test rcx, rcx
je 0x18001c956
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 0x18001c956
mov rcx, r12
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r15, rax
test rax, rax
je 0x18001c956
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 [0x1801769a0]
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 [0x1801769a0]
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.180021cb0
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