Function at 0x58d980
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x7156e4
call fcn.0043dc00
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x58d9b2
push 0x7156e4
call fcn.00452460
add esp, 4
push 0x7156e4
call fcn.00452420
add esp, 4
mov ecx, 0x7156fc
call fcn.0043dc00
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x58d9e1
push 0x7156fc
call fcn.00452460
add esp, 4
push 0x7156fc
call fcn.00452420
add esp, 4
mov ecx, 0x715714
call fcn.0043dc00
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x58da10
push 0x715714
call fcn.00452460
add esp, 4
push 0x715714
call fcn.00452420
add esp, 4
mov ecx, 0x71572c
call fcn.0043dc00
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x58da3f
push 0x71572c
call fcn.00452460
add esp, 4
push 0x71572c
call fcn.00452420
add esp, 4
mov ecx, 0x715744
call fcn.0043dc00
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x58da6e
push 0x715744
call fcn.00452460
add esp, 4
push 0x715744
call fcn.00452420
add esp, 4
mov ecx, 0x71575c
call fcn.0043dc00
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x58da9d
push 0x71575c
call fcn.00452460
add esp, 4
push 0x71575c
call fcn.00452420
add esp, 4
mov ecx, 0x715774
call fcn.0043dc00
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x58dacc
push 0x715774
call fcn.00452460
add esp, 4
push 0x715774
call fcn.00452420
add esp, 4
mov ecx, 0x71578c
call fcn.0043dc00
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x58dafb
push 0x71578c
call fcn.00452460
add esp, 4
push 0x71578c
call fcn.00452420
add esp, 4
mov ecx, 0x7156cc
call fcn.0043dc00
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x58db57
call dword [0x71563c]
movzx eax, al
test eax, eax
je 0x58db4d
call dword [0x715644]
cmp eax, 3
jg 0x58db4d
mov ecx, 0x7156cc
call fcn.0043dc00
push eax
push 0x6996b0
push 3
push 0x28b
push 0x6996cc
call dword [0x71564c]
add esp, 0x14
jmp 0x58dc63
mov ecx, 0x715684
call fcn.0043dc00
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x58dbb3
call dword [0x71563c]
movzx ecx, al
test ecx, ecx
je 0x58dba9
call dword [0x715644]
cmp eax, 3
jg 0x58dba9
mov ecx, 0x715684
call fcn.0043dc00
push eax
push 0x6996e0
push 3
push 0x290
push 0x6996f0
call dword [0x71564c]
add esp, 0x14
jmp 0x58dc63
mov ecx, 0x71569c
call fcn.0043dc00
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x58dc09
call dword [0x71563c]
movzx edx, al
test edx, edx
je 0x58dc05
call dword [0x715644]
cmp eax, 3
jg 0x58dc05
mov ecx, 0x71569c
call fcn.0043dc00
push eax
push 0x699704
push 3
push 0x295
push 0x699714
call dword [0x71564c]
add esp, 0x14
jmp 0x58dc63
mov ecx, 0x7156b4
call fcn.0043dc00
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x58dc5f
call dword [0x71563c]
movzx eax, al
test eax, eax
je 0x58dc5b
call dword [0x715644]
cmp eax, 3
jg 0x58dc5b
mov ecx, 0x7156b4
call fcn.0043dc00
push eax
push 0x699728
push 3
push 0x29a
push 0x699738
call dword [0x71564c]
add esp, 0x14
jmp 0x58dc63
mov al, 1
jmp 0x58dc65
xor al, al
pop ebp
ret