Function at 0x14002c930
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword gs:[0x58]
mov edx, 0xc
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14079c878], eax
jg 0x14002d319
cmp qword [0x1404f9450], 0
jne 0x14002d30d
mov r8d, 0x21
lea rdx, str.Usage:_xmrig__OPTIONS__n_nNetwork:_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x35
lea rdx, str.___o____urlURL_________________URL_of_mining_server_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x53
lea rdx, str.___a____algoALGO_______________mining_algorithm_https:__xmrig.com_docs_algorithms_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x42
lea rdx, str.________coinCOIN_______________specify_coin_instead_of_algorithm_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x3b
lea rdx, str.___u____userUSERNAME___________username_for_mining_server_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x3b
lea rdx, str.___p____passPASSWORD___________password_for_mining_server_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x49
lea rdx, str.___O____userpassU:P____________username:password_pair_for_mining_server_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x3f
lea rdx, str.___x____proxyHOST:PORT_________connect_through_a_SOCKS5_proxy_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x60
lea rdx, str.___k____keepalive_______________send_keepalived_packet_for_prevent_timeout__needs_pool_support__n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x3c
lea rdx, str.________nicehash________________enable_nicehash.com_support_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x5d
lea rdx, str.________rig_idID_______________rig_identifier_for_pool_side_statistics__needs_pool_support__n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x4c
lea rdx, str.________tls_____________________enable_SSL_TLS_support__needs_pool_support__n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x60
lea rdx, str.________tls_fingerprintHEX_____pool_TLS_certificate_fingerprint_for_strict_certificate_pinning_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x47
lea rdx, str.________dns_ipv6________________prefer_IPv6_records_from_DNS_responses_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x53
lea rdx, str.________dns_ttlN_______________N_seconds__default:_30__TTL_for_internal_DNS_cache_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x4f
lea rdx, str.________daemon__________________use_daemon_RPC_instead_of_pool_for_solo_mining_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x55
lea rdx, str.________daemon_poll_intervalN__daemon_poll_interval_in_milliseconds__default:_1000__n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x45
lea rdx, str.________self_selectURL_________self_select_block_templates_from_URL_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x4d
lea rdx, str.________submit_to_origin________also_submit_solution_back_to_self_select_URL_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x65
lea rdx, str.___r____retriesN_______________number_of_times_to_retry_before_switch_to_backup_server__default:_5__n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x4b
lea rdx, str.___R____retry_pauseN___________time_to_pause_between_retries__default:_5__n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x46
lea rdx, str.________user_agent______________set_custom_user_agent_string_for_pool_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x54
lea rdx, str.________donate_levelN__________donate_level__default_1____1_minute_in_100_minutes__n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x48
lea rdx, str.________donate_over_proxyN_____control_donate_over_xmrig_proxy_feature_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0xe
lea rdx, str._nCPU_backend:_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x3b
lea rdx, str.________no_cpu__________________disable_CPU_mining_backend_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x6c
lea rdx, str.___t____threadsN_______________number_of_CPU_threads__proper_CPU_affinity_required_for_some_optimizations._n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x60
lea rdx, str.________cpu_affinityN__________set_process_affinity_to_CPU_core_s___mask_0x3_for_cores_0_and_1_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x43
lea rdx, str.___v____avN____________________algorithm_variation__0_auto_select_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x55
lea rdx, str.________cpu_priorityN__________set_process_priority__0_idle__2_normal_to_5_highest__n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x5e
lea rdx, str.________cpu_max_threads_hintN__maximum_CPU_threads_count__in_percentage__hint_for_autoconfig_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x68
lea rdx, str.________cpu_memory_poolN_______number_of_2_MB_pages_for_persistent_memory_pool___1__auto___0__disable__n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x5e
lea rdx, str.________cpu_no_yield____________prefer_maximum_hashrate_rather_than_system_response_stability_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x3b
lea rdx, str.________no_huge_pages___________disable_huge_pages_support_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x4f
lea rdx, str.________huge_pages_jit__________enable_huge_pages_support_for_RandomX_JIT_code_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x68
lea rdx, str.________asmASM_________________ASM_optimizations__possible_values:_auto__none__intel__ryzen__bulldozer_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x60
lea rdx, str.________argon2_implIMPL________argon2_implementation:_x86_64__SSE2__SSSE3__XOP__AVX2__AVX_512F_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x4c
lea rdx, str.________randomx_initN__________threads_count_to_initialize_RandomX_dataset_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x41
lea rdx, str.________randomx_no_numa_________disable_NUMA_support_for_RandomX_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x40
lea rdx, str.________randomx_modeMODE_______RandomX_mode:_auto__fast__light_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x53
lea rdx, str.________randomx_1gb_pages_______use_1GB_hugepages_for_RandomX_dataset__Linux_only__n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x5f
lea rdx, str.________randomx_wrmsrN_________write_custom_value_s__to_MSR_registers_or_disable_MSR_mod___1__n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x4d
lea rdx, str.________randomx_no_rdmsr________disable_reverting_initial_MSR_values_on_exit_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x31
lea rdx, str.________randomx_cache_qos_______enable_Cache_QoS_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x67
lea rdx, str.________astrobwt_max_sizeN_____skip_hashes_with_large_stage_2_size__default:_550__min:_400__max:_1200_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x50
lea rdx, str.________astrobwt_avx2___________enable_AVX2_optimizations_for_AstroBWT_algorithm
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x11
lea rdx, str._nOpenCL_backend:_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x3d
lea rdx, str.________opencl__________________enable_OpenCL_mining_backend_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x4e
lea rdx, str.________opencl_devicesN________comma_separated_list_of_OpenCL_devices_to_use_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x3e
lea rdx, str.________opencl_platformN_______OpenCL_platform_index_or_name_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x57
lea rdx, str.________opencl_loaderPATH______path_to_OpenCL_ICD_Loader__OpenCL.dll_or_libOpenCL.so__n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x35
lea rdx, str.________opencl_no_cache_________disable_OpenCL_cache_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x4a
lea rdx, str.________print_platforms_________print_available_OpenCL_platforms_and_exit_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0xf
lea rdx, str._nCUDA_backend:_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x3b
lea rdx, str.________cuda____________________enable_CUDA_mining_backend_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x59
lea rdx, str.________cuda_loaderPATH________path_to_CUDA_plugin__xmrig_cuda.dll_or_libxmrig_cuda.so__n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x4c
lea rdx, str.________cuda_devicesN__________comma_separated_list_of_CUDA_devices_to_use_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x43
lea rdx, str.________cuda_bfactor_hintN_____bfactor_hint_for_autoconfig__0_12__n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x3b
lea rdx, str.________cuda_bsleep_hintN______bsleep_hint_for_autoconfig_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x51
lea rdx, str.________no_nvml_________________disable_NVML__NVIDIA_Management_Library__support_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 6
lea rdx, str._nAPI:_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x39
lea rdx, str.________api_worker_idID________custom_worker_id_for_API_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x3b
lea rdx, str.________api_idID_______________custom_instance_ID_for_API_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x4c
lea rdx, str.________http_hostHOST__________bind_host_for_HTTP_API__default:_127.0.0.1__n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x37
lea rdx, str.________http_portN_____________bind_port_for_HTTP_API_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x3a
lea rdx, str.________http_access_tokenT_____access_token_for_HTTP_API_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x61
lea rdx, str.________http_no_restricted______enable_full_remote_access_to_HTTP_API__only_if_access_token_set__n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 6
lea rdx, str._nTLS:_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x4f
lea rdx, str.________tls_genHOSTNAME________generate_TLS_certificate_for_specific_hostname_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x59
lea rdx, str.________tls_certFILE___________load_TLS_certificate_chain_from_a_file_in_the_PEM_format_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x5f
lea rdx, str.________tls_cert_keyFILE_______load_TLS_certificate_private_key_from_a_file_in_the_PEM_format_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x61
lea rdx, str.________tls_dhparamFILE________load_DH_parameters_for_DHE_ciphers_from_a_file_in_the_PEM_format_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x69
lea rdx, str.________tls_protocolsN_________enable_specified_TLS_protocols__example:__TLSv1_TLSv1.1_TLSv1.2_TLSv1.3__n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x52
lea rdx, str.________tls_ciphersS___________set_list_of_available_ciphers__TLSv1.2_and_below__n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x4b
lea rdx, str.________tls_ciphersuitesS______set_list_of_available_TLSv1.3_ciphersuites_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0xa
lea rdx, str._nLogging:_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x39
lea rdx, str.___l____log_fileFILE___________log_all_output_to_a_file_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x46
lea rdx, str.________print_timeN____________print_hashrate_report_every_N_seconds_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x44
lea rdx, str.________health_print_timeN_____print_health_report_every_N_seconds_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x37
lea rdx, str.________no_color________________disable_colored_output_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x2f
lea rdx, str.________verbose_________________verbose_output_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 7
lea rdx, str._nMisc:_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x46
lea rdx, str.___c____configFILE_____________load_a_JSON_format_configuration_file_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x40
lea rdx, str.___B____background______________run_the_miner_in_the_background_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x44
lea rdx, str.___V____version_________________output_version_information_and_exit_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x3b
lea rdx, str.___h____help____________________display_this_help_and_exit_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x3c
lea rdx, str.________dry_run_________________test_configuration_and_exit_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x4d
lea rdx, str.________export_topology_________export_hwloc_topology_to_a_XML_file_and_exit_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x40
lea rdx, str.________title___________________set_custom_console_window_title_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x45
lea rdx, str.________no_title________________disable_setting_console_window_title_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x3c
lea rdx, str.________pause_on_battery________pause_mine_on_battery_power_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x6d
lea rdx, str.________pause_on_activeN_______pause_mine_when_the_user_is_active__resume_after_N_seconds_of_last_activity__n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x55
lea rdx, str.________stress__________________run_continuous_stress_test_to_check_system_stability_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x4b
lea rdx, str.________benchN_________________run_benchmark__N_can_be_between_1M_and_10M_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x5a
lea rdx, str.________submit__________________perform_an_online_benchmark_and_submit_result_for_sharing_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x41
lea rdx, str.________verifyID_______________verify_submitted_benchmark_by_ID_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x42
lea rdx, str.________seedSEED_______________custom_RandomX_seed_for_benchmark_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x4d
lea rdx, str.________hashHASH_______________compare_benchmark_result_with_specified_hash_n
lea rcx, [0x1404f9440]
call fcn.140020a50
mov r8d, 0x3a
lea rdx, str.________no_dmi__________________disable_DMI_SMBIOS_reader_n
lea rcx, [0x1404f9440]
call fcn.140020a50
lea rax, [0x1404f9440]
add rsp, 0x28
ret
lea rcx, [0x14079c878]
call fcn.1403471e8
cmp dword [0x14079c878], 0xffffffff
jne 0x14002c954
lea rcx, [0x14037d7c0]
call fcn.140347530
lea rcx, [0x14079c878]
call fcn.140347188
jmp 0x14002c954