Function at 0x559420
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
lea ecx, [eax - 1]
cmp ecx, 5
jbe 0x559496
xor esi, esi
inc esi
mov dword [ebp - 0x14], 0
xor ebx, ebx
test eax, eax
setne bl
or ebx, 2
shl ebx, 0xc
mov al, byte [0x73ab80]
mov byte [ebp - 0xd], al
push esi
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x55947c
cmp byte [ebp - 0x14], 0
je 0x55947c
mov ecx, ebx
and ecx, 0x1000
je 0x55947c
cmp byte [ebp - 0xd], 0
jne 0x5594bc
test eax, eax
jne 0x55948e
call dword [sym.imp.KERNEL32.dll_GetLastError]
xchg dword [0x73ab74], eax
xor eax, eax
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, 2
mov dl, 1
mov dword [ebp - 0x14], edx
jmp dword [ecx*4 + 0x711f10]
mov esi, 4
jmp case.0x5594a0.1
mov esi, 0x20
jmp case.0x5594a0.1
mov esi, 0x40
jmp case.0x5594a0.1
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x5594d4
cmp eax, 0x27b
jne 0x559480
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x55948e
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x559508
cmp eax, 0x27b
jne 0x559480
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x55948e
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x559540
cmp eax, 0x27b
jne 0x559480
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x55948e
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x559578
cmp eax, 0x27b
jne 0x559480
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x55948e
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x5595b0
cmp eax, 0x27b
jne 0x559480
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x55948e
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x5595e8
cmp eax, 0x27b
jne 0x559480
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x55948e
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x559620
cmp eax, 0x27b
jne 0x559480
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x55948e
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x559658
cmp eax, 0x27b
jne 0x559480
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x55948e
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x559690
cmp eax, 0x27b
jne 0x559480
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x55948e
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x5ae]
cmp ecx, 2
jb 0x5596c8
cmp eax, 0x27b
jne 0x559480
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x559480