Function at 0x414e70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e03d6
mov eax, dword fs:[0]
push eax
mov eax, 0x1258
call fcn.00489960
mov eax, dword [0x513200]
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 esi, edx
mov dword [ebp - 0x1264], esi
mov edi, ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x1134]
sub esp, 0x10
mov dword [ebp - 0x1260], ebx
push 0
push ebx
call fcn.0040e650
sub esp, 0x10
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1258]
push 0
push esi
call fcn.0040e650
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1128]
cmp byte [ebp - 0x1018], 0
mov byte [ebp - 0x1259], 1
cmove eax, dword [ebp - 0x112c]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x414f30
shr eax, 4
not al
and al, 1
je 0x414f30
push ecx
lea eax, [ebp - 0x1258]
push eax
push edi
lea ecx, [ebp - 0x1134]
call fcn.004104b0
test al, al
jmp 0x4150d6
lea ecx, [ebp - 0x1134]
call fcn.0040efb0
test al, al
jne 0x414f61
push 0x4fdb64
mov ecx, edi
call fcn.004058b0
push ebx
push 0x4fc47c
push eax
call fcn.004048f0
add esp, 0xc
xor bl, bl
jmp 0x4150de
lea ecx, [ebp - 0x1258]
call fcn.0040efb0
test al, al
jne 0x414fa3
push ecx
push edi
lea ecx, [ebp - 0x1258]
call fcn.00410100
test al, al
jne 0x414fa3
push 0x4fd1a8
mov ecx, edi
call fcn.004058b0
push esi
push 0x4fc47c
push eax
call fcn.004048f0
add esp, 0xc
xor bl, bl
jmp 0x4150de
push ebx
lea eax, [ebp - 0x810]
push str._s.
push eax
call fcn.0041cc50
add esp, 0xc
lea eax, [ebp - 0x810]
push 0x530208
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4150dc
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [eax + eax]
mov edx, 0x4f562c
mov ecx, 0x530234
nop word [eax + eax]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x415016
test ax, ax
je 0x415012
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x415016
add ecx, 4
add edx, 4
test ax, ax
jne 0x414ff0
xor eax, eax
jmp 0x41501b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4150b8
mov eax, 0x4fdaa0
mov ecx, 0x530234
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x415056
test dx, dx
je 0x415052
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x415056
add ecx, 4
add eax, 4
test dx, dx
jne 0x415030
xor eax, eax
jmp 0x41505b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4150b8
push 0x530234
push dword [ebp - 0x1260]
lea eax, [ebp - 0x810]
push 0x4fdb58
push eax
call fcn.0041cc50
push 0x530234
push dword [ebp - 0x1264]
lea eax, [ebp - 0x1010]
push 0x4fdb58
push eax
call fcn.0041cc50
lea eax, [ebp - 0x810]
mov ecx, edi
push eax
lea edx, [ebp - 0x1010]
call fcn.00414e70
add esp, 0x24
neg al
sbb al, al
and byte [ebp - 0x1259], al
push 0x530208
push esi
call ebx
test eax, eax
jne 0x414fe0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp - 0x1259], 0
jne 0x4150dc
xor bl, bl
jmp 0x4150de
mov bl, 1
cmp byte [ebp - 0x113c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x41510a
mov eax, dword [ebp - 0x1250]
lea ecx, [ebp - 0x124c]
cmp eax, ecx
je 0x41510a
push eax
call fcn.00496f41
add esp, 4
cmp byte [ebp - 0x1018], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x415136
mov eax, dword [ebp - 0x112c]
lea ecx, [ebp - 0x1128]
cmp eax, ecx
je 0x415136
push eax
call fcn.00496f41
add esp, 4
mov al, bl
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.00489940
mov esp, ebp
pop ebp
ret