Function at 0x1400552a0
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.1400a87e0
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 0x140055850
mov dword [rbp + 0x608], r15d
mov rcx, qword [rsi + 0x58]
test rcx, rcx
je 0x14005550e
mov rax, qword [rcx]
lea r8, [rbp + 0x608]
mov edx, 0x10000102
call qword [rax + 0x18]
cmp dword [rbp + 0x608], 2
jne 0x14005550e
mov edi, r15d
mov dword [rbp + 0x608], r15d
mov rcx, qword [rsi + 0x58]
test rcx, rcx
je 0x1400554a0
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 0x1400554d6
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 0x1400554fa
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.1400327b0
test eax, eax
je 0x140055850
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.1400c9420
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.1400c9590
test eax, eax
je 0x1400555c3
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.1400dfc90
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.1400dfda0
lea rcx, [rsp + 0x48]
call fcn.1400df740
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x20]
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0xa0]
call fcn.140058e50
nop
cmp qword [rbp + 0x140], 0
je 0x14005569c
xor edx, edx
lea r8d, [rdx + 2]
lea rcx, [rbp + 0xa0]
call fcn.14005bac0
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0xa0]
call fcn.14005bee0
mov rdi, qword [rax + 8]
add rdi, qword [rax]
test rdi, rdi
jle 0x140055660
mov ecx, edi
call fcn.1400e3178
mov qword [0x14026d5e0], rax
test rax, rax
je 0x140055660
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0xa0]
call fcn.14005bac0
mov r8, rdi
mov rdx, qword [0x14026d5e0]
lea rcx, [rbp + 0xa0]
call fcn.14005b9d0
lea rcx, [rbp + 0xb0]
call fcn.14005af80
test rax, rax
jne 0x14005569c
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 0x140055694
or edx, 4
xor r8d, r8d
call fcn.14005ae90
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.1400c9590
test eax, eax
je 0x140055702
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.1400dfda0
lea rcx, [rsp + 0x48]
call fcn.1400df740
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x20]
lea rdx, [rbp + 0x3c0]
lea rcx, [rbp - 0x70]
call fcn.140058e50
nop
cmp qword [rbp + 0x30], 0
je 0x1400557c0
xor edx, edx
lea r8d, [rdx + 2]
lea rcx, [rbp - 0x70]
call fcn.14005bac0
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x70]
call fcn.14005bee0
mov rdi, qword [rax + 8]
add rdi, qword [rax]
test rdi, rdi
jle 0x14005578d
mov ecx, edi
call fcn.1400e3178
mov qword [0x14026d5e8], rax
test rax, rax
je 0x14005578d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.14005bac0
mov r8, rdi
mov rdx, qword [0x14026d5e8]
lea rcx, [rbp - 0x70]
call fcn.14005b9d0
lea rcx, [rbp - 0x60]
call fcn.14005af80
test rax, rax
jne 0x1400557c0
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 0x1400557b8
or edx, 4
xor r8d, r8d
call fcn.14005ae90
lea r9, str.SoundEvent
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x14026d5d8], rax
lea rax, [rbx + 0x1a0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov r9, rbx
lea r8, [0x140058950]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x14026d5d0], rax
lea rcx, [rbp + 0x40]
call fcn.140059460
lea rdi, vtable.std::ios_base.0
mov qword [rbp + 0x40], rdi
lea rcx, [rbp + 0x40]
call fcn.1400e39f0
nop
lea rcx, [rbp + 0x150]
call fcn.140059460
mov qword [rbp + 0x150], rdi
lea rcx, [rbp + 0x150]
call fcn.1400e39f0
nop
lea rcx, [rsp + 0x40]
call fcn.1400c9530
nop
mov rax, rbx
mov rbx, qword [rsp + 0x710]
add rsp, 0x6d0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret