Function at 0x1400d6b08
Capabilities:
Register raw input devices

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x440
lea rbp, [rsp + 0x80]
and rsp, 0xffffffffffffff80
mov rsi, rcx
mov al, 1
xchg byte [0x1403f9260], al
test al, al
je 0x1400d6be1
lea rax, [rsp + 0x300]
mov dword [rax], 3
xorps xmm0, xmm0
movups xmmword [rax + 4], xmm0
movups xmmword [rax + 0x14], xmm0
mov dword [rax + 0x24], 0
lea rcx, [rsp + 0xf0]
mov qword [rcx], rax
lea rax, [0x1402dbd83]
mov qword [rcx + 8], rax
lea rax, [0x1403477d0]
lea rdx, [rsp + 0x100]
mov qword [rdx], rax
mov eax, 1
mov qword [rdx + 8], rax
mov qword [rdx + 0x20], 0
mov qword [rdx + 0x10], rcx
mov qword [rdx + 0x18], rax
lea rcx, [rsp + 0xd8]
call fcn.1400777d0
cmp dword [rsp + 0x300], 1
jne 0x1400d6bbd
lea rcx, [rsp + 0x318]
call fcn.14015abad
movups xmm0, xmmword [rsp + 0xd8]
mov rax, qword [rsp + 0xe8]
mov qword [rsi + 0x18], rax
movups xmmword [rsi + 8], xmm0
mov qword [rsi], 3
jmp 0x1400d700a
call sub.kernel32.dll_GetCurrentThreadId
mov edi, eax
mov rax, qword [0x1403f9268]
cmp rax, 3
je 0x1400d6c2c
lea rax, [rsp + 0x300]
mov byte [rax], 1
lea r8, [rsp + 0x100]
mov qword [r8], rax
lea rax, str._home_janus_.cargo_registry_src_index.crates.io_6f17d22bba15001f_winit_0.29.10_src_platform_impl_windows_dpi.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x1403f9268]
lea r9, [0x1403b4c50]
xor edx, edx
call fcn.14020b970
mov rax, qword [0x1402e8ba0]
cmp rax, 2
je 0x1400d6c48
lea rcx, [0x1402e8ba0]
mov rdx, rcx
call fcn.1402d9732
mov rax, qword [0x1402e8bb0]
movabs rdx, 0x300000050
lea rcx, [rsp + 0x100]
mov qword [rcx], rdx
lea rdx, [0x1400d7511]
mov qword [rcx + 8], rdx
xor edx, edx
mov qword [rcx + 0x10], rdx
mov rbx, qword [0x1403b7960]
mov qword [rcx + 0x18], rbx
xorps xmm0, xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
mov qword [rcx + 0x40], rax
mov qword [rcx + 0x48], rdx
call sub.user32.dll_RegisterClassExW
mov rax, qword [0x1402e8ba0]
cmp rax, 2
je 0x1400d6cb4
lea rcx, [0x1402e8ba0]
mov rdx, rcx
call fcn.1402d9732
mov rdx, qword [0x1402e8bb0]
mov qword [rsp + 0x50], rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xor eax, eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x58], 0
mov ecx, 0x80800a0
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
call fcn.14020e680
xorps xmm0, xmm0
movups xmmword [rsp + 0x304], xmm0
mov dword [rsp + 0x118], 0x3b9aca01
mov qword [rsp + 0x120], rax
mov dword [rsp + 0x128], edx
movups xmmword [rsp + 0x12c], xmm0
movups xmmword [rsp + 0x138], xmm0
mov qword [rsp + 0x150], rbx
mov dword [rsp + 0x158], 0
movups xmm1, xmmword [rsp + 0x300]
movups xmmword [rsp + 0x15c], xmm1
mov eax, dword [rsp + 0x310]
mov dword [rsp + 0x16c], eax
mov qword [rsp + 0x170], 8
movups xmmword [rsp + 0x178], xmm0
mov word [rsp + 0x188], 0
mov eax, 1
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x108], rax
mov al, byte [0x1403f9274]
mov ecx, 0x90
mov edx, 8
call fcn.140061500
test rax, rax
je 0x1400d7024
mov r14, rax
lea rdx, [rsp + 0x100]
mov r8d, 0x90
mov rcx, rax
call sub.msvcrt.dll_memcpy
inc qword [r14]
je 0x1400d705d
xorps xmm0, xmm0
lea rdx, [rsp + 0x300]
movaps xmmword [rdx], xmm0
movaps xmmword [rdx + 0x80], xmm0
lea r15, [rsp + 0x100]
movaps xmmword [r15 + 0x120], xmm0
mov r8d, 0x100
mov rcx, r15
call sub.msvcrt.dll_memcpy
xor eax, eax
mov qword [r15 + 0x100], rax
mov byte [r15 + 0x108], al
mov qword [r15 + 0x110], rax
mov ecx, 8
mov qword [r15 + 0x118], rcx
mov qword [r15 + 0x130], rcx
mov qword [r15 + 0x138], rax
mov byte [r15 + 0x140], 1
mov ecx, 1
mov qword [r15 + 0x180], rcx
mov qword [r15 + 0x188], rcx
mov byte [r15 + 0x190], al
mov al, byte [0x1403f9274]
mov ecx, 0x200
mov edx, pe_nt_image_headers64
call fcn.140061500
test rax, rax
je 0x1400d703d
mov r15, rax
lea r12, [rsp + 0x100]
mov r8d, 0x200
mov rcx, rax
mov rdx, r12
call sub.msvcrt.dll_memcpy
mov qword [r12 + 0x10], r14
mov qword [r12], 1
mov qword [r12 + 8], r15
mov al, byte [0x1403f9274]
mov ecx, 0x18
mov edx, 8
call fcn.140061500
test rax, rax
je 0x1400d704e
mov rcx, qword [rsp + 0x110]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rsp + 0x100]
movups xmmword [rax], xmm0
mov rcx, rbx
mov edx, 0xffffffeb
mov r8, rax
call sub.user32.dll_SetWindowLongPtrW
movabs rax, 0x200000020001
lea rcx, [rsp + 0x100]
mov qword [rcx], rax
mov qword [rcx + 8], rbx
movabs rax, 0x200000060001
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rbx
mov edx, 2
mov r8d, 0x10
call sub.user32.dll_RegisterRawInputDevices
mov rax, r15
shr rax, 0x20
mov dword [rsp + 0xc0], edi
mov qword [rsp + 0xc8], 0
mov dword [rsp + 0xac], eax
mov qword [rsp + 0xb0], r14
mov qword [rsp + 0xb8], rbx
mov qword [rsp + 0xa0], 1
mov dword [rsp + 0xa8], r15d
mov rdx, qword [rsp + 0xa8]
mov ecx, 1
call fcn.1400b4263
mov r14, rax
mov rdi, rdx
lea r15, [0x140347a20]
mov r12d, 1
mov ecx, 1
mov rdx, r15
call fcn.14007177d
mov rax, qword [rsp + 0xd0]
mov qword [rsi + 0x30], rax
movups xmm0, xmmword [rsp + 0xa0]
movups xmm1, xmmword [rsp + 0xb0]
movups xmm2, xmmword [rsp + 0xc0]
movups xmmword [rsi + 0x20], xmm2
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov qword [rsi + 0x38], r14
mov qword [rsi + 0x40], rdi
mov qword [rsi + 0x48], rbx
mov qword [rsi + 0x50], 0
mov qword [rsi + 0x58], r12
lea rax, [0x140348598]
mov qword [rsi + 0x60], rax
mov qword [rsi + 0x68], r12
mov qword [rsi + 0x70], r15
xor ecx, ecx
call fcn.1401856ea
nop
lea rsp, [rbp + 0x3c0]
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea rdi, [rsp + 0x110]
mov ecx, 8
mov edx, 0x90
call fcn.140077010
jmp 0x1400d705d
mov ecx, pe_nt_image_headers64
mov edx, 0x200
call fcn.140077010
jmp 0x1400d705d
mov ecx, 8
mov edx, 0x18
call fcn.140077010
ud2