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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d331c
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x101120a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x48], vtable.LString.0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov dword [ebp - 4], eax
add dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count], 2
mov dword [ebp - 0x2c], vtable.LString.0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp byte [ebp + 0x10], al
je 0x1002c4c1
push 1
push 0x100ee8cc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10002b70
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 2
push 0
push eax
call sym.XNewLookSch.dll_class_LString___cdecl_LEnvironment::GetWindowsSystem32Dir_bool_
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
push ecx
push eax
lea eax, [ebp - 0x9c]
push eax
call sym.XNewLookSch.dll_class_LString___cdecl_operator_class_LString_const___class_LString_const__
push esi
push eax
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 4
push eax
call sym.XNewLookSch.dll_class_LString___cdecl_operator_class_LString_const___class_LString_const__
add esp, 0x20
add eax, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44]
cmp ecx, eax
je 0x1002c4a3
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x1002c497
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x44]
call fcn.10002b70
lea ecx, [ebp - 0x80]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x9c]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0xb8]
jmp 0x1002c54a
push 1
push 0x100ee8cc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.10002b70
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 7
push 0
push eax
call sym.XNewLookSch.dll_class_LString___cdecl_LEnvironment::GetMyExeFullFilePath_bool_
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
push ecx
push eax
lea eax, [ebp - 0x9c]
push eax
call sym.XNewLookSch.dll_class_LString___cdecl_operator_class_LString_const___class_LString_const__
push esi
push eax
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 9
push eax
call sym.XNewLookSch.dll_class_LString___cdecl_operator_class_LString_const___class_LString_const__
add esp, 0x20
add eax, 4
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x44]
cmp ecx, eax
je 0x1002c531
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x1002c525
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x44]
call fcn.10002b70
lea ecx, [ebp - 0xb8]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x9c]
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 - 0x2c]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
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], 0xb
lea ecx, [ebp - 0x28]
inc dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
push str..bak
call fcn.10002b70
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x64]
push eax
call sym.XNewLookSch.dll_class_LString___cdecl_operator_class_LString_const___class_LString_const__
add esp, 0xc
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
cmp byte [ebp + 0xc], 0
lea eax, [ebp - 0x2c]
push eax
je 0x1002c5ee
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_
test bl, bl
je 0x1002c62a
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x64]
jmp 0x1002c621
lea ecx, [ebp - 0x48]
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_
test bl, bl
je 0x1002c62a
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x48]
push eax
call sym.XNewLookSch.dll_bool___cdecl_LFile::move_class_LString_const___class_LString_const__
add esp, 8
lea ecx, [ebp - 0x64]
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_
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008bffe
mov esp, ebp
pop ebp
ret