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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d7bac
mov eax, dword fs:[0]
push eax
sub esp, 0x378
mov eax, dword [0x101120a8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp byte [ebx + 3], 0
mov esi, dword [ebp + 8]
jne 0x1005fb22
cmp dword [esi + 0x14], 0
jne 0x1005fb42
mov dword [ebp - 0x380], 0
mov dword [ebp - 0x37c], 0
mov dword [ebp - 0x378], 0
push 3
push 0
lea eax, [ebp - 0x380]
mov dword [ebp - 4], 0
push 1
push eax
call sym.XNewLookSch.dll_public:_static_int___cdecl_LDirSnap::get_drivers_class_std::vector_class_LString__class_std::allocator_class_LString_____bool__bool__int_
mov esi, dword [ebp - 0x380]
xor ecx, ecx
mov dword [ebp - 0x374], ecx
mov eax, 0x92492493
mov ecx, dword [ebp - 0x37c]
add esp, 0x10
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1005fb17
xor edi, edi
xor ecx, ecx
mov dword [ebp - 0x30], vtable.LString.0
mov edx, 7
mov dword [ebp - 0x1c], ecx
xor eax, eax
mov dword [ebp - 0x18], edx
mov word [ebp - 0x2c], ax
lea eax, [esi + 4]
mov byte [ebp - 4], 1
inc dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
lea esi, [ebp - 0x2c]
add eax, edi
cmp esi, eax
je 0x1005f9ae
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x1005f99c
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10002b70
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x1005f9dd
cmp edx, 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
movzx eax, word [eax + ecx*2 - 2]
cmp eax, 0x5c
je 0x1005f9cf
cmp eax, 0x2f
jne 0x1005f9dd
lea eax, [ecx - 1]
push 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.10011230
lea eax, [ebp - 0x30]
mov ecx, ebx
push eax
call sym.XNewLookSch.dll_private:_bool___thiscall_LDirSnap::is_should_exclude_class_LString_const__
test al, al
jne 0x1005fad5
add dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count], 2
xor eax, eax
xorps xmm0, xmm0
mov dword [ebp - 0x8c], vtable.LString.0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov dword [ebp - 0x70], vtable.LString.0
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x88]
mov ecx, dword [ebp - 0x380]
mov byte [ebp - 0x3c], 1
lea eax, [ecx + 4]
add eax, edi
cmp edx, eax
je 0x1005fa7b
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x1005fa66
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x88]
call fcn.10002b70
mov ecx, dword [ebp - 0x380]
lea eax, [ecx + 4]
add eax, edi
lea ecx, [ebp - 0x6c]
cmp ecx, eax
je 0x1005fa9d
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x1005fa91
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.10002b70
mov eax, dword [ebx + 8]
lea ecx, [ebp - 0x8c]
push ecx
cmp dword [ebx + 0xc], eax
je 0x1005fab9
mov ecx, eax
call sym.XNewLookSch.dll_public:_void___thiscall_LFileNode::constructor_class_LFileNode__
add dword [ebx + 8], 0x58
jmp 0x1005fac2
push eax
lea ecx, [ebx + 4]
call fcn.10060ae0
lea ecx, [ebp - 0x70]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x8c]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
mov ecx, dword [ebp - 0x37c]
mov eax, 0x92492493
mov esi, dword [ebp - 0x380]
add edi, 0x1c
inc dword [ebp - 0x374]
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x374], eax
jb 0x1005f962
lea ecx, [ebp - 0x380]
call fcn.10011ab0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1008bffe
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0xc4]
mov byte [ebp - 0x374], 1
push eax
mov ecx, esi
call sym.XNewLookSch.dll_public:_class_LString___thiscall_LString::get_real_file_from_env_format_void_
cmp dword [ebp - 0xac], 8
lea eax, [ebp - 0xc0]
cmovae eax, dword [ebp - 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1005fb80
mov byte [ebp - 0x36d], 0
jmp 0x1005fb95
shr eax, 4
and eax, 0xffffff01
mov byte [ebp - 0x36d], 1
mov dword [ebp - 0x374], eax
lea ecx, [ebp - 0xc4]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
cmp byte [ebp - 0x36d], 0
je 0x1005fcfa
cmp byte [ebp - 0x374], 0
jne 0x1005fcfa
push esi
mov ecx, ebx
call sym.XNewLookSch.dll_private:_bool___thiscall_LDirSnap::is_should_exclude_class_LString_const__
test al, al
jne 0x1005fb22
add esi, 4
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x1005fbd7
mov eax, dword [esi]
lea ecx, [ebp - 0x36c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1005fb22
lea ecx, [ebp - 0x11c]
call sym.XNewLookSch.dll_public:_void___thiscall_LFileNode::constructor_void_
lea eax, [ebp - 0x118]
mov dword [ebp - 4], 4
cmp eax, esi
je 0x1005fc25
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1005fc16
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x118]
push eax
call fcn.10002b70
lea eax, [ebp - 0x340]
push eax
lea ecx, [ebp - 0xa8]
call sym.XNewLookSch.dll_public:_void___thiscall_LString::constructor_wchar_t_const__
mov byte [ebp - 4], 5
lea eax, [ebp - 0xa4]
cmp dword [ebp - 0x90], 8
lea ecx, [ebp - 0xfc]
push dword [ebp - 0x94]
cmovae eax, dword [ebp - 0xa4]
push eax
call fcn.10002b70
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 4
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea eax, [ebp - 0x358]
push eax
call sym.XNewLookSch.dll_public:_static_long_long___int64____cdecl_LTimeHelper::make_by_struct__FILETIME_const__
add esp, 4
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0x368]
mov dword [ebp - 0xd8], edx
push eax
call sym.XNewLookSch.dll_public:_static_long_long___int64____cdecl_LTimeHelper::make_by_struct__FILETIME_const__
mov dword [ebp - 0xd4], eax
add esp, 4
xor eax, eax
mov dword [ebp - 0xd0], edx
add eax, dword [ebp - 0x34c]
mov ecx, ebx
mov edx, dword [ebp - 0x350]
mov dword [ebp - 0xe4], eax
adc edx, 0
lea eax, [ebp - 0x11c]
mov byte [ebp - 0xcc], 0
push eax
mov dword [ebp - 0xe0], edx
call sym.XNewLookSch.dll_private:_int___thiscall_LDirSnap::mypush_back_class_LFileNode_const__
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x100]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x11c]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
jmp 0x1005fb22
push esi
mov ecx, ebx
call sym.XNewLookSch.dll_private:_int___thiscall_LDirSnap::file_find_class_LString_const__
jmp 0x1005fb24