Function at 0x14001fca0
Capabilities:
Register raw input devices

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x180
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0xf0], xmm6
mov qword [rbp + 0xe8], 0xfffffffffffffffe
mov r15, rcx
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x1400664c8]
jne 0x140020158
mov rax, qword [0x140066718]
cmp rax, 3
jne 0x140020096
call sub.KERNEL32.dll_GetCurrentThreadId
mov r14d, eax
xor ecx, ecx
call sub.KERNEL32.dll_GetModuleHandleW
mov rsi, rax
lea rdi, [0x1400665c8]
mov qword [rbp + 0xc8], rdi
mov rax, qword [0x1400665e0]
cmp rax, 3
jne 0x1400200d2
mov rax, qword [rbp + 0xc8]
mov rax, qword [rax]
mov qword [rbp - 0x10], 0x50
lea rcx, [0x140021530]
mov qword [rbp - 8], rcx
mov qword [rbp], 0
mov qword [rbp + 8], rsi
xorps xmm6, xmm6
movups xmmword [rbp + 0x10], xmm6
movups xmmword [rbp + 0x20], xmm6
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], 0
lea rcx, [rbp - 0x10]
call sub.USER32.dll_RegisterClassExW
mov qword [rbp + 0xc8], rdi
mov rax, qword [0x1400665e0]
cmp rax, 3
jne 0x140020115
mov rax, qword [rbp + 0xc8]
mov rsi, qword [rax]
xor ecx, ecx
call sub.KERNEL32.dll_GetModuleHandleW
mov qword [rsp + 0x50], rax
movups xmmword [rsp + 0x40], xmm6
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov ecx, 0x80800a0
mov rdx, rsi
xor r8d, r8d
xor r9d, r9d
call sub.USER32.dll_CreateWindowExW
mov rbx, rax
mov r8d, 0x90000000
mov rcx, rax
mov edx, 0xfffffff0
call sub.USER32.dll_SetWindowLongPtrW
lea rcx, [rbp - 0x10]
mov rdx, rbx
mov r8d, r14d
call fcn.1400286a0
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp - 8]
lock sub qword [rax], 1
jne 0x14001fe1c
lea rcx, [rbp - 8]
call fcn.1400245c0
mov rax, qword [rbp]
lock sub qword [rax], 1
jne 0x14001fe30
lea rcx, [rbp]
call fcn.140024620
call fcn.140020540
mov r12d, eax
mov qword [rbp - 0x20], 0
call fcn.140034f10
mov rsi, rax
mov edi, edx
mov qword [rbp + 0xc8], 0
mov ecx, 0x340
mov edx, 8
call fcn.140015530
test rax, rax
je 0x140020172
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0xc0], 8
mov qword [rbp + 0xa0], 0
xor ecx, ecx
call fcn.1400388b0
test rax, rax
je 0x140020183
movdqu xmm0, xmmword [rax]
movq rcx, xmm0
add rcx, 1
mov qword [rax], rcx
xorps xmm1, xmm1
movups xmmword [rbp + 0x78], xmm1
movdqu xmmword [rbp + 0x58], xmm0
mov qword [rbp + 0x68], 0
lea rax, [0x140051ca0]
mov qword [rbp + 0x70], rax
mov qword [rbp - 0x10], rbx
mov dword [rbp + 0x98], r12d
mov qword [rbp - 8], 0
mov byte [rbp + 0x9c], 0
mov qword [rbp + 0x10], rsi
mov dword [rbp + 0x18], edi
mov qword [rbp + 0x20], 0
movups xmm0, xmmword [rbp + 0xa0]
movups xmm1, xmmword [rbp + 0xb0]
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm1
mov rax, qword [rbp + 0xc0]
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x88], 0
mov ecx, 0xc0
mov edx, 8
call fcn.140015530
test rax, rax
je 0x1400201ad
mov rsi, rax
mov rcx, rax
add rcx, 0x10
lea rdx, [rbp - 0x10]
mov r8d, 0xb0
call sub.VCRUNTIME140.dll_memcpy
movaps xmm0, xmmword [0x140051010]
movups xmmword [rsi], xmm0
mov byte [rbp + 8], 0
movaps xmm0, xmmword [0x140051020]
movaps xmmword [rbp - 0x10], xmm0
mov ecx, 0x30
mov edx, 8
call fcn.140015530
test rax, rax
mov qword [rbp + 0xd8], rsi
je 0x1400201be
mov rdi, rax
movaps xmm0, xmmword [rbp - 0x10]
movaps xmm1, xmmword [rbp]
movups xmmword [rax + 0x20], xmm1
movups xmmword [rax + 0x10], xmm0
movaps xmm0, xmmword [0x14004e9e0]
movups xmmword [rax], xmm0
lock add qword [rax], 1
jle 0x1400201cf
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0xa8], rdi
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], 0
mov qword [rbp], rdi
mov ecx, 0x18
mov edx, 8
call fcn.140015530
test rax, rax
je 0x1400201d3
mov rcx, qword [rbp]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [rax], xmm0
mov rcx, rbx
mov edx, 0xffffffeb
mov r8, rax
call sub.USER32.dll_SetWindowLongPtrW
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0xa8], rdi
movabs rax, 0x210000020001
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rbx
movabs rax, 0x210000060001
mov qword [rbp], rax
mov qword [rbp + 8], rbx
lea rcx, [rbp - 0x10]
mov edx, 2
mov r8d, 0x10
call sub.USER32.dll_RegisterRawInputDevices
mov qword [r15], 0
mov qword [r15 + 8], rdi
mov qword [r15 + 0x10], rbx
mov rax, qword [rbp + 0xd8]
mov qword [r15 + 0x18], rax
mov dword [r15 + 0x20], r14d
mov rax, r15
movaps xmm6, xmmword [rbp + 0xf0]
add rsp, 0x180
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
mov byte [rbp + 0xa0], 1
lea rax, [rbp + 0xa0]
mov qword [rbp - 0x10], rax
lea rax, str.C:Rust.cargo_registry_srcgithub.com_1ecc6299db9ec823winit_0.26.1_srcplatform_implwindowsdpi.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x140066718]
lea r9, fcn.140005890
lea r8, [rbp - 0x10]
xor edx, edx
call fcn.14004c0d0
jmp 0x14001fcf0
lea rax, [rbp + 0xc8]
mov qword [rbp + 0xa0], rax
lea rax, [rbp + 0xa0]
mov qword [rbp - 0x10], rax
lea rax, [0x140051098]
mov qword [rsp + 0x20], rax
lea rcx, [0x1400665e0]
lea r9, fcn.140005890
lea r8, [rbp - 0x10]
xor edx, edx
call fcn.14004c0d0
jmp 0x14001fd21
lea rax, [rbp + 0xc8]
mov qword [rbp + 0xa0], rax
lea rax, [rbp + 0xa0]
mov qword [rbp - 0x10], rax
lea rax, [0x140051098]
mov qword [rsp + 0x20], rax
lea rcx, [0x1400665e0]
lea r9, fcn.140005890
lea r8, [rbp - 0x10]
xor edx, edx
call fcn.14004c0d0
jmp 0x14001fd82
lea rcx, str.Initializing_the_event_loop_outside_of_the_main_thread_is_a_significant_cross_platform_compatibility_hazard._If_you_really__absolutely_need_to_create_an_EventLoop_on_a_different_thread__please_use_the__EventLoopExtWindows::new_any_thread__function.C:Rust.cargo_registry_srcgithub.com_1ecc6299db9ec823winit_0.26.1_srcplatform_implwindowsevent_loop.rs
lea r8, [0x140051588]
mov edx, pe_nt_image_headers64
call fcn.14004ae40
ud2
mov ecx, 0x340
mov edx, 8
call fcn.14004ca10
jmp 0x1400201e2
lea rax, [0x1400522e0]
mov qword [rsp + 0x20], rax
lea rcx, [0x140052248]
lea r9, fcn.140005890
lea r8, [rbp - 0x10]
mov edx, 0x46
call fcn.14004cbe0
jmp 0x1400201e2
mov ecx, 0xc0
mov edx, 8
call fcn.14004ca10
jmp 0x1400201e2
mov ecx, 0x30
mov edx, 8
call fcn.14004ca10
jmp 0x1400201e2
ud2
mov ecx, 0x18
mov edx, 8
call fcn.14004ca10
ud2