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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bcfe8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
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 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.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
lea esi, [ebp - 0x28]
cmp esi, eax
je 0x433fbd
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x433fab
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00409940
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x43402e
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 0x43402e
cmp eax, 0x2f
je 0x43402e
mov eax, edx
sub eax, ecx
cmp eax, 1
jb 0x434016
cmp edx, 8
lea esi, [ebp - 0x28]
push 2
cmovae esi, ebx
lea edi, [ecx + 1]
push 0x4d2b88
mov dword [ebp - 0x18], edi
lea eax, [esi + ecx*2]
push eax
call fcn.00478b30
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x43402e
push 1
push 0x4d2b88
mov byte [ebp - 0x68], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x68]
push 1
call fcn.004090c0
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x18], 8
lea ecx, [eax + 4]
jb 0x43403d
mov ecx, dword [eax + 4]
push dword [eax + 0x14]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00408f20
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.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push str..bak
call fcn.00409940
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.XNewLook.exe_class_LString___cdecl_operator_class_LString_const___class_LString_const__
add esp, 0xc
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
cmp byte [ebp + 0xc], 0
lea eax, [ebp - 0x48]
push eax
je 0x4340e0
lea ecx, [ebp - 0x64]
call sym.XNewLook.exe_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.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
test bl, bl
je 0x43411c
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x64]
jmp 0x434113
lea ecx, [ebp - 0x2c]
call sym.XNewLook.exe_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.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
test bl, bl
je 0x43411c
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x2c]
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 - 0x2c]
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 edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00475880
mov esp, ebp
pop ebp
ret