Function at 0x5fcc00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ab3c2
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x8cf144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0xc
call fcn.006e611b
add esp, 4
test eax, eax
je 0x5fcc50
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
jmp 0x5fcc52
xor eax, eax
push 0
push 0
push 0
push 0
mov dword [edi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x50], eax
lea eax, [ebp - 0x28]
push eax
call fcn.00745e57
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.007384cb
add esp, 8
test eax, eax
jne 0x5fcc95
push 1
push 0x8b5784
lea ecx, [ebp - 0x28]
call fcn.00404470
push 2
push 0x811f90
lea ecx, [ebp - 0x28]
call fcn.00404470
push 4
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.005fc750
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
call fcn.00738822
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004045a0
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x5fcce8
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00402920
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x48], 0
cmp eax, 0x10
jb 0x5fcd14
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407d40
push 4
push str..exe
lea ecx, [ebp - 0x28]
call fcn.00404470
lea esi, [edi + 0x14]
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x5fcd39
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00402a50
mov ecx, edi
call fcn.00524140
cmp dword [esi + 0x14], 8
jb 0x5fcd4a
mov eax, dword [esi]
jmp 0x5fcd4c
mov eax, esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
jne 0x5fcdd4
mov eax, dword [0x8d1678]
test eax, eax
jne 0x5fcd8e
push 0x3c0
call fcn.006e611b
add esp, 4
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x5fcd83
mov ecx, eax
call fcn.00501cb0
jmp 0x5fcd85
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x8d1678], eax
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.00502aa0
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 4
jb 0x5fcda7
mov ecx, dword [esi]
jmp 0x5fcda9
mov ecx, esi
cmp dword [eax + 0x14], 8
jb 0x5fcdb1
mov eax, dword [eax]
push ecx
push eax
call fcn.00739fc2
mov eax, dword [ebp - 0x2c]
add esp, 8
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x5fcdd4
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00402920
cmp dword [esi + 0x14], 8
jb 0x5fcdde
mov eax, dword [esi]
jmp 0x5fcde0
mov eax, esi
push eax
call fcn.0073a69b
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x5fcdf3
mov eax, dword [esi]
jmp 0x5fcdf5
mov eax, esi
push eax
call edi
test eax, eax
jne 0x5fce1c
lea eax, [ebp - 0x40]
push eax
call fcn.00409060
mov ecx, eax
call fcn.00502aa0
push eax
mov ecx, esi
call fcn.004041f0
lea ecx, [ebp - 0x40]
call fcn.00402680
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x5fce31
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402920
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006e615c
mov esp, ebp
pop ebp
ret