Function at 0x42ef70
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc730
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4f9008]
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]
push eax
call sym.XNewLook.exe_public:_class_LString___thiscall_LString::get_real_file_from_env_format_void_
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x42efdd
cmp dword [ebp - 0x4c], 8
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
movzx eax, word [eax + ecx*2 - 2]
cmp eax, 0x5c
je 0x42efcf
cmp eax, 0x2f
jne 0x42efdd
lea eax, [ecx - 1]
push 0
push eax
lea ecx, [ebp - 0x60]
call fcn.00421300
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 - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
xor bh, bh
mov dword [ebp - 0x2c], vtable.LString.0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 2
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
add dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count], 2
push 0x4d5b80
call fcn.00409940
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x64]
call sym.XNewLook.exe_public:_bool___thiscall_LString::is_begin_by_class_LString_const___bool_const
lea ecx, [ebp - 0x2c]
mov bl, al
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
test bl, bl
je 0x42f05e
cmp dword [ebp - 0x50], 2
jne 0x42f05c
or esi, 0xffffffff
jmp 0x42f3a0
mov bh, 1
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 2
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push 0x4d6644
call fcn.00409940
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x64]
call sym.XNewLook.exe_public:_int___thiscall_LString::get_vt_str_by_sep_class_std::vector_class_LString__class_std::allocator_class_LString_____class_LString_const__const
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
mov ecx, dword [ebp - 0x70]
mov eax, 0x92492493
sub ecx, dword [ebp - 0x74]
imul ecx
mov dword [ebp - 0x78], 0
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x42f39e
xor esi, esi
mov dword [ebp - 0x68], esi
nop dword [eax]
mov eax, dword [ebp - 0x74]
cmp dword [eax + esi + 0x14], 0
je 0x42f36f
cmp dword [ebp - 0x34], 0
je 0x42f14f
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.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push 0x4d2b88
call fcn.00409940
mov byte [ebp - 4], 8
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x44]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00408f20
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
test bh, bh
je 0x42f1b4
cmp dword [ebp - 0x34], 0
jne 0x42f1b4
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 2
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push 0x4d5b80
call fcn.00409940
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x44]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00408f20
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
mov eax, dword [ebp - 0x74]
add eax, esi
cmp dword [eax + 0x18], 8
lea ecx, [eax + 4]
jb 0x42f1c5
mov ecx, dword [eax + 4]
push dword [eax + 0x14]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00408f20
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], 0xb
lea ecx, [ebp - 0x28]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push 0x4d2b80
call fcn.00409940
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x14]
lea esi, [ebp - 0x44]
mov edi, dword [ebp - 0x28]
cmp eax, 8
mov edx, dword [ebp - 0x34]
cmovae ecx, edi
cmp dword [ebp - 0x30], 8
cmovae esi, dword [ebp - 0x44]
cmp edx, dword [ebp - 0x18]
jne 0x42f24c
test edx, edx
je 0x42f245
sub esi, ecx
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x42f249
add ecx, 2
sub edx, 1
jne 0x42f231
mov eax, dword [ebp - 0x14]
mov bl, 1
jmp 0x42f24e
mov eax, dword [ebp - 0x14]
xor bl, bl
dec dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
cmp eax, 8
jb 0x42f288
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x42f27e
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f472
push ecx
push edi
call fcn.00475891
add esp, 8
test bl, bl
jne 0x42f36f
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 2
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x28]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push 0x4d329c
call fcn.00409940
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x44]
mov edx, dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x28]
cmp dword [ebp - 0x30], 8
cmovae esi, dword [ebp - 0x44]
cmp edx, dword [ebp - 0x18]
jne 0x42f305
test edx, edx
je 0x42f301
sub esi, eax
nop dword [eax]
mov cx, word [eax + esi]
cmp cx, word [eax]
jne 0x42f305
add eax, 2
sub edx, 1
jne 0x42f2f0
mov bl, 1
jmp 0x42f307
xor bl, bl
lea ecx, [ebp - 0x2c]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
test bl, bl
jne 0x42f36f
cmp dword [ebp - 0x34], 2
jne 0x42f32b
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
cmp word [eax + 2], 0x3a
je 0x42f36f
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
call sym.XNewLook.exe_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.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
test bl, bl
jne 0x42f36f
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push 0
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0x70]
mov eax, 0x92492493
sub ecx, dword [ebp - 0x74]
mov esi, dword [ebp - 0x78]
add dword [ebp - 0x68], 0x1c
inc esi
imul ecx
mov dword [ebp - 0x78], esi
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
mov esi, dword [ebp - 0x68]
jb 0x42f0e0
xor esi, esi
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xd
call fcn.004061f0
mov eax, dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
mov edx, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x48], vtable.LString.0
mov dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count], eax
cmp edx, 8
jb 0x42f3fd
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42f3ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f472
push edx
push ecx
call fcn.00475891
mov eax, dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
add esp, 8
mov edx, dword [ebp - 0x4c]
xor ecx, ecx
dec eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], cx
mov dword [ebp - 0x64], vtable.LString.0
mov dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count], eax
cmp edx, 8
jb 0x42f454
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42f44a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f472
push edx
push ecx
call fcn.00475891
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.00475880
mov esp, ebp
pop ebp
ret
call fcn.0047cd61
int3