Function at 0x40d4d0
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]
mov bl, byte [0x46e4e0]
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp esi, 1
je 0x40d507
mov ecx, edi
and ecx, 0x1000
je 0x40d507
test bl, bl
je 0x40d507
test eax, eax
je 0x40d50c
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x40d528
cmp eax, 0x27b
jne 0x40d726
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 0x40d507
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x40d55e
cmp eax, 0x27b
jne 0x40d726
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 0x40d507
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x40d594
cmp eax, 0x27b
jne 0x40d726
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 0x40d507
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x40d5ce
cmp eax, 0x27b
jne 0x40d726
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 0x40d507
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x40d608
cmp eax, 0x27b
jne 0x40d726
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 0x40d507
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x40d642
cmp eax, 0x27b
jne 0x40d726
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 0x40d507
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x40d67c
cmp eax, 0x27b
jne 0x40d726
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 0x40d507
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x40d6b2
cmp eax, 0x27b
jne 0x40d726
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 0x40d507
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x40d6e8
cmp eax, 0x27b
jne 0x40d726
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 0x40d507
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x40d71e
cmp eax, 0x27b
jne 0x40d726
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
jmp 0x40d507