Function at 0x42e6d0
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, 0x104
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x403018
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
push 0x11
push 0x4065ac
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryConstruct2]
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
push 0
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov dword [ebp - 4], 4
call fcn.00405f80
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 5
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x78], 2
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0x88]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcVarFromError]
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x78]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 4], 6
push 0
push 4
push 1
push 0
lea edx, [ebp - 0x8c]
push edx
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
push 0x43a600
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x9c], 3
lea edx, [ebp - 0x9c]
mov ecx, dword [ebp - 0x8c]
xor eax, eax
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x8c]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 0xa4], 1
mov dword [ebp - 0xac], 2
lea edx, [ebp - 0xac]
mov eax, dword [ebp - 0x8c]
mov ecx, 1
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xbc], 2
lea edx, [ebp - 0xbc]
mov ecx, dword [ebp - 0x8c]
mov eax, 2
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x8c]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xcc], 2
lea edx, [ebp - 0xcc]
mov eax, dword [ebp - 0x8c]
mov ecx, 3
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xdc], 2
lea edx, [ebp - 0xdc]
mov ecx, dword [ebp - 0x8c]
mov eax, 4
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x8c]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea edx, [ebp - 0x8c]
push edx
push 0x43a788
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
mov ecx, dword [0x43a15c]
push ecx
call fcn.00424b10
mov dword [ebp - 0xf0], eax
lea edx, [ebp - 0x8c]
push edx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x64]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
mov dword [ebp - 4], 7
push 0
push 0
push 0
push 0
push 0
push 0
call fcn.00405e94
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 8
push 0
push 5
push 1
push 0
lea eax, [ebp - 0x8c]
push eax
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x9c], 0x4003
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x8c]
xor ecx, ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarZero]
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xac], 3
lea edx, [ebp - 0xac]
mov eax, dword [ebp - 0x8c]
mov ecx, 1
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xbc], 2
lea edx, [ebp - 0xbc]
mov ecx, dword [ebp - 0x8c]
mov eax, 2
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x8c]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xcc], 2
lea edx, [ebp - 0xcc]
mov eax, dword [ebp - 0x8c]
mov ecx, 3
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 0xd4], 0x4000000
mov dword [ebp - 0xdc], 3
lea edx, [ebp - 0xdc]
mov ecx, dword [ebp - 0x8c]
mov eax, 4
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x8c]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xec], 2
lea edx, [ebp - 0xec]
mov eax, dword [ebp - 0x8c]
mov ecx, 5
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x8c]
push ecx
push 0x43a5d0
lea edx, [ebp - 0x64]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
mov eax, dword [0x43a15c]
push eax
call fcn.00424b10
mov dword [ebp - 0xf0], eax
lea ecx, [ebp - 0x8c]
push ecx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
mov edx, dword [ebp - 0xf0]
mov dword [ebp - 0x48], edx
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 9
mov dword [ebp - 0x24], 1
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x80], 0x80020004
mov dword [ebp - 0x88], 0xa
mov dword [ebp - 0x70], 0x80020004
mov dword [ebp - 0x78], 0xa
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x78]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.MSVBVM60.DLL_rtcIPMT]
fstp qword [ebp - 0xf8]
lea edx, [ebp - 0x88]
push edx
lea eax, [ebp - 0x78]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x5c], 1
mov dword [ebp - 4], 0xd
mov ecx, dword [ebp - 0x5c]
sub ecx, 1
mov dword [ebp - 0x58], ecx
mov dword [ebp - 4], 0xe
push 0
push 3
push 1
push 0
lea edx, [ebp - 0x8c]
push edx
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x9c], 3
lea edx, [ebp - 0x9c]
mov ecx, dword [ebp - 0x8c]
xor eax, eax
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x8c]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 0xfc], 0
cmp dword [ebp - 0xfc], 0x3e8
jae 0x42ec59
mov dword [ebp - 0x118], 0
jmp 0x42ec65
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x118], eax
mov edx, dword [ebp - 0x34]
add edx, dword [ebp - 0xfc]
push edx
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xac], 3
lea edx, [ebp - 0xac]
mov eax, dword [ebp - 0x8c]
mov ecx, 1
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 0xb4], 0x3e8
mov dword [ebp - 0xbc], 2
lea edx, [ebp - 0xbc]
mov ecx, dword [ebp - 0x8c]
mov eax, 2
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x8c]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xcc], 3
lea edx, [ebp - 0xcc]
mov eax, dword [ebp - 0x8c]
mov ecx, 3
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x8c]
push ecx
push 0x43a31c
lea edx, [ebp - 0x64]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
mov eax, dword [0x43a15c]
push eax
call fcn.00424b10
lea ecx, [ebp - 0x8c]
push ecx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0xf
cmp dword [ebp - 0x24], 0
jne 0x42ed77
jmp 0x42efee
mov dword [ebp - 4], 0x12
push 0
call dword [sym.imp.USER32.DLL_SwapMouseButton]
mov dword [ebp - 4], 0x13
mov edx, dword [ebp - 0x5c]
add edx, dword [ebp - 0x24]
mov dword [ebp - 0x5c], edx
mov dword [ebp - 4], 0x14
push 0
mov eax, dword [ebp - 0x5c]
sub eax, 2
push eax
push 1
push 0x11
lea ecx, [ebp - 0x28]
push ecx
push 1
push 0x80
call dword [sym.imp.MSVBVM60.DLL___vbaRedimPreserve]
add esp, 0x1c
mov dword [ebp - 4], 0x15
push 0
push 2
push 1
push 0
lea edx, [ebp - 0x8c]
push edx
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
cmp dword [ebp - 0x60], 0
je 0x42ee44
mov edx, dword [ebp - 0x60]
cmp word [edx], 1
jne 0x42ee44
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x58]
sub ecx, dword [eax + 0x14]
mov dword [ebp - 0xfc], ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0xfc]
cmp eax, dword [edx + 0x10]
jae 0x42ee2a
mov dword [ebp - 0x11c], 0
jmp 0x42ee36
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0xfc]
mov dword [ebp - 0x120], ecx
jmp 0x42ee50
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x120], eax
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0xc]
add eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov dword [ebp - 0xf0], eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
mov edx, dword [ebp - 0xf0]
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x9c], 3
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x8c]
xor ecx, ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 0x100], 0
cmp dword [ebp - 0x100], 0x3e8
jae 0x42eed0
mov dword [ebp - 0x124], 0
jmp 0x42eedc
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x100]
push ecx
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xac], 3
lea edx, [ebp - 0xac]
mov eax, dword [ebp - 0x8c]
mov ecx, 1
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xbc], 0x4003
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 0x8c]
mov ecx, 2
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarZero]
lea ecx, [ebp - 0x8c]
push ecx
push 0x43a4c8
lea edx, [ebp - 0x68]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
push 0x43a714
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
call fcn.00424b10
lea ecx, [ebp - 0x8c]
push ecx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0x64]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
mov dword [ebp - 4], 0x16
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x78], 2
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0x88]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcGetHourOfDay]
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x78]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
jmp 0x42ebc9
mov dword [ebp - 4], 0x18
push 0
push 0
push 1
push 0
lea edx, [ebp - 0x8c]
push edx
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
lea eax, [ebp - 0x48]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x9c], 0x4003
lea edx, [ebp - 0x9c]
mov ecx, dword [ebp - 0x8c]
xor eax, eax
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x8c]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarZero]
lea edx, [ebp - 0x8c]
push edx
push 0x43a08c
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
mov ecx, dword [0x43a15c]
push ecx
call fcn.00424b10
lea edx, [ebp - 0x8c]
push edx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0x19
push 0
push 0
push 1
push 0
lea eax, [ebp - 0x8c]
push eax
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x9c], 0x4003
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x8c]
xor ecx, ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarZero]
lea ecx, [ebp - 0x8c]
push ecx
push 0x43a08c
lea edx, [ebp - 0x64]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
mov eax, dword [0x43a15c]
push eax
call fcn.00424b10
lea ecx, [ebp - 0x8c]
push ecx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0x1a
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryMove]
wait
push 0x42f1c3
jmp 0x42f195
lea eax, [ebp - 0x28]
push eax
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0xf0], ecx
lea edx, [ebp - 0xf0]
push edx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret