Function at 0x42d8e0
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, 0x118
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x402ed8
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
push 0
push 0
call fcn.00405dec
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 4
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xa8], 2
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0xb8]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcGetSecondOfMinute]
lea edx, [ebp - 0xb8]
push edx
lea eax, [ebp - 0xa8]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 4], 5
push 0
push 0
call fcn.00405dec
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 6
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xcc], 0x8002
push 0x43a68c
lea ecx, [ebp - 0xcc]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
movsx edx, ax
test edx, edx
je 0x42dff9
mov dword [ebp - 4], 7
mov dword [ebp - 0x54], 0x22
mov dword [ebp - 4], 8
mov dword [ebp - 0xb0], 0x80020004
mov dword [ebp - 0xb8], 0xa
mov dword [ebp - 0xa0], 0x80020004
mov dword [ebp - 0xa8], 0xa
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0xa8]
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 - 0xb8]
push edx
lea eax, [ebp - 0xa8]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 4], 9
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcFileLen]
mov dword [ebp - 0x70], eax
mov dword [ebp - 4], 0xa
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
xor edx, edx
mov dx, word [ebp - 0x54]
push edx
push 0xffffffffffffffff
push 0x120
call dword [sym.imp.MSVBVM60.DLL___vbaFileOpen]
mov dword [ebp - 4], 0xb
mov dword [ebp - 0xc4], 0x4064cc
mov dword [ebp - 0xcc], 8
lea edx, [ebp - 0xcc]
lea ecx, [ebp - 0xa8]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
lea eax, [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0x70]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcStringBstr]
mov edx, eax
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0xa8]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0xc
mov dword [ebp - 0xb0], 0x80020004
mov dword [ebp - 0xb8], 0xa
mov dword [ebp - 0xa0], 0x80020004
mov dword [ebp - 0xa8], 0xa
lea edx, [ebp - 0xb8]
push edx
lea eax, [ebp - 0xa8]
push eax
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 ecx, [ebp - 0xb8]
push ecx
lea edx, [ebp - 0xa8]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 4], 0xd
xor eax, eax
mov ax, word [ebp - 0x54]
push eax
lea ecx, [ebp - 0x50]
push ecx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaGet3]
mov dword [ebp - 4], 0xe
xor edx, edx
mov dx, word [ebp - 0x54]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaFileClose]
mov dword [ebp - 4], 0xf
push 0
lea eax, [ebp - 0xa8]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
lea ecx, [ebp - 0xa8]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x10
push 0x43a134
lea ecx, [ebp - 0xa8]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLenVar]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2Var]
mov word [ebp - 0xf0], ax
lea edx, [ebp - 0xf0]
push edx
call fcn.00421060
mov edx, eax
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov dword [ebp - 4], 0x11
push 0
push 0xffffffffffffffff
push 1
mov eax, dword [ebp - 0x60]
push eax
push 0x43a134
lea ecx, [ebp - 0x90]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcReplace]
mov edx, eax
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x90]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0x12
mov edx, dword [0x43a28c]
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov dword [ebp - 4], 0x13
push 0
push 0
call dword [sym.imp.ADVAPI32.DLL_GetNumberOfEventLogRecords]
mov dword [ebp - 4], 0x14
mov eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
mov word [ebp - 0xf0], ax
lea ecx, [ebp - 0xf0]
push ecx
call fcn.00421060
mov edx, eax
lea ecx, [ebp - 0x68]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov dword [ebp - 4], 0x15
push 0
push 0
call dword [sym.imp.IMM32.DLL_ImmGetProperty]
mov dword [ebp - 4], 0x16
push 0
push 0xffffffffffffffff
push 1
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcReplace]
mov edx, eax
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov dword [ebp - 4], 0x17
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0xc4], edx
mov dword [ebp - 0xcc], 8
lea eax, [ebp - 0xcc]
push eax
push 0x43a170
lea ecx, [ebp - 0xa8]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea edx, [ebp - 0x90]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
push 0x43a7dc
call fcn.00422770
lea ecx, [ebp - 0x90]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0xa8]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0x18
mov eax, dword [ebp - 0x64]
push eax
push 0x4d
push 0xffffffffffffffff
push 0x220
call dword [sym.imp.MSVBVM60.DLL___vbaFileOpen]
mov dword [ebp - 4], 0x19
cmp dword [0x43ac24], 0
jne 0x42dd78
push 0x43ac24
push 0x4060a0
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x128], 0x43ac24
jmp 0x42dd82
mov dword [ebp - 0x128], 0x43ac24
mov ecx, dword [ebp - 0x128]
mov edx, dword [ecx]
mov dword [ebp - 0xfc], edx
lea eax, [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0xfc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xfc]
push eax
call dword [edx + 0x1c]
fnclex
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0
jge 0x42dddd
push 0x1c
push 0x406090
mov ecx, dword [ebp - 0xfc]
push ecx
mov edx, dword [ebp - 0x100]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x12c], eax
jmp 0x42dde7
mov dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x104], eax
mov dword [ebp - 0xc4], 0x80020004
mov dword [ebp - 0xcc], 0xa
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov ecx, esp
mov edx, dword [ebp - 0xcc]
mov dword [ecx], edx
mov eax, dword [ebp - 0xc8]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xc4]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0xc0]
mov dword [ecx + 0xc], eax
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaStrI2]
mov edx, eax
lea ecx, [ebp - 0x90]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov ecx, dword [ebp - 0x104]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x104]
push eax
call dword [edx + 0x60]
fnclex
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
jge 0x42de93
push 0x60
push 0x4060b0
mov ecx, dword [ebp - 0x104]
push ecx
mov edx, dword [ebp - 0x108]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x130], eax
jmp 0x42de9d
mov dword [ebp - 0x130], 0
lea ecx, [ebp - 0x90]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x98]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov dword [ebp - 4], 0x1a
push 0x4d
lea eax, [ebp - 0x50]
push eax
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaPut3]
mov dword [ebp - 4], 0x1b
push 0x4d
call dword [sym.imp.MSVBVM60.DLL___vbaFileClose]
mov dword [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x64]
push ecx
push 0x17
push 0xffffffffffffffff
push 0x220
call dword [sym.imp.MSVBVM60.DLL___vbaFileOpen]
mov dword [ebp - 4], 0x1d
mov dword [ebp - 0x110], 0x710
mov dword [ebp - 0x10c], 1
mov dword [ebp - 0x8c], 0
jmp 0x42df2c
mov edx, dword [ebp - 0x8c]
add edx, dword [ebp - 0x10c]
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x8c]
cmp eax, dword [ebp - 0x110]
jg 0x42dfe5
mov dword [ebp - 4], 0x1e
cmp dword [0x43a7dc], 0
je 0x42dfa6
mov ecx, dword [0x43a7dc]
cmp word [ecx], 1
jne 0x42dfa6
mov edx, dword [0x43a7dc]
mov eax, dword [ebp - 0x8c]
sub eax, dword [edx + 0x14]
mov dword [ebp - 0xfc], eax
mov ecx, dword [0x43a7dc]
mov edx, dword [ebp - 0xfc]
cmp edx, dword [ecx + 0x10]
jae 0x42df8c
mov dword [ebp - 0x134], 0
jmp 0x42df98
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x138], eax
jmp 0x42dfb2
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x138], eax
push 0x17
mov ecx, dword [0x43a41c]
add ecx, dword [ebp - 0x8c]
push ecx
mov edx, dword [0x43a7dc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp - 0x138]
push eax
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaPut4]
mov dword [ebp - 4], 0x1f
jmp 0x42df1a
mov dword [ebp - 4], 0x20
push 0x17
call dword [sym.imp.MSVBVM60.DLL___vbaFileClose]
jmp 0x42e231
mov dword [ebp - 4], 0x22
push 0
push 2
push 1
push 0
lea ecx, [ebp - 0xbc]
push ecx
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xcc], 3
lea edx, [ebp - 0xcc]
mov ecx, dword [ebp - 0xbc]
xor eax, eax
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0xbc]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xdc], 3
lea edx, [ebp - 0xdc]
mov eax, dword [ebp - 0xbc]
mov ecx, 1
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xec], 0xb
lea edx, [ebp - 0xec]
mov ecx, dword [ebp - 0xbc]
mov eax, 2
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0xbc]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea edx, [ebp - 0xbc]
push edx
mov eax, dword [0x43a7a8]
push eax
push 0x43a714
lea ecx, [ebp - 0x90]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
call fcn.00424b10
lea edx, [ebp - 0xbc]
push edx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
lea ecx, [ebp - 0x90]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0x23
push 0
push 1
push 1
push 0
lea eax, [ebp - 0xbc]
push eax
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
mov ecx, dword [ebp - 0x64]
push ecx
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 - 0xbc]
xor ecx, ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xdc], 3
lea edx, [ebp - 0xdc]
mov ecx, dword [ebp - 0xbc]
mov eax, 1
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0xbc]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea edx, [ebp - 0xbc]
push edx
push 0x43a5f0
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
push 0x43a714
lea ecx, [ebp - 0x90]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
call fcn.00424b10
lea edx, [ebp - 0xbc]
push edx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x90]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
mov dword [ebp - 4], 0x24
push 0
push 0
push 0
call fcn.00405ed8
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x26
push 0
call dword [sym.imp.USER32.DLL_SwapMouseButton]
mov dword [ebp - 4], 0x27
mov dword [ebp - 0xc4], 1
mov dword [ebp - 0xcc], 2
lea edx, [ebp - 0xcc]
mov ecx, 0x43a68c
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 4], 0x28
push 0
call dword [sym.imp.MPR.DLL_WNetCloseEnum]
wait
push 0x42e39e
jmp 0x42e2d1
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
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 - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x68]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x74]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x80]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x84]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x88]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret