Function at 0x4fe050
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 [0x81dd90]
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 0x4fe0c6
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4fe0a7
cmp eax, 0x27b
jne 0x4fe0c6
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 0x4fe0d0
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 0x4fe0e8
cmp eax, 0x27b
jne 0x4fe0c6
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 0x4fe0c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4fe11a
cmp eax, 0x27b
jne 0x4fe0c6
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 0x4fe0c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4fe150
cmp eax, 0x27b
jne 0x4fe0c6
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 0x4fe0c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4fe18a
cmp eax, 0x27b
jne 0x4fe0c6
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 0x4fe0c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4fe1c4
cmp eax, 0x27b
jne 0x4fe0c6
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 0x4fe0c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4fe1fe
cmp eax, 0x27b
jne 0x4fe0c6
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 0x4fe0c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4fe238
cmp eax, 0x27b
jne 0x4fe0c6
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 0x4fe0c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4fe274
cmp eax, 0x27b
jne 0x4fe0c6
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 0x4fe0c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4fe2b0
cmp eax, 0x27b
jne 0x4fe0c6
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4fe0c6