Function at 0x44cbb3
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x28
push ebx
push ebp
push esi
push edi
push 0x4631f8
mov dword [0x463358], eax
call dword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
mov esi, 0x463c80
push esi
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryA]
xor ebx, ebx
test eax, eax
jne 0x44cbeb
mov byte [0x463c80], bl
push 0xffffffffffffffff
push esi
call fcn.0044be3e
xor ebp, ebp
inc ebp
cmp dword [0x4674f0], ebp
pop ecx
pop ecx
mov dword [0x463d84], eax
mov byte [esp + 0x10], bl
mov byte [esp + 0x3c], bl
mov edi, ebp
jle 0x44cce1
cmp byte [esp + 0x3c], bl
mov eax, dword [0x4674f4]
mov esi, dword [eax + ebp*4]
je 0x44cc60
push edi
push 0x45674c
lea eax, [esp + 0x20]
push 0x20
push eax
call fcn.0040a9c1
add esp, 0x10
push ebx
push ebx
push ebx
lea eax, [esp + 0x24]
push eax
mov ecx, 0x463de0
call fcn.0041cc48
cmp eax, ebx
je 0x44cea3
push 1
push ebx
push 0xffffffffffffffff
push esi
mov ecx, eax
call fcn.00401525
inc edi
jmp 0x44ccd4
push 0x456748
push esi
call fcn.00441849
test eax, eax
pop ecx
pop ecx
je 0x44cccf
push str._restart
push esi
call fcn.00441849
test eax, eax
pop ecx
pop ecx
je 0x44cccf
push 0x456738
push esi
call fcn.00441849
test eax, eax
pop ecx
pop ecx
je 0x44ccc6
push str._force
push esi
call fcn.00441849
test eax, eax
pop ecx
pop ecx
je 0x44ccc6
push str._ErrorStdOut
push esi
call fcn.00441849
test eax, eax
pop ecx
pop ecx
jne 0x44ccbe
mov byte [0x464290], 1
jmp 0x44ccd4
mov byte [esp + 0x3c], 1
dec ebp
jmp 0x44ccd4
mov byte [0x46349c], 1
jmp 0x44ccd4
mov byte [esp + 0x10], 1
inc ebp
cmp ebp, dword [0x4674f0]
jl 0x44cc13
push ebx
push ebx
push ebx
mov esi, 0x463de0
push 0x45671c
mov ecx, esi
call fcn.0041cc48
cmp eax, ebx
je 0x44cea3
dec edi
push edi
mov ecx, eax
call fcn.0040185b
mov edi, 0x463218
push edi
call fcn.0040aaed
pop ecx
push dword [esp + 0x10]
mov ecx, esi
push 0x4565d8
call fcn.0044d24b
xor ebp, ebp
inc ebp
cmp eax, ebp
jne 0x44cea3
push 0x140
push edi
push 0x462fa8
call fcn.00453500
add esp, 0xc
mov ecx, esi
call fcn.004469e4
cmp eax, 0xffffffff
je 0x44cea3
cmp eax, ebx
je 0x44cfc6
cmp dword [0x4634a0], ebx
jne 0x44cd90
mov eax, dword [0x4621d0]
cmp word [eax], bx
jne 0x44cd8a
cmp dword [0x465034], ebx
jne 0x44cd8a
cmp dword [0x463490], ebx
jne 0x44cd8a
cmp dword [0x463494], ebx
jne 0x44cd8a
cmp byte [0x4634a4], bl
je 0x44ce06
mov dword [0x4634a0], ebp
cmp dword [0x4634a0], 4
je 0x44ce06
cmp byte [esp + 0x10], bl
jne 0x44ce10
cmp byte [0x46349c], bl
jne 0x44ce92
push dword [0x464288]
push str.AutoHotkey
call dword [sym.imp.USER32.dll_FindWindowA]
mov ebp, eax
cmp ebp, ebx
je 0x44ce92
mov eax, dword [0x4634a0]
cmp eax, 3
je 0x44cfc6
cmp eax, 2
je 0x44cdff
push ebx
fldz
push ecx
push ecx
fstp qword [esp]
push dword [0x46427c]
push 4
push str.An_older_instance_of_this_script_is_already_running.__Replace_it_with_this_instance__nNote:_To_avoid_this_message__see_SingleInstance_in_the_help_file.
call fcn.0043b595
add esp, 0x18
cmp eax, 7
je 0x44cfc6
mov eax, 0x407
jmp 0x44ce2c
cmp byte [esp + 0x10], bl
je 0x44ce92
push dword [0x464288]
push str.AutoHotkey
call dword [sym.imp.USER32.dll_FindWindowA]
mov ebp, eax
cmp ebp, ebx
je 0x44ce92
mov eax, 0x406
push ebx
push eax
push 0x44
push ebp
call dword [sym.imp.USER32.dll_PostMessageA]
mov esi, dword [sym.imp.KERNEL32.DLL_Sleep]
push 0x14
mov dword [esp + 0x40], ebx
call esi
mov edi, dword [sym.imp.USER32.dll_IsWindow]
jmp 0x44ce7d
cmp dword [esp + 0x3c], 0x64
jne 0x44ce75
push ebx
fldz
push ecx
push ecx
fstp qword [esp]
push ebx
push 4
push str.Could_not_close_the_previous_instance_of_this_script.__Keep_waiting_
call fcn.0043b595
add esp, 0x18
cmp eax, 7
je 0x44cea3
mov dword [esp + 0x3c], ebx
inc dword [esp + 0x3c]
push 0x14
call esi
push ebp
call edi
test eax, eax
jne 0x44ce4d
push 0x64
call esi
mov edi, 0x463218
mov esi, 0x463de0
call fcn.0043b710
mov ecx, esi
call fcn.0044cfd2
cmp eax, 1
je 0x44ceab
push 2
pop eax
jmp 0x44cfc8
mov eax, dword [0x46106c]
cmp eax, ebx
je 0x44cedb
imul eax, eax, 0x70
push eax
call fcn.0043e9ea
cmp eax, ebx
pop ecx
mov dword [0x463d8c], eax
je 0x44cedb
mov ecx, dword [0x46106c]
imul ecx, ecx, 0x70
push ecx
push ebx
push eax
call fcn.004539d0
add esp, 0xc
cmp byte [0x46449f], bl
jne 0x44cf1d
push str.InitCommonControlsEx
push str.comctl32
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp eax, ebx
je 0x44cf17
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], 0x1ff
call eax
jmp 0x44cf1d
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
call fcn.0040f749
mov ecx, esi
mov byte [0x46428c], 1
call fcn.0044684f
mov ecx, dword [0x4621d0]
cmp word [ecx], bx
jne 0x44cf6e
cmp dword [0x465034], ebx
jne 0x44cf6e
cmp dword [0x463490], ebx
jne 0x44cf6e
cmp dword [0x463494], ebx
jne 0x44cf6e
cmp byte [0x4634a4], bl
jne 0x44cf6e
neg eax
sbb eax, eax
and eax, 7
push ebx
inc eax
push ebx
inc eax
push eax
mov ecx, esi
call fcn.00415d8b
push edi
call fcn.0040aa9d
mov dword [esp], 0x140
push edi
push 0x462fa8
call fcn.00453500
mov ecx, dword [0x463c78]
add esp, 0xc
push 1
push ebx
push 0xffffffffffffffff
push 0x45671c
call fcn.00401525
push ebx
push 0xa
mov dword [0x463244], 0x80000000
mov byte [0x46334e], bl
mov byte [0x46334d], 1
mov byte [0x46334c], 1
call fcn.0040bd90
pop ecx
pop ecx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x10