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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bd08c
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x4f9008]
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.XNewLook.exe_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 0x434251
push 1
push 0x4d2b88
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00409940
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 2
push 0
push eax
call sym.XNewLook.exe_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.XNewLook.exe_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.XNewLook.exe_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 0x434233
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x434227
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00409940
lea ecx, [ebp - 0x80]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x9c]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0xb8]
jmp 0x4342da
push 1
push 0x4d2b88
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.00409940
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 7
push 0
push eax
call sym.XNewLook.exe_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.XNewLook.exe_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.XNewLook.exe_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 0x4342c1
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x4342b5
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00409940
lea ecx, [ebp - 0xb8]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x9c]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x80]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x2c]
call sym.XNewLook.exe_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.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push str..bak
call fcn.00409940
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.XNewLook.exe_class_LString___cdecl_operator_class_LString_const___class_LString_const__
add esp, 0xc
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
cmp byte [ebp + 0xc], 0
lea eax, [ebp - 0x2c]
push eax
je 0x43437e
lea ecx, [ebp - 0x64]
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
je 0x4343ba
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x64]
jmp 0x4343b1
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
je 0x4343ba
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x48]
push eax
call sym.XNewLook.exe_bool___cdecl_LFile::move_class_LString_const___class_LString_const__
add esp, 8
lea ecx, [ebp - 0x64]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x48]
call sym.XNewLook.exe_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.00475880
mov esp, ebp
pop ebp
ret