Function at 0x14000fd30
Capabilities:
Register raw input devices

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf]
sub rsp, 0xe0
mov rax, qword [0x1400c5040]
xor rax, rsp
mov qword [rbp - 1], rax
mov r14, rdx
mov rdi, rcx
mov r12d, 2
xor r15d, r15d
lea r13, str.Foundation
cmp byte [0x1400c7328], r15b
jne 0x14000fe09
mov ecx, r12d
call qword [sym.imp.api_ms_win_shcore_scaling_l1_1_1.dll_SetProcessDpiAwareness]
test eax, eax
jne 0x14000ff93
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x51], xmm0
mov qword [rbp - 0x41], r15
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x19], r15
mov dword [rbp - 0x61], 0x50
mov dword [rbp - 0x5d], 3
lea rax, [0x14000f6e0]
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x21], r13
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rbp - 0x39], rax
mov ecx, 0x1e1e1e
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov qword [rbp - 0x31], rax
lea rcx, [rbp - 0x61]
call qword [sym.imp.USER32.dll_RegisterClassExA]
movzx ebx, ax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test bx, bx
jne 0x14000fe02
cmp eax, 0x582
jne 0x14000ffaf
mov byte [0x1400c7328], 1
mov rbx, qword [r14]
lea rdx, [rbx + 1]
mov rcx, qword [0x1400c5ab0]
call qword [0x1400c5ab8]
mov rsi, rax
mov r8, rbx
mov rdx, qword [r14 + 8]
mov rcx, rax
call fcn.14008f790
mov byte [rbx + rsi], r15b
movdqa xmm0, xmmword [0x1400b8730]
movdqu xmmword [rbp - 0x71], xmm0
mov r9d, 0xcf0000
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x71]
call qword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov ecx, dword [rbp - 0x69]
sub ecx, dword [rbp - 0x71]
mov eax, dword [rbp - 0x65]
sub eax, dword [rbp - 0x6d]
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
mov r9d, 0xcf0000
mov r8, rsi
mov rdx, r13
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [rdi], rax
cmp rax, 0xffffffffffffffff
je 0x14000ffcb
mov r8, rdi
mov edx, 0xffffffeb
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rdi + 8], rax
mov rax, qword [rdi]
mov edx, 1
mov dword [rbp - 0x71], 0x20001
mov dword [rbp - 0x6d], 0x100
mov qword [rbp - 0x69], rax
mov r8d, reloc.WS2_32.dll_recv
lea rcx, [rbp - 0x71]
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
je 0x14000ff77
mov rcx, qword [rdi]
call fcn.14000f670
lea rcx, [rbp - 9]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, rdi
call fcn.14000fcb0
call qword [sym.imp.USER32.dll_GetFocus]
cmp rax, qword [rdi]
sete al
mov byte [rdi + 0x13a], al
mov eax, dword [rbp - 9]
mov dword [rdi + 0x140], eax
mov eax, dword [rbp - 5]
mov dword [rdi + 0x144], eax
test rsi, rsi
je 0x14000ff4e
mov rdx, rsi
mov rcx, qword [0x1400c5ab0]
call qword [0x1400c5ac0]
nop
mov al, 1
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.140074360
mov rbx, qword [rsp + 0x130]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14000f2a0
mov r8, rax
lea rdx, str.Failed_to_register_win32_raw_mouse_input:__s.
lea rcx, str.C:_sourceIronfortFoundationwindow.cpp_103
call fcn.14000be60
int3
call fcn.14000f2a0
mov r8, rax
lea rdx, str.Failed_to_set_current_process_as_dpi_aware:__s.
lea rcx, str.C:_sourceIronfortFoundationwindow.cpp_294
call fcn.14000be60
int3
call fcn.14000f2a0
mov r8, rax
lea rdx, str.Failed_to_register_windows_class:__s.
lea rcx, str.C:_sourceIronfortFoundationwindow.cpp_307
call fcn.14000be60
int3
call fcn.14000f2a0
mov r8, rax
lea rdx, str.Failed_to_create_window:__s.
lea rcx, str.C:_sourceIronfortFoundationwindow.cpp_390
call fcn.14000be60
int3