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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc5b8
mov eax, dword fs:[0]
push eax
sub esp, 0x138
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 edi, dword [ebp + 0xc]
lea eax, [ebp - 0xc8]
mov esi, dword [ebp + 8]
mov ecx, edi
push eax
mov dword [ebp - 0x140], esi
mov dword [ebp - 0x144], esi
mov dword [ebp - 0x13c], edi
call sym.XNewLook.exe_public:_class_LString___thiscall_LString::get_real_file_from_env_format_void_
cmp dword [ebp - 0xb0], 8
lea eax, [ebp - 0xc4]
cmovae eax, dword [ebp - 0xc4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
lea ecx, [ebp - 0xc8]
setne bl
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
xor eax, eax
test bl, bl
je 0x42dd03
lea edi, [eax + 1]
mov dword [ebp - 0xac], vtable.LString.0
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
push edi
mov dword [ebp - 4], eax
lea ecx, [ebp - 0xa8]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push 0x4d5b70
call fcn.00409940
mov ecx, dword [ebp - 0x13c]
lea eax, [ebp - 0xe4]
push eax
mov dword [ebp - 4], edi
call sym.XNewLook.exe_public:_class_LString___thiscall_LString::get_short_name_no_suffix_void_
mov esi, eax
mov ecx, dword [ebp - 0x13c]
lea eax, [ebp - 0xc8]
push edi
push eax
mov byte [ebp - 4], 2
call sym.XNewLook.exe_public:_class_LString___thiscall_LString::get_path_bool_
push esi
push eax
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 3
push eax
call sym.XNewLook.exe_class_LString___cdecl_operator_class_LString_const___class_LString_const__
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0x138]
push eax
call sym.XNewLook.exe_class_LString___cdecl_operator_class_LString_const___class_LString_const__
add esp, 0x18
lea ecx, [ebp - 0x100]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0xc8]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0xe4]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0xac]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop word [eax + eax]
xor eax, eax
mov dword [ebp - 0xac], vtable.LString.0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
push 1
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xa8]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push 0x4d2b80
call fcn.00409940
xor eax, eax
mov dword [ebp - 0x90], vtable.LString.0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
push 0x64
push eax
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0xc
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push eax
call fcn.004773d0
push 0xa
lea eax, [ebp - 0x74]
push eax
push edi
call fcn.0047d2de
lea ecx, [ebp - 0x74]
add esp, 0x18
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d940
sub ecx, edx
lea eax, [ebp - 0x74]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x8c]
call fcn.00409940
mov ecx, dword [ebp - 0x13c]
lea eax, [ebp - 0xc8]
push eax
mov byte [ebp - 4], 0xd
call sym.XNewLook.exe_public:_class_LString___thiscall_LString::get_suffix_void_
mov esi, eax
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xe4]
push eax
call sym.XNewLook.exe_class_LString___cdecl_operator_class_LString_const___class_LString_const__
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0xf
push ecx
push eax
lea eax, [ebp - 0x11c]
push eax
call sym.XNewLook.exe_class_LString___cdecl_operator_class_LString_const___class_LString_const__
push esi
push eax
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 0x10
push eax
call sym.XNewLook.exe_class_LString___cdecl_operator_class_LString_const___class_LString_const__
add esp, 0x24
mov byte [ebp - 4], 0x12
mov eax, dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
mov edx, dword [ebp - 0x104]
dec eax
mov dword [ebp - method.LString.virtual_0], vtable.LString.0
mov dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count], eax
cmp edx, 8
jb 0x42da20
mov ecx, dword [ebp - 0x118]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42da11
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42dd62
push edx
push ecx
call fcn.00475891
mov eax, dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 7
mov word [ebp - 0x118], cx
mov byte [ebp - 4], 0x13
dec eax
mov edx, dword [ebp - 0xcc]
mov dword [ebp - 0xe4], vtable.LString.0
mov dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count], eax
cmp edx, 8
jb 0x42da96
mov ecx, dword [ebp - 0xe0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42da87
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42dd62
push edx
push ecx
call fcn.00475891
mov eax, dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 7
mov word [ebp - 0xe0], cx
mov byte [ebp - 4], 0x14
dec eax
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0xc8], vtable.LString.0
mov dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count], eax
cmp edx, 8
jb 0x42db0c
mov ecx, dword [ebp - 0xc4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42dafd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42dd62
push edx
push ecx
call fcn.00475891
mov eax, dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 7
mov word [ebp - 0xc4], cx
mov byte [ebp - 4], 0x15
dec eax
mov edx, dword [ebp - 0x78]
mov dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count], eax
cmp edx, 8
jb 0x42db75
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42db66
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42dd62
push edx
push ecx
call fcn.00475891
mov eax, dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
add esp, 8
mov byte [ebp - 4], 0x16
dec eax
mov edx, dword [ebp - 0x94]
mov dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count], eax
cmp edx, 8
jb 0x42dbbf
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42dbb5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42dd62
push edx
push ecx
call fcn.00475891
add esp, 8
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x100]
call sym.XNewLook.exe_public:_class_LString___thiscall_LString::get_real_file_from_env_format_void_
cmp dword [ebp - 0x78], 8
lea eax, [ebp - 0x8c]
cmovae eax, dword [ebp - 0x8c]
push eax
call ebx
dec dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x90], vtable.LString.0
cmp eax, 0xffffffff
je 0x42dc99
cmp edx, 8
jb 0x42dc3b
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42dc31
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42dd62
push edx
push ecx
call fcn.00475891
add esp, 8
mov byte [ebp - 4], 9
inc edi
dec dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
mov edx, dword [ebp - 0xe8]
mov dword [ebp - method.LString.virtual_0], vtable.LString.0
cmp edx, 8
jb 0x42d8b0
mov ecx, dword [ebp - 0xfc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42dc8a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42dd62
push edx
push ecx
call fcn.00475891
add esp, 8
jmp 0x42d8b0
cmp edx, 8
jb 0x42dcd3
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42dcc9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42dd62
push edx
push ecx
call fcn.00475891
add esp, 8
mov ecx, dword [ebp - 0x140]
lea eax, [ebp - 0x100]
push eax
call sym.XNewLook.exe_public:_void___thiscall_LString::constructor_class_LString_const__
lea ecx, [ebp - 0x100]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x138]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
mov eax, dword [ebp - 0x140]
jmp 0x42dd46
lea ecx, [esi + 4]
mov dword [esi], vtable.LString.0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov dword [ebp - 4], 0x17
lea eax, [edi + 4]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
cmp ecx, eax
je 0x42dd44
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x42dd3b
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.00409940
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