Function at 0x402c48
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2774
call fcn.0040ea80
push str.Usage_start
call fcn.0040407f
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x64]
push dword [ebp + 8]
push eax
call fcn.0040e8eb
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x2774]
push str.Error:__s_n
push eax
call fcn.0040e6cc
lea eax, [ebp - 0x2774]
push str.Usage:_poweroff_action__options__nActions:_logoff__reboot__shutdown__poweroff__standby__hibernate__lock__wol__monitor_off__monitor_on_or_no_action_nOptions:_n___warn_t_t:_Show_a_warning_message_before_doing_the_action_n___warntime_s_t:_Show_the_warning_message_for_s_seconds_n___playsound_t:_Play_a_sound_when_the_warning_is_displayed_n___soundfile__f__t:_Specifies_the_.WAV_file_that_must_be_played_n___msg__m__t:_Specifies_the_warning_message_n___force_t_t:_Force_applications_to_close_n___wait_s_t_t:_Wait_s_seconds_before_checking_the_time_n___remote_m_t:_Do_the_action_on_the_remote_machine_m__name_or_ip__n___remschedule_t:_Schedule_on_the_remote_machine_n___use_nt_t_t:_Use_the_NT_protocol_to_shutdown_reboot_a_remote_machine_n___port_p_t_t:_Use_port_p_to_connect_to_the_remote_machine_n___username_u_t:_User_NT_username_u_to_connect_to_the_remote_machine_n___password_p_t:_Use_password_p_to_connect_to_the_remote_machine_n___run_t_t:_Run_a_program_before_doing_the_action_n___program__p__t:_Runs_program_p_before_doing_the_action_n___directory__d__t:_Start_the_program_in_directory_d_n___notray_t_t:_Do_not_show_poweroff_icon_in_the_system_tray_n___nocancel_t:_Do_not_allow_the_user_to_cancel_the_action_from_the_tray_or_in_the_warning_dialog_n___immediate_t:_Perform_the_action_immediately__default__n___scheduled_t:_Perform_the_action_in_a_scheduled_manner_n___time_hh:mm_t:_Perform_the_action_at_the_specified_time_n___date_dd_mm_yyyy_t:_Perform_the_action_on_the_specified_date_n___days__d1_d2_...__t:_Perform_the_action_on_the_spcified_days_of_the_week__m_t_w_th_s_su__n___weeks__1_.._5__t:_Perform_the_action_on_the_spcified_weeks__defaultall_weeks__n___day_d_t_t:_Perform_the_action_on_the_specified_day_of_the_month__1_31__n___seconds_n_t:_Perform_the_action_after_n_seconds_n___process_p_t:_Perform_the_action_when_a_process_named_p_does_not_exist_anymore_n___ip_ip_t_t:_Specifies_the_ip_adress_for_WOL_n___subnet_s_t:_Specifies_the_subnet_mask_for_WOL_n___mac_m_t_t:_Specifies_the_mac_address_for_WOL_n___allow_remote_t:_Allow_remote_control_n
push eax
call fcn.0040e560
lea eax, [ebp - 0x2774]
push str.___remote_port_p_t:_Listen_on_port_p_for_commands_n___remote_pswd_p_t:_Set_a_password_that_clients_must_give_for_remote_control_n___simulate_t:_Simulate_all_actions__do_not_perform_them_n___minimize_t:_Start_minimized_in_the_system_tray_n___quiet_t_t:_Dont_display_error_messages_n___save_settings_t:_Saves_current_settings_to_the_registry_n___remove_settings_t:_Remove_the_settings_from_the_registry_n___save_svc_set_t:_Save_current_settings_to_the_service_n___remove_svc_set_t:_Removes_the_service_settings_n___create_service_t:_Creates_the_poweroff_service__including_the_settings_n___remove_service_t:_Removes_the_poweroff_service__including_the_settings_n___debug_t_t:_Start_poweroff_in_debug_mode_n___group_g_t_t:_Do_all_actions_for_computers_in_the_group_file_g_n
push eax
call fcn.0040e560
lea eax, [ebp - 0x2774]
push eax
push 0
push 0
call fcn.0040414a
push str.Usage_end
call fcn.0040407f
add esp, 0x3c
push 0
call fcn.0040e99d