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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d8aca
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
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 esi, ecx
mov dword [ebp - 0x120], esi
lea ecx, [ebp - 0xd0]
call fcn.100700c0
mov dword [ebp - 4], 0
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 0xa
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
inc dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
push str.LocalTemp
call fcn.10002b70
push 0x23
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 2
push 1
push eax
call sym.XNewLookSch.dll_class_LString___cdecl_LEnvironment::GetSpecialDir_bool__int_
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
push ecx
push eax
lea eax, [ebp - 0x48]
push eax
call sym.XNewLookSch.dll_class_LString___cdecl_operator_class_LString_const___class_LString_const__
add esp, 0x18
lea ecx, [ebp - 0x140]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea eax, [ebp - 0x48]
push eax
call sym.XNewLookSch.dll_int___cdecl_LFile::make_dir_class_LString_const__
add esp, 4
cmp dword [esi + 0x1d0], 0
je 0x1006e38e
lea eax, [ebp - 0x2c]
push eax
lea ecx, [esi + 0x1bc]
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]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1006e368
mov byte [ebp - 0x119], 0
mov bl, byte [ebp - 0x119]
jmp 0x1006e375
shr ebx, 4
mov byte [ebp - 0x119], 1
and bl, 1
lea ecx, [ebp - 0x2c]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
cmp byte [ebp - 0x119], 0
je 0x1006e38e
test bl, bl
je 0x1006e4d5
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], 7
lea ecx, [ebp - 0x28]
inc dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
push str..res
call fcn.10002b70
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 8
push eax
call sym.XNewLookSch.dll_public:_static_class_LString___cdecl_LString::generateUUID2_void_
add esp, 4
mov dword [ebp - 0x124], eax
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x1006e45a
mov ebx, dword [ebp - 0x30]
lea ecx, [ebp - 0x44]
cmp ebx, 8
cmovae ecx, dword [ebp - 0x44]
movzx eax, word [ecx + edx*2 - 2]
cmp eax, 0x5c
je 0x1006e45a
cmp eax, 0x2f
je 0x1006e45a
mov eax, ebx
sub eax, edx
cmp eax, 1
jb 0x1006e43c
cmp ebx, 8
lea esi, [ebp - 0x44]
push 2
cmovae esi, dword [ebp - 0x44]
lea edi, [edx + 1]
push 0x100ee8cc
mov dword [ebp - 0x34], edi
lea eax, [esi + edx*2]
push eax
call fcn.1008e280
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
mov esi, dword [ebp - 0x120]
jmp 0x1006e45a
push 1
push 0x100ee8cc
mov byte [ebp - 0x120], 0
lea ecx, [ebp - 0x44]
push dword [ebp - 0x120]
push 1
call fcn.100129e0
push dword [ebp - 0x124]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x15c]
push eax
call sym.XNewLookSch.dll_class_LString___cdecl_operator_class_LString_const___class_LString_const__
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
push ecx
push eax
lea eax, [ebp - 0x140]
push eax
call sym.XNewLookSch.dll_class_LString___cdecl_operator_class_LString_const___class_LString_const__
add esp, 0x18
add eax, 4
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0x1c0]
cmp ecx, eax
je 0x1006e4ac
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x1006e4a3
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.10002b70
lea ecx, [ebp - 0x140]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x15c]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x178]
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_
push 0x48
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.1008da10
inc dword [sym.XNewLookSch.dll_unsigned_int_LString::_ui_instance_count]
xor eax, eax
xorps xmm0, xmm0
mov dword [ebp - method.LString.virtual_0], vtable.LString.0
add esp, 0xc
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 7
mov word [ebp - 0x110], ax
mov dword [ebp - 0xf8], eax
movlpd qword [ebp - 0xe8], xmm0
movlpd qword [ebp - 0xf0], xmm0
mov byte [ebp - 0xd8], al
mov dword [ebp - 0x118], 0x1000101
mov byte [ebp - 0xe0], 1
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x118]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 8]
push dword [ebp - 0xe8]
lea eax, [esi + 0x1bc]
push dword [ebp - 0xf8]
push eax
call sym.XNewLookSch.dll_int___cdecl_LFile::write_to_file2_class_LString_const___unsigned_char_const___int_
add esp, 0xc
cmp byte [ebp - 0xe0], 0
jne 0x1006e5ab
mov eax, dword [ebp - 0xf8]
test eax, eax
je 0x1006e5ab
push eax
call fcn.1008c032
xorps xmm0, xmm0
mov dword [ebp - 0xf8], 0
add esp, 4
movlpd qword [ebp - 0xe8], xmm0
movlpd qword [ebp - 0xf0], xmm0
lea ecx, [ebp - 0x114]
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_
lea ecx, [ebp - 0x68]
mov dword [ebp - 0xd0], vtable.SLMsgBase.0
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x84]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0xa0]
call sym.XNewLookSch.dll_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0xbc]
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