Function at 0x140142b10
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x5c0]
sub rsp, 0x6c0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x14047b0a0]
xor rax, rsp
mov qword [rbp + 0x5b0], rax
mov rsi, r9
mov r14, rdx
mov rdi, rcx
mov rbx, qword [rbp + 0x620]
xor r15d, r15d
mov dword [rsp + 0x30], r15d
lea ecx, [r15 + 8]
call fcn.1401aed4c
lea rcx, vtable.ui::RenderFactory_GdiPlus.0
mov qword [rax], rcx
mov rcx, qword [0x140492cb0]
mov qword [0x140492cb0], rax
test rcx, rcx
je 0x140142b8c
lea edx, [r15 + 8]
call fcn.1401aed44
nop
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r15w
mov dword [rsp + 0x30], 3
mov rdx, qword [rsi + 0x10]
add rdx, qword [rdi + 0x10]
lea rcx, [rsp + 0x40]
call fcn.1400829d0
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140142bc7
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rsp + 0x40]
call fcn.14007e3d0
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 8
jb 0x140142be3
mov rsi, qword [rsi]
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.14007e3d0
lea rcx, [rsp + 0x40]
call fcn.140143130
nop
lea rcx, [rsp + 0x40]
call fcn.14007ec70
mov rdx, r14
lea rcx, [0x140492c30]
call fcn.1401345c0
call fcn.14016b730
mov rsi, rax
cmp byte [rax + 4], 0
jne 0x140142d39
xor edx, edx
call fcn.140148210
test al, al
je 0x140142d35
lea rcx, [0x140411900]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r14d, 4
mov rax, qword gs:[0x58]
add r14, qword [rax]
mov eax, dword [r14]
cmp dword [0x140493598], eax
jle 0x140142ca4
lea rcx, [0x140493598]
call fcn.1401af53c
cmp dword [0x140493598], 0xffffffff
jne 0x140142ca4
lea rcx, str.Shcore.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.SetProcessDpiAwareness
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1404935a0], rax
lea rcx, [0x140493598]
call fcn.1401af4dc
mov rax, qword [0x1404935a0]
test rax, rax
je 0x140142cbb
mov ecx, 2
call rax
test eax, eax
je 0x140142d35
mov eax, dword [r14]
cmp dword [0x1404935a8], eax
jle 0x140142d0b
lea rcx, [0x1404935a8]
call fcn.1401af53c
cmp dword [0x1404935a8], 0xffffffff
jne 0x140142d0b
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.SetProcessDPIAware
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1404935b0], rax
lea rcx, [0x1404935a8]
call fcn.1401af4dc
mov rax, qword [0x1404935b0]
test rax, rax
je 0x140142d29
call rax
test eax, eax
je 0x140142d29
mov al, 1
test al, al
setne al
mov byte [rsi + 4], al
jmp 0x140142d39
xor al, al
test al, al
setne al
mov byte [rsi + 4], al
jmp 0x140142d39
mov byte [rsi + 4], 1
mov r12d, 1
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x34], r12d
lea edx, [r12 + 1]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_MonitorFromPoint]
mov rcx, rax
call fcn.14016b7a0
mov r14d, eax
call fcn.14016b730
mov rsi, rax
cmp byte [rax + 4], 0
je 0x140142d87
lea edx, [r12 + 0x63]
lea r8d, [r12 + 0x5f]
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [rsi], eax
mov edx, 6
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call fcn.1402dd440
mov edx, 0x104
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x190]
call fcn.1402dd440
lea r8, str.d2d1.dll
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x190]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x140142ed4
lea rdx, str.D2D1CreateFactory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rax, rax
je 0x140142ed4
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x3a0]
call fcn.1402dd440
lea r8, str.DWrite.dll
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x3a0]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
lea rcx, [rbp + 0x3a0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x140142ed4
lea rdx, str.DWriteCreateFactory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x140142ed4
lea r9, [0x1404929c8]
xor r8d, r8d
lea rdx, [0x14040bb18]
xor ecx, ecx
call r14
test eax, eax
js 0x140142ed4
lea rax, [0x1404929d0]
mov qword [rsp + 0x20], rax
lea r9, [0x14040bb08]
mov r8d, r12d
xor edx, edx
lea rcx, [0x140366930]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140142ed4
lea r8, [0x1404929d8]
lea rdx, [0x14040baf8]
xor ecx, ecx
call rsi
movzx ecx, byte [0x1404929bc]
test eax, eax
cmovns ecx, r12d
mov byte [0x1404929bc], cl
call fcn.1401431e0
cmp qword [0x140492d48], 0
je 0x140143011
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r15w
mov dword [rsp + 0x30], 5
mov rdx, qword [rbx + 0x10]
add rdx, qword [rdi + 0x10]
lea rcx, [rsp + 0x40]
call fcn.1400829d0
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140142f22
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rsp + 0x40]
call fcn.14007e3d0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x140142f3e
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14007e3d0
mov r8d, reloc.WLDAP32.dll_Ordinal_14
lea rdx, str.gdstrings.ini
lea rcx, [rsp + 0x40]
call fcn.14007e3d0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov dword [rsp + 0x30], reloc.WS2_32.dll_listen
lea rcx, [rsp + 0x60]
call fcn.1401449d0
mov rbx, rax
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x60]
call fcn.14007ec70
nop
lea rcx, [rsp + 0x40]
call fcn.14007ec70
test rbx, rbx
jne 0x140142fef
lea r8, str.langen_USgdstrings.ini
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.140082910
nop
mov rcx, rax
call fcn.1401449d0
mov rbx, rax
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x60]
call fcn.14007ec70
test rbx, rbx
je 0x1401430e7
call fcn.140148580
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.140148900
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x1401430e7
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r15w
mov dword [rsp + 0x30], reloc.COMCTL32.dll_InitCommonControls
mov rdx, qword [rbx + 0x10]
add rdx, qword [rdi + 0x10]
lea rcx, [rsp + 0x40]
call fcn.1400829d0
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 8
jb 0x14014304d
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14007e3d0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x140143068
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14007e3d0
mov r8d, reloc.WLDAP32.dll_Ordinal_14
lea rdx, str.gdstrings.ini
lea rcx, [rsp + 0x40]
call fcn.14007e3d0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov dword [rsp + 0x30], 0x31
call fcn.140148580
mov rcx, rax
lea rdx, [rsp + 0x60]
call fcn.140148620
nop
lea rcx, [rsp + 0x60]
call fcn.14007ec70
nop
lea rcx, [rsp + 0x40]
call fcn.14007ec70
xor r8d, r8d
lea rdx, reloc.WS2_32.dll_accept
lea rcx, [0x140492d40]
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
call qword [sym.imp.COMCTL32.dll_InitCommonControls]
mov rcx, qword [rbp + 0x5b0]
xor rcx, rsp
call fcn.1401aed20
add rsp, 0x6c0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret