Function at 0x4b8770
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 [0x759310]
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 0x4b87b4
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 0x4b87d5
cmp eax, 0x27b
je 0x4b87d5
xor eax, eax
jmp 0x4b87ac
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 0x4b87ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4b8805
cmp eax, 0x27b
jne 0x4b87d1
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 0x4b87ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4b8835
cmp eax, 0x27b
jne 0x4b87d1
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 0x4b87ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4b886d
cmp eax, 0x27b
jne 0x4b87d1
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 0x4b87ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4b88a5
cmp eax, 0x27b
jne 0x4b87d1
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 0x4b87ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4b88dd
cmp eax, 0x27b
jne 0x4b87d1
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 0x4b87ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4b8915
cmp eax, 0x27b
jne 0x4b87d1
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 0x4b87ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4b894d
cmp eax, 0x27b
jne 0x4b87d1
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 0x4b87ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4b8985
cmp eax, 0x27b
jne 0x4b87d1
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 0x4b87ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4b89bd
cmp eax, 0x27b
jne 0x4b87d1
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4b87d1