Function at 0x429ad0
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, 0x4d8
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x402920
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x468]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
push 0x11
push 0x40651c
lea eax, [ebp - 0x4e0]
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
push 0
call dword [sym.imp.ADVAPI32.DLL_GetNumberOfEventLogRecords]
mov dword [ebp - 4], 4
push 0
push 1
push 1
push 0
lea ecx, [ebp - 0x4a4]
push ecx
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
mov dword [ebp - 0x4ac], 2
mov dword [ebp - 0x4b4], 3
lea edx, [ebp - 0x4b4]
mov eax, dword [ebp - 0x4a4]
xor ecx, ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x4a4]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 0x4bc], 0
mov dword [ebp - 0x4c4], 3
lea edx, [ebp - 0x4c4]
mov ecx, dword [ebp - 0x4a4]
mov eax, 1
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x4a4]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea edx, [ebp - 0x4a4]
push edx
mov eax, dword [0x43a2d4]
push eax
push 0x43a714
lea ecx, [ebp - 0x46c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
call fcn.00424b10
mov dword [ebp - 0x4c8], eax
lea edx, [ebp - 0x4a4]
push edx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
mov eax, dword [ebp - 0x4c8]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x46c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 5
cmp dword [ebp - 0x28], 0
jne 0x429c54
jmp 0x42a15d
mov dword [ebp - 4], 8
mov dword [ebp - 0x45c], 0x425
mov dword [ebp - 4], 9
push 0
push 1
push 1
push 0
lea ecx, [ebp - 0x4a4]
push ecx
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
lea edx, [ebp - 0x28]
mov dword [ebp - 0x4ac], edx
mov dword [ebp - 0x4b4], 0x4003
lea edx, [ebp - 0x4b4]
mov eax, dword [ebp - 0x4a4]
xor ecx, ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x4a4]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarZero]
lea ecx, [ebp - 0x45c]
push ecx
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov dword [ebp - 0x4bc], eax
mov dword [ebp - 0x4c4], 3
lea edx, [ebp - 0x4c4]
mov eax, dword [ebp - 0x4a4]
mov ecx, 1
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x4a4]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x4a4]
push ecx
mov edx, dword [0x43a420]
push edx
push 0x43a714
lea eax, [ebp - 0x46c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
call fcn.00424b10
mov dword [ebp - 0x4c8], eax
lea ecx, [ebp - 0x4a4]
push ecx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
mov edx, dword [ebp - 0x4c8]
mov dword [ebp - 0x34], edx
lea ecx, [ebp - 0x46c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0xa
cmp dword [ebp - 0x34], 0
je 0x42a0a5
mov dword [ebp - 4], 0xb
lea eax, [ebp - 0x438]
mov dword [ebp - 0x4d4], eax
lea ecx, [ebp - 0x4e0]
mov dword [ebp - 0x4c8], ecx
lea edx, [ebp - 0x4c8]
mov dword [ebp - 0x4ac], edx
mov dword [ebp - 0x4b4], 0x6011
push 0
push 0x40
lea eax, [ebp - 0x4b4]
push eax
lea ecx, [ebp - 0x480]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcStrConvVar2]
lea edx, [ebp - 0x480]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x464]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x480]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0xc
mov eax, dword [ebp - 0x464]
mov dword [ebp - 0x4ac], eax
mov dword [ebp - 0x4b4], 8
push 0
lea ecx, [ebp - 0x480]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
mov dword [ebp - 0x4bc], 1
mov dword [ebp - 0x4c4], 2
push 1
lea edx, [ebp - 0x4b4]
push edx
lea eax, [ebp - 0x480]
push eax
push 0
lea ecx, [ebp - 0x490]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaInStrVar]
push eax
lea edx, [ebp - 0x4c4]
push edx
lea eax, [ebp - 0x4a0]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarSub]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI4Var]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x490]
push ecx
lea edx, [ebp - 0x480]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 4], 0xd
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x464]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcLeftCharBstr]
mov edx, eax
lea ecx, [ebp - 0x46c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcLowerCaseBstr]
mov edx, eax
lea ecx, [ebp - 0x464]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x46c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0xe
call fcn.00406050
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0xf
mov dword [ebp - 0x4c8], 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x4c8]
push edx
call fcn.0040600c
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x10
mov eax, dword [ebp - 0x454]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0x11
push 1
mov ecx, dword [ebp - 0x468]
push ecx
mov edx, dword [ebp - 0x464]
push edx
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
test eax, eax
je 0x429f60
mov dword [ebp - 4], 0x12
push 0
call dword [sym.imp.WINMM.DLL_midiStreamRestart]
mov dword [ebp - 4], 0x13
push 0
call dword [sym.imp.USER32.DLL_SwapMouseButton]
mov dword [ebp - 4], 0x14
lea eax, [ebp - 0x468]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.004288f0
mov dword [ebp - 4], 0x16
push 0
call dword [sym.imp.USER32.DLL_SwapMouseButton]
mov dword [ebp - 4], 0x17
push 0
push 0
push 0
push 0
call fcn.00405fc8
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x18
push 0
push 1
push 1
push 0
lea edx, [ebp - 0x4a4]
push edx
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
lea eax, [ebp - 0x28]
mov dword [ebp - 0x4ac], eax
mov dword [ebp - 0x4b4], 0x4003
lea edx, [ebp - 0x4b4]
mov ecx, dword [ebp - 0x4a4]
xor eax, eax
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x4a4]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarZero]
lea edx, [ebp - 0x45c]
push edx
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov dword [ebp - 0x4bc], eax
mov dword [ebp - 0x4c4], 3
lea edx, [ebp - 0x4c4]
mov eax, dword [ebp - 0x4a4]
mov ecx, 1
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x4a4]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x4a4]
push ecx
push 0x43a610
lea edx, [ebp - 0x470]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
push 0x43a714
lea eax, [ebp - 0x46c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
call fcn.00424b10
mov dword [ebp - 0x4c8], eax
lea ecx, [ebp - 0x4a4]
push ecx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
xor edx, edx
cmp dword [ebp - 0x4c8], 0
setne dl
neg edx
movsx eax, dx
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x470]
push ecx
lea edx, [ebp - 0x46c]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
jmp 0x429d58
mov dword [ebp - 4], 0x1a
push 0
push 0
push 1
push 0
lea eax, [ebp - 0x4a4]
push eax
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x4ac], ecx
mov dword [ebp - 0x4b4], 0x4003
lea edx, [ebp - 0x4b4]
mov eax, dword [ebp - 0x4a4]
xor ecx, ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x4a4]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarZero]
lea ecx, [ebp - 0x4a4]
push ecx
push 0x43a360
lea edx, [ebp - 0x470]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
push 0x43a714
lea eax, [ebp - 0x46c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
call fcn.00424b10
lea ecx, [ebp - 0x4a4]
push ecx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
lea edx, [ebp - 0x470]
push edx
lea eax, [ebp - 0x46c]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
push 0x42a1d2
jmp 0x42a1ad
lea ecx, [ebp - 0x460]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x464]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x468]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret