Function at 0x466680
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55e52d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x61308c]
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 dword [ebp - 0x4c], ecx
push str.CMain_Frame::ExitAppNow
lea ecx, [ebp - 0x44]
call fcn.00415950
mov dword [ebp - 4], 0
mov ebx, dword [0x61e7e4]
test ebx, ebx
jne 0x46670d
push 0x22c
call fcn.005120b2
mov ebx, eax
add esp, 4
mov dword [ebp - 0x48], ebx
mov byte [ebp - 4], 1
push 0x22c
push 0
push ebx
call fcn.0052d340
add esp, 0xc
mov ecx, ebx
call fcn.004b62e0
mov byte [ebp - 4], 2
mov dword [ebx], vtable.CDrvOperateMgrThread_Instanst.0
mov byte [ebp - 4], 0
mov dword [0x61e7e4], ebx
lea esi, [ebx + 0x18]
push esi
mov dword [ebp - 0x48], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 3
mov edi, dword [ebx + 0x178]
sub edi, dword [ebx + 0x174]
sar edi, 2
mov byte [ebp - 4], 0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
jne 0x4667ae
mov eax, dword [0x61e7e8]
test eax, eax
jne 0x466766
push 0x68
call fcn.005120b2
add esp, 4
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 4
mov ecx, eax
call fcn.0043f680
mov byte [ebp - 4], 0
mov dword [0x61e7e8], eax
mov edi, dword [eax + 0x18]
test edi, edi
je 0x466794
lea esi, [edi + 0x3c]
push esi
mov dword [ebp - 0x48], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 5
cmp dword [edi + 0x38], 0
setne bl
mov byte [ebp - 4], 0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
jne 0x4667ae
call fcn.0045cd90
mov al, byte [eax + 0x34]
test al, al
je 0x46689d
mov ecx, 0x5a5358
jmp 0x466898
push 0
push 0
mov edx, str.STR_TIPS_CANNOTEXIT2
lea ecx, [ebp - 0x28]
call fcn.0044b7f0
add esp, 8
mov ebx, eax
mov byte [ebp - 4], 6
cmp dword [ebx + 0x14], 8
jb 0x4667d0
mov ebx, dword [ebx]
mov esi, dword [0x61e774]
test esi, esi
jne 0x466811
push 0x2a8
call fcn.005120b2
mov esi, eax
add esp, 4
mov dword [ebp - 0x48], esi
mov byte [ebp - 4], 7
push 0x2a8
push 0
push esi
call fcn.0052d340
add esp, 0xc
mov ecx, esi
call fcn.00442c50
mov byte [ebp - 4], 6
mov dword [0x61e774], esi
mov esi, dword [esi]
push 0x3fc
call fcn.005120b2
add esp, 4
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 9
mov ecx, eax
call fcn.004f3c40
mov edi, eax
mov byte [ebp - 4], 6
push 0
push 0x14
push 0
push 0
push 0
push ebx
push esi
mov ecx, edi
mov dword [edi + 0x3dc], 0
call fcn.004f4de0
mov edx, dword [edi]
mov ecx, edi
push 1
mov esi, eax
call dword [edx + 0x18]
cmp esi, 1
sete bl
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x46687b
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
test bl, bl
je 0x466908
mov ecx, 0x5a5334
call fcn.00407ee0
push str.User_feedback
push 0x5a5398
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x4668f6
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4668f6
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x48]
push 0
push 0x411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4668f6
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x4c]
push 0x3e8
push 0
push 0x10
call dword [sym.imp.DTLUI.dll_public:_long_int___thiscall_DuiLib::CWindowWnd::PostMessageW_unsigned_int__unsigned_int__long_int_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00415860
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.005120a1
mov esp, ebp
pop ebp
ret