Function at 0x5c86d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x675538
push 0x5dfbd0
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x6aae14]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [str.clnsgnsq.db]
mov dword [ebp - 0x30], eax
mov ecx, dword [0x621520]
mov dword [ebp - 0x2c], ecx
mov edx, dword [0x621524]
mov dword [ebp - 0x28], edx
mov eax, dword [str.clnsign.avs]
mov dword [ebp - 0x40], eax
mov ecx, dword [0x62152c]
mov dword [ebp - 0x3c], ecx
mov edx, dword [0x621530]
mov dword [ebp - 0x38], edx
movzx eax, byte [0x621534]
mov byte [ebp - 0x34], al
mov ecx, dword [str.FrDB_5]
mov dword [ebp - 0x24], ecx
mov dx, word [0x62153c]
mov word [ebp - 0x20], dx
movzx eax, byte [0x62153e]
mov byte [ebp - 0x1e], al
cmp dword [0x7619ac], ebx
jne 0x5c878f
mov dword [0x7619ac], 1
push 0x761994
call fcn.004da7f0
add esp, 4
cmp esi, ebx
je 0x5c883f
cmp byte [esi], bl
je 0x5c883f
push 0x761994
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0x26c], esi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x268], ecx
lea edx, [ebp - 0x40]
mov dword [ebp - 0x264], edx
lea eax, [ebp - 0x24]
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], 1
mov dword [ebp - 0x258], edi
mov dword [ebp - 0x254], 0x761990
mov ecx, dword [0x76198c]
mov dword [ebp - 0x250], ecx
mov edx, dword [0x761988]
mov dword [ebp - 0x24c], edx
lea eax, [ebp - 0x26c]
push eax
call fcn.005c7020
add esp, 4
mov esi, eax
mov ecx, dword [ebp - 0x250]
mov dword [0x76198c], ecx
mov edx, dword [ebp - 0x24c]
mov dword [0x761988], edx
push 0x761994
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x5c8998
cmp dword [ebp + 0x10], ebx
je 0x5c898f
push 0x761994
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x761988], ebx
je 0x5c886e
push 0x761988
call fcn.005c5190
add esp, 4
mov dword [0x761988], ebx
mov eax, dword [0x76198c]
cmp eax, ebx
je 0x5c8886
push eax
call fcn.005c51b0
add esp, 4
mov dword [0x76198c], ebx
mov byte [ebp - 0x144], bl
push 0x103
push ebx
lea eax, [ebp - 0x143]
push eax
call fcn.005dfd60
add esp, 0xc
cmp byte [0x761560], bl
jne 0x5c88b3
push 0x761560
call fcn.00513fd0
push 0x761560
lea ecx, [ebp - 0x144]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [ebp - 0x144]
push edx
call fcn.004e24e0
add esp, 4
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x144]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [ebp - 0x144]
push edx
call fcn.004e0670
add esp, 4
test eax, eax
je 0x5c891a
lea eax, [ebp - 0x144]
push eax
push str._SQT__Deleted__s
push ebx
call fcn.004f0f30
add esp, 0xc
push 0x761994
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x5c898f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x5c896a
mov byte [ebp - 0x248], bl
push 0x103
push ebx
lea ecx, [ebp - 0x247]
push ecx
call fcn.005dfd60
push 0x104
lea edx, [ebp - 0x248]
push edx
call fcn.004d8c20
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x144]
push ecx
push str._SQT__Unable_to_delete__s__Reason:__s
push ebx
call fcn.004f0f30
add esp, 0x24
push 0x761994
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x5c898f
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.005dfbbe
mov esp, ebp
pop ebp
ret