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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d2c96
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
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 ecx, dword [ebp + 8]
lea eax, [ebp - 0x64]
mov esi, dword [ebp + 0xc]
push eax
call sym.XNewLookSch.dll_public:_class_LString___thiscall_LString::get_real_file_from_env_format_void_
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call sym.XNewLookSch.dll_public:_class_LString___thiscall_LString::get_real_file_from_env_format_void_
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 1
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 - 0x30], 8
lea eax, [ebp - 0x44]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmovae eax, dword [ebp - 0x44]
push eax
call esi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x100291d3
mov byte [ebp - 0x65], 0
mov bl, byte [ebp - 0x65]
jmp 0x100291dd
shr ebx, 4
mov byte [ebp - 0x65], 1
and bl, 1
lea ecx, [ebp - 0x48]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
cmp byte [ebp - 0x65], 0
je 0x1002946d
test bl, bl
je 0x1002946d
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call sym.XNewLookSch.dll_public:_class_LString___thiscall_LString::get_real_file_from_env_format_void_
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call esi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10029221
mov byte [ebp - 0x65], 0
mov bl, byte [ebp - 0x65]
jmp 0x1002922b
shr ebx, 4
mov byte [ebp - 0x65], 1
and bl, 1
lea ecx, [ebp - 0x48]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
cmp byte [ebp - 0x65], 0
je 0x1002946d
test bl, bl
je 0x1002946d
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x60]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x4c], 8
push ecx
cmovae eax, dword [ebp - 0x60]
push eax
call fcn.10092559
add esp, 8
test eax, eax
jne 0x10029270
xor esi, esi
jmp 0x10029470
lea ecx, [ebp - 0xb4]
call sym.XNewLookSch.dll_public:_void___thiscall_LDirSnap::constructor_void_
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xb4]
mov byte [ebp - 0xb4], 1
call sym.XNewLookSch.dll_public:_void___thiscall_LDirSnap::set_file_class_LString_const__
lea ecx, [ebp - 0xb4]
call sym.XNewLookSch.dll_public:_int___thiscall_LDirSnap::snap_void_
lea ecx, [ebp - 0xfc]
call sym.XNewLookSch.dll_public:_void___thiscall_LDirSnap::constructor_void_
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0xfc]
mov byte [ebp - 0xfc], 1
call sym.XNewLookSch.dll_public:_void___thiscall_LDirSnap::set_file_class_LString_const__
lea ecx, [ebp - 0xfc]
call sym.XNewLookSch.dll_public:_int___thiscall_LDirSnap::snap_void_
mov ecx, dword [ebp - 0xac]
mov eax, 0x2e8ba2e9
mov edi, dword [ebp - 0xb0]
sub ecx, edi
mov ebx, dword [ebp - 0xf8]
imul ecx
mov ecx, dword [ebp - 0xf4]
mov eax, 0x2e8ba2e9
sar edx, 4
sub ecx, ebx
mov esi, edx
shr esi, 0x1f
add esi, edx
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
je 0x1002931c
mov esi, 0xfffffffd
jmp 0x100293de
xor ecx, ecx
mov dword [ebp - 0x6c], ecx
test esi, esi
je 0x100293dc
xor esi, esi
nop dword [eax + eax]
lea ecx, [esi + 0x20]
add ecx, ebx
cmp dword [ecx + 0x14], 8
jb 0x1002933d
mov ecx, dword [ecx]
lea eax, [esi + 0x20]
add eax, edi
cmp dword [eax + 0x14], 8
jb 0x1002934a
mov eax, dword [eax]
push ecx
push eax
call fcn.10092559
add esp, 8
test eax, eax
jne 0x10029463
mov edi, dword [ebp - 0xb0]
mov ebx, dword [ebp - 0xf8]
lea edx, [edi + esi]
mov al, byte [edx + 0x50]
lea ecx, [ebx + esi]
cmp al, byte [ecx + 0x50]
jne 0x10029459
test al, al
jne 0x100293b4
mov eax, dword [edx + 0x40]
cmp eax, dword [ecx + 0x40]
jne 0x10029452
mov eax, dword [edx + 0x44]
cmp eax, dword [ecx + 0x44]
jne 0x10029452
push ecx
push edx
call sym.XNewLookSch.dll_int___cdecl_LFile::compare_class_LString_const___class_LString_const__
add esp, 8
test eax, eax
jne 0x1002944b
mov edi, dword [ebp - 0xb0]
mov ebx, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xac]
mov eax, 0x2e8ba2e9
inc dword [ebp - 0x6c]
sub ecx, edi
imul ecx
add esi, 0x58
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x6c], eax
jb 0x10029330
xor esi, esi
lea ecx, [ebp - 0xc0]
call fcn.10011ab0
lea ecx, [ebp - 0xcc]
call fcn.10011ab0
lea ecx, [ebp - 0xd8]
call fcn.10011ab0
lea ecx, [ebp - 0xe4]
call fcn.10011ab0
lea ecx, [ebp - 0xf8]
call fcn.100310d0
lea ecx, [ebp - 0x78]
call fcn.10011ab0
lea ecx, [ebp - 0x84]
call fcn.10011ab0
lea ecx, [ebp - 0x90]
call fcn.10011ab0
lea ecx, [ebp - 0x9c]
call fcn.10011ab0
lea ecx, [ebp - 0xb0]
call fcn.100310d0
jmp 0x10029470
mov esi, 0xfffffff8
jmp 0x100293de
mov esi, 0xfffffffb
jmp 0x100293de
mov esi, 0xfffffff9
jmp 0x100293de
mov esi, 0xfffffffc
jmp 0x100293de
or esi, 0xffffffff
mov eax, dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
mov edx, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x2c], vtable.LString.0
mov dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count], eax
cmp edx, 8
jb 0x100294c1
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100294b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029536
push edx
push ecx
call fcn.1008bfe4
mov eax, dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
add esp, 8
mov edx, dword [ebp - 0x4c]
xor ecx, ecx
dec eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
mov dword [ebp - 0x64], vtable.LString.0
mov dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count], eax
cmp edx, 8
jb 0x10029518
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002950e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029536
push edx
push ecx
call fcn.1008bfe4
add esp, 8
mov eax, esi
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
call fcn.10092486
int3