Function at 0x571030
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58afab
mov eax, dword fs:[0]
push eax
sub esp, 0x1d8
mov eax, dword [0x5f30a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1d0], ecx
lea ecx, [ebp - 0x124]
call fcn.00450610
mov dword [ebp - 4], 0
call fcn.005701b0
mov dword [ebp - 0x1d4], eax
lea eax, [ebp - 0x124]
push eax
mov ecx, dword [ebp - 0x1d4]
push ecx
mov edx, dword [ebp - 0x1d4]
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
call ecx
lea edx, [ebp - 0xb8]
push edx
mov ecx, dword [ebp - 0x1d0]
add ecx, 0x78
call fcn.00409010
mov ecx, dword [ebp - 0x1d0]
add ecx, 0x78
call fcn.0040d690
movzx eax, al
test eax, eax
je 0x5710da
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.00450640
jmp 0x571301
mov ecx, dword [ebp - 0x1d0]
add ecx, 0x78
call fcn.00472880
push eax
lea ecx, [ebp - 0x1ac]
call fcn.00427320
mov dword [ebp - 0x1d8], eax
mov ecx, dword [ebp - 0x1d8]
mov dword [ebp - 0x1dc], ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1dc]
call fcn.00472880
push eax
lea ecx, [ebp - 0x88]
call fcn.0041d4b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1ac]
call fcn.0041d760
lea ecx, [ebp - 0x88]
call fcn.00472880
mov dword [ebp - 0xa8], eax
mov edx, dword [ebp - 0xa8]
push edx
lea ecx, [ebp - 0x1c8]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [ebp - 4], 4
lea eax, [ebp - 0x1c8]
push eax
lea ecx, [ebp - 0x84]
call fcn.005750c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c8]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0x84]
call fcn.00575130
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa4]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea ecx, [ebp - 0x128]
call fcn.00457dc0
mov byte [ebp - 4], 6
push 0
lea edx, [ebp - 0x1cc]
push edx
call fcn.0057e4f0
add esp, 8
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x1e4], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x1e4]
push ecx
mov ecx, dword [ebp - 0x1d0]
add ecx, 0x7c
call fcn.00409010
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1cc]
call fcn.0041e800
mov edx, dword [ebp - 0x1d0]
add edx, 0x7c
push edx
call fcn.0057df00
add esp, 4
push str.head_
mov ecx, dword [ebp - 0x1d0]
add ecx, 0x7c
call fcn.0041d180
mov ecx, dword [ebp - 0x1d0]
add ecx, 0x7c
call fcn.00472880
push eax
call fcn.0057dfd0
add esp, 4
lea eax, [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x1d0]
add ecx, 0x7c
call fcn.00426620
push 0x5d8460
mov ecx, dword [ebp - 0x1d0]
add ecx, 0x7c
call fcn.0041d180
mov ecx, dword [ebp - 0x1d0]
add ecx, 0x7c
call fcn.00472880
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x5712b6
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x128]
call fcn.0041e800
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa4]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.0041e800
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.00450640
jmp 0x571301
mov ecx, dword [ebp - 0x1d0]
call fcn.00570f20
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x128]
call fcn.0041e800
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa4]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.0041e800
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.00450640
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a1f8d
mov esp, ebp
pop ebp
ret