Function at 0x471660
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b48e8
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x645300]
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 ebx, ecx
mov eax, dword [ebx + 0x260]
lea ecx, [ebx + 0x260]
call dword [eax + 0xcc]
mov ecx, dword [0x65279c]
push str.IXunYouAccelManager
mov eax, dword [ecx]
call dword [eax]
test eax, eax
je 0x4716cd
mov edx, dword [eax]
mov ecx, eax
call dword [edx]
cmp eax, 1
je 0x471a0d
cmp eax, 3
je 0x471a0d
mov ecx, dword [0x65279c]
mov eax, dword [ecx]
call dword [eax + 0x18]
push eax
push 0
push str.radioid
push str.QuitTip
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
test esi, esi
jne 0x4718aa
push 0x288
push eax
lea eax, [ebp - 0x2a0]
push eax
call fcn.00546d20
add esp, 0xc
lea ecx, [ebp - 0x2a0]
push str.LAYOUT:xml_close_confirm
call dword [sym.imp.soui4.dll_public:_void___thiscall_SOUI::SHostDialog::constructor_wchar_t_const__]
push 0x5e7f60
mov dword [ebp - method.XunYouCloseConfirmDialog.7.virtual_0], vtable.SXYHostDialog.1.0
mov dword [ebp - method.XunYouCloseConfirmDialog.6.virtual_0], vtable.SXYHostDialog.2.0
mov dword [ebp - method.XunYouCloseConfirmDialog.5.virtual_0], vtable.SXYHostDialog.3.0
mov dword [ebp - method.XunYouCloseConfirmDialog.4.virtual_0], vtable.SXYHostDialog.4.0
mov dword [ebp - method.XunYouCloseConfirmDialog.3.virtual_0], vtable.SXYHostDialog.5.0
mov dword [ebp - method.XunYouCloseConfirmDialog.2.virtual_0], vtable.SXYHostDialog.6.0
mov dword [ebp - method.SXYHostDialog.virtual_0], vtable.SXYHostDialog.0
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], vtable.SOUI::SDpiHandler2_class_XunYouCloseConfirmDialog_.0
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [ebp - 0x20], eax
mov dword [ebp - method.XunYouCloseConfirmDialog.7.virtual_0], vtable.XunYouCloseConfirmDialog.7.0
mov dword [ebp - method.XunYouCloseConfirmDialog.6.virtual_0], vtable.XunYouCloseConfirmDialog.6.0
mov dword [ebp - method.XunYouCloseConfirmDialog.5.virtual_0], vtable.XunYouCloseConfirmDialog.5.0
mov dword [ebp - method.XunYouCloseConfirmDialog.4.virtual_0], vtable.XunYouCloseConfirmDialog.4.0
mov dword [ebp - method.XunYouCloseConfirmDialog.3.virtual_0], vtable.XunYouCloseConfirmDialog.3.0
mov dword [ebp - method.XunYouCloseConfirmDialog.2.virtual_0], vtable.XunYouCloseConfirmDialog.2.0
mov dword [ebp - method.SXYHostDialog.virtual_0], vtable.XunYouCloseConfirmDialog.1.0
mov dword [ebp - 0x2c], vtable.XunYouCloseConfirmDialog.0
mov dword [ebp - 4], esi
mov ecx, dword [0x65279c]
push esi
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [0x652a08]
mov esi, eax
mov dword [ebp - 0x30], ecx
lea eax, [ebp - 0x2a0]
mov ecx, dword [0x65279c]
mov dword [0x652a08], eax
mov ecx, dword [ecx]
mov edx, dword [ecx + 0xd0]
mov ecx, dword [0x652a08]
push ecx
mov ecx, dword [0x65279c]
call edx
push esi
lea eax, [ebp - 0x2a0]
push eax
call dword [sym.imp.soui4.dll_public_virtual:_int___stdcall_SOUI::SHostDialog::DoModal_struct_HWND____]
mov esi, eax
mov eax, dword [ebp - 0x30]
mov dword [0x652a08], eax
mov eax, dword [0x65279c]
mov eax, dword [eax]
mov edx, dword [eax + 0xd0]
mov eax, dword [0x652a08]
mov ecx, dword [0x65279c]
push eax
call edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x30], 0
mov dword [ebp - method.XunYouCloseConfirmDialog.7.virtual_0], vtable.XunYouCloseConfirmDialog.7.0
mov dword [ebp - method.XunYouCloseConfirmDialog.6.virtual_0], vtable.XunYouCloseConfirmDialog.6.0
mov dword [ebp - method.XunYouCloseConfirmDialog.5.virtual_0], vtable.XunYouCloseConfirmDialog.5.0
mov dword [ebp - method.XunYouCloseConfirmDialog.4.virtual_0], vtable.XunYouCloseConfirmDialog.4.0
mov dword [ebp - method.XunYouCloseConfirmDialog.3.virtual_0], vtable.XunYouCloseConfirmDialog.3.0
mov dword [ebp - method.XunYouCloseConfirmDialog.2.virtual_0], vtable.XunYouCloseConfirmDialog.2.0
mov dword [ebp - method.SXYHostDialog.virtual_0], vtable.XunYouCloseConfirmDialog.1.0
mov dword [ebp - 0x2c], vtable.XunYouCloseConfirmDialog.0
call dword [sym.imp.soui4.dll_public_virtual:_void___thiscall_SOUI::SHostDialog::destructor_void_]
jmp 0x4718ad
or esi, 1
mov eax, esi
and al, 0xf
cmp al, 1
jne 0x471a0d
mov edi, esi
and edi, 0xf00000
test esi, 0xf000000
je 0x47193b
mov ecx, dword [0x65279c]
mov eax, dword [ecx]
call dword [eax + 0x18]
lea ecx, [ebp - 0x2b8]
mov esi, eax
call dword [sym.imp.utilities4.dll_public:_void___thiscall_SOUI::SStringW::constructor_void_]
push edi
push 0x5df2e0
lea ecx, [ebp - 0x2ac]
mov dword [ebp - 4], 1
push ecx
push eax
call dword [sym.imp.utilities4.dll_public:_class_SOUI::SStringW___cdecl_SOUI::SStringW::Format_wchar_t_const__]
add esp, 0x10
mov ecx, eax
mov byte [ebp - 4], 2
call dword [sym.imp.utilities4.dll_public:_wchar_t_const____thiscall_SOUI::SStringW::operator_wchar_t_const__void_const]
push esi
push eax
push str.radioid
push str.QuitTip
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov esi, dword [sym.imp.utilities4.dll_public_virtual:_void___thiscall_SOUI::SStringW::destructor_void_]
lea ecx, [ebp - 0x2ac]
call esi
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 4], 0xffffffff
call esi
cmp edi, 0x100000
jne 0x471953
mov eax, dword [ebx]
push 0
push ebx
call dword [eax + 0xd8]
jmp 0x471a0d
cmp edi, 0x200000
jne 0x471a0d
mov ecx, dword [0x65279c]
push str.IXunYouAccelManager
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
test esi, esi
je 0x471a0d
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 4]
call edx
mov ecx, dword [0x65279c]
test al, al
push 0
push 0
mov eax, dword [ecx]
jne 0x4719e6
push 0
push 0
push 0x31
push 0x5ede8c
push 0x5ede94
push 0
call dword [eax + 0x38]
cmp eax, 1
jne 0x471a0d
mov ecx, dword [0x65279c]
push 0
push 0
mov eax, dword [ecx]
call dword [eax + 0x10]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [0x65279c]
lea edx, [ebp - 0x11]
push 1
mov byte [ebp - 0x11], 1
push edx
mov eax, dword [ecx]
push str.IsAppNeedExit
call dword [eax + 0x24]
mov eax, dword [esi]
mov ecx, esi
push 3
call dword [eax + 0x10]
jmp 0x471a0d
call dword [eax + 0x10]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [0x652798]
push 0x401
push 0x401
push 0x401
mov ecx, dword [eax]
push eax
call dword [ecx + 0xb4]
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.00543bb1
mov esp, ebp
pop ebp
ret