Function at 0x411360
Capabilities:
Check if file exists
Get file attributes
Hide graphical window
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9290
mov eax, dword fs:[0]
push eax
sub esp, 0x674
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]
lea ecx, [ebp - 0x24c]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
mov dword [ebp - 0x67c], eax
xor eax, eax
push 0xc
push 0x4d2b54
mov dword [ebp - method.LString.virtual_0], vtable.LString.0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
call fcn.00409940
cmp byte [0x4fc8e0], 0
je 0x4114d0
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
lea ecx, [ebp - 0x230]
push 7
xor eax, eax
mov dword [ebp - method.LString.virtual_0], vtable.LString.0
push str.log_msg
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00409940
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x288]
call fcn.00402770
push eax
lea eax, [ebp - 0x26c]
push eax
call sym.XNewLook.exe_class_LString___cdecl_operator_class_LString_const___class_LString_const__
add esp, 0xc
lea ecx, [ebp - 0x288]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x234]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x26c]
call sym.XNewLook.exe_public:_class_LString___thiscall_LString::get_real_file_from_env_format_void_
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [ebp - 0x234]
mov ebx, eax
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
cmp ebx, 0xffffffff
je 0x41149e
test bl, 0x10
jne 0x4114ad
lea eax, [ebp - 0x26c]
push eax
call sym.XNewLook.exe_int___cdecl_LFile::make_dir_class_LString_const__
add esp, 4
lea eax, [ebp - 0x250]
mov ecx, sym.XNewLook.exe_class_LFileLog_LFileLog::sta_ins
push eax
lea eax, [ebp - 0x26c]
push eax
call sym.XNewLook.exe_public:_int___thiscall_LFileLog::set_path_class_LString_const___class_LString_const__
lea ecx, [ebp - 0x26c]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x250]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
push str.TEST
push str.Start__s
push 0x29
push str.d:cleanmoonpc_windows_softwarep29_xnewlookxnewlookxnewlookmain.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__
mov esi, dword [0x4fc294]
add esp, 0x18
test esi, esi
jne 0x4115a5
push 0x24
call fcn.0047589f
add esp, 4
mov esi, eax
mov ecx, esi
call sym.XNewLook.exe_public:_void___thiscall_LMutexEx::constructor_void_
push 0x26
push str.E2E5AE21_A4B6_478f_8031_BEE09A9ED119
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.004094a0
lea eax, [ebp - 0x230]
mov dword [esi + 4], 0
push eax
mov ecx, esi
call sym.XNewLook.exe_public:_int___thiscall_LMutexEx::init_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
mov edx, dword [ebp - 0x21c]
cmp edx, 0x10
jb 0x411598
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41158e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411b26
push edx
push ecx
call fcn.00475891
add esp, 8
mov ecx, esi
call sym.XNewLook.exe_public:_int___thiscall_LMutexEx::lock_void_
mov dword [0x4fc294], esi
mov ecx, esi
call fcn.0040bcb0
test eax, eax
je 0x4115ba
mov eax, 1
jmp 0x411b08
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push 0x1088
call fcn.0047589f
mov ebx, eax
xor ecx, ecx
xor eax, eax
add esp, 4
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov word [ebx + 8], ax
mov dword [ebx + 0x210], eax
mov dword [ebx + 0x214], eax
mov word [ebx + 0x218], cx
lea ecx, [ebx + 0x1080]
mov dword [ebx + 0x420], eax
mov dword [ebx + 0x424], eax
mov word [ebx + 0x428], ax
mov dword [ebx + 0x630], eax
mov dword [ebx + 0x634], eax
mov word [ebx + 0x638], ax
mov dword [ebx + 0x840], eax
mov dword [ebx + 0x844], eax
mov word [ebx + 0x848], ax
mov dword [ebx + 0xa50], eax
mov dword [ebx + 0xa54], eax
mov word [ebx + 0xa58], ax
mov dword [ebx + 0xc60], eax
mov dword [ebx + 0xc64], eax
mov word [ebx + 0xc68], ax
mov dword [ebx + 0xe70], eax
mov dword [ebx + 0xe74], eax
mov word [ebx + 0xe78], ax
call dword [sym.imp.XNewLookUtil.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_void_]
lea ecx, [ebx + 0x1084]
call dword [sym.imp.XNewLookUtil.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_void_]
push str.XNewLookDecoder
lea ecx, [ebx + 0x1080]
call dword [sym.imp.XNewLookUtil.dll_public:_class_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_____thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::operator_wchar_t_const__]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004773d0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x208
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.00476de1
add esp, 8
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x668]
mov dword [ebp - 0x678], 0
mov dword [ebp - 0x674], 0
call dword [sym.imp.XNewLookUtil.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_void_]
mov esi, dword [ebx + 0x1084]
push str.XNewLookRender.dll
push str.XNewLookRender.dll
call dword [sym.imp.XNewLookUtil.dll_public:_static_int___cdecl_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::SafeStrlen_wchar_t_const__]
add esp, 4
lea ecx, [ebp - 0x668]
push eax
push dword [ebx + 0x1084]
push dword [esi - 8]
call dword [sym.imp.XNewLookUtil.dll_protected:_bool___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::ConcatCopy_int__wchar_t_const___int__wchar_t_const__]
push ecx
lea eax, [ebp - 0x674]
push eax
push dword [ebp - 0x668]
lea ecx, [ebx + 0x210]
call fcn.00411fb0
lea ecx, [ebp - 0x668]
call dword [sym.imp.XNewLookUtil.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
lea ecx, [ebp - 0x66c]
call dword [sym.imp.XNewLookUtil.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_void_]
mov esi, dword [ebx + 0x1080]
push 0x4d53fc
push 0x4d53fc
call dword [sym.imp.XNewLookUtil.dll_public:_static_int___cdecl_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::SafeStrlen_wchar_t_const__]
add esp, 4
lea ecx, [ebp - 0x66c]
push eax
push dword [ebx + 0x1080]
push dword [esi - 8]
call dword [sym.imp.XNewLookUtil.dll_protected:_bool___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::ConcatCopy_int__wchar_t_const___int__wchar_t_const__]
lea ecx, [ebp - 0x668]
call dword [sym.imp.XNewLookUtil.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_void_]
mov eax, dword [ebp - 0x66c]
mov ecx, dword [ebx + 0x1084]
push eax
push dword [eax - 8]
push ecx
push dword [ecx - 8]
lea ecx, [ebp - 0x668]
call dword [sym.imp.XNewLookUtil.dll_protected:_bool___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::ConcatCopy_int__wchar_t_const___int__wchar_t_const__]
push ecx
lea eax, [ebp - 0x678]
mov ecx, ebx
push eax
push dword [ebp - 0x668]
call fcn.00411fb0
lea ecx, [ebp - 0x668]
call dword [sym.imp.XNewLookUtil.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
lea ecx, [ebp - 0x66c]
call dword [sym.imp.XNewLookUtil.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
mov ecx, dword [ebp - 0x674]
push dword [ebp - 0x678]
mov eax, dword [ecx]
call dword [eax + 0x10]
push 0xe8
call fcn.0047589f
mov esi, dword [ebp - 0x674]
lea ecx, [ebp - 0x66c]
add esp, 4
mov dword [ebp - 0x66c], 0
mov edi, eax
mov dword [ebp - 0x680], edi
push 0
call dword [sym.imp.XNewLookUI.dll_public:_void___thiscall_SOUI::SObjectDefaultRegister::constructor_void_]
push eax
push str.SOUIHOST
push dword [ebp - 0x67c]
mov ecx, edi
push esi
call dword [sym.imp.XNewLookUI.dll_public:_void___thiscall_SOUI::SApplication::constructor_struct_SOUI::IRenderFactory___struct_HINSTANCE_____wchar_t_const___struct_SOUI::ISystemObjectRegister_const___int_]
mov esi, dword [sym.imp.XNewLookUI.dll_public:_bool___thiscall_SOUI::SObjectFactoryMgr::RegisterFactory_class_SOUI::SObjectFactory___bool_]
lea eax, [ebp - 0x668]
push 0
push eax
lea ecx, [edi + 4]
mov dword [edi], vtable.SOUI::SApplication.1.0
mov dword [edi + 4], vtable.SOUI::SApplication.0
mov dword [ebp - method.SOUI::TplSObjectFactory_class_SOUI::SSkinVScrollbar_.virtual_0], vtable.SOUI::TplSObjectFactory_class_SOUI::SSkinVScrollbar_.0
call esi
push 0
lea eax, [ebp - 0x668]
mov dword [ebp - method.SOUI::TplSObjectFactory_class_SOUI::SSkinVScrollbar_.virtual_0], vtable.SOUI::TplSObjectFactory_class_SOUI::STileView_.0
push eax
lea ecx, [edi + 4]
call esi
lea eax, [ebp - 0x668]
mov dword [ebp - 0x668], 0
push eax
push 0
call dword [sym.imp.XNewLookUI.dll_int___cdecl_SOUI::CreateResProvider_enum_SOUI::BUILTIN_RESTYPE__struct_IObjRef___]
mov ecx, dword [ebp - 0x668]
add esp, 8
mov edi, dword [ebp - 0x67c]
mov eax, dword [ecx]
push 0
push edi
call dword [eax + 0xc]
push dword [ebp - 0x668]
mov esi, dword [ebp - 0x680]
mov ecx, esi
call dword [sym.imp.XNewLookUI.dll_public:_unsigned_int___thiscall_SOUI::SApplication::LoadSystemNamedResource_struct_SOUI::IResProvider__]
mov ecx, dword [ebp - 0x668]
test ecx, ecx
je 0x4118d9
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x670]
mov dword [ebp - 0x670], 0
push eax
push 0
call dword [sym.imp.XNewLookUI.dll_int___cdecl_SOUI::CreateResProvider_enum_SOUI::BUILTIN_RESTYPE__struct_IObjRef___]
mov ecx, dword [ebp - 0x670]
add esp, 8
mov eax, dword [ecx]
push 0
push edi
call dword [eax + 0xc]
push 1
push 0x10
push 0x4d3ab8
mov ecx, esi
call dword [sym.imp.XNewLookUI.dll_public:_void___thiscall_SOUI::SApplication::InitXmlNamedID_struct_SOUI::TNAMEDVALUE_int__const___int__int_]
push str.uidef:xml_init
push dword [ebp - 0x670]
lea ecx, [esi + 0x10]
call dword [sym.imp.XNewLookUI.dll_public:_void___thiscall_SOUI::SResProviderMgr::AddResProvider_struct_SOUI::IResProvider___wchar_t_const__]
push 0x4d4c14
lea ecx, [ebp - 0x664]
call dword [sym.imp.XNewLookUI.dll_public:_void___thiscall_SOUI::SHostWnd::constructor_wchar_t_const__]
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x664]
mov dword [ebp - method.CMainWnd.4.virtual_0], vtable.CMainWnd.4.0
mov dword [ebp - method.CMainWnd.3.virtual_0], vtable.CMainWnd.3.0
mov dword [ebp - method.CMainWnd.2.virtual_0], vtable.CMainWnd.2.0
mov dword [ebp - method.CMainWnd.1.virtual_0], vtable.CMainWnd.1.0
mov dword [ebp - method.CMainWnd.virtual_0], vtable.CMainWnd.0
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x290], 0
call dword [sym.imp.XNewLookUI.dll_public:_struct_HWND______thiscall_SOUI::SHostWnd::Create_struct_HWND_____int__int__int__int_]
push 0
push 0
push 0x110
lea ecx, [ebp - 0x428]
call dword [sym.imp.XNewLookUI.dll_public:_long_int___thiscall_SOUI::CSimpleWnd::SendMessageW_unsigned_int__unsigned_int__long_int_]
push dword [ebp - 0x41c]
lea ecx, [ebp - 0x428]
call dword [sym.imp.XNewLookUI.dll_public:_int___thiscall_SOUI::CSimpleWnd::CenterWindow_struct_HWND____]
push 5
push dword [ebp - 0x41c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 0x41c]
mov ecx, esi
call dword [sym.imp.XNewLookUI.dll_public:_int___thiscall_SOUI::SApplication::Run_struct_HWND____]
mov edi, eax
mov dword [ebp - method.CMainWnd.4.virtual_0], vtable.CMainWnd.4.0
mov dword [ebp - method.CMainWnd.3.virtual_0], vtable.CMainWnd.3.0
mov dword [ebp - method.CMainWnd.2.virtual_0], vtable.CMainWnd.2.0
mov dword [ebp - method.CMainWnd.1.virtual_0], vtable.CMainWnd.1.0
mov dword [ebp - method.CMainWnd.virtual_0], vtable.CMainWnd.0
lea ecx, [ebp - 0x298]
mov dword [ebp - 4], 0
call fcn.004061f0
lea ecx, [ebp - 0x664]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.XNewLookUI.dll_public_virtual:_void___thiscall_SOUI::SHostWnd::destructor_void_]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov ecx, dword [ebp - 0x670]
test ecx, ecx
je 0x411a52
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x674]
test ecx, ecx
je 0x411a61
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x678]
test ecx, ecx
je 0x411a70
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebx + 0x1084]
call dword [sym.imp.XNewLookUtil.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
lea ecx, [ebx + 0x1080]
call dword [sym.imp.XNewLookUtil.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
mov eax, dword [ebx + 0xe70]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
je 0x411a9b
push eax
call esi
mov eax, dword [ebx + 0xc60]
test eax, eax
je 0x411aa8
push eax
call esi
mov eax, dword [ebx + 0xa50]
test eax, eax
je 0x411ab5
push eax
call esi
mov eax, dword [ebx + 0x840]
test eax, eax
je 0x411ac2
push eax
call esi
mov eax, dword [ebx + 0x630]
test eax, eax
je 0x411acf
push eax
call esi
mov eax, dword [ebx + 0x420]
test eax, eax
je 0x411adc
push eax
call esi
mov eax, dword [ebx + 0x210]
test eax, eax
je 0x411ae9
push eax
call esi
mov eax, dword [ebx]
test eax, eax
je 0x411af2
push eax
call esi
push 0x1088
push ebx
call fcn.00475891
add esp, 8
call dword [sym.imp.ole32.dll_OleUninitialize]
mov eax, edi
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 0x10
call fcn.0047cd61
int3