Function at 0x418a1a
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x624252
mov eax, dword fs:[0]
push eax
mov eax, 0x2088
call fcn.0050fa10
mov eax, dword [0x6b9538]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x208c], eax
lea esi, [eax + 4]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x418a61
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x418cbb
cmp dword [esi + 0x14], 8
jb 0x418a78
mov esi, dword [esi]
push 0x62d530
push esi
call fcn.00531656
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x418cbb
push str..ACP
xor ebx, ebx
push ebx
call fcn.00539341
push 0x2000
lea eax, [ebp - 0x2010]
push ebx
push eax
call fcn.005281f0
lea eax, [ebp - 0x2010]
push eax
push 0x62d53c
push esi
call fcn.0041b27d
add esp, 0x20
jmp 0x418cab
xor eax, eax
mov dword [ebp - 0x2018], ebx
mov word [ebp - 0x2028], ax
lea ecx, [ebp - 0x2028]
lea eax, [ebp - 0x2010]
mov dword [ebp - 0x2014], 7
push eax
call fcn.004029b0
xor eax, eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2048], ebx
mov dword [ebp - 0x2044], 7
mov word [ebp - 0x2058], ax
mov dword [ebp - 0x2030], ebx
mov dword [ebp - 0x202c], 7
mov word [ebp - 0x2040], ax
push ebx
push 0x62d544
lea ecx, [ebp - 0x2028]
mov byte [ebp - 4], 2
call fcn.0041a1d2
mov edi, eax
cmp edi, 0xffffffff
jne 0x418b6b
lea ecx, [ebp - 0x2040]
call fcn.00402a10
lea ecx, [ebp - 0x2058]
call fcn.00402a10
or dword [ebp - 4], edi
lea ecx, [ebp - 0x2028]
call fcn.00402a10
jmp 0x418c96
inc edi
lea ecx, [ebp - 0x2028]
push edi
push 0x62d548
call fcn.0041a1d2
mov ebx, eax
cmp ebx, 0xffffffff
je 0x418c6f
and dword [ebp - 0x2060], 0
lea ecx, [ebp - 0x2070]
xor eax, eax
mov dword [ebp - 0x205c], 7
mov word [ebp - 0x2070], ax
mov eax, ebx
sub eax, edi
push eax
push edi
lea eax, [ebp - 0x2028]
push eax
call fcn.00413fb1
lea eax, [ebp - 0x2070]
push eax
lea ecx, [ebp - 0x2058]
call fcn.00402a70
lea ecx, [ebp - 0x2070]
call fcn.00402a10
and dword [ebp - 0x2060], 0
lea ecx, [ebp - 0x2070]
xor eax, eax
mov dword [ebp - 0x205c], 7
mov word [ebp - 0x2070], ax
lea eax, [ebx + 1]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x2028]
push eax
call fcn.00413fb1
lea eax, [ebp - 0x2070]
push eax
lea ecx, [ebp - 0x2040]
call fcn.00402a70
lea ecx, [ebp - 0x2070]
call fcn.00402a10
lea eax, [ebp - 0x2040]
push eax
lea eax, [ebp - 0x2058]
push eax
lea ecx, [ebp - 0x2088]
call fcn.0041295e
mov ecx, dword [ebp - 0x208c]
push eax
lea eax, [ebp - 0x2094]
mov byte [ebp - 4], 3
push eax
lea ecx, [ecx + 0x34]
call fcn.00417580
lea ecx, [ebp - 0x2070]
call fcn.00402a10
lea ecx, [ebp - 0x2088]
call fcn.00402a10
lea ecx, [ebp - 0x2040]
call fcn.00402a10
lea ecx, [ebp - 0x2058]
call fcn.00402a10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2028]
call fcn.00402a10
xor ebx, ebx
lea eax, [ebp - 0x2010]
push eax
push 0x62d53c
push esi
call fcn.0041b27d
add esp, 0xc
cmp eax, 0xffffffff
jne 0x418ac8
push esi
call fcn.0052e0d1
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050ea72
leave
ret