Function at 0x411030
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, 0xcc
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x401400
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
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], 4
mov dword [ebp - 0x80], 0x4060c4
mov dword [ebp - 0x88], 8
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
lea eax, [ebp - 0x64]
push eax
push 0xff
call dword [sym.imp.MSVBVM60.DLL_rtcStringBstr]
mov edx, eax
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 5
call fcn.00405f80
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 6
push 0
push 1
push 1
push 0
lea ecx, [ebp - 0x78]
push ecx
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
mov word [ebp - 0xbc], 0xff
lea edx, [ebp - 0xbc]
push edx
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x88], 3
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 0x78]
xor ecx, ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x98], 3
lea edx, [ebp - 0x98]
mov eax, dword [ebp - 0x78]
mov ecx, 1
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x78]
push ecx
mov edx, dword [0x43a650]
push edx
push 0x43a714
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
call fcn.00424b10
mov dword [ebp - 0xc0], eax
lea ecx, [ebp - 0x78]
push ecx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0x38], edx
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 7
push 0
push 0
call dword [sym.imp.IMM32.DLL_ImmGetProperty]
mov dword [ebp - 4], 8
mov dword [ebp - 0xd0], 0x64
mov dword [ebp - 0xcc], 1
mov dword [ebp - 0x2c], 1
jmp 0x411224
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0xcc]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0xd0]
jg 0x411885
mov dword [ebp - 4], 9
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_ContinueDebugEvent]
mov dword [ebp - 4], 0xa
push 1
mov edx, dword [ebp - 0x4c]
push edx
push 0x4060c4
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
push eax
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcLeftCharBstr]
mov edx, eax
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x4060c4
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
neg eax
sbb eax, eax
inc eax
neg eax
mov word [ebp - 0xc4], ax
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
movsx ecx, word [ebp - 0xc4]
test ecx, ecx
je 0x4112a9
jmp 0x411885
mov dword [ebp - 4], 0xd
lea edx, [ebp - 0x4c]
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x88], 0x4008
push 1
mov eax, dword [ebp - 0x4c]
push eax
push 0x4060c4
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
sub eax, 1
push eax
lea ecx, [ebp - 0x88]
push ecx
lea edx, [ebp - 0x64]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcLeftCharVar]
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0xe
push 0
push 0
push 1
push 0
lea ecx, [ebp - 0x78]
push ecx
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x88], 3
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 0x78]
xor ecx, ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x78]
push ecx
push 0x43a448
lea edx, [ebp - 0x54]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
push 0x43a714
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
call fcn.00424b10
mov dword [ebp - 0xc0], eax
lea ecx, [ebp - 0x78]
push ecx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
xor edx, edx
cmp dword [ebp - 0xc0], 2
sete dl
neg edx
mov word [ebp - 0xc4], dx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x50]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
movsx edx, word [ebp - 0xc4]
test edx, edx
je 0x41183b
mov dword [ebp - 4], 0xf
push 0
push 3
push 1
push 0
lea eax, [ebp - 0x78]
push eax
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x88], 3
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 0x78]
xor ecx, ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x98], 3
lea edx, [ebp - 0x98]
mov eax, dword [ebp - 0x78]
mov ecx, 1
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xa8], 3
lea edx, [ebp - 0xa8]
mov eax, dword [ebp - 0x78]
mov ecx, 2
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xb8], 3
lea edx, [ebp - 0xb8]
mov eax, dword [ebp - 0x78]
mov ecx, 3
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x78]
push ecx
push 0x43a180
lea edx, [ebp - 0x54]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
push 0x43a714
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
call fcn.00424b10
lea ecx, [ebp - 0x78]
push ecx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x50]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
mov dword [ebp - 4], 0x10
push 0
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov dword [ebp - 4], 0x11
push 0
push 0
call fcn.00405dec
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x12
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x48]
push edx
fld qword [0x4014c8]
call dword [sym.imp.MSVBVM60.DLL___vbaFpCmpCy]
test eax, eax
je 0x4115ba
mov dword [ebp - 4], 0x13
mov eax, dword [ebp + 8]
cmp word [eax], 1
jne 0x41158c
mov dword [ebp - 4], 0x14
lea ecx, [ebp - 0x40]
push ecx
call fcn.00419fc0
jmp 0x4115ba
mov dword [ebp - 4], 0x16
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], 0x17
mov edx, dword [ebp - 0x40]
push edx
call fcn.00410f60
mov dword [ebp - 4], 0x1a
push 0
push 0
push 1
push 0
lea eax, [ebp - 0x78]
push eax
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x88], 3
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 0x78]
xor ecx, ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x78]
push ecx
push 0x43a448
lea edx, [ebp - 0x54]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
push 0x43a714
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
call fcn.00424b10
mov dword [ebp - 0xc0], eax
lea ecx, [ebp - 0x78]
push ecx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
xor edx, edx
cmp dword [ebp - 0xc0], 4
sete dl
neg edx
mov word [ebp - 0xc4], dx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x50]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
movsx edx, word [ebp - 0xc4]
test edx, edx
je 0x41183b
mov dword [ebp - 4], 0x1b
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x64], 2
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcGetSecondOfMinute]
lea edx, [ebp - 0x74]
push edx
lea eax, [ebp - 0x64]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 4], 0x1c
push 0
call dword [sym.imp.MPR.DLL_WNetCloseEnum]
mov dword [ebp - 4], 0x1d
mov ecx, dword [ebp + 8]
cmp word [ecx], 1
jne 0x4116ef
mov dword [ebp - 4], 0x1e
lea edx, [ebp - 0x40]
push edx
call fcn.00419fc0
jmp 0x41183b
mov dword [ebp - 4], 0x20
push 0
call dword [sym.imp.USER32.DLL_SwapMouseButton]
mov dword [ebp - 4], 0x21
mov eax, dword [ebp - 0x40]
push eax
call fcn.00410f60
mov dword [ebp - 4], 0x22
push 0
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov dword [ebp - 4], 0x23
cmp dword [0x43ac24], 0
jne 0x411749
push 0x43ac24
push 0x4060a0
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0xe8], 0x43ac24
jmp 0x411753
mov dword [ebp - 0xe8], 0x43ac24
mov ecx, dword [ebp - 0xe8]
mov edx, dword [ecx]
mov dword [ebp - 0xc4], edx
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x98], 2
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x88], 2
lea eax, [ebp - 0x64]
push eax
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov ecx, esp
mov edx, dword [ebp - 0x98]
mov dword [ecx], edx
mov eax, dword [ebp - 0x94]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x90]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x8c]
mov dword [ecx + 0xc], eax
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov ecx, esp
mov edx, dword [ebp - 0x88]
mov dword [ecx], edx
mov eax, dword [ebp - 0x84]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x80]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x7c]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0xc4]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc4]
push eax
call dword [edx + 0x38]
fnclex
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
jge 0x411828
push 0x38
push 0x406090
mov ecx, dword [ebp - 0xc4]
push ecx
mov edx, dword [ebp - 0xc8]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xec], eax
jmp 0x411832
mov dword [ebp - 0xec], 0
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x27
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
mov esi, eax
push 1
mov ecx, dword [ebp - 0x4c]
push ecx
push 0x4060c4
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
sub esi, eax
push esi
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcRightCharBstr]
mov edx, eax
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov dword [ebp - 4], 0x28
jmp 0x411218
mov dword [ebp - 4], 0x29
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x64], 2
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcGetHourOfDay]
lea edx, [ebp - 0x74]
push edx
lea eax, [ebp - 0x64]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
wait
push 0x411912
jmp 0x4118f6
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret