Function at 0x5c89c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x675558
push 0x5dfbd0
mov eax, dword fs:[0]
push eax
sub esp, 0x258
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.vsignsq.db]
mov dword [ebp - 0x30], eax
mov ecx, dword [0x6215dc]
mov dword [ebp - 0x2c], ecx
mov dx, word [0x6215e0]
mov word [ebp - 0x28], dx
mov al, byte [0x6215e2]
mov byte [ebp - 0x26], al
mov ecx, dword [str.vsign.avs]
mov dword [ebp - 0x3c], ecx
mov edx, dword [0x621590]
mov dword [ebp - 0x38], edx
movzx eax, word [0x621594]
mov word [ebp - 0x34], ax
movzx ecx, byte [0x621596]
mov byte [ebp - 0x32], cl
mov edx, dword [str.FrDB_4]
mov dword [ebp - 0x24], edx
movzx eax, word [0x62159c]
mov word [ebp - 0x20], ax
movzx ecx, byte [0x62159e]
mov byte [ebp - 0x1e], cl
cmp dword [0x7619d4], ebx
jne 0x5c8a8c
mov dword [0x7619d4], 1
push 0x7619bc
call fcn.004da7f0
add esp, 4
cmp esi, ebx
je 0x5c8b3a
cmp byte [esi], bl
je 0x5c8b3a
push 0x7619bc
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0x268], esi
lea edx, [ebp - 0x30]
mov dword [ebp - 0x264], edx
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x260], eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x25c], ecx
mov dword [ebp - 0x258], 1
mov dword [ebp - 0x254], edi
mov dword [ebp - 0x250], 0x7619b8
mov edx, dword [0x7619b4]
mov dword [ebp - 0x24c], edx
mov eax, dword [0x7619b0]
mov dword [ebp - 0x248], eax
lea ecx, [ebp - 0x268]
push ecx
call fcn.005c7020
add esp, 4
mov esi, eax
mov edx, dword [ebp - 0x24c]
mov dword [0x7619b4], edx
mov eax, dword [ebp - 0x248]
mov dword [0x7619b0], eax
push 0x7619bc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x5c8c93
cmp dword [ebp + 0x10], ebx
je 0x5c8c8a
push 0x7619bc
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x7619b0], ebx
je 0x5c8b69
push 0x7619b0
call fcn.005c5190
add esp, 4
mov dword [0x7619b0], ebx
mov eax, dword [0x7619b4]
cmp eax, ebx
je 0x5c8b81
push eax
call fcn.005c51b0
add esp, 4
mov dword [0x7619b4], ebx
mov byte [ebp - 0x140], bl
push 0x103
push ebx
lea ecx, [ebp - 0x13f]
push ecx
call fcn.005dfd60
add esp, 0xc
cmp byte [0x761560], bl
jne 0x5c8bae
push 0x761560
call fcn.00513fd0
push 0x761560
lea edx, [ebp - 0x140]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x140]
push eax
call fcn.004e24e0
add esp, 4
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x140]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x140]
push eax
call fcn.004e0670
add esp, 4
test eax, eax
je 0x5c8c15
lea ecx, [ebp - 0x140]
push ecx
push str._SQT__Deleted__s
push ebx
call fcn.004f0f30
add esp, 0xc
push 0x7619bc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x5c8c8a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x5c8c65
mov byte [ebp - 0x244], bl
push 0x103
push ebx
lea edx, [ebp - 0x243]
push edx
call fcn.005dfd60
push 0x104
lea eax, [ebp - 0x244]
push eax
call fcn.004d8c20
lea ecx, [ebp - 0x244]
push ecx
lea edx, [ebp - 0x140]
push edx
push str._SQT__Unable_to_delete__s__Reason:__s
push ebx
call fcn.004f0f30
add esp, 0x24
push 0x7619bc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x5c8c8a
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