Function at 0x47a3b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov ebx, edi
shr ebx, 0xc
and bl, byte [0x5dbbbc]
cmp esi, 1
setne byte [ebp - 0xd]
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
sete cl
and cl, byte [ebp - 0xd]
and cl, bl
cmp cl, 1
je 0x47a3f4
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, esi
mov esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x47a415
cmp eax, 0x27b
je 0x47a415
xor eax, eax
jmp 0x47a3ec
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x47a3ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x47a445
cmp eax, 0x27b
jne 0x47a411
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x47a3ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x47a475
cmp eax, 0x27b
jne 0x47a411
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x47a3ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x47a4ad
cmp eax, 0x27b
jne 0x47a411
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x47a3ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x47a4e5
cmp eax, 0x27b
jne 0x47a411
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x47a3ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x47a51d
cmp eax, 0x27b
jne 0x47a411
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x47a3ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x47a555
cmp eax, 0x27b
jne 0x47a411
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x47a3ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x47a58d
cmp eax, 0x27b
jne 0x47a411
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x47a3ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x47a5c5
cmp eax, 0x27b
jne 0x47a411
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x47a3ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x47a5fd
cmp eax, 0x27b
jne 0x47a411
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x47a411