Function at 0x451e40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503b21
mov eax, dword fs:[0]
push eax
sub esp, 0x840
mov eax, dword [0x54c154]
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 esi, ecx
mov eax, dword [ebp + 8]
cmp eax, 0x4c8
jne 0x451ee6
push str.os_vulnerability_risks_controller::process_message
push str.WM_END_DIALOG
lea ecx, [ebp - 0x434]
call fcn.0040a4d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x848]
mov esi, dword [esi + 8]
push str.os_vulnerability_risks_view::EndDialog
call fcn.0040a3c0
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 1
push 0
mov dword [esi + 0x250], eax
mov eax, dword [ecx]
push 0
push 0x10
mov byte [esi + 0x4b0], 1
call dword [eax + 0x14]
lea ecx, [ebp - 0x848]
call fcn.0040a5f0
lea ecx, [ebp - 0x434]
call fcn.0040a5f0
jmp 0x452048
cmp eax, 0x11
jne 0x451f08
push str.os_vulnerability_risks_controller::process_message
push str.WM_QUERYENDSESSION
lea ecx, [ebp - 0x434]
call fcn.0040a4d0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 0x16
jne 0x451f37
push str.os_vulnerability_risks_controller::process_message
push str.WM_ENDSESSION
lea ecx, [ebp - 0x434]
call fcn.0040a4d0
lea ecx, [ebp - 0x434]
call fcn.0040a5f0
mov eax, 1
jmp 0x45204a
cmp eax, dword [esi + 0xc]
jne 0x451fa9
push str.os_vulnerability_risks_controller::process_message
push str.global_close_msg
lea ecx, [ebp - 0x848]
call fcn.0040a4d0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x434]
mov esi, dword [esi + 8]
push str.os_vulnerability_risks_view::EndDialog
call fcn.0040a3c0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x14]
mov eax, dword [ecx]
push 0
push 0
push 0x10
mov byte [esi + 0x4b0], 1
mov dword [esi + 0x250], 0xffffffff
call dword [eax + 0x14]
lea ecx, [ebp - 0x434]
call fcn.0040a5f0
lea ecx, [ebp - 0x848]
call fcn.0040a5f0
jmp 0x452048
mov ecx, dword [esi + 8]
mov dword [ebp - 0x84c], ecx
cmp eax, 0x464
jne 0x452080
mov eax, dword [ecx + 0x14]
lea esi, [ecx + 0x14]
push 4
mov ecx, esi
call dword [eax + 0x10]
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
mov eax, dword [esi]
call dword [eax]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [ebp - 0x18]
lea eax, [ebp - 0x20]
mov edi, dword [ebp - 0x14]
sub ebx, dword [ebp - 0x20]
sub edi, dword [ebp - 0x1c]
inc ebx
push 0
push eax
push 0
push 0x30
inc edi
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, dword [ebp - 0x84c]
mov eax, dword [ecx + 0x4ac]
mov ecx, dword [eax + 0x28]
add eax, 0x18
cmp dword [eax + 0x14], 8
jb 0x452013
mov eax, dword [eax]
cmp ecx, 3
jne 0x452068
push ecx
push 0x522510
push eax
call fcn.004104a0
add esp, 0xc
test eax, eax
jne 0x452068
mov eax, dword [esi]
push 0
push edi
push ebx
mov edx, dword [eax]
mov eax, dword [ebp - 0x14]
sub eax, edi
inc eax
push eax
push dword [ebp - 0x20]
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
xor eax, eax
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.004a44cd
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi]
push 0
push edi
push ebx
mov edx, dword [eax]
mov eax, dword [ebp - 0x14]
sub eax, edi
inc eax
push eax
mov eax, dword [ebp - 0x18]
sub eax, ebx
inc eax
push eax
jmp 0x45203d
cmp eax, 0x104
jne 0x452048
cmp dword [ebp + 0xc], 0x73
jne 0x452048
mov eax, 1
jmp 0x45204a