Function at 0x140001ea0
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
lea rbp, [rsp - 0xfd0]
mov eax, 0x10d0
call fcn.140003520
sub rsp, rax
mov rax, qword [0x140007008]
xor rax, rsp
mov qword [rbp + 0xfc0], rax
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rbx + 0x100], rax
lea rsi, [0x1400077c0]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rsi + rax], 0
jne 0x140001ef1
mov qword [rsp + 0x10e8], rdi
test rax, rax
jne 0x140001f3b
mov edx, 0x104
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x140001f3b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.failed_to_get_system_directory__lu
call fcn.140002510
xor edi, edi
mov qword [rbx + 0x108], rdi
jmp 0x1400022cd
xor edx, edx
lea rcx, [rbp - 0x40]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
xor edi, edi
mov ecx, edi
movzx eax, byte [rcx + rsi]
mov byte [rbp + rcx - 0x40], al
lea rcx, [rcx + 1]
test al, al
jne 0x140001f50
lea rcx, [rbp - 0x40]
dec rcx
nop word [rax + rax]
cmp byte [rcx + 1], dil
lea rcx, [rcx + 1]
jne 0x140001f70
movzx eax, word [0x140004a24]
mov word [rcx], ax
lea rcx, [rbp - 0x40]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], dil
lea rcx, [rcx + 1]
jne 0x140001f90
movups xmm0, xmmword [str.Magnification.dll]
movzx eax, word [0x140004600]
movups xmmword [rcx], xmm0
mov word [rcx + 0x10], ax
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rsi, rax
test rax, rax
je 0x140001fca
mov qword [rbx + 0x108], rax
jmp 0x140002000
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x140001ff0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.failed_load_system_library__lu
call fcn.140002510
mov qword [rbx + 0x108], rsi
test rsi, rsi
je 0x1400022cd
lea rdx, str.MagInitialize
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x108]
lea rdx, str.MagUninitialize
mov qword [rbx + 0x110], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x108]
lea rdx, str.MagSetWindowSource
mov qword [rbx + 0x118], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x108]
lea rdx, str.MagSetWindowFilterList
mov qword [rbx + 0x120], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x108]
lea rdx, str.MagSetImageScalingCallback
mov qword [rbx + 0x128], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x110]
mov qword [rbx + 0x130], rax
test rcx, rcx
je 0x1400022bd
cmp qword [rbx + 0x118], rdi
je 0x1400022bd
cmp qword [rbx + 0x120], rdi
je 0x1400022bd
cmp qword [rbx + 0x128], rdi
je 0x1400022bd
test rax, rax
je 0x1400022bd
call rcx
test eax, eax
jne 0x1400020e7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Failed_to_initialize_ScreenCapturerWinMagnifier:_error_from_MagInitialize__ld
lea rcx, [rbp - 0x40]
call fcn.140001500
jmp 0x1400022cd
mov rdx, qword [sym.imp.USER32.dll_DefWindowProcW]
lea r8, [rsp + 0x60]
mov ecx, 6
mov qword [rsp + 0x60], rdi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExA]
test eax, eax
jne 0x14000212b
call qword [rbx + 0x118]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Failed_to_initialize_ScreenCapturerWinMagnifier:_error_from_GetModulehandleExA__ld
lea rcx, [rbp - 0x40]
call fcn.140001500
jmp 0x1400022cd
mov rax, qword [sym.imp.USER32.dll_DefWindowProcW]
xorps xmm0, xmm0
mov qword [rsp + 0x78], rax
mov edx, 0x7f00
mov rax, qword [rsp + 0x60]
xor ecx, ecx
mov qword [rbp - 0x78], rax
mov qword [rsp + 0x70], 0x50
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x70], rdi
movdqa xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x48], rdi
call qword [sym.imp.USER32.dll_LoadCursorW]
lea rsi, str.ScreenCapturerWinMagnifierHost
mov qword [rbp - 0x68], rax
lea rcx, [rsp + 0x70]
mov qword [rbp - 0x50], rsi
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov rax, qword [rsp + 0x60]
lea r8, str.MagnifierHost
mov qword [rsp + 0x58], rdi
xor r9d, r9d
mov qword [rsp + 0x50], rax
mov rdx, rsi
mov qword [rsp + 0x48], rdi
mov ecx, 0x80000
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rbx + 0x138], rax
mov rcx, rax
test rax, rax
jne 0x1400021f8
call qword [rbx + 0x118]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Failed_to_initialize_ScreenCapturerWinMagnifier:_error_from_creating_host_window__ld
lea rcx, [rbp - 0x40]
call fcn.140001500
jmp 0x1400022cd
mov rax, qword [rsp + 0x60]
lea r8, str.MagnifierWindow
mov qword [rsp + 0x58], rdi
lea rdx, str.Magnifier
mov qword [rsp + 0x50], rax
mov r9d, 0x50000002
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rcx
xor ecx, ecx
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rbx + 0x140], rax
test rax, rax
jne 0x14000226a
call qword [rbx + 0x118]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Failed_to_initialize_ScreenCapturerWinMagnifier:_error_from_creating_magnifier_window__ld
lea rcx, [rbp - 0x40]
call fcn.140001500
jmp 0x1400022cd
mov rcx, qword [rbx + 0x138]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx + 0x140]
lea rdx, [0x140001560]
call qword [rbx + 0x130]
test eax, eax
jne 0x1400022b2
call qword [rbx + 0x118]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Failed_to_initialize_ScreenCapturerWinMagnifier:_error_from_MagSetImageScalingCallback__ld
lea rcx, [rbp - 0x40]
call fcn.140001500
jmp 0x1400022cd
mov byte [rbx + 0x148], 1
mov al, 1
jmp 0x1400022cf
lea rdx, str.errorFailed_to_initialize_ScreenCapturerWinMagnifier:_library_functions_missing.
lea rcx, [rbp - 0x40]
call fcn.140001500
xor al, al
mov rdi, qword [rsp + 0x10e8]
mov rcx, qword [rbp + 0xfc0]
xor rcx, rsp
call fcn.140002640
lea r11, [rsp + 0x10d0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret