Function at 0x1401439fc
Capabilities:
Register raw input devices

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x78]
mov eax, 0x150
call fcn.14024eae0
sub rsp, rax
mov rax, qword [0x14035d028]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov rbx, rcx
xor r13d, r13d
lea esi, [r13 + 2]
test byte [0x14037d601], sil
je 0x140143a79
mov qword [rbp - 0x68], rcx
lea rax, [rbp - 0x68]
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], 8
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
mov r9d, esi
lea rdx, [0x1402d4eb8]
lea rcx, [0x140367c60]
call fcn.1400dd228
cmp qword [rbx + 0xa8], r13
je 0x140143a8c
mov ecx, 0x3d415f
call fcn.1400bc714
cmp byte [rbx + 0x193], r13b
je 0x140143a9f
mov ecx, 0x3d4160
call fcn.1400bc714
mov byte [rbx + 0x193], r13b
cmp dword [rbx + 0x60], r13d
je 0x140143ab6
mov ecx, 0x3d4161
call fcn.1400bc714
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rbx + 0x60], eax
mov edi, 0x50
mov r8d, edi
xor edx, edx
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x60], edi
lea rax, [0x140145520]
mov qword [rbp - 0x58], rax
lea rax, str.OfficePowerManagerWindow
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x60]
call fcn.140147eec
test ax, ax
jne 0x140143b03
mov esi, 0x80004005
jmp 0x14014409e
mov r15d, 1
mov byte [rbx + 0x190], r15b
xor ecx, ecx
call qword [sym.imp.IMM32.dll_ImmDisableIME]
test eax, eax
jne 0x140143b22
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.DiscardableCacheTimerInterval
call fcn.1400b424c
mov ecx, eax
mov r14d, 0x2710
cmp eax, r14d
cmovb ecx, r14d
mov dword [rbx + 0x2fc], ecx
lea rcx, str.DiscardableCacheDefaultTimeoutMilliseconds
call fcn.1400b424c
mov dword [rbx + 0x2f8], eax
lea rcx, str.DiscardableCacheDisableCallbacks
call fcn.1400b424c
mov dword [rbx + 0x300], eax
lea rcx, str.DiscardableCacheDontQueueCallbacks
call fcn.1400b424c
mov dword [rbx + 0x304], eax
call fcn.1400f4214
mov qword [rbx + 0xa8], rax
test rax, rax
je 0x140143af9
lea rcx, str.8F__
call fcn.1400b424c
mov eax, eax
mov qword [rbx + 0x1e8], rax
lea rcx, str.hE__
call fcn.1400b424c
mov eax, eax
mov qword [rbx + 0x1e0], rax
mov rax, qword [rbx + 0xa8]
mov qword [rbp - 0x10], 0x20001
mov qword [rbp - 8], rax
mov qword [rbp], 0x60001
mov qword [rbp + 8], rax
mov dword [rbp + 0x10], reloc.Cabinet.dll_FCIFlushCabinet
mov dword [rbp + 0x14], 0x20
mov qword [rbp + 0x18], rax
mov edx, 3
lea r8d, [rdx + 0xd]
lea rcx, [rbp - 0x10]
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
je 0x140143af9
mov rax, qword [rbx + 0x1e8]
mov ecx, 0xffffffff
cmp rax, rcx
ja 0x1401440ef
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x6c], 0xfff
mov al, byte [rbx + 0x194]
neg al
sbb rdx, rdx
mov edi, 0x100
and rdx, rdi
add rdx, 5
lea r8, [rsp + 0x68]
mov rcx, qword [rbx + 0xa8]
call fcn.1401102b8
test rax, rax
jne 0x140143c5c
mov ecx, 0x3d4185
call fcn.1400bc714
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r8, rbx
mov edx, 0xffffffeb
mov rcx, qword [rbx + 0xa8]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
test rax, rax
jne 0x140143c8c
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140143af9
mov esi, r13d
mov dword [rsp + 0x70], 0x1388
mov dword [rsp + 0x74], r14d
mov al, byte [rbx + 0x194]
neg al
sbb rdx, rdx
and rdx, rdi
add rdx, 7
lea r8, [rsp + 0x70]
mov rcx, qword [rbx + 0xa8]
call fcn.1401102b8
test rax, rax
jne 0x140143cd6
mov ecx, 0x3d4187
call fcn.1400bc714
mov rcx, rbx
call fcn.14014413c
lea r12, [rbx + 0xa0]
mov r8, rbx
mov rdx, qword [r12]
lea rcx, [rsp + 0x78]
call fcn.1401473bc
cmp qword [rbx + 0xb0], r13
je 0x140143e4f
cmp qword [rbx + 0xb8], r13
je 0x140143e4f
cmp byte [rbx + 0x192], r13b
jne 0x140143e32
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x60], eax
je 0x140143e32
cmp byte [rbx + 0x193], r13b
jne 0x140143e32
cmp qword [r12], r13
je 0x140143e27
cmp byte [rbx + 0x192], r13b
jne 0x140143e32
cmp byte [rbp - 0x6c], r13b
je 0x140143d85
mov ecx, dword [rsp + 0x78]
and ecx, 0xf
call fcn.14014453c
mov ecx, dword [rsp + 0x78]
xor eax, ecx
and eax, 0xf
xor ecx, eax
mov dword [rsp + 0x78], ecx
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rax, qword [rax + 0xc0]
call qword [case.0x14004a846.0]
cmp byte [rbx + 0x191], r13b
jne 0x140143e32
mov qword [rsp + 0x60], r13
mov rdx, r12
lea rcx, [rsp + 0x60]
call fcn.14012fce8
mov rcx, qword [rsp + 0x60]
test al, al
jne 0x140143dc6
test rcx, rcx
je 0x140143e27
mov qword [rsp + 0x60], r13
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14004a846.0]
jmp 0x140143e27
test rcx, rcx
je 0x1401440de
mov rax, qword [rcx]
mov rax, qword [rax + 0xe0]
call qword [case.0x14004a846.0]
mov edi, eax
test eax, eax
jns 0x140143e00
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x140143e23
mov qword [rsp + 0x60], r13
mov rcx, qword [rdx]
mov rax, qword [rcx + 0x10]
mov rcx, rdx
jmp 0x140143e1d
mov byte [rbx + 0x191], r15b
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140143e23
mov qword [rsp + 0x60], r13
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14004a846.0]
test edi, edi
jns 0x140143e32
mov ecx, 0x3d420f
call fcn.1400bc714
nop
mov rcx, qword [rsp + 0x78]
shr rcx, 0xb
not rcx
and rcx, r15
mov rcx, qword [rbx + rcx*8 + 0xb0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov word [rbx + 0x191], 0x101
lea rcx, [rsp + 0x78]
call fcn.140147490
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMemoryResourceNotification]
mov rdi, rax
mov rcx, qword [rbx + 0x1f0]
test rcx, rcx
je 0x140143e86
mov qword [rbx + 0x1f0], r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x1f0], rdi
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_CreateMemoryResourceNotification]
mov rdi, rax
mov rcx, qword [rbx + 0x1f8]
test rcx, rcx
je 0x140143eb2
mov qword [rbx + 0x1f8], r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x1f8], rdi
cmp qword [rbx + 0x1f0], r13
je 0x140143ec7
test rdi, rdi
jne 0x140143ed1
mov ecx, 0x3d4188
call fcn.1400bc714
mov rcx, qword [rbx + 0x1f0]
test rcx, rcx
je 0x14014404a
cmp qword [rbx + 0x1f8], r13
je 0x14014403d
mov ecx, 0x28
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x140143f99
mov r14, qword [r12]
mov dword [rax + 8], r15d
lea rax, [0x14027e430]
mov qword [rdi], rax
lea rax, [0x14027e438]
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], r13
lea r15, [rdi + 0x20]
mov qword [r15], r13
test r14, r14
je 0x140143f60
mov rax, qword [r14]
mov rcx, r14
mov rax, qword [rax + 8]
call qword [case.0x14004a846.0]
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x140143f5c
mov qword [rdi + 0x18], r13
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14004a846.0]
mov qword [rdi + 0x18], r14
mov rax, qword [rbx]
mov r14, qword [rax]
mov rdx, qword [r15]
test rdx, rdx
je 0x140143f81
mov qword [r15], r13
mov rcx, qword [rdx]
mov rax, qword [rcx + 0x10]
mov rcx, rdx
call qword [case.0x14004a846.0]
mov r8, r15
lea rdx, [0x1402fb8d8]
mov rcx, rbx
mov rax, r14
call qword [case.0x14004a846.0]
jmp 0x140143f9c
mov rdi, r13
lea r15, [rdi + 0x10]
test rdi, rdi
jne 0x140143fb1
mov ecx, 0x3d4189
call fcn.1400bc714
jmp 0x140144004
mov rcx, qword [r12]
mov rax, qword [rcx]
lea r13, [rbx + 0x200]
mov r14, r15
mov r8, r15
mov r9, r13
mov edx, 0x2101
mov rax, qword [rax + 0x28]
call qword [case.0x14004a846.0]
test eax, eax
js 0x140144001
mov rcx, qword [r13]
mov rax, qword [rcx]
mov r8d, 0xffffffff
mov rdx, qword [rbx + 0x1f0]
mov rax, qword [rax + 0xd8]
call qword [case.0x14004a846.0]
xor r13d, r13d
jmp 0x140144026
xor r13d, r13d
mov r14, r15
mov rcx, qword [r12]
mov rax, qword [rcx]
mov rax, qword [rax + 0x58]
call qword [case.0x14004a846.0]
test eax, eax
jne 0x140144026
mov ecx, 0x3d418a
call fcn.1400bc714
test rdi, rdi
je 0x140144063
mov rax, qword [r14]
mov rcx, r14
mov rax, qword [rax + 0x10]
call qword [case.0x14004a846.0]
jmp 0x140144063
mov qword [rbx + 0x1f0], r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x1f8]
test rcx, rcx
je 0x140144063
mov qword [rbx + 0x1f8], r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, dword [0x14037d5c0]
xor r8d, r8d
lea rdx, [0x1401438c0]
lea ecx, [r8 + 5]
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [rbx + 0x720], rax
test rax, rax
jne 0x14014409e
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14014409e
mov ecx, 0x3d418b
call fcn.1400bc714
cmp byte [rbx + 0x192], r13b
jne 0x1401440af
mov rcx, rbx
call fcn.140143548
mov eax, esi
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.14024c6d0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
xor edx, edx
mov ecx, 0x152139a
call fcn.1400b3928
nop
jmp 0x1401440ee
nop
call fcn.140047c3c
int3