Function at 0x1400b0bf0
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 [0x140109720]
xor rax, rsp
mov qword [rsp + 0x80], rax
lea r8, [0x14010b950]
lea rdx, [0x14010a2a0]
mov ecx, 6
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
jne 0x1400b0c51
lea rdx, str.Win32:_Failed_to_retrieve_own_module_handle
mov ecx, 0x10008
call fcn.1400b0650
xor eax, eax
jmp 0x1400b0f5a
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x14010c760], rax
cmp qword [0x14010c760], 0
jne 0x1400b0c87
lea rdx, str.Win32:_Failed_to_load_user32.dll
mov ecx, 0x10008
call fcn.1400b0650
xor eax, eax
jmp 0x1400b0f5a
lea rdx, str.SetProcessDPIAware
mov rcx, qword [0x14010c760]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14010c768], rax
lea rdx, str.ChangeWindowMessageFilterEx
mov rcx, qword [0x14010c760]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14010c770], rax
lea rdx, str.EnableNonClientDpiScaling
mov rcx, qword [0x14010c760]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14010c778], rax
lea rdx, str.SetProcessDpiAwarenessContext
mov rcx, qword [0x14010c760]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14010c780], rax
lea rdx, str.GetDpiForWindow
mov rcx, qword [0x14010c760]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14010c788], rax
lea rdx, str.AdjustWindowRectExForDpi
mov rcx, qword [0x14010c760]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14010c790], rax
lea rdx, str.GetSystemMetricsForDpi
mov rcx, qword [0x14010c760]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14010c798], rax
lea rcx, str.dinput8.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x14010c730], rax
cmp qword [0x14010c730], 0
je 0x1400b0d7d
lea rdx, str.DirectInput8Create
mov rcx, qword [0x14010c730]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14010c738], 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 0x1400b0dd6
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 0x1400b0e3e
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + rax*8 + 0x38]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x14010c748], rax
cmp qword [0x14010c748], 0
je 0x1400b0e3c
lea rdx, str.XInputGetCapabilities
mov rcx, qword [0x14010c748]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14010c750], rax
lea rdx, str.XInputGetState
mov rcx, qword [0x14010c748]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14010c758], rax
jmp 0x1400b0e3e
jmp 0x1400b0dcc
lea rcx, str.dwmapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x14010c7a0], rax
cmp qword [0x14010c7a0], 0
je 0x1400b0ec8
lea rdx, str.DwmIsCompositionEnabled
mov rcx, qword [0x14010c7a0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14010c7a8], rax
lea rdx, str.DwmFlush
mov rcx, qword [0x14010c7a0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14010c7b0], rax
lea rdx, str.DwmEnableBlurBehindWindow
mov rcx, qword [0x14010c7a0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14010c7b8], rax
lea rdx, str.DwmGetColorizationColor
mov rcx, qword [0x14010c7a0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14010c7c0], rax
lea rcx, str.shcore.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x14010c7c8], rax
cmp qword [0x14010c7c8], 0
je 0x1400b0f1c
lea rdx, str.SetProcessDpiAwareness
mov rcx, qword [0x14010c7c8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14010c7d0], rax
lea rdx, str.GetDpiForMonitor
mov rcx, qword [0x14010c7c8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14010c7d8], rax
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x14010c7e0], rax
cmp qword [0x14010c7e0], 0
je 0x1400b0f55
lea rdx, str.RtlVerifyVersionInfo
mov rcx, qword [0x14010c7e0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14010c7e8], rax
mov eax, 1
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1400bf6c8]
call fcn.1400b75a0
mov rax, rdi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400b69d0
add rsp, 0x90
pop rdi
ret