Function at 0x1400540b0
Capabilities:
Set current directory

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x420
mov qword [rsp + 0xe8], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x14017c030]
xor rax, rsp
mov qword [rsp + CPtrList::AddTail], rax
mov rbp, rcx
mov ecx, 0x10d0
call sub.mfc90u.dll_CSplitterWnd::CSplitterWnd
mov qword [rsp + 0x58], rax
xor r12d, r12d
test rax, rax
je 0x14005410d
xor edx, edx
mov rcx, rax
call fcn.140057630
mov rbx, rax
jmp 0x140054110
mov rbx, r12
mov word [rsp + 0x200], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x202]
call sub.MSVCR90.dll_memset
mov r8d, 0x208
lea rdx, [rsp + 0x200]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, 0x5c
lea rcx, [rsp + 0x200]
call qword [sym.imp.MSVCR90.dll_wcsrchr]
lea rcx, [0x14014b148]
lea rdx, [rax + 2]
sub rdx, rcx
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
add rcx, 2
test ax, ax
jne 0x140054170
lea rcx, [rsp + 0x200]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x30], r12
lea r8, str.render_gdi.dll
lea rdx, [rbx + 0x10c8]
lea rcx, [rsp + 0xc8]
call fcn.14003bcd0
nop
mov rdi, qword [rax]
cmp qword [rbx + 0x220], 0
jne 0x140054220
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx + 0x218], rax
test rax, rax
je 0x14005422c
lea rdx, str.SCreateInstance
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x220], rax
test rax, rax
jne 0x140054201
mov rcx, qword [rbx + 0x218]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x14005422c
lea rcx, [rbx + 0x228]
sub rcx, rdi
nop dword [rax + rax]
movzx eax, word [rdi]
mov word [rcx + rdi], ax
add rdi, 2
test ax, ax
jne 0x140054210
lea rcx, [rsp + 0x30]
call qword [rbx + 0x220]
nop
lea rcx, [rsp + 0xc8]
call qword [sym.imp.utilities.dll_public:_void___cdecl_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void____ptr64]
lea rdx, [rbx + 0x10c0]
lea r8, str..dll
lea rcx, [rsp + 0x78]
call fcn.14003bcd0
nop
lea r8, [rsp + 0x78]
lea rdx, [rbx + 0x10c8]
lea rcx, [rsp + 0xe0]
call fcn.14003bc60
nop
mov rdi, qword [rax]
cmp qword [rbx + 8], 0
jne 0x1400542d0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx], rax
test rax, rax
je 0x1400542d9
lea rdx, str.SCreateInstance
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 8], rax
test rax, rax
jne 0x1400542ac
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400542d9
lea rcx, [rbx + 0x10]
sub rcx, rdi
nop word [rax + rax]
movzx eax, word [rdi]
mov word [rcx + rdi], ax
add rdi, 2
test ax, ax
jne 0x1400542c0
lea rcx, [rsp + 0x50]
call qword [rbx + reloc.Languages.dll_Ordinal_8]
nop
lea rcx, [rsp + 0xe0]
call qword [sym.imp.utilities.dll_public:_void___cdecl_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.utilities.dll_public:_void___cdecl_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void____ptr64]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x50]
call qword [rax + 0x20]
mov ecx, 0x1b0
call sub.mfc90u.dll_CSplitterWnd::CSplitterWnd
mov rdi, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14005436a
mov rcx, qword [sym.imp.soui.dll_const_SOUI::SObjectDefaultRegister::vftable]
mov qword [rsp + 0xd8], rcx
mov dword [rsp + 0x28], r12d
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x20], rax
lea r9, str.SOUIHOST
mov r8, rbp
mov rdx, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.soui.dll_public:_void___cdecl_SOUI::SApplication::constructor_struct_SOUI::IRenderFactory____ptr64__struct_HINSTANCE______ptr64__wchar_t_const____ptr64__struct_SOUI::ISystemObjectRegister_const____ptr64__int____ptr64]
lea r11, vtable.SOUI::SApplication.0
mov qword [rdi], r11
lea rax, vtable.SOUI::SApplication.1.0
mov qword [rdi + 8], rax
jmp 0x14005436d
mov rdi, r12
mov qword [0x14018ada0], rdi
lea rax, vtable.SOUI::TplSObjectFactory_class_SSkinSystemIconList_.0
mov qword [rsp + 0xb8], rax
lea rcx, [rdi + 8]
xor r8d, r8d
lea rdx, [rsp + 0xb8]
call qword [sym.imp.soui.dll_public:_bool___cdecl_SOUI::SObjectFactoryMgr::RegisterFactory_class_SOUI::SObjectFactory____ptr64__bool____ptr64]
nop
lea rdi, vtable.SOUI::SObjectFactory.0
mov qword [rsp + 0xb8], rdi
lea rax, vtable.SOUI::TplSObjectFactory_class_SOUI::SGifPlayer_.0
mov qword [rsp + 0x70], rax
mov rcx, qword [0x14018ada0]
add rcx, 8
xor r8d, r8d
lea rdx, [rsp + 0x70]
call qword [sym.imp.soui.dll_public:_bool___cdecl_SOUI::SObjectFactoryMgr::RegisterFactory_class_SOUI::SObjectFactory____ptr64__bool____ptr64]
nop
mov qword [rsp + 0x70], rdi
lea rax, vtable.SOUI::TplSObjectFactory_class_SOUI::SSkinGif_.0
mov qword [rsp + 0xb0], rax
mov rcx, qword [0x14018ada0]
add rcx, 8
xor r8d, r8d
lea rdx, [rsp + 0xb0]
call qword [sym.imp.soui.dll_public:_bool___cdecl_SOUI::SObjectFactoryMgr::RegisterFactory_class_SOUI::SObjectFactory____ptr64__bool____ptr64]
nop
mov qword [rsp + 0xb0], rdi
lea rax, vtable.SOUI::TplSObjectFactory_class_SOUI::SCheckBoxEx_.0
mov qword [rsp + 0xc0], rax
mov rcx, qword [0x14018ada0]
add rcx, 8
xor r8d, r8d
lea rdx, [rsp + 0xc0]
call qword [sym.imp.soui.dll_public:_bool___cdecl_SOUI::SObjectFactoryMgr::RegisterFactory_class_SOUI::SObjectFactory____ptr64__bool____ptr64]
nop
mov qword [rsp + 0xc0], rdi
lea rax, vtable.SOUI::TplSObjectFactory_class_SOUI::SImageWndEx_.0
mov qword [rsp + 0x88], rax
mov rcx, qword [0x14018ada0]
add rcx, 8
xor r8d, r8d
lea rdx, [rsp + 0x88]
call qword [sym.imp.soui.dll_public:_bool___cdecl_SOUI::SObjectFactoryMgr::RegisterFactory_class_SOUI::SObjectFactory____ptr64__bool____ptr64]
nop
mov qword [rsp + 0x88], rdi
lea rax, vtable.SOUI::TplSObjectFactory_class_SOUI::SCalendar2_.0
mov qword [rsp + 0xa8], rax
mov rcx, qword [0x14018ada0]
add rcx, 8
xor r8d, r8d
lea rdx, [rsp + 0xa8]
call qword [sym.imp.soui.dll_public:_bool___cdecl_SOUI::SObjectFactoryMgr::RegisterFactory_class_SOUI::SObjectFactory____ptr64__bool____ptr64]
nop
mov qword [rsp + 0xa8], rdi
lea rax, vtable.SOUI::TplSObjectFactory_class_CMCListView2_.0
mov qword [rsp + 0x98], rax
mov rcx, qword [0x14018ada0]
add rcx, 8
xor r8d, r8d
lea rdx, [rsp + 0x98]
call qword [sym.imp.soui.dll_public:_bool___cdecl_SOUI::SObjectFactoryMgr::RegisterFactory_class_SOUI::SObjectFactory____ptr64__bool____ptr64]
nop
mov qword [rsp + 0x98], rdi
lea rax, vtable.SOUI::TplSObjectFactory_class_SOUI::SStatic2_.0
mov qword [rsp + 0x60], rax
mov rcx, qword [0x14018ada0]
add rcx, 8
xor r8d, r8d
lea rdx, [rsp + 0x60]
call qword [sym.imp.soui.dll_public:_bool___cdecl_SOUI::SObjectFactoryMgr::RegisterFactory_class_SOUI::SObjectFactory____ptr64__bool____ptr64]
nop
mov qword [rsp + 0x60], rdi
lea rax, vtable.SOUI::TplSObjectFactory_class_SOUI::CDateTimePicker_.0
mov qword [rsp + 0x80], rax
mov rcx, qword [0x14018ada0]
add rcx, 8
xor r8d, r8d
lea rdx, [rsp + 0x80]
call qword [sym.imp.soui.dll_public:_bool___cdecl_SOUI::SObjectFactoryMgr::RegisterFactory_class_SOUI::SObjectFactory____ptr64__bool____ptr64]
nop
mov qword [rsp + 0x80], rdi
lea rax, vtable.SOUI::TplSObjectFactory_class_SOUI::CCalendarEx_.0
mov qword [rsp + 0x90], rax
mov rcx, qword [0x14018ada0]
add rcx, 8
xor r8d, r8d
lea rdx, [rsp + 0x90]
call qword [sym.imp.soui.dll_public:_bool___cdecl_SOUI::SObjectFactoryMgr::RegisterFactory_class_SOUI::SObjectFactory____ptr64__bool____ptr64]
nop
mov qword [rsp + 0x90], rdi
lea rax, vtable.SOUI::TplSObjectFactory_class_SOUI::CWMPCtrl_.0
mov qword [rsp + 0xa0], rax
mov rcx, qword [0x14018ada0]
add rcx, 8
xor r8d, r8d
lea rdx, [rsp + 0xa0]
call qword [sym.imp.soui.dll_public:_bool___cdecl_SOUI::SObjectFactoryMgr::RegisterFactory_class_SOUI::SObjectFactory____ptr64__bool____ptr64]
nop
mov qword [rsp + 0xa0], rdi
lea rax, vtable.SOUI::TplSObjectFactory_class_CTileView2_.0
mov qword [rsp + 0x68], rax
mov rcx, qword [0x14018ada0]
add rcx, 8
xor r8d, r8d
lea rdx, [rsp + 0x68]
call qword [sym.imp.soui.dll_public:_bool___cdecl_SOUI::SObjectFactoryMgr::RegisterFactory_class_SOUI::SObjectFactory____ptr64__bool____ptr64]
nop
mov qword [rsp + 0x68], rdi
mov ecx, reloc.WS2_32.dll_recv
call sub.mfc90u.dll_CSplitterWnd::CSplitterWnd
mov rdi, rax
test rax, rax
je 0x1400545f8
lea rax, vtable.SOUI::TObjRefImpl_struct_SOUI::IRealWndHandler_.0
mov qword [rdi], rax
mov dword [rdi + 8], 1
lea rax, vtable.SOUI::CRealWndHandler.0
mov qword [rdi], rax
jmp 0x1400545fb
mov rdi, r12
mov rdx, rdi
mov rcx, qword [0x14018ada0]
call qword [sym.imp.soui.dll_public:_void___cdecl_SOUI::SApplication::SetRealWndHandler_struct_SOUI::IRealWndHandler____ptr64____ptr64]
mov r11, qword [rdi]
mov rcx, rdi
call qword [r11 + reloc.Languages.dll_Ordinal_8]
lea rcx, str.soui_sys_resource.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
test rax, rax
je 0x14005467a
mov qword [rsp + 0x48], r12
lea rdx, [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.soui.dll_int___cdecl_SOUI::CreateResProvider_enum_SOUI::BUILTIN_RESTYPE__struct_IObjRef____ptr64____ptr64_]
mov rcx, qword [rsp + 0x48]
mov r9, qword [rcx]
xor r8d, r8d
mov rdx, rdi
call qword [r9 + 0x18]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [0x14018ada0]
call qword [sym.imp.soui.dll_public:_unsigned_int___cdecl_SOUI::SApplication::LoadSystemNamedResource_struct_SOUI::IResProvider____ptr64____ptr64]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14005467a
mov rax, qword [rcx]
call qword [rax + reloc.Languages.dll_Ordinal_8]
mov qword [rsp + 0x40], r12
lea r8, str.resprovider_zip.dll
lea rdx, [rbx + 0x10c8]
lea rcx, [rsp + 0xd0]
call fcn.14003bcd0
nop
mov rdi, qword [rax]
cmp qword [rbx + 0x868], 0
jne 0x140054710
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx + 0x860], rax
test rax, rax
je 0x14005471c
lea rdx, str.SCreateInstance
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x868], rax
test rax, rax
jne 0x1400546e8
mov rcx, qword [rbx + 0x860]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x14005471c
lea rcx, [rbx + 0x870]
sub rcx, rdi
nop word [rax + rax]
movzx eax, word [rdi]
mov word [rcx + rdi], ax
add rdi, 2
test ax, ax
jne 0x140054700
lea rcx, [rsp + 0x40]
call qword [rbx + 0x868]
nop
lea rcx, [rsp + 0xd0]
call qword [sym.imp.utilities.dll_public:_void___cdecl_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void____ptr64]
mov dword [rsp + 0xf8], r12d
lea rax, str.uires.zip
mov qword [rsp + 0x108], rax
mov qword [rsp + reloc.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____], r12
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x100], rax
lea rax, [0x140127e70]
mov qword [rsp + 0x120], rax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
xor r8d, r8d
lea rdx, [rsp + 0xf8]
call qword [rax + 0x18]
mov r9d, 1
mov r8d, 0xb4
lea rdx, [0x1401336c0]
mov rcx, qword [0x14018ada0]
call qword [sym.imp.soui.dll_public:_void___cdecl_SOUI::SApplication::InitXmlNamedID_struct_SOUI::TNAMEDVALUE_int__const____ptr64__int__int____ptr64]
mov rcx, qword [0x14018ada0]
add rcx, 0x20
lea r8, str.uidef:xml_init
mov rdx, qword [rsp + 0x40]
call qword [sym.imp.soui.dll_public:_void___cdecl_SOUI::SResProviderMgr::AddResProvider_struct_SOUI::IResProvider____ptr64__wchar_t_const____ptr64____ptr64]
mov qword [rsp + 0x38], r12
lea r8, str.translator.dll
lea rdx, [rbx + 0x10c8]
lea rcx, [rsp + 0x58]
call fcn.14003bcd0
nop
mov rdi, qword [rax]
cmp qword [rbx + 0x438], 0
jne 0x140054840
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx + 0x430], rax
test rax, rax
je 0x14005484c
lea rdx, str.SCreateInstance
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x438], rax
test rax, rax
jne 0x140054823
mov rcx, qword [rbx + 0x430]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x14005484c
lea rcx, [rbx + 0x440]
sub rcx, rdi
nop dword [rax]
movzx eax, word [rdi]
mov word [rcx + rdi], ax
add rdi, 2
test ax, ax
jne 0x140054830
lea rcx, [rsp + 0x38]
call qword [rbx + 0x438]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.utilities.dll_public:_void___cdecl_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void____ptr64]
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x140054891
mov rcx, qword [0x14018ada0]
call qword [sym.imp.soui.dll_public:_void___cdecl_SOUI::SApplication::SetTranslator_struct_SOUI::ITranslatorMgr____ptr64____ptr64]
xor r8d, r8d
xor edx, edx
lea rcx, [0x14018bc70]
call fcn.14001b8f0
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea rdx, [0x14018bc70]
call qword [rax + 0x30]
lea rcx, [rsp + 0x130]
call qword [sym.imp.utilities.dll_public:_void___cdecl_pugi::xml_document::constructor_void____ptr64]
nop
lea r9, str.LAYOUT
lea r8, str.XML_MESSAGE
lea rdx, [rsp + 0x130]
mov rcx, qword [0x14018ada0]
call qword [sym.imp.soui.dll_public:_int___cdecl_SOUI::SApplication::LoadXmlDocment_class_pugi::xml_document____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64____ptr64]
test eax, eax
je 0x1400548f1
xor r9d, r9d
lea r8, str.SOUI
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x130]
call qword [sym.imp.utilities.dll_public:_class_pugi::xml_node___cdecl_pugi::xml_node::child_wchar_t_const____ptr64__bool____ptr64]
mov rcx, qword [rax]
call qword [sym.imp.soui.dll_int___cdecl_SOUI::SetMsgTemplate_class_pugi::xml_node_]
nop
lea rcx, [rsp + 0x130]
call qword [sym.imp.utilities.dll_public:_void___cdecl_pugi::xml_document::destructor_void____ptr64]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140054911
mov rax, qword [rcx]
call qword [rax + reloc.Languages.dll_Ordinal_8]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140054922
mov rax, qword [rcx]
call qword [rax + reloc.Languages.dll_Ordinal_8]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140054933
mov rax, qword [rcx]
call qword [rax + reloc.Languages.dll_Ordinal_8]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140054948
mov rax, qword [rcx]
call qword [rax + reloc.Languages.dll_Ordinal_8]
mov rax, rbx
jmp 0x14005494b
mov rax, rbx
mov rcx, qword [rsp + 0x410]
xor rcx, rsp
call fcn.140113b50
lea r11, [rsp + 0x420]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret