Function at 0x140079060
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x68
mov rax, qword [0x140266398]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea r8, [0x140294210]
mov ecx, 6
lea rdx, [0x140292b60]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
jne 0x1400790b5
lea rdx, str.Win32:_Failed_to_retrieve_own_module_handle
mov ecx, 0x10008
call fcn.1400787d0
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14006d340
add rsp, 0x68
ret
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140295020], rax
test rax, rax
jne 0x1400790f3
lea rdx, str.Win32:_Failed_to_load_user32.dll
mov ecx, 0x10008
call fcn.1400787d0
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14006d340
add rsp, 0x68
ret
lea rdx, str.SetProcessDPIAware
mov qword [rsp + 0x60], rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140295020]
lea rdx, str.ChangeWindowMessageFilterEx
mov qword [0x140295028], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140295020]
lea rdx, str.EnableNonClientDpiScaling
mov qword [0x140295030], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140295020]
lea rdx, str.SetProcessDpiAwarenessContext
mov qword [0x140295038], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140295020]
lea rdx, str.GetDpiForWindow
mov qword [0x140295040], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140295020]
lea rdx, str.AdjustWindowRectExForDpi
mov qword [0x140295048], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140295020]
lea rdx, str.GetSystemMetricsForDpi
mov qword [0x140295050], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.dinput8.dll
mov qword [0x140295058], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140294ff0], rax
test rax, rax
je 0x1400791e1
lea rdx, str.DirectInput8Create
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140294ff8], rax
lea rcx, str.xinput1_3.dll
xor ebx, ebx
mov qword [rsp + 0x28], rcx
lea rax, str.xinput1_4.dll
lea rcx, str.xinput9_1_0.dll
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rcx
lea rcx, str.xinput1_2.dll
mov qword [rsp + 0x38], rcx
lea rcx, str.xinput1_1.dll
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140295008], rax
test rax, rax
jne 0x140079248
mov rax, qword [rsp + rbx*8 + 0x28]
inc rbx
test rax, rax
jne 0x140079224
jmp 0x14007927a
lea rdx, str.XInputGetCapabilities
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140295008]
lea rdx, str.XInputGetState
mov qword [0x140295010], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140295018], rax
lea rcx, str.dwmapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, qword [rsp + 0x60]
mov qword [0x140295060], rax
test rax, rax
je 0x140079300
lea rdx, str.DwmIsCompositionEnabled
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140295060]
lea rdx, str.DwmFlush
mov qword [0x140295068], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140295060]
lea rdx, str.DwmEnableBlurBehindWindow
mov qword [0x140295070], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140295060]
lea rdx, str.DwmGetColorizationColor
mov qword [0x140295078], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140295080], rax
lea rcx, str.shcore.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140295088], rax
test rax, rax
je 0x14007934b
lea rdx, str.SetProcessDpiAwareness
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140295088]
lea rdx, str.GetDpiForMonitor
mov qword [0x140295090], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140295098], rax
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1402950a0], rax
test rax, rax
je 0x14007937b
lea rdx, str.RtlVerifyVersionInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402950a8], rax
mov eax, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14006d340
add rsp, 0x68
ret