Function at 0x1400800f0
Capabilities:
Link many functions at runtime

Disassembly:
push rdi
sub rsp, 0x90
lea rdi, [rsp + 0x20]
mov ecx, Ordinal_32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140178f80]
xor rax, rsp
mov qword [rsp + 0x80], rax
lea rcx, str.winmm.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1402f8b30], rax
cmp qword [0x1402f8b30], 0
jne 0x140080152
lea rdx, str.Win32:_Failed_to_load_winmm.dll
mov ecx, 0x10008
call fcn.14007fb70
xor eax, eax
jmp 0x14008045b
lea rdx, str.timeGetTime
mov rcx, qword [0x1402f8b30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402f8b38], rax
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1402f8b70], rax
cmp qword [0x1402f8b70], 0
jne 0x1400801a3
lea rdx, str.Win32:_Failed_to_load_user32.dll
mov ecx, 0x10008
call fcn.14007fb70
xor eax, eax
jmp 0x14008045b
lea rdx, str.SetProcessDPIAware
mov rcx, qword [0x1402f8b70]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402f8b78], rax
lea rdx, str.ChangeWindowMessageFilterEx
mov rcx, qword [0x1402f8b70]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402f8b80], rax
lea rdx, str.EnableNonClientDpiScaling
mov rcx, qword [0x1402f8b70]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402f8b88], rax
lea rdx, str.SetProcessDpiAwarenessContext
mov rcx, qword [0x1402f8b70]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402f8b90], rax
lea rdx, str.GetDpiForWindow
mov rcx, qword [0x1402f8b70]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402f8b98], rax
lea rdx, str.AdjustWindowRectExForDpi
mov rcx, qword [0x1402f8b70]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402f8ba0], rax
lea rcx, str.dinput8.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1402f8b40], rax
cmp qword [0x1402f8b40], 0
je 0x14008027e
lea rdx, str.DirectInput8Create
mov rcx, qword [0x1402f8b40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402f8b48], 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 0x1400802d7
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 0x14008033f
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + rax*8 + 0x38]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1402f8b58], rax
cmp qword [0x1402f8b58], 0
je 0x14008033d
lea rdx, str.XInputGetCapabilities
mov rcx, qword [0x1402f8b58]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402f8b60], rax
lea rdx, str.XInputGetState
mov rcx, qword [0x1402f8b58]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402f8b68], rax
jmp 0x14008033f
jmp 0x1400802cd
lea rcx, str.dwmapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1402f8ba8], rax
cmp qword [0x1402f8ba8], 0
je 0x1400803c9
lea rdx, str.DwmIsCompositionEnabled
mov rcx, qword [0x1402f8ba8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402f8bb0], rax
lea rdx, str.DwmFlush
mov rcx, qword [0x1402f8ba8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402f8bb8], rax
lea rdx, str.DwmEnableBlurBehindWindow
mov rcx, qword [0x1402f8ba8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402f8bc0], rax
lea rdx, str.DwmGetColorizationColor
mov rcx, qword [0x1402f8ba8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402f8bc8], rax
lea rcx, str.shcore.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1402f8bd0], rax
cmp qword [0x1402f8bd0], 0
je 0x14008041d
lea rdx, str.SetProcessDpiAwareness
mov rcx, qword [0x1402f8bd0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402f8bd8], rax
lea rdx, str.GetDpiForMonitor
mov rcx, qword [0x1402f8bd0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402f8be0], rax
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1402f8be8], rax
cmp qword [0x1402f8be8], 0
je 0x140080456
lea rdx, str.RtlVerifyVersionInfo
mov rcx, qword [0x1402f8be8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402f8bf0], rax
mov eax, 1
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.1400e7018
mov rax, rdi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400e6450
add rsp, 0x90
pop rdi
ret