Function at 0x14006b5f0
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x140
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400b59e8]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rsi, rcx
call fcn.140040a50
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rbp], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rbp + 0x10], xmm0
movsd xmm1, qword [rax + 0x70]
movsd qword [rbp + 0x20], xmm1
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x30]
call fcn.14006aa80
nop
xor r13d, r13d
mov r15d, r13d
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
cmp rdx, r8
je 0x14006b6b1
nop dword [rax + rax]
mov rax, qword [rdx]
shr rax, 0x20
mov rcx, qword [rdx + 0x10]
test eax, eax
cmove rcx, r13
cmp r15, rcx
cmovb r15, rcx
add rdx, 0x20
cmp rdx, r8
jne 0x14006b690
shr r15, 0xa
mov r14, r15
shr r14, 1
movdqa xmm0, xmmword [0x140093590]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], r13b
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov r8d, 0x623
lea rdx, str.___generated_by_XMRSTAK_VERSION_n_n__n__Thread_configuration_for_each_thread._Make_sure_it_matches_the_number_above._n__low_power_mode___This_can_either_be_a_boolean__true_or_false___or_a_number_between_1_to_5._When_set_to_true__n___________________this_mode_will_double_the_cache_usage__and_double_the_single_thread_performance._It_will_n___________________consume_much_less_power__as_less_cores_are_working___but_will_max_out_at_around_80_85__of_n___________________the_maximum_performance._When_set_to_a_number_N_greater_than_1__this_mode_will_increase_the_n___________________cache_usage_and_single_thread_performance_by_N_times._n__n__affine_to_cpu____This_can_be_either_false__no_affinity___or_the_CPU_core_number._Note_that_on_hyperthreading_n___________________systems_it_is_better_to_assign_threads_to_physical_cores._On_Windows_this_usually_means_selecting_n___________________even_or_odd_numbered_cpu_numbers._For_Linux_it_will_be_usually_the_lower_CPU_numbers__so_for_a_4_n___________________physical_core_CPU_you_should_select_cpu_numbers_0_3._n__n__On_the_first_run_the_miner_will_look_at_your_system_and_suggest_a_basic_configuration_that_will_work__n__you_can_try_to_tweak_it_from_there_to_get_the_best_performance._n__n__A_filled_out_configuration_should_look_like_this:_n___cpu_threads_conf__:_n____n_________low_power_mode__:_false___affine_to_cpu__:_0___n_________low_power_mode__:_false___affine_to_cpu__:_1___n_____n__If_you_do_not_wish_to_mine_with_your_CPU_s__then_use:_n___cpu_threads_conf__:_n__null__n___n_n_cpu_threads_conf__:_n__nCPUCONFIG_n___n
lea rcx, [rsp + 0x50]
call fcn.14003c8d0
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
lea rcx, [rbp - 0x50]
call fcn.14003c8d0
nop
mov rax, qword [rsp + 0x68]
cmp rax, 0x10
jb 0x14006b756
inc rax
mov rcx, qword [rsp + 0x50]
cmp rax, 0x1000
jb 0x14006b751
test cl, 0x1f
jne 0x14006b74a
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14006b74a
sub rcx, rax
sub rcx, 8
cmp rcx, 0x1f
ja 0x14006b74a
mov rcx, rax
jmp 0x14006b751
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140087110
movdqa xmm0, xmmword [0x140093590]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
xor eax, eax
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], eax
mov byte [rsp + 0x5c], al
lea r8, [rsp + 0x70]
xor edx, edx
xor ecx, ecx
call fcn.14004a4a0
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x58], eax
lea rdx, str.GenuineIntel
lea rcx, [rsp + 0x50]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
mov ebx, 1
test eax, eax
jne 0x14006b856
lea r8, [rsp + 0x70]
lea edx, [rbx + 2]
lea ecx, [rbx + 3]
call fcn.14004a4a0
lea edx, [rbx + 6]
lea r8d, [rbx + 4]
mov ecx, dword [rsp + 0x70]
call fcn.140079340
cmp eax, 3
je 0x14006b7fa
call fcn.140040c50
mov rcx, rax
lea r8, str.Autoconf_failed:_Couldnt_find_L3_cache_page.
xor edx, edx
call fcn.140045c00
jmp 0x14006bd20
mov edx, 0x1f
lea r8d, [rdx - 9]
mov ecx, dword [rsp + 0x74]
call fcn.140079340
lea ebx, [rax + 1]
mov edx, reloc.WS2_32.dll_setsockopt
lea r8d, [rdx - 9]
mov ecx, dword [rsp + 0x74]
call fcn.140079340
lea edi, [rax + 1]
imul edi, ebx
xor r8d, r8d
lea edx, [r8 + 0xb]
mov ecx, dword [rsp + 0x74]
call fcn.140079340
lea edx, [rax + 1]
imul edx, edi
mov eax, dword [rsp + 0x78]
inc eax
imul eax, edx
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
mov dword [rsi], eax
jmp 0x14006b8cb
lea rdx, str.AuthenticAMD
lea rcx, [rsp + 0x50]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14006bd05
lea r8, [rsp + 0x70]
xor edx, edx
mov ecx, 0x80000006
call fcn.14004a4a0
mov edx, 0x1f
lea r8d, [rdx - 0xd]
mov ecx, dword [rsp + 0x7c]
call fcn.140079340
shl eax, 9
mov dword [rsi], eax
lea r8, [rsp + 0x70]
xor edx, edx
mov ecx, ebx
call fcn.14004a4a0
lea rcx, [rbp - 0x30]
call fcn.140079030
mov ebx, dword [rax]
lea rcx, [rbp]
call fcn.14003c070
lea rcx, [rbp - 0x20]
call fcn.14003c070
cmp ebx, 0x17
jae 0x14006b8cb
mov byte [rsi + 8], 1
movsxd rbx, dword [rsi]
cmp rbx, r14
jb 0x14006bd20
mov rax, r14
shl rax, 0xb
cmp rbx, rax
ja 0x14006bd20
call fcn.140040c50
mov rcx, rax
mov r9d, ebx
lea r8, str.Autoconf_L3_size_detected_at__u_KB.
xor edx, edx
call fcn.140045c00
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ebx, dword [rbp - 0x10]
mov dword [rsi + 4], ebx
mov byte [rsi + 9], 0
call fcn.140040c50
mov rcx, rax
lea rax, str.Windows
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea r8, str.Autoconf_core_count_detected_as__u_on__s.
xor edx, edx
call fcn.140045c00
mov ebx, r13d
mov edi, r13d
cmp dword [rsi + 4], ebx
jbe 0x14006bdf2
nop dword [rax + rax]
movsxd rcx, dword [rsi]
test ecx, ecx
jle 0x14006bdf2
mov eax, dword [rsi + 4]
sub eax, edi
movsxd r12, eax
mov rax, rcx
xor edx, edx
div r15
mov r14, rax
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], send
mov byte [rsp + 0x50], 0
mov r8d, 0x19
lea rdx, str.______low_power_mode__:
lea rcx, [rsp + 0x50]
call fcn.14003c8d0
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
lea rcx, [rbp - 0x70]
call fcn.14003c5e0
nop
mov rax, qword [rsp + 0x68]
cmp rax, 0x10
jb 0x14006ba03
inc rax
mov rcx, qword [rsp + 0x50]
cmp rax, 0x1000
jb 0x14006b9fe
test cl, 0x1f
jne 0x14006bce2
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14006bce2
sub rcx, rax
sub rcx, 8
cmp rcx, 0x1f
ja 0x14006bce2
mov rcx, rax
call fcn.140087110
lea rdx, str.false
cmp r14, r12
lea rax, str.true
cmova rdx, rax
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], send
mov byte [rsp + 0x50], 0
or r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x14006ba30
lea rcx, [rsp + 0x50]
call fcn.14003c8d0
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
lea rcx, [rbp - 0x70]
call fcn.14003c5e0
nop
mov rax, qword [rsp + 0x68]
cmp rax, 0x10
jb 0x14006baaf
inc rax
mov rcx, qword [rsp + 0x50]
cmp rax, 0x1000
jb 0x14006baaa
test cl, 0x1f
jne 0x14006bce9
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14006bce9
sub rcx, rax
sub rcx, 8
cmp rcx, 0x1f
ja 0x14006bce9
mov rcx, rax
call fcn.140087110
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], send
mov byte [rsp + 0x50], 0
mov r8d, shutdown
lea rdx, str.___affine_to_cpu__:
lea rcx, [rsp + 0x50]
call fcn.14003c8d0
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
lea rcx, [rbp - 0x70]
call fcn.14003c5e0
nop
mov rax, qword [rsp + 0x68]
cmp rax, 0x10
jb 0x14006bb44
inc rax
mov rcx, qword [rsp + 0x50]
cmp rax, 0x1000
jb 0x14006bb3f
test cl, 0x1f
jne 0x14006bcf0
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14006bcf0
sub rcx, rax
sub rcx, 8
cmp rcx, 0x1f
ja 0x14006bcf0
mov rcx, rax
call fcn.140087110
lea r9, [rsp + 0x65]
mov r8d, ebx
nop dword [rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x14006bb50
mov r8, r13
mov qword [rbp - 0x80], r13
mov eax, send
mov qword [rbp - 0x78], rax
mov byte [rsp + 0x70], r8b
lea rcx, [rsp + 0x65]
cmp r9, rcx
je 0x14006bbb6
lea r8, [rsp + 0x65]
sub r8, r9
mov rdx, r9
lea rcx, [rsp + 0x70]
call fcn.14003c8d0
mov rax, qword [rbp - 0x78]
mov r8, qword [rbp - 0x80]
lea rdx, [rsp + 0x70]
cmp rax, 0x10
cmovae rdx, qword [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.14003c5e0
nop
mov rax, qword [rbp - 0x78]
cmp rax, 0x10
jb 0x14006bc18
inc rax
mov rcx, qword [rsp + 0x70]
cmp rax, 0x1000
jb 0x14006bc13
test cl, 0x1f
jne 0x14006bcf7
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14006bcf7
sub rcx, rax
sub rcx, 8
cmp rcx, 0x1f
ja 0x14006bcf7
mov rcx, rax
call fcn.140087110
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], send
mov byte [rsp + 0x50], 0
mov r8d, 4
lea rdx, str.___n
lea rcx, [rsp + 0x50]
call fcn.14003c8d0
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
lea rcx, [rbp - 0x70]
call fcn.14003c5e0
nop
mov rax, qword [rsp + 0x68]
cmp rax, 0x10
jb 0x14006bca1
inc rax
mov rcx, qword [rsp + 0x50]
cmp rax, 0x1000
jb 0x14006bc9c
test cl, 0x1f
jne 0x14006bcfe
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14006bcfe
sub rcx, rax
sub rcx, 8
cmp rcx, 0x1f
ja 0x14006bcfe
mov rcx, rax
call fcn.140087110
cmp byte [rsi + 9], 0
je 0x14006bcb1
cmp byte [rsi + 8], 0
jne 0x14006bcb1
inc ebx
jmp 0x14006bcbf
add ebx, 2
cmp ebx, dword [rsi + 4]
mov eax, 1
cmovae ebx, eax
cmp r14, r12
jbe 0x14006bccf
mov eax, r15d
neg eax
add eax, eax
add dword [rsi], eax
jmp 0x14006bcd2
sub dword [rsi], r15d
inc edi
cmp edi, dword [rsi + 4]
jae 0x14006bdf2
jmp 0x14006b950
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140040c50
mov rcx, rax
lea r9, [rsp + 0x50]
lea r8, str.Autoconf_failed:_Unknown_CPU_type:__s.
xor edx, edx
call fcn.140045c00
movsxd rbx, dword [rsi]
cmp rbx, r14
jb 0x14006bd31
shl r14, 0xb
cmp rbx, r14
jbe 0x14006bd4a
call fcn.140040c50
mov rcx, rax
mov r9d, ebx
lea r8, str.Autoconf_failed:_L3_size_sanity_check_failed____u_KB.
xor edx, edx
call fcn.140045c00
movdqa xmm0, xmmword [0x140093590]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov r8d, 0x3b
lea rdx, str.______low_power_mode__:_false___affine_to_cpu__:_false___n
lea rcx, [rsp + 0x50]
call fcn.14003c8d0
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
lea rcx, [rbp - 0x70]
call fcn.14003c5e0
nop
mov rax, qword [rsp + 0x68]
cmp rax, 0x10
jb 0x14006bddc
inc rax
mov rcx, qword [rsp + 0x50]
cmp rax, 0x1000
jb 0x14006bdd7
test cl, 0x1f
jne 0x14006bdd0
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14006bdd0
sub rcx, rax
sub rcx, 8
cmp rcx, 0x1f
ja 0x14006bdd0
mov rcx, rax
jmp 0x14006bdd7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140087110
call fcn.140040c50
mov rcx, rax
lea r8, str.Autoconf_FAILED._Create_config_for_a_single_thread._Please_try_to_add_new_ones_until_the_hashrate_slows_down.
xor edx, edx
call fcn.140045c00
lea rax, [rbp - 0x30]
mov qword [rsp + 0x70], rax
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x30]
call fcn.140035bc0
mov rbx, rax
movdqa xmm0, xmmword [0x140093590]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov r8d, 9
lea rdx, str.CPUCONFIG
lea rcx, [rsp + 0x50]
call fcn.14003c8d0
nop
mov r8, rbx
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x50]
call fcn.140041a80
call fcn.140040b50
lea rdx, [rax + 0x208]
lea rcx, [rbp - 0x30]
call fcn.140035bc0
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.140042a00
call fcn.140040b50
lea rbx, [rax + 0x208]
cmp qword [rbx + 0x18], 0x10
jb 0x14006be7e
mov rbx, qword [rbx]
call fcn.140040c50
mov rcx, rax
mov r9, rbx
lea r8, str.CPU_configuration_stored_in_file__s
xor edx, edx
call fcn.140045c00
nop
mov rax, qword [rbp - 0x58]
cmp rax, 0x10
jb 0x14006bedd
inc rax
mov rcx, qword [rbp - 0x70]
cmp rax, 0x1000
jb 0x14006bed8
test cl, 0x1f
jne 0x14006bed1
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14006bed1
sub rcx, rax
sub rcx, 8
cmp rcx, 0x1f
ja 0x14006bed1
mov rcx, rax
jmp 0x14006bed8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140087110
movdqa xmm0, xmmword [0x140093590]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
lea rcx, [rbp - 0x50]
call fcn.14003c070
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14006bf55
mov rax, qword [rsp + 0x40]
sub rax, rcx
sar rax, 5
movabs rdx, 0x7ffffffffffffff
cmp rax, rdx
ja 0x14006bf4e
shl rax, 5
cmp rax, 0x1000
jb 0x14006bf47
test cl, 0x1f
jne 0x14006bf4e
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14006bf4e
sub rcx, rax
sub rcx, 8
cmp rcx, 0x1f
ja 0x14006bf4e
mov rcx, rax
call fcn.140087110
jmp 0x14006bf55
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov al, 1
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140087840
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret