Function at 0x423690
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, 0xf0
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x402248
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x44]
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
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x68], 2
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x78]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcVarFromError]
lea edx, [ebp - 0x78]
push edx
lea eax, [ebp - 0x68]
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
push 0
call fcn.00405fc8
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 5
mov word [ebp - 0x40], 2
mov dword [ebp - 4], 6
cmp dword [0x43ac24], 0
jne 0x423779
push 0x43ac24
push 0x4060a0
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0xf0], 0x43ac24
jmp 0x423783
mov dword [ebp - 0xf0], 0x43ac24
mov ecx, dword [ebp - 0xf0]
mov edx, dword [ecx]
mov dword [ebp - 0xcc], edx
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xcc]
push eax
call dword [edx + 0x1c]
fnclex
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0
jge 0x4237db
push 0x1c
push 0x406090
mov ecx, dword [ebp - 0xcc]
push ecx
mov edx, dword [ebp - 0xd0]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xf4], eax
jmp 0x4237e5
mov dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0x84], 0x80020004
mov dword [ebp - 0x8c], 0xa
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov ecx, esp
mov edx, dword [ebp - 0x8c]
mov dword [ecx], edx
mov eax, dword [ebp - 0x88]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x84]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x80]
mov dword [ecx + 0xc], eax
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaStrI2]
mov edx, eax
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xd4]
push eax
call dword [edx + 0x60]
fnclex
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0
jge 0x423888
push 0x60
push 0x4060b0
mov ecx, dword [ebp - 0xd4]
push ecx
mov edx, dword [ebp - 0xd8]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xf8], eax
jmp 0x423892
mov dword [ebp - 0xf8], 0
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov dword [ebp - 4], 7
cmp dword [0x43ac24], 0
jne 0x4238d0
push 0x43ac24
push 0x4060a0
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0xfc], 0x43ac24
jmp 0x4238da
mov dword [ebp - 0xfc], 0x43ac24
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax]
mov dword [ebp - 0xcc], ecx
lea edx, [ebp - 0x58]
push edx
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xcc]
push edx
call dword [ecx + 0x1c]
fnclex
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0
jge 0x423932
push 0x1c
push 0x406090
mov eax, dword [ebp - 0xcc]
push eax
mov ecx, dword [ebp - 0xd0]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x100], eax
jmp 0x42393c
mov dword [ebp - 0x100], 0
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0xd4], edx
mov dword [ebp - 0x84], 0x80020004
mov dword [ebp - 0x8c], 0xa
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [ebp - 0x8c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x88]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x84]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x80]
mov dword [eax + 0xc], edx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaStrI2]
mov edx, eax
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xd4]
push edx
call dword [ecx + 0x60]
fnclex
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0
jge 0x4239df
push 0x60
push 0x4060b0
mov eax, dword [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 0xd8]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x104], eax
jmp 0x4239e9
mov dword [ebp - 0x104], 0
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov dword [ebp - 4], 8
push 0
push 0
push 1
push 0
lea edx, [ebp - 0x7c]
push edx
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
lea eax, [ebp + 0xc]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x8c], 0x4003
lea edx, [ebp - 0x8c]
mov ecx, dword [ebp - 0x7c]
xor eax, eax
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x7c]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarZero]
lea edx, [ebp - 0x7c]
push edx
push 0x43a540
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
mov ecx, dword [0x43a0ac]
push ecx
call fcn.00424b10
mov dword [ebp - 0xc0], eax
lea edx, [ebp - 0x7c]
push edx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
mov ax, word [ebp - 0xc0]
mov word [ebp - 0x3e], ax
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 9
mov dword [ebp - 0x70], 0x80020004
mov dword [ebp - 0x78], 0xa
mov dword [ebp - 0x60], 0x80020004
mov dword [ebp - 0x68], 0xa
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0x68]
push edx
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 - 0xc8]
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x68]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 4], 0xa
lea edx, [ebp - 0x44]
push edx
call fcn.00422130
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0xb
push 0
push 2
push 1
push 0
lea eax, [ebp - 0x7c]
push eax
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
mov dword [ebp - 0x84], 2
mov dword [ebp - 0x8c], 2
lea edx, [ebp - 0x8c]
mov ecx, dword [ebp - 0x7c]
xor eax, eax
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x7c]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 0x94], 1
mov dword [ebp - 0x9c], 3
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x7c]
mov ecx, 1
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 0xa4], 6
mov dword [ebp - 0xac], 2
lea edx, [ebp - 0xac]
mov ecx, dword [ebp - 0x7c]
mov eax, 2
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x7c]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea edx, [ebp - 0x7c]
push edx
push 0x43a4a4
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
mov ecx, dword [0x43a0ac]
push ecx
call fcn.00424b10
mov dword [ebp - 0xc0], eax
lea edx, [ebp - 0x7c]
push edx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0xc
cmp dword [0x43ac24], 0
jne 0x423c35
push 0x43ac24
push 0x4060a0
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x108], 0x43ac24
jmp 0x423c3f
mov dword [ebp - 0x108], 0x43ac24
mov ecx, dword [ebp - 0x108]
mov edx, dword [ecx]
mov dword [ebp - 0xcc], edx
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xcc]
push eax
call dword [edx + 0x1c]
fnclex
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0
jge 0x423c97
push 0x1c
push 0x406090
mov ecx, dword [ebp - 0xcc]
push ecx
mov edx, dword [ebp - 0xd0]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x10c], eax
jmp 0x423ca1
mov dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0x84], 0x80020004
mov dword [ebp - 0x8c], 0xa
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov ecx, esp
mov edx, dword [ebp - 0x8c]
mov dword [ecx], edx
mov eax, dword [ebp - 0x88]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x84]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x80]
mov dword [ecx + 0xc], eax
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaStrI2]
mov edx, eax
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xd4]
push eax
call dword [edx + 0x60]
fnclex
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0
jge 0x423d44
push 0x60
push 0x4060b0
mov ecx, dword [ebp - 0xd4]
push ecx
mov edx, dword [ebp - 0xd8]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x110], eax
jmp 0x423d4e
mov dword [ebp - 0x110], 0
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov dword [ebp - 4], 0xd
push 0
push 2
push 1
push 0
lea eax, [ebp - 0x7c]
push eax
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x8c], 0x4003
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 0x7c]
xor ecx, ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarZero]
lea ecx, [ebp - 0x40]
push ecx
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x9c], 3
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x7c]
mov ecx, 1
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 0xa4], 0x10
mov dword [ebp - 0xac], 2
lea edx, [ebp - 0xac]
mov ecx, dword [ebp - 0x7c]
mov eax, 2
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x7c]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea edx, [ebp - 0x7c]
push edx
push 0x43a424
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
mov ecx, dword [0x43a0ac]
push ecx
call fcn.00424b10
mov dword [ebp - 0xc0], eax
lea edx, [ebp - 0x7c]
push edx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0xe
push 0
push 0
call dword [sym.imp.ADVAPI32.DLL_GetNumberOfEventLogRecords]
mov dword [ebp - 4], 0xf
mov dword [ebp - 0x48], 0x33
mov dword [ebp - 4], 0x10
push 0
push 3
push 1
push 0
lea ecx, [ebp - 0x7c]
push ecx
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
lea edx, [ebp - 0x28]
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x8c], 0x4003
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 0x7c]
xor ecx, ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarZero]
lea ecx, [ebp + 0x10]
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x9c], 0x4003
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x7c]
mov ecx, 1
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarZero]
mov dword [ebp - 0xa4], 0x401
mov dword [ebp - 0xac], 2
lea edx, [ebp - 0xac]
mov ecx, dword [ebp - 0x7c]
mov eax, 2
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x7c]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea edx, [ebp - 0x48]
mov dword [ebp - 0xb4], edx
mov dword [ebp - 0xbc], 0x4003
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 0x7c]
mov ecx, 3
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarZero]
lea ecx, [ebp - 0x7c]
push ecx
mov edx, dword [0x43a510]
push edx
mov eax, dword [0x43a0ac]
push eax
call fcn.00424b10
lea ecx, [ebp - 0x7c]
push ecx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
mov dword [ebp - 4], 0x11
cmp dword [ebp - 0x50], 0xffffffff
jne 0x423fd6
mov dword [ebp - 4], 0x12
push 0
push 0
push 0
call fcn.00405ed8
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x13
mov dword [ebp - 0x4c], 0
jmp 0x424016
mov dword [ebp - 4], 0x15
push 0
call dword [sym.imp.USER32.DLL_SwapMouseButton]
mov dword [ebp - 4], 0x16
cmp dword [ebp - 0x3c], 0xffffffff
je 0x423ff8
cmp dword [ebp - 0x3c], 0
jne 0x424008
mov dword [ebp - 4], 0x17
mov dword [ebp - 0x4c], 0
jmp 0x424016
mov dword [ebp - 4], 0x19
mov dword [ebp - 0x4c], 1
mov dword [ebp - 4], 0x1c
call fcn.00406050
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x1d
push 0
call dword [sym.imp.USER32.DLL_SwapMouseButton]
wait
push 0x42407b
jmp 0x424071
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret