Function at 0x4f2a00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58bc35
mov eax, dword fs:[0]
push eax
sub esp, 0xb3c
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb48], ecx
mov dword [ebp - 0xb44], 0
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x4f2be7
push 0
push 0x59df60
push 0
push 0
push 0
push 1
lea ecx, [ebp - 0x6ac]
call fcn.00416ae0
mov dword [ebp - 4], 0
mov ecx, dword [0x59dffc]
mov dword [ebp - 0x21c], ecx
push 0x204
push 0
lea edx, [ebp - 0x218]
push edx
call fcn.005533a0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
call fcn.004011a0
add esp, 4
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x220]
call fcn.0041d9b0
mov byte [ebp - 4], 1
push 0x59e000
lea ecx, [ebp - 0x220]
call fcn.0041db50
lea ecx, [ebp - 0x220]
call fcn.0041e1e0
mov dword [ebp - 0x660], eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x6ac]
call fcn.0041ef40
cmp eax, 1
jne 0x4f2bc1
lea edx, [ebp - 0x430]
push edx
lea ecx, [ebp - 0x6b0]
call fcn.0041d9b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6b0]
call fcn.0041e1e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4f2b6b
push 0x59de8a
mov ecx, dword [ebp + 8]
call fcn.0041da30
mov eax, dword [ebp - 0xb44]
or eax, 1
mov dword [ebp - 0xb44], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6b0]
call fcn.0041dab0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x220]
call fcn.0041dab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6ac]
call fcn.00416b80
mov eax, dword [ebp + 8]
jmp 0x4f2d06
lea ecx, [ebp - 0x6b0]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041d990
mov edx, dword [ebp - 0xb44]
or edx, 1
mov dword [ebp - 0xb44], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6b0]
call fcn.0041dab0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x220]
call fcn.0041dab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6ac]
call fcn.00416b80
mov eax, dword [ebp + 8]
jmp 0x4f2d06
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x220]
call fcn.0041dab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6ac]
call fcn.00416b80
jmp 0x4f2ce7
push 0
push str.all_Files
push 0
push 0
push 0
push 1
lea ecx, [ebp - 0xb3c]
call fcn.00416ae0
mov dword [ebp - 4], 3
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0xb3c]
call fcn.0041ef40
cmp eax, 1
jne 0x4f2cd5
lea eax, [ebp - 0x8c0]
push eax
lea ecx, [ebp - 0xb40]
call fcn.0041d9b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb40]
call fcn.0041e1e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4f2c91
push 0x59de8b
mov ecx, dword [ebp + 8]
call fcn.0041da30
mov ecx, dword [ebp - 0xb44]
or ecx, 1
mov dword [ebp - 0xb44], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb40]
call fcn.0041dab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb3c]
call fcn.00416b80
mov eax, dword [ebp + 8]
jmp 0x4f2d06
lea edx, [ebp - 0xb40]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041d990
mov eax, dword [ebp - 0xb44]
or eax, 1
mov dword [ebp - 0xb44], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb40]
call fcn.0041dab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb3c]
call fcn.00416b80
mov eax, dword [ebp + 8]
jmp 0x4f2d06
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb3c]
call fcn.00416b80
push 0x59deab
mov ecx, dword [ebp + 8]
call fcn.0041da30
mov ecx, dword [ebp - 0xb44]
or ecx, 1
mov dword [ebp - 0xb44], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret 8