Function at 0x14003aae0
Capabilities:
Register raw input devices

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea rdi, [rcx + 0x342a0]
mov rbx, rcx
mov rcx, qword [rdi + 0x20]
xor esi, esi
add rcx, 8
mov rax, qword [rcx + 8]
test rax, rax
je 0x14003ab2d
nop dword [rax]
cmp rdi, qword [rax + 0x10]
je 0x14003ab20
mov rax, qword [rax]
test rax, rax
jne 0x14003ab10
jmp 0x14003ab2d
mov qword [rax + 0x10], rsi
mov byte [rcx + 4], 1
call fcn.140001b00
lea rcx, [rbx + 0x342e0]
mov byte [rdi + 0x2a], sil
call fcn.14004a050
mov rcx, qword [rbx + 0x342d0]
test rcx, rcx
je 0x14003ab61
mov dword [rbx + 0x342d8], esi
call fcn.14005abc0
mov qword [rbx + 0x342d0], rsi
mov dword [rbx + 0x342dc], esi
mov byte [rbx + 0x342c9], sil
cmp byte [rbx + 0x34321], sil
je 0x14003aba2
mov edx, 2
mov dword [rbx + 0x3432c], 1
lea rcx, [rbx + 0x34328]
mov dword [rbx + 0x3433c], 1
lea r8d, [rdx + 0xe]
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
mov byte [rbx + 0x34321], sil
lea rcx, [rbx + 0x68]
mov byte [rbx + 0x34348], sil
mov byte [rbx + 0x34310], sil
call fcn.140037d00
lea rcx, [rbx + 0x34390]
call fcn.140047440
mov qword [rbx + 0x34388], rsi
mov rax, qword [rbx + 0x34598]
test rax, rax
je 0x14003ac20
nop dword [rax + rax]
mov rcx, qword [rbx + 0x345a0]
cmp rcx, rax
jne 0x14003abfc
mov qword [rbx + 0x345a0], rsi
mov qword [rbx + 0x34598], rsi
jmp 0x14003ac0a
mov rax, qword [rcx + 8]
mov qword [rbx + 0x345a0], rax
mov qword [rax], rsi
test rcx, rcx
je 0x14003ac14
call fcn.140002100
mov rax, qword [rbx + 0x34598]
test rax, rax
jne 0x14003abe0
mov byte [rbx + 0x34590], sil
mov rax, qword [0x1400d4ca8]
test rax, rax
je 0x14003ac67
lea rcx, [rbx + 0x34668]
nop word [rax + rax]
cmp rcx, qword [rax + 0x10]
je 0x14003ac50
mov rax, qword [rax]
test rax, rax
jne 0x14003ac40
jmp 0x14003ac67
mov qword [rax + 0x10], rsi
lea rcx, [0x1400d4ca0]
mov byte [0x1400d4ca4], 1
call fcn.140001b00
lea rcx, [rbx + 0x34638]
call fcn.14000c720
lea rcx, [rbx + 0x34678]
mov byte [rbx + 0x34630], sil
mov rax, qword [rcx]
call qword [rax + 0x60]
lea rcx, [rbx + 0x34238]
call fcn.140047440
mov rcx, qword [0x1400a0600]
mov qword [rbx + 0x34230], rsi
test rcx, rcx
je 0x14003acb3
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [0x1400a0600], rsi
cmp qword [rbx + 0x48], rsi
je 0x14003accd
lea rcx, [rbx + 0x48]
call fcn.140040b40
mov qword [rbx + 0x54], rsi
mov dword [rbx + 0x50], esi
mov qword [rbx + 0x48], rsi
cmp byte [0x1400a05f4], sil
mov byte [rbx + 0x40], sil
je 0x14003ace0
call qword [sym.imp.KERNEL32.dll_FreeConsole]
mov rcx, qword [0x1400a05e8]
test rcx, rcx
je 0x14003acf9
mov qword [0x1400a05e0], rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [0x1400a0608]
test rcx, rcx
je 0x14003ad12
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400a0608], rsi
call qword [sym.imp.ole32.dll_CoUninitialize]
call fcn.140054330
test eax, eax
jne 0x14003ad4b
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.1400548b0
test eax, eax
jne 0x14003ad46
lea rdx, [0x14003bde0]
lea rcx, [0x1400a05f8]
call fcn.140053f00
call fcn.1400543d0
mov byte [rbx + 0x3c], sil
mov byte [rbx + 0x18], sil
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret