Function at 0x1400487a0
Capabilities:
Terminate process

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x140
lea rax, str._nSend_a_status_request_command_to_the_device_driven_by_energy_server._n
mov qword [rsp + 0x30], rax
lea rax, str._nUsage:__esrv___status__option_____address__address______port__port___n
mov qword [rsp + 0x38], rax
lea rax, str.________________diagnostic__n
mov qword [rsp + 0x40], rax
lea rax, [0x1400cda5c]
mov qword [rsp + 0x48], rax
lea rax, str.option_is_one_of_the_following:_n
mov qword [rsp + 0x50], rax
lea rax, str.___id:....................display_ESRV_PL_GUID____if_any._n
mov qword [rsp + 0x58], rax
lea rax, str.___version:...............display_ESRV_and_PL_versions._n
mov qword [rsp + 0x60], rax
lea rax, str.___device_version:........display_device_version____if_supported._n
mov qword [rsp + 0x68], rax
lea rax, str.___esrv_options:..........display_options_used_to_start_ESRV._n
mov qword [rsp + 0x70], rax
lea rax, str.___device_options:........display_options_used_to_configure_device_at_ESRV_start._n
mov qword [rsp + 0x78], rax
lea rax, str.___device_data:...........display_data_measured_by_device____if_supported._n
mov qword [r11 - 0xc8], rax
lea rax, str.___device_snapshot:.......display_values_of_data_measured_by_device____if_supported._n
mov qword [r11 - 0xc0], rax
lea rax, str.___device_log:............display_device_data_log____if_supported._n
mov qword [r11 - 0xb8], rax
lea rax, str.___device_stream:.........display_device_data_stream____if_supported._n
mov qword [r11 - 0xb0], rax
lea rax, str.___dctl:..................display_device_control_data____if_supported._n
mov qword [r11 - 0xa8], rax
lea rax, str.___ils:...................display_state_of_input_libraries_used_by_device____if_applicable._n
mov qword [r11 - 0xa0], rax
lea rax, str.___als:...................display_state_of_actuator_libraries_used_by_device____if_applicable._n
mov qword [r11 - 0x98], rax
lea rax, str.___ll:....................display_state_of_logger_library_used_by_device____if_applicable._n
mov qword [r11 - 0x90], rax
lea rax, str.___bis:...................display_state_of_built_in_collectors_used_by_device____if_applicable._n
mov qword [r11 - 0x88], rax
lea rax, str.___time:..................display_device_measurement_pipeline_timing____if_available._n
mov qword [r11 - 0x80], rax
lea rax, str.___error:.................display_last_error_codes_for_measurement_pipelines____if_available._n
mov qword [r11 - 0x78], rax
lea rax, str.___error_stack:...........display_error_stack____if_available._n
mov qword [r11 - 0x70], rax
lea rax, str.___lslib:.................display_list_of_libraries_dynamically_managed_by_device____if_supported._n
mov qword [r11 - 0x68], rax
lea rax, str.___vm:....................display_VM_detection_data____if_supported._n
mov qword [r11 - 0x60], rax
lea rax, str.___neighbors:.............display_data_on_ESRV_flavors_running_on_the_node._n
mov qword [r11 - 0x58], rax
lea rax, str.___ntt:...................display_data_on_ESRV_named_threads._n
mov qword [r11 - 0x50], rax
lea rax, str.___smt:...................display_data_on_ESRV_sampling_manager._n
mov qword [r11 - 0x48], rax
lea rax, str.___uptime:................display_data_on_ESRV_up_time._n
mov qword [r11 - 0x40], rax
lea rax, str.___vt:....................display_ESRV_resolved_variables._n
mov qword [r11 - 0x38], rax
lea rax, str.___ipc:...................display_ESRV_IPC_statistics._n
mov qword [r11 - 0x30], rax
lea rax, [0x1400cda44]
mov qword [r11 - 0x28], rax
lea rax, [0x1400de180]
mov qword [r11 - 0x20], rax
lea rax, [0x1400d9388]
mov qword [r11 - 0x18], rax
lea rax, [0x1400de120]
mov qword [r11 - 0x10], rax
xor esi, esi
mov edi, esi
mov dword [rsp + 0x20], esi
cmp edi, 0x22
jge 0x140048985
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, [0x1400cda1c]
call fcn.1400010a0
inc edi
mov dword [rsp + 0x20], edi
jmp 0x140048956
lea rcx, [0x140101140]
call fcn.140018c50
lea rdx, [0x140112c58]
call fcn.140008db0
call fcn.14004c1f0
cmp dword [0x140186e60], 1
jne 0x1400489c4
lea rcx, [0x140186e68]
call fcn.14007f5b0
mov qword [0x14011e2b8], rsi
mov dword [0x140186e60], esi
mov rcx, qword [0x140121498]
test rcx, rcx
je 0x1400489dd
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [0x140121498], rsi
mov rcx, qword [0x1401214b0]
test rcx, rcx
je 0x1400489f6
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [0x1401214b0], rsi
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret