Function at 0x140024b90
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc8]
sub rsp, 0x1c8
mov r15, rcx
lea rsi, [rcx + 0x88]
xor r14d, r14d
mov qword [rsi], r14
xor r9d, r9d
lea rdx, str.user32.dll
mov rcx, rsi
call fcn.140029680
mov r13d, r14d
lea edi, [r14 - 1]
cmp qword [rsi], r14
je 0x140024c76
call fcn.140002000
mov r10, qword [rax]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], r13b
mov byte [rsp + 0x20], r13b
mov r9d, edi
mov r8d, edi
lea rdx, str.GetRawInputData
mov rcx, rax
call qword [r10 + 0x28]
mov rbx, rax
mov qword [rbp + 0x118], rax
mov dword [rbp - 0x48], 1
mov qword [rbp - 0x50], r14
mov rcx, rax
call fcn.140045730
mov r12, rax
mov rdx, rax
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
test r12, r12
je 0x140024c4a
mov rcx, r12
call fcn.14008d9d8
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140024c76
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140024c6c
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140024c76
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov qword [r15 + 8], r13
mov r12, r14
cmp qword [rsi], r14
je 0x140024d1a
call fcn.140002000
mov r10, qword [rax]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], r12b
mov byte [rsp + 0x20], r12b
mov r9d, edi
mov r8d, edi
lea rdx, str.GetRawInputDeviceList
mov rcx, rax
call qword [r10 + 0x28]
mov rbx, rax
mov qword [rbp + 0x120], rax
mov dword [rbp - 0x38], 1
mov qword [rbp - 0x40], r14
mov rcx, rax
call fcn.140045730
mov r13, rax
mov rdx, rax
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
test r13, r13
je 0x140024cee
mov rcx, r13
call fcn.14008d9d8
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140024d1a
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140024d10
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140024d1a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov qword [r15 + 0x10], r12
mov r12, r14
cmp qword [rsi], r14
je 0x140024dbe
call fcn.140002000
mov r10, qword [rax]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], r12b
mov byte [rsp + 0x20], r12b
mov r9d, edi
mov r8d, edi
lea rdx, str.GetRawInputDeviceInfoW
mov rcx, rax
call qword [r10 + 0x28]
mov rbx, rax
mov qword [rbp + 0x128], rax
mov dword [rbp - 0x28], 1
mov qword [rbp - 0x30], r14
mov rcx, rax
call fcn.140045730
mov r13, rax
mov rdx, rax
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
test r13, r13
je 0x140024d92
mov rcx, r13
call fcn.14008d9d8
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140024dbe
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140024db4
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140024dbe
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov qword [r15 + 0x18], r12
mov r12, r14
cmp qword [rsi], r14
je 0x140024e60
call fcn.140002000
mov r10, qword [rax]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], r12b
mov byte [rsp + 0x20], r12b
mov r9d, edi
mov r8d, edi
lea rdx, str.RegisterRawInputDevices
mov rcx, rax
call qword [r10 + 0x28]
mov rbx, rax
mov qword [rsp + 0x40], rax
mov dword [rbp - 0x18], 1
mov qword [rbp - 0x20], r14
mov rcx, rax
call fcn.140045730
mov r13, rax
mov rdx, rax
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
test r13, r13
je 0x140024e34
mov rcx, r13
call fcn.14008d9d8
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140024e60
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140024e56
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140024e60
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov qword [r15], r12
mov r12, r14
cmp qword [rsi], r14
je 0x140024f01
call fcn.140002000
mov r10, qword [rax]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], r12b
mov byte [rsp + 0x20], r12b
mov r9d, edi
mov r8d, edi
lea rdx, str.ShutdownBlockReasonCreate
mov rcx, rax
call qword [r10 + 0x28]
mov rbx, rax
mov qword [rsp + 0x48], rax
mov dword [rbp - 8], 1
mov qword [rbp - 0x10], r14
mov rcx, rax
call fcn.140045730
mov r13, rax
mov rdx, rax
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
test r13, r13
je 0x140024ed5
mov rcx, r13
call fcn.14008d9d8
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140024f01
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140024ef7
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140024f01
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov qword [r15 + 0x20], r12
mov r12, r14
cmp qword [rsi], r14
je 0x140024fa3
call fcn.140002000
mov r10, qword [rax]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], r12b
mov byte [rsp + 0x20], r12b
mov r9d, edi
mov r8d, edi
lea rdx, str.ChangeWindowMessageFilter
mov rcx, rax
call qword [r10 + 0x28]
mov rbx, rax
mov qword [rsp + 0x50], rax
mov dword [rbp + 8], 1
mov qword [rbp], r14
mov rcx, rax
call fcn.140045730
mov r13, rax
mov rdx, rax
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
test r13, r13
je 0x140024f77
mov rcx, r13
call fcn.14008d9d8
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140024fa3
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140024f99
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140024fa3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov qword [r15 + 0x28], r12
mov r12, r14
cmp qword [rsi], r14
je 0x140025045
call fcn.140002000
mov r10, qword [rax]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], r12b
mov byte [rsp + 0x20], r12b
mov r9d, edi
mov r8d, edi
lea rdx, str.ChangeWindowMessageFilterEx
mov rcx, rax
call qword [r10 + 0x28]
mov rbx, rax
mov qword [rsp + 0x58], rax
mov dword [rbp + 0x18], 1
mov qword [rbp + 0x10], r14
mov rcx, rax
call fcn.140045730
mov r13, rax
mov rdx, rax
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
test r13, r13
je 0x140025019
mov rcx, r13
call fcn.14008d9d8
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140025045
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14002503b
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140025045
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov qword [r15 + 0x30], r12
mov r12, r14
cmp qword [rsi], r14
je 0x1400250e7
call fcn.140002000
mov r10, qword [rax]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], r12b
mov byte [rsp + 0x20], r12b
mov r9d, edi
mov r8d, edi
lea rdx, str.GetPhysicalCursorPos
mov rcx, rax
call qword [r10 + 0x28]
mov rbx, rax
mov qword [rsp + 0x60], rax
mov dword [rbp + 0x28], 1
mov qword [rbp + 0x20], r14
mov rcx, rax
call fcn.140045730
mov r13, rax
mov rdx, rax
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
test r13, r13
je 0x1400250bb
mov rcx, r13
call fcn.14008d9d8
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x1400250e7
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x1400250dd
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400250e7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov qword [r15 + 0x38], r12
mov r12, r14
cmp qword [rsi], r14
je 0x140025189
call fcn.140002000
mov r10, qword [rax]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], r12b
mov byte [rsp + 0x20], r12b
mov r9d, edi
mov r8d, edi
lea rdx, str.RegisterTouchWindow
mov rcx, rax
call qword [r10 + 0x28]
mov rbx, rax
mov qword [rsp + 0x68], rax
mov dword [rbp + 0x38], 1
mov qword [rbp + 0x30], r14
mov rcx, rax
call fcn.140045730
mov r13, rax
mov rdx, rax
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
test r13, r13
je 0x14002515d
mov rcx, r13
call fcn.14008d9d8
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140025189
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14002517f
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140025189
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov qword [r15 + 0x40], r12
mov r12, r14
cmp qword [rsi], r14
je 0x14002522b
call fcn.140002000
mov r10, qword [rax]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], r12b
mov byte [rsp + 0x20], r12b
mov r9d, edi
mov r8d, edi
lea rdx, str.GetTouchInputInfo
mov rcx, rax
call qword [r10 + 0x28]
mov rbx, rax
mov qword [rsp + 0x70], rax
mov dword [rbp + 0x48], 1
mov qword [rbp + 0x40], r14
mov rcx, rax
call fcn.140045730
mov r13, rax
mov rdx, rax
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
test r13, r13
je 0x1400251ff
mov rcx, r13
call fcn.14008d9d8
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14002522b
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140025221
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002522b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov qword [r15 + 0x48], r12
mov r12, r14
cmp qword [rsi], r14
je 0x1400252cd
call fcn.140002000
mov r10, qword [rax]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], r12b
mov byte [rsp + 0x20], r12b
mov r9d, edi
mov r8d, edi
lea rdx, str.CloseTouchInputHandle
mov rcx, rax
call qword [r10 + 0x28]
mov rbx, rax
mov qword [rsp + 0x78], rax
mov dword [rbp + 0x58], 1
mov qword [rbp + 0x50], r14
mov rcx, rax
call fcn.140045730
mov r13, rax
mov rdx, rax
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
test r13, r13
je 0x1400252a1
mov rcx, r13
call fcn.14008d9d8
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x1400252cd
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x1400252c3
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400252cd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov qword [r15 + 0x50], r12
mov r12, r14
cmp qword [rsi], r14
je 0x14002536e
call fcn.140002000
mov r10, qword [rax]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], r12b
mov byte [rsp + 0x20], r12b
mov r9d, edi
mov r8d, edi
lea rdx, str.GetGestureInfo
mov rcx, rax
call qword [r10 + 0x28]
mov rbx, rax
mov qword [rbp - 0x80], rax
mov dword [rbp + 0x68], 1
mov qword [rbp + 0x60], r14
mov rcx, rax
call fcn.140045730
mov r13, rax
mov rdx, rax
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
test r13, r13
je 0x140025342
mov rcx, r13
call fcn.14008d9d8
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14002536e
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140025364
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002536e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov qword [r15 + 0x58], r12
mov r12, r14
cmp qword [rsi], r14
je 0x14002540f
call fcn.140002000
mov r10, qword [rax]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], r12b
mov byte [rsp + 0x20], r12b
mov r9d, edi
mov r8d, edi
lea rdx, str.SetProcessDPIAware
mov rcx, rax
call qword [r10 + 0x28]
mov rbx, rax
mov qword [rbp - 0x78], rax
mov dword [rbp + 0x78], 1
mov qword [rbp + 0x70], r14
mov rcx, rax
call fcn.140045730
mov r13, rax
mov rdx, rax
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
test r13, r13
je 0x1400253e3
mov rcx, r13
call fcn.14008d9d8
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14002540f
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140025405
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002540f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov qword [r15 + 0x60], r12
mov r12, r14
cmp qword [rsi], r14
je 0x1400254b6
call fcn.140002000
mov r10, qword [rax]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], r12b
mov byte [rsp + 0x20], r12b
mov r9d, edi
mov r8d, edi
lea rdx, str.SetWindowCompositionAttribute
mov rcx, rax
call qword [r10 + 0x28]
mov rbx, rax
mov qword [rbp - 0x70], rax
mov dword [rbp + 0x88], 1
mov qword [rbp + 0x80], r14
mov rcx, rax
call fcn.140045730
mov r13, rax
mov rdx, rax
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
test r13, r13
je 0x14002548a
mov rcx, r13
call fcn.14008d9d8
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x1400254b6
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x1400254ac
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400254b6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov qword [r15 + 0x80], r12
mov r12, r14
cmp qword [rsi], r14
je 0x140025560
call fcn.140002000
mov r10, qword [rax]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], r12b
mov byte [rsp + 0x20], r12b
mov r9d, edi
mov r8d, edi
lea rdx, str.SetThreadDpiAwarenessContext
mov rcx, rax
call qword [r10 + 0x28]
mov rbx, rax
mov qword [rbp - 0x68], rax
mov dword [rbp + 0x98], 1
mov qword [rbp + 0x90], r14
mov rcx, rax
call fcn.140045730
mov r13, rax
mov rdx, rax
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
test r13, r13
je 0x140025534
mov rcx, r13
call fcn.14008d9d8
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140025560
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140025556
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140025560
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov qword [r15 + 0x68], r12
mov r12, r14
cmp qword [rsi], r14
je 0x140025607
call fcn.140002000
mov r10, qword [rax]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], r12b
mov byte [rsp + 0x20], r12b
mov r9d, edi
mov r8d, edi
lea rdx, str.SetThreadDpiHostingBehavior
mov rcx, rax
call qword [r10 + 0x28]
mov rbx, rax
mov qword [rbp - 0x60], rax
mov dword [rbp + 0xa8], 1
mov qword [rbp + 0xa0], r14
mov rcx, rax
call fcn.140045730
mov r13, rax
mov rdx, rax
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
test r13, r13
je 0x1400255db
mov rcx, r13
call fcn.14008d9d8
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140025607
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x1400255fd
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140025607
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov qword [r15 + 0x70], r12
cmp qword [rsi], 0
je 0x1400256aa
call fcn.140002000
mov r10, qword [rax]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, edi
mov r8d, edi
lea rdx, str.SetProcessDpiAwarenessContext
mov rcx, rax
call qword [r10 + 0x28]
mov rbx, rax
mov qword [rbp - 0x58], rax
mov dword [rbp + 0xb8], 1
mov qword [rbp + 0xb0], r14
mov rcx, rax
call fcn.140045730
mov r12, rax
mov rdx, rax
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test r12, r12
je 0x140025680
mov rcx, r12
call fcn.14008d9d8
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x1400256aa
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x1400256a0
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400256aa
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov qword [r15 + 0x78], r14
mov rax, r15
add rsp, 0x1c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret