Function at 0x140054b10
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x5d0]
sub rsp, 0x6d0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x710], rbx
mov rsi, rdx
mov rbx, rcx
xor r15d, r15d
mov qword [rsp + 0x28], r15
mov eax, dword [rbp + 0x620]
mov dword [rsp + 0x20], eax
call fcn.1400a85c0
nop
lea rax, vtable.CPluginZone.0
mov qword [rbx], rax
lea rax, vtable.CPluginZone.1.0
mov qword [rbx + 8], rax
mov qword [rbx + 0x1b8], r15
lea rcx, [rbx + 0x1c0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
mov qword [rbx + 0x268], rsi
mov dword [rbx + 0x218], r15d
mov dword [rbx + 0x21c], 0x1f4
mov dword [rbx + 0x220], 0x1f4
mov qword [rbx + 0x22c], 0xffffffffffffffff
mov qword [rbx + 0x234], 0xffffffffffffffff
mov qword [rbx + 0x23c], r15
mov dword [rbx + 0x244], r15d
mov dword [rbx + 0x224], 0x1f4
mov dword [rbx + 0x24c], r15d
mov dword [rbx + 0x260], r15d
mov qword [rbx + 0x2c0], rsi
mov dword [rbx + 0x270], r15d
mov dword [rbx + 0x274], 0x1f4
mov dword [rbx + 0x278], 0x1f4
mov qword [rbx + 0x284], 0xffffffffffffffff
mov qword [rbx + 0x28c], 0xffffffffffffffff
mov qword [rbx + 0x294], r15
mov dword [rbx + 0x29c], r15d
mov dword [rbx + 0x27c], 0x1f4
mov dword [rbx + 0x2a4], r15d
mov dword [rbx + 0x2b8], r15d
mov qword [rbx + 0x2c8], r15
mov qword [rbx + 0x2d0], r15
mov dword [rbx + 0x2d8], r15d
mov dword [rbx + 0x2dc], 0x1f4
xor eax, eax
mov qword [rbx + 0x1e8], rax
mov qword [rbx + 0x1f0], r15
mov qword [rbx + 0x1f8], r15
mov qword [rbx + 0x210], r15
mov dword [rbx + 0x200], r15d
mov byte [rbx + 0x2e8], 0xf
mov dword [rbx + 0x204], 0x12c
mov dword [rbx + 0x208], 0x64
mov dword [rbx + 0x20c], 0x12c
test rsi, rsi
je 0x1400550c0
mov dword [rbp + 0x608], r15d
mov rcx, qword [rsi + 0x58]
test rcx, rcx
je 0x140054d7e
mov rax, qword [rcx]
lea r8, [rbp + 0x608]
mov edx, 0x10000102
call qword [rax + 0x18]
cmp dword [rbp + 0x608], 2
jne 0x140054d7e
mov edi, r15d
mov dword [rbp + 0x608], r15d
mov rcx, qword [rsi + 0x58]
test rcx, rcx
je 0x140054d10
mov rax, qword [rcx]
lea r8, [rbp + 0x608]
mov edx, 0x10000113
call qword [rax + 0x18]
mov edi, dword [rbp + 0x608]
mov eax, 0x86f
test edi, edi
cmove edi, eax
mov r14d, r15d
mov dword [rbp + 0x608], r15d
mov rcx, qword [rsi + 0x58]
test rcx, rcx
je 0x140054d46
mov rax, qword [rcx]
lea r8, [rbp + 0x608]
mov edx, 0x10001fc
call qword [rax + 0x18]
mov r14d, dword [rbp + 0x608]
mov eax, r15d
mov dword [rsp + 0x30], eax
mov rcx, qword [rsi + 0x58]
test rcx, rcx
je 0x140054d6a
mov rax, qword [rcx]
lea r8, [rsp + 0x30]
mov edx, 0x10001fa
call qword [rax + 0x18]
mov eax, dword [rsp + 0x30]
sub r14d, eax
imul eax, r14d, 0x3e8
xor edx, edx
div edi
mov dword [rbx + 0x2fc], eax
mov rcx, rsi
call fcn.140031f90
test eax, eax
je 0x1400550c0
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.1400c91f0
nop
mov dword [rbp + 0x608], 0x208
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
lea r8, str.SoftwareSynapticsSynTPEnhPlugInConfigTouchPad
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x40]
call fcn.1400c9360
test eax, eax
je 0x140054e33
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, str.ButtonSoundFlags
lea rcx, [rsp + 0x48]
call fcn.1400dfa30
mov eax, dword [rsp + 0x38]
mov dword [rbx + 0x214], eax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x608]
lea r8, [rbp + 0x1b0]
lea rdx, str.ButtonClickSound
lea rcx, [rsp + 0x48]
call fcn.1400dfb40
lea rcx, [rsp + 0x48]
call fcn.1400df4e0
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x20]
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0xa0]
call fcn.1400586c0
nop
cmp qword [rbp + 0x140], 0
je 0x140054f0c
xor edx, edx
lea r8d, [rdx + 2]
lea rcx, [rbp + 0xa0]
call fcn.14005b2e0
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0xa0]
call fcn.14005b700
mov rdi, qword [rax + 8]
add rdi, qword [rax]
test rdi, rdi
jle 0x140054ed0
mov ecx, edi
call fcn.1400e2f98
mov qword [0x14026d660], rax
test rax, rax
je 0x140054ed0
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0xa0]
call fcn.14005b2e0
mov r8, rdi
mov rdx, qword [0x14026d660]
lea rcx, [rbp + 0xa0]
call fcn.14005b1f0
lea rcx, [rbp + 0xb0]
call fcn.14005a7d0
test rax, rax
jne 0x140054f0c
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea rcx, [rbp + rcx + 0xa0]
mov edx, dword [rcx + 0x10]
or edx, 2
cmp qword [rcx + 0x48], 0
jne 0x140054f04
or edx, 4
xor r8d, r8d
call fcn.14005a6e0
mov dword [rbp + 0x608], 0x208
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
lea r8, str.SoftwareSynapticsSynTPEnhPlugInConfigTouchPad
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x40]
call fcn.1400c9360
test eax, eax
je 0x140054f72
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x608]
lea r8, [rbp + 0x3c0]
lea rdx, str.ButtonReleaseSound
lea rcx, [rsp + 0x48]
call fcn.1400dfb40
lea rcx, [rsp + 0x48]
call fcn.1400df4e0
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x20]
lea rdx, [rbp + 0x3c0]
lea rcx, [rbp - 0x70]
call fcn.1400586c0
nop
cmp qword [rbp + 0x30], 0
je 0x140055030
xor edx, edx
lea r8d, [rdx + 2]
lea rcx, [rbp - 0x70]
call fcn.14005b2e0
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x70]
call fcn.14005b700
mov rdi, qword [rax + 8]
add rdi, qword [rax]
test rdi, rdi
jle 0x140054ffd
mov ecx, edi
call fcn.1400e2f98
mov qword [0x14026d668], rax
test rax, rax
je 0x140054ffd
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.14005b2e0
mov r8, rdi
mov rdx, qword [0x14026d668]
lea rcx, [rbp - 0x70]
call fcn.14005b1f0
lea rcx, [rbp - 0x60]
call fcn.14005a7d0
test rax, rax
jne 0x140055030
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rcx, [rbp + rcx - 0x70]
mov edx, dword [rcx + 0x10]
or edx, 2
cmp qword [rcx + 0x48], 0
jne 0x140055028
or edx, 4
xor r8d, r8d
call fcn.14005a6e0
lea r9, str.SoundEvent
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x14026d658], rax
lea rax, [rbx + 0x1a0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov r9, rbx
lea r8, [0x1400581c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x14026d650], rax
lea rcx, [rbp + 0x40]
call fcn.140058cd0
lea rdi, vtable.std::ios_base.0
mov qword [rbp + 0x40], rdi
lea rcx, [rbp + 0x40]
call fcn.1400e3810
nop
lea rcx, [rbp + 0x150]
call fcn.140058cd0
mov qword [rbp + 0x150], rdi
lea rcx, [rbp + 0x150]
call fcn.1400e3810
nop
lea rcx, [rsp + 0x40]
call fcn.1400c9300
nop
mov rax, rbx
mov rbx, qword [rsp + 0x710]
add rsp, 0x6d0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret