Function at 0x1400a5c60
Capabilities:
Register raw input devices

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x168
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xe0], 0xfffffffffffffffe
mov ebx, r9d
mov r14d, r8d
mov rsi, rdx
mov rdi, rcx
xorps xmm0, xmm0
movaps xmmword [rbp + 0x40], xmm0
movaps xmmword [rbp + 0x70], xmm0
movaps xmmword [rbp + 0x60], xmm0
movaps xmmword [rbp + 0x50], xmm0
mov dword [rbp + 0x40], 0x23
lea rax, [0x1400a4eb0]
mov qword [rbp + 0x48], rax
xor ecx, ecx
call sub.kernel32.dll_GetModuleHandleW
mov qword [rbp + 0x58], rax
mov edx, 0x7f00
xor ecx, ecx
call sub.user32.dll_LoadCursorW
mov qword [rbp + 0x68], rax
mov edx, 0x7f05
xor ecx, ecx
call sub.user32.dll_LoadIconW
mov qword [rbp + 0x60], rax
mov ecx, 4
call sub.gdi32.dll_GetStockObject
mov qword [rbp + 0x70], rax
lea r15, str.MINIQUADAPP
mov qword [rbp + 0x10], r15
lea r12, str.assertion_failed:_hwnd.is_null____false
mov qword [rbp + 0x18], r12
mov word [rbp + 0x20], 0
lea rcx, [rbp + 0x28]
lea rdx, [rbp + 0x10]
call fcn.1400ab5d0
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0x80], rax
mov dword [rbp + 0x54], 8
lea rcx, [rbp + 0x40]
call sub.user32.dll_RegisterClassW
mov dword [rbp + 0xd8], 0
mov qword [rbp + 0xd0], 0
test r14b, r14b
je 0x1400a5d73
xor ecx, ecx
call sub.user32.dll_GetSystemMetrics
mov dword [rbp + 0xd8], eax
mov ecx, 1
call sub.user32.dll_GetSystemMetrics
mov ebx, 0x90080000
jmp 0x1400a5d94
mov eax, dword [rbp + 0x158]
mov ecx, dword [rbp + 0x150]
test bl, bl
mov edx, 0x6cf0000
mov ebx, 0x6ca0000
cmovne ebx, edx
mov dword [rbp + 0xd8], ecx
mov dword [rbp + 0xdc], eax
lea rcx, [rbp + 0xd0]
mov edx, ebx
xor r8d, r8d
mov r9d, 0x40100
call sub.user32.dll_AdjustWindowRectEx
mov r14d, dword [rbp + 0xd8]
mov r13d, dword [rbp + 0xdc]
sub r14d, dword [rbp + 0xd0]
sub r13d, dword [rbp + 0xd4]
mov qword [rbp - 8], r15
mov qword [rbp], r12
mov word [rbp + 8], 0
lea rcx, [rbp + 0x98]
lea rdx, [rbp - 8]
call fcn.1400ab5d0
add rsi, rdi
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], rsi
mov word [rbp - 0x10], 0
lea rcx, [rbp + 0xb8]
lea rdx, [rbp - 0x20]
call fcn.1400ab5d0
mov rsi, qword [rbp + 0xc8]
cmp rsi, qword [rbp + 0xb8]
jne 0x1400a5e28
lea rcx, [rbp + 0xb8]
call fcn.1400ab270
mov rax, qword [rbp + 0xc0]
mov word [rax + rsi*2], 0
inc rsi
mov qword [rbp + 0xc8], rsi
mov rsi, qword [rbp + 0xa0]
mov rdi, qword [rbp + 0xc0]
xor ecx, ecx
call sub.kernel32.dll_GetModuleHandleW
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
mov ecx, 0x40100
mov rdx, rsi
mov r8, rdi
mov r9d, ebx
call sub.user32.dll_CreateWindowExW
test rax, rax
je 0x1400a5f70
mov rdi, rax
mov qword [rbp + 0x88], 0x20001
mov qword [rbp + 0x90], 0
lea rcx, [rbp + 0x88]
mov edx, 1
mov r8d, 0x10
call sub.user32.dll_RegisterRawInputDevices
cmp eax, 1
jne 0x1400a5f8a
mov rcx, rdi
mov edx, 5
call fcn.1400db386
mov rcx, rdi
call sub.user32.dll_GetDC
test rax, rax
je 0x1400a5fa4
mov rbx, rax
mov rdx, qword [rbp + 0xb8]
test rdx, rdx
je 0x1400a5f1b
mov rcx, qword [rbp + 0xc0]
add rdx, rdx
mov r8d, 2
call fcn.140028750
mov rdx, qword [rbp + 0x98]
test rdx, rdx
je 0x1400a5f38
add rdx, rdx
mov r8d, 2
mov rcx, rsi
call fcn.140028750
mov rdx, qword [rbp + 0x28]
test rdx, rdx
je 0x1400a5f56
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp + 0xb0]
call fcn.140028750
mov rax, rdi
mov rdx, rbx
add rsp, 0x168
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, str.assertion_failed:_hwnd.is_null____false
lea r8, [0x14011b048]
mov edx, 0x29
call fcn.1400e5d70
jmp 0x1400a5fbc
lea rcx, str.Win32:_failed_to_register_for_raw_mouse_input_
lea r8, [0x14011b0d0]
mov edx, 0x2e
call fcn.1400e2160
jmp 0x1400a5fbc
lea rcx, str.assertion_failed:_dc.is_null____false
lea r8, [0x14011b088]
mov edx, 0x27
call fcn.1400e5d70
ud2