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

Disassembly:
sub rsp, 0x468
mov rax, qword [0x140047008]
xor rax, rsp
mov qword [rsp + 0x450], rax
cmp qword [0x14004e778], 0
jne 0x1400135d9
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.14001c070
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemDirectoryW]
test eax, eax
je 0x1400135b5
xor edx, edx
lea rcx, [rsp + 0x240]
mov r8d, 0x208
call fcn.14001c070
lea r9, [rsp + 0x30]
mov edx, 0x104
lea r8, str._suser32.dll
lea rcx, [rsp + 0x240]
call fcn.14000afd0
lea rcx, [rsp + 0x240]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_LoadLibraryW]
mov qword [0x14004e778], rax
cmp qword [0x14004e778], 0
jne 0x1400135d9
xor eax, eax
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.14001a990
add rsp, 0x468
ret
cmp qword [0x14004f1c0], 0
mov qword [rsp + 0x470], rbx
lea rbx, str.fail
mov qword [rsp + 0x478], rsi
lea rsi, str.success
mov qword [rsp + 0x460], rdi
lea rdi, [0x14004a6a8]
jne 0x140013666
mov rcx, qword [0x14004e778]
lea rdx, str.RegisterWindowMessageW
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f1c0], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x140013666
test byte [rcx + 0x1c], 8
je 0x140013666
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__RegisterWindowMessageW_
mov r8, rbx
cmovne r8, rsi
mov edx, 0x16
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
call fcn.140019fa0
cmp qword [0x14004f1c8], 0
jne 0x1400136c6
mov rcx, qword [0x14004e778]
lea rdx, str.PostMessageW
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f1c8], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x1400136c6
test byte [rcx + 0x1c], 8
je 0x1400136c6
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__PostMessageW_
mov r8, rbx
cmovne r8, rsi
mov edx, 0x16
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
call fcn.140019fa0
cmp qword [0x14004f1d0], 0
jne 0x140013726
mov rcx, qword [0x14004e778]
lea rdx, str.FindWindowW
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f1d0], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x140013726
test byte [rcx + 0x1c], 8
je 0x140013726
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__FindWindowW_
mov r8, rbx
cmovne r8, rsi
mov edx, 0x16
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
call fcn.140019fa0
cmp qword [0x14004f1d8], 0
jne 0x140013786
mov rcx, qword [0x14004e778]
lea rdx, str.FindWindowExW
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f1d8], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x140013786
test byte [rcx + 0x1c], 8
je 0x140013786
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__FindWindowExW_
mov r8, rbx
cmovne r8, rsi
mov edx, 0x16
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
call fcn.140019fa0
cmp qword [0x14004f1e0], 0
jne 0x1400137e6
mov rcx, qword [0x14004e778]
lea rdx, str.LoadIconW
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f1e0], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x1400137e6
test byte [rcx + 0x1c], 8
je 0x1400137e6
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__LoadIconW_
mov r8, rbx
cmovne r8, rsi
mov edx, 0x16
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
call fcn.140019fa0
cmp qword [0x14004f1e8], 0
jne 0x140013846
mov rcx, qword [0x14004e778]
lea rdx, str.LoadCursorW
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f1e8], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x140013846
test byte [rcx + 0x1c], 8
je 0x140013846
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__LoadCursorW_
mov r8, rbx
cmovne r8, rsi
mov edx, 0x16
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
call fcn.140019fa0
cmp qword [0x14004f1f0], 0
jne 0x1400138a6
mov rcx, qword [0x14004e778]
lea rdx, str.RegisterClassExW
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f1f0], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x1400138a6
test byte [rcx + 0x1c], 8
je 0x1400138a6
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__RegisterClassExW_
mov r8, rbx
cmovne r8, rsi
mov edx, 0x16
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
call fcn.140019fa0
cmp qword [0x14004f1f8], 0
jne 0x140013906
mov rcx, qword [0x14004e778]
lea rdx, str.CreateWindowExW
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f1f8], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x140013906
test byte [rcx + 0x1c], 8
je 0x140013906
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__CreateWindowExW_
mov r8, rbx
cmovne r8, rsi
mov edx, 0x16
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
call fcn.140019fa0
cmp qword [0x14004f200], 0
jne 0x140013966
mov rcx, qword [0x14004e778]
lea rdx, str.PostQuitMessage
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f200], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x140013966
test byte [rcx + 0x1c], 8
je 0x140013966
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__PostQuitMessage_
mov r8, rbx
cmovne r8, rsi
mov edx, 0x16
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
call fcn.140019fa0
cmp qword [0x14004f208], 0
jne 0x1400139c6
mov rcx, qword [0x14004e778]
lea rdx, str.DefWindowProcW
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f208], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x1400139c6
test byte [rcx + 0x1c], 8
je 0x1400139c6
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__DefWindowProcW_
mov r8, rbx
cmovne r8, rsi
mov edx, 0x16
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
call fcn.140019fa0
cmp qword [0x14004f210], 0
jne 0x140013a26
mov rcx, qword [0x14004e778]
lea rdx, str.GetWindowThreadProcessId
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f210], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x140013a26
test byte [rcx + 0x1c], 8
je 0x140013a26
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__GetWindowThreadProcessId_
mov r8, rbx
cmovne r8, rsi
mov edx, 0x16
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
call fcn.140019fa0
cmp qword [0x14004f218], 0
jne 0x140013a86
mov rcx, qword [0x14004e778]
lea rdx, str.GetMessageW
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f218], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x140013a86
test byte [rcx + 0x1c], 8
je 0x140013a86
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__GetMessageW_
mov r8, rbx
cmovne r8, rsi
mov edx, 0x16
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
call fcn.140019fa0
cmp qword [0x14004f220], 0
jne 0x140013ae6
mov rcx, qword [0x14004e778]
lea rdx, str.TranslateMessage
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f220], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x140013ae6
test byte [rcx + 0x1c], 8
je 0x140013ae6
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__TranslateMessage_
mov r8, rbx
cmovne r8, rsi
mov edx, 0x16
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
call fcn.140019fa0
cmp qword [0x14004f228], 0
jne 0x140013b46
mov rcx, qword [0x14004e778]
lea rdx, str.DispatchMessageW
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f228], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x140013b46
test byte [rcx + 0x1c], 8
je 0x140013b46
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__DispatchMessageW_
mov r8, rbx
cmovne r8, rsi
mov edx, 0x16
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
call fcn.140019fa0
cmp qword [0x14004f230], 0
jne 0x140013ba6
mov rcx, qword [0x14004e778]
lea rdx, str.SetTimer
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f230], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x140013ba6
test byte [rcx + 0x1c], 8
je 0x140013ba6
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__SetTimer_
mov r8, rbx
cmovne r8, rsi
mov edx, 0x16
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
call fcn.140019fa0
cmp qword [0x14004f238], 0
jne 0x140013c06
mov rcx, qword [0x14004e778]
lea rdx, str.KillTimer
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f238], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x140013c06
test byte [rcx + 0x1c], 8
je 0x140013c06
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__KillTimer_
mov r8, rbx
cmovne r8, rsi
mov edx, 0x16
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
call fcn.140019fa0
cmp qword [0x14004f240], 0
jne 0x140013c66
mov rcx, qword [0x14004e778]
lea rdx, str.DestroyWindow
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f240], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x140013c66
test byte [rcx + 0x1c], 8
je 0x140013c66
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__DestroyWindow_
mov r8, rbx
cmovne r8, rsi
mov edx, 0x16
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
call fcn.140019fa0
cmp qword [0x14004f248], 0
jne 0x140013cc6
mov rcx, qword [0x14004e778]
lea rdx, str.PeekMessageW
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f248], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x140013cc6
test byte [rcx + 0x1c], 8
je 0x140013cc6
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__PeekMessageW_
mov r8, rbx
cmovne r8, rsi
mov edx, 0x16
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
call fcn.140019fa0
cmp qword [0x14004f250], 0
jne 0x140013d26
mov rcx, qword [0x14004e778]
lea rdx, str.RegisterPowerSettingNotification
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f250], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x140013d26
test byte [rcx + 0x1c], 8
je 0x140013d26
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__RegisterPowerSettingNotification_
mov r8, rbx
cmovne r8, rsi
mov edx, 0x16
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
call fcn.140019fa0
cmp qword [0x14004f258], 0
jne 0x140013d86
mov rcx, qword [0x14004e778]
lea rdx, str.UnregisterPowerSettingNotification
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f258], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x140013d86
test byte [rcx + 0x1c], 8
je 0x140013d86
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__UnregisterPowerSettingNotification_
mov r8, rbx
cmovne r8, rsi
mov edx, 0x16
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
call fcn.140019fa0
cmp qword [0x14004f260], 0
jne 0x140013de6
mov rcx, qword [0x14004e778]
lea rdx, str.ChangeWindowMessageFilterEx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f260], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x140013de6
test byte [rcx + 0x1c], 8
je 0x140013de6
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__ChangeWindowMessageFilterEx_
mov r8, rbx
cmovne r8, rsi
mov edx, 0x16
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
call fcn.140019fa0
cmp qword [0x14004f268], 0
jne 0x140013e46
mov rcx, qword [0x14004e778]
lea rdx, str.GetLastInputInfo
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f268], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x140013e46
test byte [rcx + 0x1c], 8
je 0x140013e46
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__GetLastInputInfo_
mov r8, rbx
cmovne r8, rsi
mov edx, 0x16
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
call fcn.140019fa0
cmp qword [0x14004f270], 0
jne 0x140013ea6
mov rcx, qword [0x14004e778]
lea rdx, str.GetThreadDesktop
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f270], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x140013ea6
test byte [rcx + 0x1c], 8
je 0x140013ea6
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__GetThreadDesktop_
mov r8, rbx
cmovne r8, rsi
mov edx, 0x16
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
call fcn.140019fa0
cmp qword [0x14004f278], 0
jne 0x140013f06
mov rcx, qword [0x14004e778]
lea rdx, str.GetUserObjectInformationW
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f278], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x140013f06
test byte [rcx + 0x1c], 8
je 0x140013f06
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__GetUserObjectInformationW_
mov r8, rbx
cmovne r8, rsi
mov edx, 0x16
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
call fcn.140019fa0
cmp qword [0x14004f280], 0
jne 0x140013f66
mov rcx, qword [0x14004e778]
lea rdx, str.SetWindowPos
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f280], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x140013f66
test byte [rcx + 0x1c], 8
je 0x140013f66
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__SetWindowPos_
mov r8, rbx
cmovne r8, rsi
mov edx, 0x16
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
call fcn.140019fa0
cmp qword [0x14004f288], 0
jne 0x140013fc6
mov rcx, qword [0x14004e778]
lea rdx, str.GetKeyboardState
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f288], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x140013fc6
test byte [rcx + 0x1c], 8
je 0x140013fc6
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__GetKeyboardState_
mov r8, rbx
cmovne r8, rsi
mov edx, 0x16
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
call fcn.140019fa0
cmp qword [0x14004f290], 0
jne 0x140014026
mov rcx, qword [0x14004e778]
lea rdx, str.QueryDisplayConfig
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f290], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x140014026
test byte [rcx + 0x1c], 8
je 0x140014026
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__QueryDisplayConfig_
mov r8, rbx
cmovne r8, rsi
mov edx, 0x16
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
call fcn.140019fa0
cmp qword [0x14004f298], 0
jne 0x140014086
mov rcx, qword [0x14004e778]
lea rdx, str.GetDisplayConfigBufferSizes
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f298], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x140014086
test byte [rcx + 0x1c], 8
je 0x140014086
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__GetDisplayConfigBufferSizes_
mov r8, rbx
cmovne r8, rsi
mov edx, 0x16
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
call fcn.140019fa0
cmp qword [0x14004f2a0], 0
jne 0x1400140e6
mov rcx, qword [0x14004e778]
lea rdx, str.DisplayConfigGetDeviceInfo
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f2a0], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x1400140e6
test byte [rcx + 0x1c], 8
je 0x1400140e6
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__DisplayConfigGetDeviceInfo_
mov r8, rbx
cmovne r8, rsi
mov edx, 0x16
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
call fcn.140019fa0
cmp qword [0x14004f2a8], 0
jne 0x140014146
mov rcx, qword [0x14004e778]
lea rdx, str.SetDisplayConfig
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f2a8], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x140014146
test byte [rcx + 0x1c], 8
je 0x140014146
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__SetDisplayConfig_
mov r8, rbx
cmovne r8, rsi
mov edx, 0x16
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
call fcn.140019fa0
cmp qword [0x14004f2b0], 0
jne 0x1400141a6
mov rcx, qword [0x14004e778]
lea rdx, str.IsImmersiveProcess
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f2b0], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x1400141a6
test byte [rcx + 0x1c], 8
je 0x1400141a6
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__IsImmersiveProcess_
mov r8, rbx
cmovne r8, rsi
mov edx, 0x16
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
call fcn.140019fa0
cmp qword [0x14004f2b8], 0
jne 0x140014206
mov rcx, qword [0x14004e778]
lea rdx, str.IsWindowVisible
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f2b8], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x140014206
test byte [rcx + 0x1c], 8
je 0x140014206
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__IsWindowVisible_
mov r8, rbx
cmovne r8, rsi
mov edx, 0x16
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
call fcn.140019fa0
cmp qword [0x14004f2c0], 0
jne 0x140014266
mov rcx, qword [0x14004e778]
lea rdx, str.GetForegroundWindow
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f2c0], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x140014266
test byte [rcx + 0x1c], 8
je 0x140014266
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__GetForegroundWindow_
mov r8, rbx
cmovne r8, rsi
mov edx, 0x16
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
call fcn.140019fa0
cmp qword [0x14004f2c8], 0
jne 0x1400142c6
mov rcx, qword [0x14004e778]
lea rdx, str.SystemParametersInfoW
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f2c8], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x1400142c6
test byte [rcx + 0x1c], 8
je 0x1400142c6
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__SystemParametersInfo_
mov r8, rbx
cmovne r8, rsi
mov edx, 0x16
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
call fcn.140019fa0
cmp qword [0x14004f2d0], 0
jne 0x140014326
mov rcx, qword [0x14004e778]
lea rdx, str.SendMessageW
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f2d0], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x140014326
test byte [rcx + 0x1c], 8
je 0x140014326
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__SendMessage_
mov r8, rbx
cmovne r8, rsi
mov edx, 0x16
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
call fcn.140019fa0
cmp qword [0x14004f2d8], 0
jne 0x140014386
mov rcx, qword [0x14004e778]
lea rdx, str.GetDesktopWindow
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f2d8], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x140014386
test byte [rcx + 0x1c], 8
je 0x140014386
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__GetDesktopWindow_
mov r8, rbx
cmovne r8, rsi
mov edx, 0x16
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
call fcn.140019fa0
cmp qword [0x14004f2e0], 0
jne 0x1400143e6
mov rcx, qword [0x14004e778]
lea rdx, str.GetClassNameW
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f2e0], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x1400143e6
test byte [rcx + 0x1c], 8
je 0x1400143e6
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__GetClassNameW_
mov r8, rbx
cmovne r8, rsi
mov edx, 0x16
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
call fcn.140019fa0
cmp qword [0x14004f2e8], 0
jne 0x140014446
mov rcx, qword [0x14004e778]
lea rdx, str.EnumDisplaySettingsExW
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f2e8], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x140014446
test byte [rcx + 0x1c], 8
je 0x140014446
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__EnumDisplaySettingsExW_
mov r8, rbx
cmovne r8, rsi
mov edx, 0x16
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
call fcn.140019fa0
cmp qword [0x14004f2f0], 0
jne 0x1400144a3
mov rcx, qword [0x14004e778]
lea rdx, str.ChangeDisplaySettingsExW
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x14004f2f0], rax
mov rcx, qword [0x14004a6a8]
cmp rcx, rdi
je 0x1400144a3
test byte [rcx + 0x1c], 8
je 0x1400144a3
mov rcx, qword [rcx + 0x10]
test rax, rax
lea rax, str.GetProcAddress__ChangeDisplaySettingsExW_
mov edx, 0x16
cmovne rbx, rsi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.140019fa0
mov rax, qword [0x14004f1c0]
mov rdi, qword [rsp + 0x460]
mov rsi, qword [rsp + 0x478]
mov rbx, qword [rsp + 0x470]
test rax, rax
je 0x1400145fc
lea rcx, str.ACPI_Notification_through_ATKHotkey_from_BIOS
call qword [0x1400335f0]
mov dword [0x14004e768], eax
lea rcx, str.ASUS_AsMonStartupTask_App_OSD_Request_To_UAP
mov rax, qword [0x14004f1c0]
call qword [0x1400335f0]
mov dword [0x14004e764], eax
lea rcx, str.Application_Notification_to_ATKHotkey
mov rax, qword [0x14004f1c0]
call qword [0x1400335f0]
mov dword [0x14004e760], eax
lea rcx, str.XSplit.ControlMessage.XGC
mov rax, qword [0x14004f1c0]
call qword [0x1400335f0]
mov dword [0x14004e75c], eax
lea rcx, str.ACPI_Simulation_through_ATKHotkey_from_Application
mov rax, qword [0x14004f1c0]
call qword [0x1400335f0]
mov dword [0x14004e758], eax
lea rcx, str.ATK_MessageDialog_Control_Application_Notification
mov rax, qword [0x14004f1c0]
call qword [0x1400335f0]
mov dword [0x14004e73c], eax
lea rcx, str.ATK_USBPort_Control_Application_Notification
mov rax, qword [0x14004f1c0]
call qword [0x1400335f0]
mov dword [0x14004e754], eax
lea rcx, str.ATK_USBPower_Control_Application_Notification
mov rax, qword [0x14004f1c0]
call qword [0x1400335f0]
mov dword [0x14004e750], eax
lea rcx, str.ATKConfig_Application_Notification_to_ATKHotkey
mov rax, qword [0x14004f1c0]
call qword [0x1400335f0]
mov dword [0x14004e74c], eax
lea rcx, str.Touchpad_status_reported_from_ATKHotkey
mov rax, qword [0x14004f1c0]
call qword [0x1400335f0]
mov dword [0x14004e748], eax
lea rcx, str.Camera_status_reported_from_ATKHotkey
mov rax, qword [0x14004f1c0]
call qword [0x1400335f0]
mov dword [0x14004e744], eax
lea rcx, str.Lid_mode_status_reported_from_FoldableSwitcher
mov rax, qword [0x14004f1c0]
call qword [0x1400335f0]
mov dword [0x14004e740], eax
mov eax, 1
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.14001a990
add rsp, 0x468
ret