Function at 0x140008cb0
Capabilities:
Swap mouse buttons

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
sub rsp, 0x90
lea rcx, [0x140228fa0]
call fcn.140012a90
lea rcx, [0x1402290b8]
call fcn.14000d740
call fcn.1400091f0
call fcn.140005b50
call fcn.1400059a0
call fcn.14000a730
call fcn.14000bb60
call fcn.1400039f0
test eax, eax
je 0x140008d04
call fcn.14000bcd0
xor ecx, ecx
call fcn.140008c40
call fcn.14000a520
mov dword [0x1402296d0], 0x3e7
call fcn.140005c80
lea rcx, [0x140228fa0]
call fcn.140012ab0
cmp dword [0x1402297a4], 0
je 0x140008d40
lea rcx, [0x1402290b8]
call fcn.14000d780
call fcn.140007b80
mov edi, 3
mov r12d, 0xc8
lea rbp, [0x140000000]
xor esi, esi
nop dword [rax]
lea rcx, [rsp + 0x20]
call fcn.140006cb0
mov r9d, dword [0x140229448]
lea rdx, [rsp + 0x20]
mov ecx, eax
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edx, dword [0x1402296a4]
test edx, edx
jne 0x140008d9d
mov ecx, dword [0x140229448]
test ecx, ecx
cmove ecx, r12d
mov dword [0x140229448], ecx
cmp eax, 0x102
ja case.0x140008dbb.10
je 0x14000902c
cmp eax, 0xd
ja case.0x140008dbb.10
mov eax, eax
mov ecx, dword [rbp + rax*4 + 0x9104]
add rcx, rbp
jmp rcx
cmp dword [0x140218110], esi
je case.0x140008dbb.10
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0xb8]
call fcn.1400057f0
cmp eax, 1
jne 0x140008e19
nop
mov ebx, dword [rsp + 0xb8]
cmp ebx, 3
jne 0x140008df1
call fcn.140007b80
mov edx, dword [rsp + 0xb0]
mov ecx, ebx
call fcn.14000ac80
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0xb8]
call fcn.1400057f0
cmp eax, 1
je 0x140008de0
mov ecx, 0x12c
call fcn.140005cf0
mov dword [reloc.OLEAUT32.dll_SysReAllocStringLen], 4
jmp case.0x140008dbb.10
cmp dword [0x140218110], esi
je case.0x140008dbb.10
xor ecx, ecx
call qword [sym.imp.USER32.dll_SwapMouseButton]
jmp case.0x140008dbb.10
cmp dword [0x140218110], esi
je case.0x140008dbb.10
mov dword [0x140218118], 0x5e4bc7f
mov dword [0x1402296d0], 0x64
mov dword [reloc.OLEAUT32.dll_SysReAllocStringLen], 4
jmp case.0x140008dbb.10
cmp dword [0x140218110], esi
je case.0x140008dbb.10
mov edx, dword [0x140229440]
mov ecx, dword [0x140229444]
call fcn.14000ac80
mov edx, dword [0x140229438]
mov ecx, dword [0x14022943c]
call fcn.14000ac80
jmp case.0x140008dbb.10
mov dword [0x140229464], 1
mov dword [0x1402296a8], esi
call fcn.1400081e0
lea rcx, [0x140229a50]
call fcn.140004440
mov dword [0x140218110], esi
jmp case.0x140008dbb.10
mov dword [0x140218110], 1
mov dword [0x1402296d0], 0x3e7
call fcn.14000a520
lea rcx, [0x140229a50]
call fcn.140004590
cmp dword [0x140229464], 1
jne 0x140008f14
mov dword [0x140229464], esi
call fcn.140008390
jmp 0x140008f2c
cmp dword [0x1402294d8], 1
mov ecx, 2
je 0x140008f27
mov ecx, 1
call fcn.140008c40
mov ecx, 0x64
mov dword [0x1402294d8], esi
call fcn.140005cf0
lea edi, [rcx - 0x63]
jmp case.0x140008dbb.10
lea rcx, [0x140229a50]
call fcn.140004440
call fcn.14000a630
mov ecx, 0x64
mov dword [0x140218110], esi
call fcn.140005cf0
jmp case.0x140008dbb.10
cmp dword [0x140218110], 1
mov dword [0x1402294d8], esi
mov dword [0x140229458], 1
mov dword [0x1402296a8], esi
jne case.0x140008dbb.10
lea rcx, [0x140229a50]
call fcn.140004590
cmp dword [0x140229464], 1
jne 0x140008fb9
mov dword [0x140229464], esi
call fcn.140008390
call fcn.14000d6c0
mov edi, 1
jmp 0x140008fc3
mov ecx, 1
call fcn.140008c40
mov ecx, 0x64
call fcn.140005cf0
mov dword [0x1402296d0], 0x3e7
jmp case.0x140008dbb.10
mov cl, 1
mov dword [0x140229770], 1
call fcn.140008840
mov ecx, 0x64
call fcn.140005cf0
call fcn.140005bb0
jmp case.0x140008dbb.10
mov cl, 1
mov dword [0x140229770], esi
call fcn.140008840
call fcn.140005bb0
mov ecx, 0x64
call fcn.140005cf0
jmp case.0x140008dbb.10
call fcn.140007b80
jmp case.0x140008dbb.10
cmp dword [0x1402294d4], 1
jne 0x14000903f
mov ecx, 0x1f4
call fcn.140005cf0
test edx, edx
jne 0x140009079
cmp dword [0x140229448], 0x1388
jge 0x140009079
mov ecx, dword [0x140229448]
mov eax, dword [0x14021810c]
add ecx, eax
mov dword [0x140229448], ecx
cmp ecx, 0x7d0
jge 0x140009070
add eax, 2
jmp 0x140009073
add eax, 5
mov dword [0x14021810c], eax
cmp dword [0x140218110], 1
jne case.0x140008dbb.10
call fcn.140006c40
test eax, eax
jne 0x14000909f
call fcn.14000a630
mov dword [0x140218110], esi
jmp case.0x140008dbb.10
cmp dword [0x140218110], 1
jne case.0x140008dbb.10
call fcn.140005bb0
call fcn.14000a730
test edi, edi
jle 0x1400090d2
dec edi
jne 0x1400090d2
mov edi, 6
mov dword [0x1402296d0], 0x3dd
call fcn.140005cc0
call fcn.140005c80
call fcn.140004cf0
jmp case.0x140008dbb.10
call fcn.14000a630
call fcn.1400059f0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret