Function at 0x4a7283
Capabilities:
Check if file exists

Disassembly:
push 0x80
mov eax, 0x5e37bc
call fcn.004c2889
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x78]
push dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x7c], eax
call fcn.00404f90
push 0xfde9
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x70]
call fcn.00419480
pop ecx
xor ebx, ebx
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], ebx
call fcn.0046b71d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
mov edi, eax
call fcn.00405040
test edi, edi
jne 0x4a72dd
xor al, al
jmp 0x4a7559
push dword [ebp + 0x14]
lea ecx, [ebp - 0x78]
call fcn.00404f90
push 0xfde9
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x58]
call fcn.00419480
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
mov dword [esp], 0x61ed1c
call fcn.004050d0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x40]
call fcn.0046cf87
pop ecx
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.00405080
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00405040
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00405040
push ecx
push dword [ebp - 0x7c]
lea edx, [ebp - 0x58]
mov ecx, esi
call fcn.00473cc4
pop ecx
pop ecx
test al, al
je 0x4a74ef
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a74ef
push str.EAF8E268_4492_413c_850C_DA98A6958FE3
push str.972D3542_4E7A_4b25_AEFD_3BF58C044EDA
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x4a7497
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x28]
push ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 7
call fcn.004059c0
push str.START
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.00404ff0
push 1
push 0x628390
lea ecx, [ebp - 0x28]
call fcn.00405c90
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.004066d0
push 1
push 0x628390
lea ecx, [ebp - 0x28]
call fcn.00405c90
push dword [ebp + 0x18]
lea ecx, [ebp - 0x78]
call fcn.00404f90
push 0xfde9
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x40]
call fcn.00419480
pop ecx
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x28]
call fcn.004066d0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.00405040
push 1
push 0x628390
lea ecx, [ebp - 0x28]
call fcn.00405c90
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x8c], 0x100
mov dword [ebp - 0x7c], ebx
lea eax, [eax*2 + 2]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x7c]
push eax
push 0x7530
push 2
lea eax, [ebp - 0x8c]
push eax
push ebx
push 0x4a
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
test eax, eax
je 0x4a7492
call fcn.00405040
mov bl, 1
jmp 0x4a754b
call fcn.00405040
push dword [ebp + 0x1c]
lea ecx, [ebp - 0x78]
call fcn.00404f90
push dword [ebp + 0x18]
lea ecx, [ebp - 0x80]
call fcn.00404f90
mov ebx, 0xfde9
lea edx, [ebp - 0x78]
push ebx
lea ecx, [ebp - 0x28]
call fcn.00419480
push ebx
lea edx, [ebp - 0x80]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
call fcn.00419480
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
lea edx, [ebp - 0x58]
call fcn.004a6878
add esp, 0x10
mov byte [ebp - 4], 8
mov bl, al
jmp 0x4a7537
push dword [ebp + 0x1c]
lea ecx, [ebp - 0x78]
call fcn.00404f90
push 0x10
mov edx, 0x61a418
lea ecx, [ebp - 0x28]
call fcn.0046b3e0
mov esi, eax
mov byte [ebp - 4], 4
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x40]
mov dword [esp], 0xfde9
call fcn.00419480
pop ecx
push ebx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
mov eax, dword [edi]
push esi
push ecx
mov ecx, edi
call dword [eax + 0xc]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00405040
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00405040
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00405040
mov al, bl
call fcn.004c2833
ret 0x18