Function at 0x4054e0
Capabilities:
Acquire debug privileges
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64747d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x6b7e64]
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
call fcn.004e8a2a
push 0
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call fcn.004eac18
mov edi, eax
mov dword [ebp - 0x28], edi
test edi, edi
je 0x4055b5
mov dword [ebp - 4], 1
call fcn.004e1f3c
mov ecx, eax
mov byte [ebp - 4], 0
test ecx, ecx
je 0x405789
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
push 0x65
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 2
call fcn.00403de0
mov esi, dword [ebp - 0x24]
cmp dword [esi - 0xc], 0
lea edx, [esi - 0x10]
mov dword [ebp - 0x24], edx
je 0x405599
push 0
push 0
push 0x800
push dword [edi + 4]
mov edi, dword [sym.imp.USER32.dll_AppendMenuA]
call edi
mov eax, dword [ebp - 0x28]
push esi
push 0x10
push 0
push dword [eax + 4]
call edi
mov edx, dword [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4055b5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebx + 0xa8]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0x80
push dword [ebx + 0x20]
call esi
push dword [ebx + 0xa8]
push 0
push 0x80
push dword [ebx + 0x20]
call esi
push ecx
mov dword [ebx + 0x17c], 0
call fcn.00401e10
add esp, 4
test al, al
jne 0x405611
push 0x30
push str.XenArmor_Wi_Fi_Password_Recovery_Pro
push str.This_software_works_on_Vista_and_higher_Windows_versions_only.
mov ecx, ebx
call fcn.00405fe0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], 1
push eax
push 0x20
mov dword [ebp - 0x14], 2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x405660
lea eax, [ebp - 0x1c]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x405660
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
push 0
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x40566e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.XenManager.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x4056a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebx + 0x17c], 0
jne 0x405704
push 0x10
push str.XenArmor_All_In_One_Key_Finder_Pro
push str.License_verification_failed_due_to_unavailability_of_components.__nPlease_make_sure_that_XenManager.dll_file_is_present_in_the_same_folder_and_try_again._n_nIf_the_problem_persists_then_please_contact_our_support_center_at_support_xenarmor.com.
mov ecx, ebx
call fcn.004dc5f6
jmp 0x405704
push str.CheckFreeLicenseEx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4056d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebx + 0x17c], 0
jne 0x405704
push 0x10
push str.XenArmor_All_In_One_Key_Finder_Pro
push str.License_verification_is_failed_due_to_unavailability_of_resources.__nPlease_make_sure_that_XenManager.dll_file_is_present_in_the_same_folder_and_try_again._n_nIf_the_problem_persists_then_please_contact_our_support_center_at_support_xenarmor.com.
mov ecx, ebx
call fcn.004dc5f6
jmp 0x405704
push 0x6c55f0
push 0x6c59e0
push 0x6c5dc8
push str.xenarmor_2001_2001_2001_xenarmor
push str.XenArmor_Wi_Fi_Password_Recovery_Pro_Basic_Edition
push str.WiFiPasswordRecoveryPro
push 0x7d1
call eax
add esp, 0x1c
cmp eax, 0x7d1
je 0x40570c
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, ebx
call fcn.0040a2c0
push 3
mov ecx, ebx
mov dword [ebx + 0x188], 1
call fcn.004e1b9a
push 0x74
push 0
push 0x30db8
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_RegisterHotKey]
push 0
push 0
push 0
push 0
push 0x688421
push 0
push 3
lea ecx, [ebx + 0x770]
call fcn.004e29ec
push str.Press_F5_or_click_on_Recover_Passwords
push 0
push 0
lea ecx, [ebx + 0x770]
call fcn.004e2c12
mov eax, 1
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.0061e015
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00401bc0
int3