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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d3278
mov eax, dword fs:[0]
push eax
sub esp, 0x60
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 eax, dword [ebp + 8]
xor ecx, ecx
mov edx, 7
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 0x2c], vtable.LString.0
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov word [ebp - 0x28], si
mov dword [ebp - 4], esi
add eax, 4
inc dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
lea esi, [ebp - 0x28]
cmp esi, eax
je 0x1002c22d
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x1002c21b
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10002b70
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x1002c29e
mov ebx, dword [ebp - 0x28]
lea eax, [ebp - 0x28]
cmp edx, 8
cmovae eax, ebx
movzx eax, word [eax + ecx*2 - 2]
cmp eax, 0x5c
je 0x1002c29e
cmp eax, 0x2f
je 0x1002c29e
mov eax, edx
sub eax, ecx
cmp eax, 1
jb 0x1002c286
cmp edx, 8
lea esi, [ebp - 0x28]
push 2
cmovae esi, ebx
lea edi, [ecx + 1]
push 0x100ee8cc
mov dword [ebp - 0x18], edi
lea eax, [esi + ecx*2]
push eax
call fcn.1008e280
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x1002c29e
push 1
push 0x100ee8cc
mov byte [ebp - 0x68], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x68]
push 1
call fcn.100129e0
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x18], 8
lea ecx, [eax + 4]
jb 0x1002c2ad
mov ecx, dword [eax + 4]
push dword [eax + 0x14]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10011440
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
push 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
inc dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
push str..bak
call fcn.10002b70
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x2c]
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 - 0x48]
mov byte [ebp - 4], 5
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
cmp byte [ebp + 0xc], 0
lea eax, [ebp - 0x48]
push eax
je 0x1002c350
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]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
lea ecx, [ebp - 0x48]
setne bl
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
test bl, bl
je 0x1002c38c
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x64]
jmp 0x1002c383
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 dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
lea ecx, [ebp - 0x48]
setne bl
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
test bl, bl
je 0x1002c38c
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x2c]
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 - 0x2c]
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 edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008bffe
mov esp, ebp
pop ebp
ret