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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1a31
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x4f9008]
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 ebx, edx
mov edi, ecx
mov dword [ebp - 0xa0], edi
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0x2c], vtable.LString.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 4
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x28]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push str.__t_r_n
call fcn.00409940
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call sym.XNewLook.exe_public:_class_LString___thiscall_LString::get_trim_both_class_LString_const__
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
mov eax, dword [ebp - 0x34]
cmp eax, 3
jge 0x464bf3
lea ecx, [edi + 4]
mov dword [edi], vtable.LString.0
xor edx, edx
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], dx
mov byte [ebp - 4], 4
lea edx, [ebp - 0x44]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
cmp ecx, edx
je 0x464e78
cmp dword [ebp - 0x30], 8
push eax
cmovae edx, dword [ebp - 0x44]
push edx
call fcn.00409940
jmp 0x464e78
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x44]
cmp ecx, 8
cmovae eax, edx
cmp word [eax], 0x22
je 0x464d04
cmp ecx, 8
lea eax, [ebp - 0x44]
cmovae eax, edx
cmp word [eax + 2], 0x3a
jne 0x464cf4
xor eax, eax
mov dword [ebp - 0x2c], vtable.LString.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push 0x4d7e10
call fcn.00409940
push 1
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x48]
call sym.XNewLook.exe_public:_int___thiscall_LString::find_nocase_class_LString_const___int_const
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
mov esi, eax
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
test esi, esi
jle 0x464cf4
xor eax, eax
mov dword [ebp - 0x2c], vtable.LString.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 1
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push 0x4d3404
call fcn.00409940
push 1
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x48]
call sym.XNewLook.exe_public:_int___thiscall_LString::find_nocase_class_LString_const___int_const
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
mov ebx, eax
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
test ebx, ebx
jle 0x464cf4
cmp ebx, esi
jge 0x464cf4
push 0x4d5bc0
push 0
lea ecx, [ebp - 0x44]
call fcn.0046a750
push 0x4d5bc0
lea eax, [esi + 5]
push eax
lea ecx, [ebp - 0x44]
call fcn.0046a750
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call sym.XNewLook.exe_public:_void___thiscall_LString::constructor_class_LString_const__
jmp 0x464e78
xor eax, eax
mov dword [ebp - 0x2c], vtable.LString.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 1
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push 0x4d5bc0
call fcn.00409940
mov byte [ebp - 4], 3
lea esi, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae esi, dword [ebp - 0x28]
mov edx, esi
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x464d50
sub edx, ecx
lea ecx, [ebp - 0x44]
sar edx, 1
cmp dword [ebp - 0x30], 8
push edx
cmovae ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x34]
push esi
push 1
call fcn.00408da0
add esp, 0xc
lea ecx, [ebp - 0x2c]
mov esi, eax
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
test esi, esi
js 0x464cf4
lea eax, [esi - 1]
push eax
push 1
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x48]
call sym.XNewLook.exe_public:_class_LString___thiscall_LString::substr_int__int_
push ebx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xa
call sym.XNewLook.exe_public:_void___thiscall_LString::constructor_class_LString_const__
push 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xb
call sym.XNewLook.exe_public:_class_LString____thiscall_LString::dir_fit_bool_
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x9c]
call sym.XNewLook.exe_public:_void___thiscall_LString::constructor_class_LString_const__
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x7c]
cmp dword [ebp - 0x68], 8
lea ecx, [ebp - 0x60]
push dword [ebp - 0x6c]
cmovae eax, dword [ebp - 0x7c]
push eax
call fcn.00408f20
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x64]
call sym.XNewLook.exe_public:_class_LString___thiscall_LString::get_real_file_from_env_format_void_
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
lea ecx, [ebp - 0x2c]
setne bl
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea eax, [ebp - 0x48]
push eax
test bl, bl
je 0x464e56
lea ecx, [ebp - 0x2c]
call sym.XNewLook.exe_public:_void___thiscall_LString::constructor_class_LString_const__
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x98]
cmp dword [ebp - 0x84], 8
lea ecx, [ebp - 0x28]
cmovae eax, dword [ebp - 0x98]
push eax
push 1
call fcn.0046a750
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call sym.XNewLook.exe_public:_void___thiscall_LString::constructor_class_LString_const__
lea ecx, [ebp - 0x2c]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
jmp 0x464e5d
mov ecx, edi
call sym.XNewLook.exe_public:_void___thiscall_LString::constructor_class_LString_const__
lea ecx, [ebp - 0x9c]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x64]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x80]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x48]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
mov eax, edi
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.00475880
mov esp, ebp
pop ebp
ret