Function at 0x45d420
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]
lea eax, [esi - 3]
cmp eax, 2
jae 0x45d462
mov esi, 4
movzx ebx, byte [0x567724]
push esi
push 0x1000
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test bl, bl
je 0x45d458
test eax, eax
je 0x45d47d
test eax, eax
setne al
pop esi
pop edi
pop ebx
pop ebp
ret
cmp esi, 7
ja case.0x45d46b.3
jmp dword [esi*4 + 0x53e2b8]
mov esi, 0x40
jmp case.0x45d46b.2
xor eax, eax
jmp 0x45d458
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x45d495
cmp eax, 0x27b
jne 0x45d479
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push 0x1000
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x45d458
jmp 0x45d4f0
mov esi, 0x20
jmp case.0x45d46b.2
push 0x4000
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x45d458
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push 0x1000
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x45d458
jmp 0x45d511
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x45d4ce
cmp eax, 0x27b
jne 0x45d479
jmp 0x45d4ce
int3
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x45d52d
cmp eax, 0x27b
jne 0x45d479
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push 0x1000
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x45d458
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x45d569
cmp eax, 0x27b
jne 0x45d479
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push 0x1000
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x45d458
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x45d5a5
cmp eax, 0x27b
jne 0x45d479
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push 0x1000
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x45d458
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x45d5e1
cmp eax, 0x27b
jne 0x45d479
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push 0x1000
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x45d458
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x45d61d
cmp eax, 0x27b
jne 0x45d479
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push 0x1000
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x45d458
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x45d659
cmp eax, 0x27b
jne 0x45d479
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push 0x1000
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x45d458
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x45d695
cmp eax, 0x27b
jne 0x45d479
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push 0x1000
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x45d458
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x45d6d1
cmp eax, 0x27b
jne 0x45d479
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x45d479