Function at 0x4e4730
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, dword [ebp + 0x10]
cmp esi, 2
jae 0x4e4796
xor esi, esi
inc esi
mov edi, 0x2000
mov dword [ebp - 0x10], 0
mov bl, byte [0x551654]
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x4e477a
cmp byte [ebp - 0x10], 0
je 0x4e477a
mov ecx, edi
and ecx, 0x1000
je 0x4e477a
test bl, bl
jne 0x4e47c7
test eax, eax
je 0x4e4786
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
xchg dword [0x551648], eax
xor eax, eax
jmp 0x4e477e
lea eax, [esi - 2]
cmp eax, 5
jbe 0x4e47a1
int3
mov cl, 1
mov dword [ebp - 0x10], ecx
mov edi, 0x3000
jmp dword [eax*4 + 0x530550]
mov esi, 4
jmp case.0x4e47ab.2
mov esi, 0x20
jmp case.0x4e47ab.2
mov esi, 0x40
jmp case.0x4e47ab.2
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4e47df
cmp eax, 0x27b
jne 0x4e4786
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 0x4e477e
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4e4815
cmp eax, 0x27b
jne 0x4e4786
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 0x4e477e
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4e484f
cmp eax, 0x27b
jne 0x4e4786
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 0x4e477e
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4e4889
cmp eax, 0x27b
jne 0x4e4786
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 0x4e477e
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4e48c3
cmp eax, 0x27b
jne 0x4e4786
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 0x4e477e
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4e48fd
cmp eax, 0x27b
jne 0x4e4786
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 0x4e477e
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4e4937
cmp eax, 0x27b
jne 0x4e4786
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 0x4e477e
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4e4971
cmp eax, 0x27b
jne 0x4e4786
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 0x4e477e
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4e49ab
cmp eax, 0x27b
jne 0x4e4786
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 0x4e477e
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x4e49e5
cmp eax, 0x27b
jne 0x4e4786
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4e4786