Function at 0x478180
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 [0x4ff79c]
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp esi, 1
je 0x4783e4
mov ecx, edi
and ecx, 0x1000
je 0x4783e4
test bl, bl
je 0x4783e4
test eax, eax
jne 0x4783e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4781e4
cmp eax, 0x27b
jne 0x4783e2
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 0x4783e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x47821e
cmp eax, 0x27b
jne 0x4783e2
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 0x4783e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x478258
cmp eax, 0x27b
jne 0x4783e2
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 0x4783e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x478292
cmp eax, 0x27b
jne 0x4783e2
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 0x4783e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4782cc
cmp eax, 0x27b
jne 0x4783e2
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 0x4783e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x478306
cmp eax, 0x27b
jne 0x4783e2
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 0x4783e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x478340
cmp eax, 0x27b
jne 0x4783e2
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 0x4783e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x478376
cmp eax, 0x27b
jne 0x4783e2
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 0x4783e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4783a8
cmp eax, 0x27b
jne 0x4783e2
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 0x4783e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4783da
cmp eax, 0x27b
jne 0x4783e2
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret