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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b925c
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x4f9008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov al, byte [ebp + 8]
mov byte [ebp - 0x17e], al
xor eax, eax
mov dword [ebp - 0x4c], vtable.LString.0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
push 0xf
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x48]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push str.XNewLookSch.dll
call fcn.00409940
mov dword [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0x30], vtable.LString.0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
push 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push 0x4d2b88
call fcn.00409940
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0xa0]
push esi
push eax
call sym.XNewLook.exe_class_LString___cdecl_operator_class_LString_const___class_LString_const__
add esp, 0xc
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0x84]
push eax
call sym.XNewLook.exe_class_LString___cdecl_operator_class_LString_const___class_LString_const__
add esp, 0xc
lea ecx, [ebp - 0xa0]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x30]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 8
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x84]
call sym.XNewLook.exe_public:_class_LString___thiscall_LString::get_real_file_from_env_format_void_
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4110dc
mov bl, byte [ebp - 0x17e]
mov byte [ebp - 0x17d], 0
jmp 0x4110e9
shr ebx, 4
mov byte [ebp - 0x17d], 1
and bl, 1
lea ecx, [ebp - 0x4c]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
cmp byte [ebp - 0x17d], 0
je 0x411309
test bl, bl
jne 0x411309
lea eax, [ebp - 0x68]
push 1
push eax
call sym.XNewLook.exe_class_LString___cdecl_LEnvironment::GetWindowsSystem32Dir_bool_
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], vtable.LString.0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
push 0xd
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push str.rundll32.exe
call fcn.00409940
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x64]
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.00408f20
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 9
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x84]
call sym.XNewLook.exe_public:_class_LString___thiscall_LString::get_include_double_quotation_void_
mov byte [ebp - 4], 0xc
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 8
jb 0x411191
mov ecx, dword [eax + 4]
push dword [eax + 0x14]
push ecx
lea ecx, [ebp - 0x64]
call fcn.00408f20
lea ecx, [ebp - 0xa0]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
xor eax, eax
mov dword [ebp - 0x30], vtable.LString.0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
push 1
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2c]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push 0x4d2b84
call fcn.00409940
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x64]
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.00408f20
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 9
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
cmp byte [ebp - 0x17e], 0
mov ecx, str.DllUnregisterServer
mov eax, str.DllRegisterServer
cmove eax, ecx
lea ecx, [ebp - 0x4c]
push eax
call sym.XNewLook.exe_public:_void___thiscall_LString::constructor_wchar_t_const__
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x48]
cmp dword [ebp - 0x34], 8
lea ecx, [ebp - 0x64]
push dword [ebp - 0x38]
cmovae eax, dword [ebp - 0x48]
push eax
call fcn.00408f20
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 9
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x17c]
call sym.XNewLook.exe_public:_void___thiscall_LProcess::LProcessParam::constructor_void_
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x64]
cmp dword [ebp - 0x50], 8
lea ecx, [ebp - 0x178]
push dword [ebp - 0x54]
cmovae eax, dword [ebp - 0x64]
push eax
call fcn.00409940
lea eax, [ebp - 0x17c]
mov dword [ebp - 0x160], 0
push eax
mov dword [ebp - 0x15c], 0
call sym.XNewLook.exe_int___cdecl_LProcess::NewProcess_class_LProcess::LProcessParam__
add esp, 4
lea ecx, [ebp - 0x64]
cmp dword [ebp - 0x50], 8
cmovae ecx, dword [ebp - 0x64]
push eax
push ecx
push str.Cmd:__s__ret:__d_
push 0x61
push str.d:cleanmoonpc_windows_softwarep29_xnewlookxnewlookxnewlookprotecthelp.cpp
push 3
push sym.XNewLook.exe_class_LFileLog_LFileLog::sta_ins
call sym.XNewLook.exe_public:_int___cdecl_LFileLog::log_int__wchar_t_const___int__wchar_t_const__
add esp, 0x1c
lea ecx, [ebp - 0xd8]
mov bl, 1
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0xf4]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x110]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x130]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x158]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x17c]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x68]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
jmp 0x411332
cmp dword [ebp - 0x6c], 8
lea eax, [ebp - 0x80]
cmovae eax, dword [ebp - 0x80]
push eax
push str.SchDLLFile_Not_Exist___s_
push 0x54
push str.d:cleanmoonpc_windows_softwarep29_xnewlookxnewlookxnewlookprotecthelp.cpp
push 1
push sym.XNewLook.exe_class_LFileLog_LFileLog::sta_ins
call sym.XNewLook.exe_public:_int___cdecl_LFileLog::log_int__wchar_t_const___int__wchar_t_const__
add esp, 0x18
xor bl, bl
lea ecx, [ebp - 0x84]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00475880
mov esp, ebp
pop ebp
ret 4