Function at 0x427620
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bb8ef
mov eax, dword fs:[0]
push eax
sub esp, 0x170
push ebx
push esi
push edi
mov eax, dword [0x4e88d0]
xor eax, esp
push eax
lea eax, [esp + 0x180]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
cmp dword [edi + 0xec], 0
jne 0x42775a
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x4f3f2c]
push eax
add ecx, 0x5b4
mov dword [edi + 0xec], 1
call fcn.0047b2c9
mov ebx, eax
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x42770f
cmp dword [ebx + 8], 0
je 0x42770f
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4276c8
push 0
mov ecx, edi
call fcn.00478c1f
call fcn.00403a30
mov esi, 6
call fcn.00403a30
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esi, 1
jne 0x4276b6
mov eax, dword [ebx + 4]
push ecx
sub eax, 0x10
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.00401da0
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004273a0
mov eax, dword [ebx + 4]
add esp, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x427772
mov edx, dword [ebp + 0xc]
push str.Script_file_does_not_exist_
push 2
push edx
lea ecx, [edi + 0x5b4]
call fcn.0047b29c
push 1
lea ecx, [edi + 0x608]
mov dword [edi + 0xec], 0
call fcn.00478c61
push 1
lea ecx, [edi + 0x65c]
call fcn.00478c61
push 1
lea ecx, [edi + 0x6b0]
call fcn.00478c61
push 1
lea ecx, [edi + 0x704]
call fcn.00478c61
push 1
lea ecx, [edi + 0x758]
call fcn.00478c61
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x4f43a4]
mov eax, dword [eax]
mov esi, dword [0x4f438c]
mov ebx, eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
lea esp, [esp]
mov edi, dword [0x4f43a4]
test esi, esi
je 0x4277a2
cmp esi, dword [0x4f438c]
je 0x4277a7
call fcn.00493571
cmp ebx, edi
je 0x427831
test esi, esi
jne 0x427825
call fcn.00493571
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x4277c4
call fcn.00493571
cmp dword [ebx + 0x10], 0
je 0x42780f
test esi, esi
jne 0x427829
call fcn.00493571
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x4277df
call fcn.00493571
mov edi, dword [ebx + 0x10]
test edi, edi
je 0x4277f5
push edi
call fcn.00407ed0
push edi
call fcn.00472674
add esp, 4
test esi, esi
jne 0x42782d
call fcn.00493571
cmp ebx, dword [esi + 0x18]
jne 0x427808
call fcn.00493571
mov dword [ebx + 0x10], 0
lea esi, [esp + 0x18]
call fcn.00465b40
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x427790
mov eax, dword [esi]
jmp 0x4277ba
mov eax, dword [esi]
jmp 0x4277d5
mov esi, dword [esi]
jmp 0x4277fe
mov ecx, dword [0x4f43a4]
mov edx, dword [ecx + 4]
push edx
mov ecx, 0x4f438c
call fcn.0042c940
mov eax, dword [0x4f43a4]
mov dword [eax + 4], eax
mov eax, dword [0x4f43a4]
xor edi, edi
mov dword [0x4f43a8], edi
mov dword [eax], eax
mov eax, dword [0x4f43a4]
mov dword [eax + 8], eax
mov eax, dword [0x4f43c4]
mov ecx, dword [eax + 4]
push ecx
mov ecx, 0x4f43ac
call fcn.0042cc60
mov eax, dword [0x4f43c4]
mov dword [eax + 4], eax
mov eax, dword [0x4f43c4]
mov dword [0x4f43c8], edi
mov dword [eax], eax
mov eax, dword [0x4f43c4]
push 4
mov dword [eax + 8], eax
call fcn.0047263a
add esp, 4
cmp eax, edi
je 0x4278aa
lea edx, [esp + 0x2c]
mov dword [eax], edx
jmp 0x4278ac
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x188], 1
call fcn.0047b116
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4278f5
push 0x80004005
call fcn.00402120
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x188], 2
call fcn.0047b116
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x427927
push 0x80004005
call fcn.00402120
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x20], esi
mov byte [esp + 0x188], 3
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 4]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.004252d0
add esp, 8
test eax, eax
je 0x42796a
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.004259a0
add esp, 8
test eax, eax
jne 0x4279e8
mov ecx, dword [ebp + 0xc]
push str.Load_script_script_failed_
push 2
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x5b4
call fcn.0047b29c
lea eax, [esi - 0x10]
mov byte [esp + 0x188], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4279a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x188], 1
lea eax, [ebx - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4279cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x18c], 0xffffffff
call fcn.00407ed0
mov edi, dword [ebp + 8]
jmp 0x42770f
mov esi, dword [ebp + 8]
push edi
lea ecx, [esi + 0x608]
call fcn.00478c61
push edi
lea ecx, [esi + 0x65c]
call fcn.00478c61
push edi
lea ecx, [esi + 0x6b0]
call fcn.00478c61
push edi
lea ecx, [esi + 0x704]
call fcn.00478c61
push edi
lea ecx, [esi + 0x758]
call fcn.00478c61
call fcn.0047b116
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x427a41
push 0x80004005
call fcn.00402120
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov byte [esp + 0x188], 4
mov eax, dword [esi - 8]
mov edi, dword [0x4f4380]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x427a85
push 0x104
lea ecx, [esp + 0x18]
call fcn.004020a0
mov esi, dword [esp + 0x14]
push edi
push 0x104
push esi
push 0x4c5280
push 0x4c8870
push str.HotkeyOpt
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00491b18
add esp, 8
test eax, eax
jl 0x427dea
cmp eax, dword [esi - 8]
jg 0x427dea
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov ecx, 0x4c5280
mov eax, esi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x427af6
test dx, dx
je 0x427af2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x427af6
add eax, 4
add ecx, 4
test dx, dx
jne 0x427ad0
xor eax, eax
jmp 0x427afb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
movzx edi, al
mov dword [0x4f4140], 0
call fcn.0047b116
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x427b27
push 0x80004005
call fcn.00402120
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x188], 5
call fcn.0041ab00
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [0x4f3f2c]
mov ebx, dword [ebp + 0xc]
push str.Running...
push 2
push ebx
add ecx, 0x5b4
call fcn.0047b29c
call fcn.00403a30
test edi, edi
je 0x427b84
push 0x96
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Beep]
lea edx, [esp + 0x10]
push str.Repeat_1_times__current_1
push edx
call fcn.004021f0
mov eax, dword [0x4f3e0c]
add esp, 8
test eax, eax
je 0x427baf
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [eax + 0x188]
call fcn.00478b7d
push 1
push 0
push 1
lea edx, [esp + 0x38]
push 0
push edx
call fcn.00420990
add esp, 0x14
test edi, edi
je 0x427bd8
push 0x96
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Beep]
call fcn.0041a060
call fcn.00442df0
mov eax, dword [0x4f44cc]
mov ecx, dword [eax + 4]
push ecx
mov ecx, 0x4f44b4
call fcn.0042b8f0
mov eax, dword [0x4f44cc]
mov dword [eax + 4], eax
mov eax, dword [0x4f44cc]
xor edi, edi
mov dword [0x4f44d0], edi
mov dword [eax], eax
mov eax, dword [0x4f44cc]
mov dword [eax + 8], eax
call fcn.0045ed70
push str.Enabled
mov dword [0x4f3e0c], edi
mov edi, dword [ebp + 8]
push 2
push ebx
lea ecx, [edi + 0x5b4]
mov dword [0x4f4140], 1
call fcn.0047b29c
call fcn.00403a30
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push edx
push eax
call dword [sym.imp.USER32.dll_SetCursorPos]
cmp dword [0x4f3e14], 0
jne 0x427d34
inc dword [edi + 0x554]
cmp dword [edi + 0x554], 0xa
jb 0x427d34
push 0
lea ecx, [esp + 0x58]
push ecx
mov dword [edi + 0x554], 0
call fcn.00432260
lea ecx, [esp + 0x54]
mov byte [esp + 0x188], 6
call fcn.00472dfc
lea ecx, [esp + 0x54]
mov byte [esp + 0x188], 5
call fcn.004323a0
mov byte [esp + 0x188], 4
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x427cd4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x188], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427cf8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x188], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427d20
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x188], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
jmp 0x4279b2
mov byte [esp + 0x188], 4
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x427d5c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x188], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427d80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x188], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427da8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x188], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427dd0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x18c], 0xffffffff
call fcn.00407ed0
jmp 0x42770f
push 0x80070057
call fcn.00402120
int3