Function at 0x42b770
Capabilities:
Swap mouse buttons

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x403516
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0xb4
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x402c20
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
lea edx, [ebp + 8]
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
lea edx, [ebp + 0x18]
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x84], 2
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x94]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcGetSecondOfMinute]
lea edx, [ebp - 0x94]
push edx
lea eax, [ebp - 0x84]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 4], 4
push 0
push 0
push 0
call fcn.00405e44
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
call fcn.0042b530
lea ecx, [ebp - 0x74]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
call fcn.0042b530
lea ecx, [ebp - 0x74]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 7
mov ecx, dword [ebp - 0x68]
push ecx
lea edx, [ebp - 0x70]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
cmp dword [ebp - 0x70], 0
je 0x42b8ef
mov eax, dword [ebp - 0x70]
cmp word [eax], 1
jne 0x42b8ef
mov ecx, dword [ebp - 0x70]
xor edx, edx
sub edx, dword [ecx + 0x14]
mov dword [ebp - 0xac], edx
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0xac]
cmp ecx, dword [eax + 0x10]
jae 0x42b8d5
mov dword [ebp - 0xc4], 0
jmp 0x42b8e1
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0xc4], eax
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xc8], edx
jmp 0x42b8fb
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0xc8]
push ecx
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov dword [ebp - 0xa8], eax
lea edx, [ebp - 0x70]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x64], eax
mov dword [ebp - 4], 8
mov ecx, dword [ebp - 0x24]
push ecx
lea edx, [ebp - 0x70]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
cmp dword [ebp - 0x70], 0
je 0x42b98d
mov eax, dword [ebp - 0x70]
cmp word [eax], 1
jne 0x42b98d
mov ecx, dword [ebp - 0x70]
xor edx, edx
sub edx, dword [ecx + 0x14]
mov dword [ebp - 0xac], edx
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0xac]
cmp ecx, dword [eax + 0x10]
jae 0x42b973
mov dword [ebp - 0xcc], 0
jmp 0x42b97f
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0xcc], eax
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xd0], edx
jmp 0x42b999
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0xd0]
push ecx
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov dword [ebp - 0xa8], eax
lea edx, [ebp - 0x70]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x60], eax
mov dword [ebp - 4], 9
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x84], 2
lea ecx, [ebp - 0x84]
push ecx
lea edx, [ebp - 0x94]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcVarFromError]
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x84]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x5c], pe_overlay
mov dword [ebp - 4], 0xb
mov dword [ebp - 0xac], 0
cmp dword [ebp - 0xac], 4
jae 0x42ba3e
mov dword [ebp - 0xd4], 0
jmp 0x42ba4a
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0xd4], eax
mov edx, dword [ebp - 0xac]
lea eax, [ebp + edx*4 - 0x54]
push eax
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 0xc
lea ecx, [ebp - 0x64]
push ecx
call dword [sym.imp.MSVBVM60.DLL_DllFunctionCall]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 0xd
push 0
call dword [sym.imp.USER32.DLL_SwapMouseButton]
push 0x42bae0
jmp 0x42bab5
lea edx, [ebp - 0x24]
push edx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea eax, [ebp - 0x68]
push eax
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
ret