Function at 0x1003ff70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100e168f
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x10145188]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push esi
push edi
mov eax, dword [0x10145188]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
mov esi, ecx
push str.CDuiTchExamWnd::QuitExam
mov ebx, 1
push ebx
mov dword [esp + 0x1c], esi
call dword [sym.imp.Common.dll_int___cdecl_COMMON::WriteLog_int__wchar_t_const__]
xor edi, edi
add esp, 8
cmp dword [esi + 0x46c], edi
je 0x10040240
push edi
lea ecx, [esp + 0x30]
call fcn.100cc690
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0xec], edi
call fcn.100cc690
push 3
lea ecx, [esp + 0x40]
mov byte [esp + 0xec], bl
call fcn.100cb590
push eax
push str.op_type
lea ecx, [esp + 0x24]
mov byte [esp + 0xf0], 2
call fcn.100cdfe0
mov ecx, eax
call fcn.100cdc50
lea ecx, [esp + 0x3c]
mov byte [esp + 0xe8], bl
call fcn.100cc790
lea eax, [esp + 0x1c]
push eax
push str.data
lea ecx, [esp + 0x34]
call fcn.100cdfe0
mov ecx, eax
call fcn.100cdc50
lea ecx, [esp + 0x7c]
call fcn.100ce170
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x84]
mov byte [esp + 0xf0], 3
call fcn.100cf1d0
mov esi, 0x10
mov byte [esp + 0xe8], 4
cmp dword [eax + 0x14], esi
jb 0x10040088
mov eax, dword [eax]
push eax
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.Common.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_CMTool::StringUtf8ToUnicode_char_const__]
add esp, 8
mov byte [esp + 0xe8], 6
cmp dword [esp + 0x50], esi
jb 0x100400b3
mov ecx, dword [esp + 0x3c]
push ecx
call dword [sym.imp.mfc100u.dll_delete_1]
add esp, 4
lea edx, [esp + 0xbc]
push str.window.CM_NotifyClient__basicOpration__
push edx
lea ebx, [esp + 0x68]
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], edi
mov byte [esp + 0x44], 0
call fcn.1003cf40
push eax
mov eax, 0x100fb6e8
lea ecx, [esp + 0xac]
mov byte [esp + 0xf4], 7
call fcn.1003d020
add esp, 0xc
mov edi, 8
mov byte [esp + 0xe8], 9
cmp dword [esp + 0xd0], edi
jb 0x1004011e
mov eax, dword [esp + 0xbc]
push eax
call dword [sym.imp.mfc100u.dll_delete_1]
add esp, 4
sub esp, 0x1c
xor ecx, ecx
xor ebx, ebx
mov word [esp + 0xd8], cx
mov ecx, esp
mov dword [esp + 0x34], esp
push ebx
lea eax, [esp + 0xc0]
mov esi, 7
xor edx, edx
push eax
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
or eax, 0xffffffff
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf0], ebx
mov word [ecx], dx
call fcn.10017df0
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0x46c]
push edx
call dword [sym.imp.CMBrowser.dll_void___cdecl_CMBROWSER::ExecJS_void___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___]
add esp, 0x20
cmp dword [esp + 0xb4], edi
jb 0x10040190
mov eax, dword [esp + 0xa0]
push eax
call dword [sym.imp.mfc100u.dll_delete_1]
add esp, 4
xor ecx, ecx
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb0], ebx
mov word [esp + 0xa0], cx
cmp dword [esp + 0x74], edi
jb 0x100401bc
mov edx, dword [esp + 0x60]
push edx
call dword [sym.imp.mfc100u.dll_delete_1]
add esp, 4
xor eax, eax
mov byte [esp + 0xe8], 1
cmp dword [esp + 0x94], 0x10
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], ax
mov dword [esp + 0x7c], vtable.Json::FastWriter.0
jb 0x100401f6
mov ecx, dword [esp + 0x80]
push ecx
call dword [sym.imp.mfc100u.dll_delete_1]
add esp, 4
lea ecx, [esp + 0x7c]
mov dword [esp + 0x94], 0xf
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
call fcn.100ce090
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe8], bl
call fcn.100cc790
lea ecx, [esp + 0x2c]
mov dword [esp + 0xe8], 0xffffffff
call fcn.100cc790
mov esi, dword [esp + 0x14]
mov edx, dword [esi + 0x46c]
push 0
push edx
call dword [sym.imp.CMBrowser.dll_struct_HWND______cdecl_CMBROWSER::GetWindowHandle_void__]
add esp, 4
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x490]
push 0
call dword [sym.imp.DuiLib_u.dll_public:_bool___thiscall_DuiLib::CTabLayoutUI::SelectItem_int_]
call fcn.100402b0
mov eax, dword [0x101489d4]
mov ecx, dword [eax]
push 0
push 0x82
push 0x17ae
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.100d0962
mov esp, ebp
pop ebp
ret