Function at 0x4fd6b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov ebx, edi
shr ebx, 0xc
and bl, byte [0x823d90]
cmp eax, 1
setne byte [ebp - 0xd]
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test eax, eax
sete al
and al, byte [ebp - 0xd]
and al, bl
cmp al, 1
jne 0x4fd726
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4fd707
cmp eax, 0x27b
jne 0x4fd726
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp + 0x14]
push edi
push dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x4fd730
mov esi, eax
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4fd748
cmp eax, 0x27b
jne 0x4fd726
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp + 0x14]
push edi
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x4fd724
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4fd77a
cmp eax, 0x27b
jne 0x4fd726
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp + 0x14]
push edi
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x4fd724
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4fd7b0
cmp eax, 0x27b
jne 0x4fd726
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp + 0x14]
push edi
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x4fd724
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4fd7ea
cmp eax, 0x27b
jne 0x4fd726
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp + 0x14]
push edi
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x4fd724
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4fd824
cmp eax, 0x27b
jne 0x4fd726
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp + 0x14]
push edi
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x4fd724
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4fd85e
cmp eax, 0x27b
jne 0x4fd726
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp + 0x14]
push edi
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x4fd724
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4fd898
cmp eax, 0x27b
jne 0x4fd726
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp + 0x14]
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x4fd724
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4fd8d4
cmp eax, 0x27b
jne 0x4fd726
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp + 0x14]
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x4fd724
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4fd910
cmp eax, 0x27b
jne 0x4fd726
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4fd726