Function at 0x403730
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41e528
push eax
mov dword fs:[0], esp
sub esp, 0xb0
lea eax, [esp + 0x38]
push ebx
push ebp
push esi
push edi
push eax
mov ebp, ecx
push 0x64
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, str.AutoClick.ini
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x48]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0xe0c]
mov ecx, ebx
and ecx, 3
xor ebx, ebx
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
sub eax, ebx
je 0x4037bc
dec eax
je 0x4037b0
dec eax
jne 0x4037d2
lea eax, [esp + 0x48]
push eax
push str.MOUSE_MIDDLE
jmp 0x4037c6
lea ecx, [esp + 0x48]
push ecx
push str.MOUSE_RIGHT
jmp 0x4037c6
lea edx, [esp + 0x48]
push edx
push str.MOUSE_LEFT
push str.MouseSel
push str.Mouse
call esi
mov eax, dword [ebp + 0xe08]
sub eax, ebx
je 0x4037eb
dec eax
jne 0x403801
lea eax, [esp + 0x48]
push eax
push str.CLICK_DOUBLE
jmp 0x4037f5
lea ecx, [esp + 0x48]
push ecx
push str.CLICK_SINGLE
push str.ClickSel
push str.Click
call esi
cmp dword [ebp + 0x1ec], ebx
je 0x403815
lea edx, [esp + 0x48]
push edx
push str.TRUE
jmp 0x40381f
lea eax, [esp + 0x48]
push eax
push str.FALSE
push str.m_nCounter
push str.Counter
call esi
mov edx, dword [ebp + 0x1f0]
mov edi, dword [sym.imp.MSVCRT.dll__itoa]
lea ecx, [esp + 0x14]
push 0xa
push ecx
push edx
call edi
add esp, 0xc
lea eax, [esp + 0x48]
lea ecx, [esp + 0x14]
push eax
push ecx
push str.m_nTimes
push str.Counter
call esi
mov eax, dword [ebp + 0xe20]
sub eax, ebx
je 0x403884
sub eax, 2
je 0x403878
dec eax
jne 0x40389a
lea edx, [esp + 0x48]
push edx
push str.MOD_CONTROL__MOD_ALT
jmp 0x40388e
lea eax, [esp + 0x48]
push eax
push str.MOD_CONTROL
jmp 0x40388e
lea ecx, [esp + 0x48]
push ecx
push str.NULL
push str.Hotkey1
push str.AutoClick_Hotkey
call esi
mov eax, dword [ebp + 0xe1c]
lea edx, [esp + 0x14]
push 0xa
push edx
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0x48]
lea edx, [esp + 0x14]
push ecx
push edx
push str.Hotkey2
push str.AutoClick_Hotkey
call esi
mov ecx, dword [ebp + 0x214]
lea eax, [esp + 0x14]
push 0xa
push eax
push ecx
call edi
add esp, 0xc
lea edx, [esp + 0x48]
lea eax, [esp + 0x14]
push edx
push eax
push str.m_nHour
push str.Click_Interval
call esi
mov edx, dword [ebp + 0x218]
lea ecx, [esp + 0x14]
push 0xa
push ecx
push edx
call edi
add esp, 0xc
lea eax, [esp + 0x48]
lea ecx, [esp + 0x14]
push eax
push ecx
push str.m_nMinute
push str.Click_Interval
call esi
mov eax, dword [ebp + 0x21c]
lea edx, [esp + 0x14]
push 0xa
push edx
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0x48]
lea edx, [esp + 0x14]
push ecx
push edx
push str.m_nSecond
push str.Click_Interval
call esi
mov ecx, dword [ebp + 0x220]
lea eax, [esp + 0x14]
push 0xa
push eax
push ecx
call edi
add esp, 0xc
lea edx, [esp + 0x48]
lea eax, [esp + 0x14]
push edx
push eax
push str.m_n10s
push str.Click_Interval
call esi
mov edx, dword [ebp + 0x224]
lea ecx, [esp + 0x14]
push 0xa
push ecx
push edx
call edi
add esp, 0xc
lea eax, [esp + 0x48]
lea ecx, [esp + 0x14]
push eax
push ecx
push str.m_n100s
push str.Click_Interval
call esi
mov eax, dword [ebp + 0x228]
lea edx, [esp + 0x14]
push 0xa
push edx
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0x48]
lea edx, [esp + 0x14]
push ecx
push edx
push str.m_n1000s
push str.Click_Interval
call esi
cmp dword [ebp + 0x1e8], ebx
je 0x4039cd
lea eax, [esp + 0x48]
push eax
push str.TRUE
jmp 0x4039d7
lea ecx, [esp + 0x48]
push ecx
push str.FALSE
push str.m_nStick
push str.Other_Setting
call esi
cmp dword [ebp + 0x22c], ebx
je 0x4039f7
lea edx, [esp + 0x48]
push edx
push str.TRUE
jmp 0x403a01
lea eax, [esp + 0x48]
push eax
push str.FALSE
push str.m_nTop
push str.Other_Setting
call esi
cmp dword [ebp + 0x1f4], ebx
je 0x403a21
lea ecx, [esp + 0x48]
push ecx
push str.TRUE
jmp 0x403a2b
lea edx, [esp + 0x48]
push edx
push str.FALSE
push str.m_nHide
push str.Other_Setting
call esi
cmp dword [ebp + 0x210], ebx
je 0x403a4b
lea eax, [esp + 0x48]
push eax
push str.TRUE
jmp 0x403a55
lea ecx, [esp + 0x48]
push ecx
push str.FALSE
push str.m_nShow
push str.Other_Setting
call esi
lea edx, [esp + 0x48]
push edx
push ebx
push ebx
push str.Smart_Click
call esi
cmp dword [ebp + 0x1f8], ebx
je 0x403a83
lea eax, [esp + 0x48]
push eax
push str.TRUE
jmp 0x403a8d
lea ecx, [esp + 0x48]
push ecx
push str.FALSE
push str.m_nSmartClick
push str.Smart_Click
call esi
mov eax, dword [ebp + 0x1fc]
lea edx, [esp + 0x14]
push 0xa
push edx
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0x48]
lea edx, [esp + 0x14]
push ecx
push edx
push str.m_nTotal
push str.Smart_Click
call esi
lea ecx, [esp + 0x2c]
call fcn.0041dd5c
lea ecx, [esp + 0x28]
mov dword [esp + 0xc8], ebx
call fcn.0041dd5c
mov eax, dword [ebp + 0x1fc]
mov byte [esp + 0xc8], 1
test eax, eax
jle 0x403c87
lea eax, [ebp + 0x240]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0xac]
push 0xa
push ecx
push ebx
call edi
add esp, 0xc
lea edx, [esp + 0xac]
lea ecx, [esp + 0x30]
push edx
call sub.MFC42.DLL_CString::CString_1
push eax
lea eax, [esp + 0x40]
push str.m_nX_
push eax
mov byte [esp + 0xd4], 2
call sub.MFC42.DLL_operator_1
push 0x424304
lea ecx, [esp + 0x3c]
push eax
push ecx
mov byte [esp + 0xd4], 3
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0xcc], 4
call fcn.0041de40
lea ecx, [esp + 0x38]
mov byte [esp + 0xc8], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0xc8], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0xc8], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0xa
push edx
mov ecx, dword [eax + 0x384]
push ecx
call edi
mov ecx, dword [esp + 0x38]
add esp, 0xc
lea edx, [esp + 0x48]
lea eax, [esp + 0x14]
push edx
push eax
push ecx
push str.Smart_Click
call esi
lea edx, [esp + 0xac]
lea ecx, [esp + 0x34]
push edx
call sub.MFC42.DLL_CString::CString_1
push eax
lea eax, [esp + 0x44]
push str.m_nY_
push eax
mov byte [esp + 0xd4], 5
call sub.MFC42.DLL_operator_1
push 0x424304
lea ecx, [esp + 0x48]
push eax
push ecx
mov byte [esp + 0xd4], 6
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xcc], 7
call fcn.0041de40
lea ecx, [esp + 0x44]
mov byte [esp + 0xc8], 6
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0xc8], 5
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0xc8], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0xa
push edx
mov ecx, dword [eax]
push ecx
call edi
mov ecx, dword [esp + 0x34]
add esp, 0xc
lea edx, [esp + 0x48]
lea eax, [esp + 0x14]
push edx
push eax
push ecx
push str.Smart_Click
call esi
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + 0x1fc]
inc ebx
add ecx, 4
cmp ebx, eax
mov dword [esp + 0x10], ecx
jl 0x403afb
mov eax, dword [ebp + 0xe18]
sub eax, 0
je 0x403cb2
sub eax, 2
je 0x403ca6
dec eax
jne 0x403cc8
lea edx, [esp + 0x48]
push edx
push str.MOD_CONTROL__MOD_ALT
jmp 0x403cbc
lea eax, [esp + 0x48]
push eax
push str.MOD_CONTROL
jmp 0x403cbc
lea ecx, [esp + 0x48]
push ecx
push str.NULL
push str.Hotkey3
push str.Record_Hotkey
call esi
mov eax, dword [ebp + 0xe14]
lea edx, [esp + 0x14]
push 0xa
push edx
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0x48]
lea edx, [esp + 0x14]
push ecx
push edx
push str.Hotkey4
push str.Record_Hotkey
call esi
lea ecx, [esp + 0x28]
mov byte [esp + 0xc8], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov dword [esp + 0xc8], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xbc
ret