Function at 0x1c80c10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea eax, [esi - 3]
cmp eax, 2
jae 0x1c80c57
mov esi, 4
movzx ebx, byte [0x1d28c68]
push esi
push 0x1000
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
sete cl
and cl, bl
cmp cl, 1
je 0x1c80c6e
test eax, eax
setne al
pop esi
pop edi
pop ebx
pop ebp
ret
cmp esi, 8
ja case.0x1c80c60.3
jmp dword [esi*4 + 0x1cf72bc]
mov esi, 0x40
jmp case.0x1c80c60.2
mov ebx, esi
mov esi, edi
mov edi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x1c80c91
cmp eax, 0x27b
je 0x1c80c91
xor eax, eax
jmp 0x1c80c4d
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push 0x1000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x1c80c4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x1c80cc3
cmp eax, 0x27b
jne 0x1c80c8d
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push 0x1000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x1c80c4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x1c80cf9
cmp eax, 0x27b
jne 0x1c80c8d
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push 0x1000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x1c80c4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x1c80d33
cmp eax, 0x27b
jne 0x1c80c8d
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push 0x1000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x1c80c4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x1c80d6d
cmp eax, 0x27b
jne 0x1c80c8d
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push 0x1000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x1c80c4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x1c80da7
cmp eax, 0x27b
jne 0x1c80c8d
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push 0x1000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x1c80c4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x1c80de1
cmp eax, 0x27b
jne 0x1c80c8d
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push 0x1000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x1c80c4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x1c80e1b
cmp eax, 0x27b
jne 0x1c80c8d
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push 0x1000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x1c80c4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x1c80e55
cmp eax, 0x27b
jne 0x1c80c8d
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push 0x1000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x1c80c4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x1c80e8f
cmp eax, 0x27b
jne 0x1c80c8d
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1c80c8d
int3
mov esi, 0x20
jmp case.0x1c80c60.2
push 0x4000
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x1c80c4d