Function at 0x4a7213
Capabilities:
Check if file exists

Disassembly:
push 0x80
mov eax, 0x5e37ac
call fcn.004c281e
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.00419490
pop ecx
xor ebx, ebx
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], ebx
call fcn.0046b6a9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
mov edi, eax
call fcn.00405040
test edi, edi
jne 0x4a726d
xor al, al
jmp 0x4a74e9
push dword [ebp + 0x14]
lea ecx, [ebp - 0x78]
call fcn.00404f90
push 0xfde9
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x58]
call fcn.00419490
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
mov dword [esp], 0x61ed04
call fcn.004050d0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x40]
call fcn.0046cf13
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.00473c51
pop ecx
pop ecx
test al, al
je 0x4a747f
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 0x4a747f
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 0x4a7427
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 0x628380
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 0x628380
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.00419490
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 0x628380
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 0x4a7422
call fcn.00405040
mov bl, 1
jmp 0x4a74db
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.00419490
push ebx
lea edx, [ebp - 0x80]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
call fcn.00419490
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.004a6808
add esp, 0x10
mov byte [ebp - 4], 8
mov bl, al
jmp 0x4a74c7
push dword [ebp + 0x1c]
lea ecx, [ebp - 0x78]
call fcn.00404f90
push 0x10
mov edx, 0x61a400
lea ecx, [ebp - 0x28]
call fcn.0046b36e
mov esi, eax
mov byte [ebp - 4], 4
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x40]
mov dword [esp], 0xfde9
call fcn.00419490
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.004c27c8
ret 0x18