Function at 0x492850
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
movzx ebx, byte [0x5b7da0]
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp esi, 1
je 0x492ab4
mov ecx, edi
and ecx, 0x1000
je 0x492ab4
test bl, bl
je 0x492ab4
test eax, eax
jne 0x492ab4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4928b4
cmp eax, 0x27b
jne 0x492ab2
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x492ab4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4928ee
cmp eax, 0x27b
jne 0x492ab2
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x492ab4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x492928
cmp eax, 0x27b
jne 0x492ab2
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x492ab4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x492962
cmp eax, 0x27b
jne 0x492ab2
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x492ab4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x49299c
cmp eax, 0x27b
jne 0x492ab2
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x492ab4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4929d6
cmp eax, 0x27b
jne 0x492ab2
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x492ab4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x492a10
cmp eax, 0x27b
jne 0x492ab2
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x492ab4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x492a46
cmp eax, 0x27b
jne 0x492ab2
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x492ab4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x492a78
cmp eax, 0x27b
jne 0x492ab2
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x492ab4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x492aaa
cmp eax, 0x27b
jne 0x492ab2
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret