Function at 0x418ab8
Capabilities:
Check if file exists

Disassembly:
push 0x118
mov eax, 0x46b92d
call fcn.0042dc0b
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x118]
call fcn.0040699e
and dword [ebp - 4], 0
lea ecx, [ebp - 0x124]
call fcn.0040699e
lea ecx, [ebp - 0x120]
call fcn.0040699e
and dword [ebp - 0x11c], 0
mov byte [ebp - 4], 2
test edi, edi
jne 0x418b58
push 4
push str.IN_Operations::_RemoveFileList_:_szPath__Filelist_path__is_NULL__returning
mov ecx, 0x493f4c
call fcn.0040c5b8
mov esi, dword [ebp - 0x118]
xor bl, bl
cmp dword [ebp - 0x11c], 0
je 0x418b2c
push dword [ebp - 0x11c]
call fcn.0043870f
pop ecx
mov ecx, dword [ebp - 0x120]
lea ecx, [ecx - 0x10]
call fcn.00406c57
mov ecx, dword [ebp - 0x124]
add ecx, 0xfffffff0
call fcn.00406c57
lea ecx, [esi - 0x10]
call fcn.00406c57
mov al, bl
call fcn.0042dbb5
ret
push edi
lea eax, [ebp - 0x118]
push str.IN_Operations::_RemoveFileList_:_Entering__RemoveFileList___s__
push eax
call fcn.00406b1a
mov esi, dword [ebp - 0x118]
add esp, 0xc
cmp dword [esi - 4], 1
jle 0x418b8d
push dword [esi - 0xc]
lea ecx, [ebp - 0x118]
call fcn.00406aae
mov esi, dword [ebp - 0x118]
push 4
mov ebx, 0x493f4c
push esi
mov ecx, ebx
call fcn.0040c5b8
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x418bf3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x118]
push str.PathFileExists___failed._Error:__d
push eax
call fcn.00406b1a
mov esi, dword [ebp - 0x118]
add esp, 0xc
cmp dword [esi - 4], 1
jle 0x418be2
push dword [esi - 0xc]
lea ecx, [ebp - 0x118]
call fcn.00406aae
mov esi, dword [ebp - 0x118]
push 7
mov ecx, ebx
push esi
call fcn.0040c5b8
xor bl, bl
jmp 0x418b17
push 0x4731a8
lea eax, [ebp - 0x11c]
push edi
push eax
call fcn.00438651
add esp, 0xc
test eax, eax
je 0x418c46
push eax
push edi
lea eax, [ebp - 0x118]
push str.IN_Operations::_RemoveFileList_:_Failed_to_open_file_list__s._Error:__d
push eax
call fcn.00406b1a
mov esi, dword [ebp - 0x118]
add esp, 0x10
cmp dword [esi - 4], 1
jle 0x418c42
push dword [esi - 0xc]
lea ecx, [ebp - 0x118]
call fcn.00406aae
mov esi, dword [ebp - 0x118]
push 4
jmp 0x418be4
mov bl, 1
jmp 0x418d0b
push dword [ebp - 0x11c]
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.004388ad
add esp, 0xc
test eax, eax
jne 0x418c7f
push dword [ebp - 0x11c]
call fcn.004387bf
pop ecx
test eax, eax
jne 0x418d24
lea eax, [ebp - 0x114]
push eax
call fcn.00436130
pop ecx
push eax
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x124]
call fcn.0040e094
lea ecx, [ebp - 0x124]
call fcn.00414ea9
mov ecx, eax
call fcn.00414e42
push eax
lea ecx, [ebp - 0x120]
call fcn.00413753
mov edi, dword [ebp - 0x120]
push 0x487527
push edi
call fcn.004359a0
pop ecx
pop ecx
test eax, eax
je 0x418cfe
cmp dword [edi - 0xc], 0
jl 0x418d70
cmp byte [edi], 0x3b
je 0x418cfe
push dword [edi - 0xc]
lea ecx, [ebp - 0x120]
call fcn.00406be3
push eax
call fcn.0041891a
neg al
pop ecx
sbb al, al
and bl, al
push 0xffffffffffffffff
lea ecx, [ebp - 0x120]
call fcn.0040df9d
push dword [ebp - 0x11c]
call fcn.00438793
pop ecx
test eax, eax
je 0x418c4d
jmp 0x418b17
push dword [ebp - 0x11c]
call fcn.004387bf
push eax
lea eax, [ebp - 0x118]
push str.Unable_to_read_file._Error:__d
push eax
call fcn.00406b1a
mov esi, dword [ebp - 0x118]
add esp, 0x10
cmp dword [esi - 4], 1
jle 0x418d64
push dword [esi - 0xc]
lea ecx, [ebp - 0x118]
call fcn.00406aae
mov esi, dword [ebp - 0x118]
push 7
mov ecx, 0x493f4c
jmp 0x418be6
push 0x80070057
call fcn.00406a91
int3