Function at 0x1402f4d50
Capabilities:
Link many functions at runtime

Disassembly:
push rdi
sub rsp, 0x90
lea rdi, [rsp + 0x20]
mov ecx, 0x1c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1404e4b80]
xor rax, rsp
mov qword [rsp + 0x80], rax
lea rcx, str.winmm.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1404f9570], rax
cmp qword [0x1404f9570], 0
jne 0x1402f4db2
lea rdx, str.Win32:_Failed_to_load_winmm.dll
mov ecx, 0x10008
call fcn.1401026da
xor eax, eax
jmp 0x1402f50bb
lea rdx, str.timeGetTime
mov rcx, qword [0x1404f9570]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1404f9578], rax
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1404f95b0], rax
cmp qword [0x1404f95b0], 0
jne 0x1402f4e03
lea rdx, str.Win32:_Failed_to_load_user32.dll
mov ecx, 0x10008
call fcn.1401026da
xor eax, eax
jmp 0x1402f50bb
lea rdx, str.SetProcessDPIAware
mov rcx, qword [0x1404f95b0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1404f95b8], rax
lea rdx, str.ChangeWindowMessageFilterEx
mov rcx, qword [0x1404f95b0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1404f95c0], rax
lea rdx, str.EnableNonClientDpiScaling
mov rcx, qword [0x1404f95b0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1404f95c8], rax
lea rdx, str.SetProcessDpiAwarenessContext
mov rcx, qword [0x1404f95b0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1404f95d0], rax
lea rdx, str.GetDpiForWindow
mov rcx, qword [0x1404f95b0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1404f95d8], rax
lea rdx, str.AdjustWindowRectExForDpi
mov rcx, qword [0x1404f95b0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1404f95e0], rax
lea rcx, str.dinput8.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1404f9580], rax
cmp qword [0x1404f9580], 0
je 0x1402f4ede
lea rdx, str.DirectInput8Create
mov rcx, qword [0x1404f9580]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1404f9588], rax
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x50], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x20], 0
jmp 0x1402f4f37
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
cmp qword [rsp + rax*8 + 0x38], 0
je 0x1402f4f9f
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + rax*8 + 0x38]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1404f9598], rax
cmp qword [0x1404f9598], 0
je 0x1402f4f9d
lea rdx, str.XInputGetCapabilities
mov rcx, qword [0x1404f9598]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1404f95a0], rax
lea rdx, str.XInputGetState
mov rcx, qword [0x1404f9598]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1404f95a8], rax
jmp 0x1402f4f9f
jmp 0x1402f4f2d
lea rcx, str.dwmapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1404f95e8], rax
cmp qword [0x1404f95e8], 0
je 0x1402f5029
lea rdx, str.DwmIsCompositionEnabled
mov rcx, qword [0x1404f95e8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1404f95f0], rax
lea rdx, str.DwmFlush
mov rcx, qword [0x1404f95e8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1404f95f8], rax
lea rdx, str.DwmEnableBlurBehindWindow
mov rcx, qword [0x1404f95e8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1404f9600], rax
lea rdx, str.DwmGetColorizationColor
mov rcx, qword [0x1404f95e8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1404f9608], rax
lea rcx, str.shcore.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1404f9610], rax
cmp qword [0x1404f9610], 0
je 0x1402f507d
lea rdx, str.SetProcessDpiAwareness
mov rcx, qword [0x1404f9610]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1404f9618], rax
lea rdx, str.GetDpiForMonitor
mov rcx, qword [0x1404f9610]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1404f9620], rax
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1404f9628], rax
cmp qword [0x1404f9628], 0
je 0x1402f50b6
lea rdx, str.RtlVerifyVersionInfo
mov rcx, qword [0x1404f9628]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1404f9630], rax
mov eax, 1
mov rdi, rax
mov rcx, rsp
lea rdx, [0x14038c9c8]
call fcn.140104e53
mov rax, rdi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401033af
add rsp, 0x90
pop rdi
ret