Function at 0x14005fca0
Capabilities:
Terminate process

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x1f0
lea rax, str._nStart_the_energy_server_service._n
mov qword [rsp + 0x30], rax
lea rax, str._nUsage:__esrv_svc___start___device__dev_name_____device_options__options______interface_options__options____channel_____diagnostic_____pause__t___n
mov qword [rsp + 0x38], rax
lea rax, str.Or______esrv_svc___start___library__lib_name_____device_options__options______interface_options__options____channel_____diagnostic_____pause__t___n
mov qword [rsp + 0x40], rax
lea rax, str.________________offset_power__w______offset_power_samples__s_____offset_pause__t__n
mov qword [rsp + 0x48], rax
lea rax, [0x1400eb924]
mov qword [rsp + 0x50], rax
lea rax, str.___dev_name_is_one_of_the_following__case_insensitive_:_n
mov qword [rsp + 0x58], rax
lea rax, str._______y210____Yokogawa_wt210_:__Yokogawa_WT210_external_digital_power_meter_n
mov qword [rsp + 0x60], rax
lea rax, str._______e801____Extech_380801_:__Extech_380801_external_digital_power_meter_n
mov qword [rsp + 0x68], rax
lea rax, [0x1400eb844]
mov qword [rsp + 0x70], rax
lea rax, str.___lib_name_is_the_filename_of_a_supplemental_library_for_other_meters_n
mov qword [rsp + 0x78], rax
lea rax, str.______The_filename_is_usually_a_.DLL_file_in_Windows_or_a_.SO_file_otherwise_n
mov qword [r11 - 0x178], rax
lea rax, str.______Use_quotes_around_lib_name_if_it_contains_spaces_n
mov qword [r11 - 0x170], rax
lea rax, reloc.WS2_32.dll_ioctlsocket
mov qword [r11 - 0x168], rax
lea rax, str.___options__device__refers_to_the_device_options__delimited_by_quotes__n
mov qword [r11 - 0x160], rax
lea rax, str.___Check_the_systems_integrator_or_meter_vendors_manual_for_details_n
mov qword [r11 - 0x158], rax
lea rax, str.______For_example___eorlf__for_the_Yokogawa_WT210_external_digital_power_meter_n
mov qword [r11 - 0x150], rax
lea rax, str._______y210____Yokogawa_wt210_:___eorcrlfcrlf__n
mov qword [r11 - 0x148], rax
lea rax, str._______e801____Extech_380801_:__At_the_current_time__no_options_for_this_device_n
mov qword [r11 - 0x140], rax
lea rax, reloc.WS2_32.dll_ioctlsocket
mov qword [r11 - 0x138], rax
lea rax, str.___options__serial__refers_to_the_input_interface_options__delimited_by_quotes_._n
mov qword [r11 - 0x130], rax
lea rax, str.___Serial_port_option_strings_supported:_n
mov qword [r11 - 0x128], rax
lea rax, str._______comc__baudb__parityEONI__data78__stop012__xonYN__dtrYN__rtsYN__n
mov qword [r11 - 0x120], rax
lea rax, str.______baud1200240048009600192003840057600115200230400_n
mov qword [r11 - 0x118], rax
lea rax, str.______For_example___com0_baud9600_parityn_data8_stop1__n
mov qword [r11 - 0x110], rax
lea rax, str.______The_default_serial_options_are__com1_baud9600_parityn_data8_stop1_xonn_dtry_rtsn__n
mov qword [r11 - 0x108], rax
lea rax, reloc.WS2_32.dll_ioctlsocket
mov qword [r11 - 0x100], rax
lea rax, str.___channel_is_the_interface_to_monitor_on_a_multi_channel_meter_n
mov qword [r11 - 0xf8], rax
lea rax, str.______For_example__to_read_the_second_channel_on_a_3_channel_meter__use_2_n
mov qword [r11 - 0xf0], rax
lea rax, str.______If_channel_is_omitted__channel_1_is_implied_n
mov qword [r11 - 0xe8], rax
lea rax, str.______If_channel_is_equal_to_0__all_channels_is_implied_n
mov qword [r11 - 0xe0], rax
lea rax, str.______All_counters_are_prefixed_with___CHANNELx_______where_x_is_the_channel_number._n
mov qword [r11 - 0xd8], rax
lea rax, reloc.WS2_32.dll_ioctlsocket
mov qword [r11 - 0xd0], rax
lea rax, str._____diagnostic_activates_diagnostic_messages_display_during_runtime._n
mov qword [r11 - 0xc8], rax
lea rax, str._____pause_refers_to_the_servers_sampling_interval_given_in_seconds._n
mov qword [r11 - 0xc0], rax
lea rax, str.______By_default__pause_is_1_second._n
mov qword [r11 - 0xb8], rax
lea rax, reloc.WS2_32.dll_ioctlsocket
mov qword [r11 - 0xb0], rax
lea rax, str._____offset_power__w__do_not_account_for_power_readings_lesser_than__watts_._n
mov qword [r11 - 0xa8], rax
lea rax, str._____offset_power_samples__s__computes_the_average_power_in_Watts_over__s__samples._n
mov qword [r11 - 0xa0], rax
lea rax, str.______by_using_the___offset_pause__t__option_with_the_previous_one__it_is_possible_to_delay_n
mov qword [r11 - 0x98], rax
lea rax, str.______the_sampling_by__t__samples._n
mov qword [r11 - 0x90], rax
lea rax, reloc.WS2_32.dll_ioctlsocket
mov qword [r11 - 0x88], rax
lea rax, str.___If_the_energy_server_is_successfully_invoked__then_the_following_elements_n
mov qword [r11 - 0x80], rax
lea rax, str.___are_available:_n
mov qword [r11 - 0x78], rax
lea rax, str.______A_guid_printed_on_the_standard_output._The_guid_is_a_globally_unique_n
mov qword [r11 - 0x70], rax
lea rax, str.______identifier_for_this_set_of_counters._n
mov qword [r11 - 0x68], rax
lea rax, str._______for_example:_273735b1_8319_40fd_b48b_cb9718de415c_.__n
mov qword [r11 - 0x60], rax
lea rax, str.______An__Energy__Joules___counter.__A_Joule_equals_one_Watt_second._n
mov qword [r11 - 0x58], rax
lea rax, str.______An__Energy__kWh___counter._n
mov qword [r11 - 0x50], rax
lea rax, str.______An__Energy__kWh_.decimals__counter__indicating_kWh_is_100x_the_kWh_reading__n
mov qword [r11 - 0x48], rax
lea rax, str.______An__Energy_Overflows__no_unit___counter.__Incremented_each_time_n
mov qword [r11 - 0x40], rax
lea rax, str.__________the_Energy_in_Joules_counter_overflows__18_446_744_073_709_550_615_J_._n
mov qword [r11 - 0x38], rax
lea rax, str.______A__Power__Watt___counter__for_the_last_power_reading_._n
mov qword [r11 - 0x30], rax
lea rax, str.______A__Power__Watt_.decimals__counter._n
mov qword [r11 - 0x28], rax
lea rax, str.______An__Update_Frequency__seconds___counter._Set_with_the___pause_option_n_n
mov qword [r11 - 0x20], rax
lea rax, str.____Third_party_trademarks_are_the_property_of_their_respective_owners._n
mov qword [r11 - 0x18], rax
xor esi, esi
mov edi, esi
mov dword [rsp + 0x20], esi
nop
cmp edi, 0x37
jge 0x14005ffaf
movsxd rbx, edi
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov r8, qword [rsp + rbx*8 + 0x30]
lea rdx, [0x1400eb288]
call fcn.1400010a0
inc edi
mov dword [rsp + 0x20], edi
jmp 0x14005ff80
lea rcx, [0x140113930]
call fcn.1400100a0
lea rdx, [0x140125448]
call fcn.1400a40a0
cmp dword [0x140199730], 1
jne 0x14005ffe9
lea rcx, [0x140199738]
call fcn.140097fe0
mov qword [0x140130aa8], rsi
mov dword [0x140199730], esi
mov rcx, qword [0x140133c88]
test rcx, rcx
je 0x140060002
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [0x140133c88], rsi
mov rcx, qword [0x140133ca0]
test rcx, rcx
je 0x14006001b
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [0x140133ca0], rsi
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret