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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d6a31
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x101120a8]
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.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
push str.__t_r_n
call fcn.10002b70
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call sym.XNewLookSch.dll_public:_class_LString___thiscall_LString::get_trim_both_class_LString_const__
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
mov eax, dword [ebp - 0x34]
cmp eax, 3
jge 0x10055913
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.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
cmp ecx, edx
je 0x10055b98
cmp dword [ebp - 0x30], 8
push eax
cmovae edx, dword [ebp - 0x44]
push edx
call fcn.10002b70
jmp 0x10055b98
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 0x10055a24
cmp ecx, 8
lea eax, [ebp - 0x44]
cmovae eax, edx
cmp word [eax + 2], 0x3a
jne 0x10055a14
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.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
push 0x100f1040
call fcn.10002b70
push 1
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x48]
call sym.XNewLookSch.dll_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.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
test esi, esi
jle 0x10055a14
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.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
push 0x100eeb34
call fcn.10002b70
push 1
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x48]
call sym.XNewLookSch.dll_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.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
test ebx, ebx
jle 0x10055a14
cmp ebx, esi
jge 0x10055a14
push 0x100eebd8
push 0
lea ecx, [ebp - 0x44]
call fcn.1005b3f0
push 0x100eebd8
lea eax, [esi + 5]
push eax
lea ecx, [ebp - 0x44]
call fcn.1005b3f0
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call sym.XNewLookSch.dll_public:_void___thiscall_LString::constructor_class_LString_const__
jmp 0x10055b98
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.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
push 0x100eebd8
call fcn.10002b70
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 0x10055a70
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.100126c0
add esp, 0xc
lea ecx, [ebp - 0x2c]
mov esi, eax
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
test esi, esi
js 0x10055a14
lea eax, [esi - 1]
push eax
push 1
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x48]
call sym.XNewLookSch.dll_public:_class_LString___thiscall_LString::substr_int__int_
push ebx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xa
call sym.XNewLookSch.dll_public:_void___thiscall_LString::constructor_class_LString_const__
push 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xb
call sym.XNewLookSch.dll_public:_class_LString____thiscall_LString::dir_fit_bool_
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x9c]
call sym.XNewLookSch.dll_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.10011440
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x64]
call sym.XNewLookSch.dll_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.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea eax, [ebp - 0x48]
push eax
test bl, bl
je 0x10055b76
lea ecx, [ebp - 0x2c]
call sym.XNewLookSch.dll_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.1005b3f0
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call sym.XNewLookSch.dll_public:_void___thiscall_LString::constructor_class_LString_const__
lea ecx, [ebp - 0x2c]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
jmp 0x10055b7d
mov ecx, edi
call sym.XNewLookSch.dll_public:_void___thiscall_LString::constructor_class_LString_const__
lea ecx, [ebp - 0x9c]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x64]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x80]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x48]
call sym.XNewLookSch.dll_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.1008bffe
mov esp, ebp
pop ebp
ret