Function at 0x6f7b90
Capabilities:
Get system information on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xb0
lea rbp, [0x006fbf60]
lea rdi, str.a:b:Bc:CDf:hK:m:n:N:p:Px:qr:R:s:t:T:o:u:O:V
mov ebx, ecx
mov rsi, rdx
call fcn.006ef620
xor edx, edx
lea rcx, [0x00795d70]
call fcn.006c46f0
lea rcx, str._n___________cpuminer_opt_23.14____n
call fcn.006bbff0
lea rcx, str._____A_CPU_miner_with_multi_algo_support_and_optimized_for_CPUs_n
call fcn.006bbff0
lea rcx, str._____with_AVX512__SHA_and_VAES_extensions_by_JayDDee._n
call fcn.006bbff0
lea rcx, str._____BTC_donation_address:_12tdvfF7KmAsihBXQXynT6E6th2c2pByTT_n_n
call fcn.006bbff0
lea rcx, [0x006fa019]
call sub.msvcrt.dll__strdup
lea rcx, [0x006fa019]
mov qword [0x00795d80], rax
call sub.msvcrt.dll__strdup
lea rcx, [rsp + 0x40]
mov qword [0x007957d8], rax
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x60]
mov edx, 1
test eax, eax
cmovle eax, edx
mov r12, qword [0x00761270]
mov dword [0x006f905c], eax
mov dword [0x00775110], eax
jmp 0x6f7c59
mov rdx, qword [r12]
call fcn.004096c0
mov qword [rsp + 0x20], 0
mov ecx, ebx
mov r9, rbp
mov r8, rdi
mov rdx, rsi
call fcn.006f1cb0
mov ecx, eax
test eax, eax
jns 0x6f7c50
mov rax, qword [0x00761280]
movsxd rax, dword [rax]
cmp ebx, eax
jg 0x6f8633
mov ecx, dword [0x00775128]
test ecx, ecx
je 0x6f8609
mov edx, dword [0x007756e4]
test edx, edx
je 0x6f810f
mov eax, dword [0x007756ec]
test eax, eax
jne 0x6f814a
lea rdx, [0x00795cc0]
call fcn.004144c0
test al, al
je 0x6f85de
xor ecx, ecx
call fcn.00401e70
test al, al
je 0x6f85de
cmp byte [0x00775132], 0
je 0x6f80d7
cmp qword [0x007750f8], 0
je 0x6f8395
mov r8, qword [0x007957c0]
test r8, r8
je 0x6f7d21
movsxd rdx, dword [0x006f9054]
lea rcx, [0x007756b0]
call fcn.0040cb90
mov qword [0x007756a8], rax
test rax, rax
je 0x6f812b
lea r12, [0x00795d78]
xor edx, edx
mov rcx, r12
call fcn.006c46f0
xor edx, edx
lea rcx, [0x007957d0]
call fcn.006cb190
xor edx, edx
lea rcx, [0x00795930]
call fcn.006c46f0
xor edx, edx
lea rcx, [0x00795c80]
call fcn.006c46f0
cmp byte [0x00775132], 0
je 0x6f8185
mov ecx, 3
call qword [sym.imp.libcurl_4.dll_curl_global_init]
test eax, eax
jne 0x6f8169
mov edx, 1
lea rcx, [0x004043e0]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
cmp byte [0x007756f0], 0
jne 0x6f8208
mov eax, dword [0x00775108]
test eax, eax
jle 0x6f7dc8
dec eax
mov r13d, 0x20
cmp eax, 4
jbe 0x6f8227
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, r13d
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
movsxd rcx, dword [0x00775110]
mov edx, 1
mov rsi, rcx
call sub.msvcrt.dll_calloc
mov ebx, dword [0x006f905c]
mov qword [0x00775070], rax
cmp esi, ebx
cmovl esi, ebx
movsxd rcx, esi
shl rcx, 2
call sub.msvcrt.dll_malloc
mov qword [0x00775420], rax
mov r10, rax
test rax, rax
je 0x6f85e8
mov r8, qword [0x006f9060]
test r8, r8
je 0x6f7e87
test esi, esi
jle 0x6f859c
lea eax, [rsi - 1]
mov r11d, dword [0x006f905c]
lea rsi, [r10 + rax*4 + 4]
xor ecx, ecx
xor r9d, r9d
jmp 0x6f7e42
inc ecx
bt r8, rcx
jae 0x6f7e40
mov eax, ecx
cdq
idiv ebx
xor eax, eax
cmp r11d, ecx
setg al
add r10, 4
mov ebx, r11d
add r9d, eax
inc ecx
mov dword [r10 - 4], edx
cmp rsi, r10
jne 0x6f7e42
mov r8d, dword [0x00775110]
cmp r8d, r9d
jg 0x6f8246
cmp byte [0x0077512d], 0
je 0x6f825c
movsxd r13, dword [0x00775110]
mov edx, pe_nt_image_headers64
mov rcx, r13
call sub.msvcrt.dll_calloc
mov qword [0x007750d8], rax
mov rsi, r13
test rax, rax
je 0x6f80bc
lea ecx, [r13 + 4]
movsxd rcx, ecx
mov edx, 0x50
call sub.msvcrt.dll_calloc
mov qword [0x00795d68], rax
mov rbx, rax
test rax, rax
je 0x6f80bc
mov edx, 8
mov rcx, r13
call sub.msvcrt.dll_calloc
mov qword [0x00795d90], rax
test rax, rax
je 0x6f80bc
mov dword [0x007957e0], r13d
imul r13, r13, 0x50
add r13, rbx
mov dword [r13], esi
call fcn.00410ee0
mov qword [r13 + 0x20], rax
test rax, rax
je 0x6f80bc
mov rcx, qword [0x007957d8]
test rcx, rcx
je 0x6f7f55
mov r14, qword [0x00795d80]
test r14, r14
je 0x6f7f55
lea rdx, str.stats
call sub.msvcrt.dll_strstr
mov r8, rax
mov eax, 1
test r8, r8
je 0x6f8379
mov byte [0x007750d1], al
and byte [0x007750d1], 1
mov rcx, r13
lea rdx, [0x00407090]
call fcn.004039f0
mov r13d, eax
test eax, eax
jne 0x6f83f8
cmp byte [0x00775131], 0
je 0x6f7fda
cmp byte [0x0077512f], 0
jne 0x6f82e0
cmp byte [0x00775135], 0
jne 0x6f8586
mov eax, dword [0x00775110]
inc eax
movsxd r14, eax
imul r14, r14, 0x50
mov dword [0x006f9050], eax
add r14, qword [0x00795d68]
mov dword [r14], eax
call fcn.00410ee0
mov qword [r14 + 0x20], rax
test rax, rax
je 0x6f80bc
lea rdx, [0x00403d90]
mov rcx, r14
call fcn.004039f0
test eax, eax
jne 0x6f8530
cmp byte [0x0077512f], 0
jne 0x6f82e0
cmp byte [0x00775620], 0
je 0x6f8053
cmp byte [0x00775135], 0
jne 0x6f851a
mov eax, dword [0x00775110]
add eax, 3
movsxd r14, eax
imul r14, r14, 0x50
mov dword [0x006f9048], eax
add r14, qword [0x00795d68]
mov dword [r14], eax
call fcn.00410ee0
mov qword [r14 + 0x20], rax
test rax, rax
je 0x6f80bc
lea rdx, [0x00413320]
mov rcx, r14
call fcn.004039f0
test eax, eax
jne 0x6f85c0
cmp byte [0x0077512d], 0
je 0x6f8562
mov rcx, r12
call fcn.006c7300
cmp dword [0x00775110], 0
jle 0x6f8414
xor ebx, ebx
xor esi, esi
lea rdi, [0x00795d68]
lea rbp, [0x004052c0]
jmp 0x6f80a5
mov rdx, rbp
mov rcx, r14
call fcn.004039f0
test eax, eax
jne 0x6f84dc
inc ebx
add rsi, 0x50
cmp dword [0x00775110], ebx
jle 0x6f8414
mov r14, qword [rdi]
add r14, rsi
mov dword [r14], ebx
call fcn.00410ee0
mov qword [r14 + 0x20], rax
test rax, rax
jne 0x6f8080
mov r13d, 1
mov eax, r13d
add rsp, 0xb0
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
cmp qword [0x007750f0], 0
jne 0x6f7ce4
mov rbx, qword [rsi]
mov ecx, 2
call qword [fcn.006f77e0]
mov rcx, rax
mov r8, rbx
lea rdx, str._s:_no_URL_supplied_n
call fcn.006bbfc0
mov ecx, 1
call fcn.00409510
cmp byte [0x0077512f], 0
je 0x6f81f0
mov dword [0x007756e4], 0x1e
jmp 0x6f7ca6
mov r8, qword [0x007957c0]
mov ecx, 1
lea rdx, str.Invalid_coinbase_address:__s
call fcn.0040af60
xor ecx, ecx
call sub.msvcrt.dll_exit
xor ecx, ecx
call qword [sym.imp.msvcrt.dll__time64]
add eax, dword [0x007756ec]
mov dword [0x007756e8], eax
mov ecx, dword [0x00775128]
jmp 0x6f7cb4
lea rdx, [0x006faf08]
mov ecx, 1
call fcn.0040af60
mov r13d, 1
jmp 0x6f80c2
mov rcx, qword [0x00775100]
mov rbx, qword [sym.imp.msvcrt.dll__strnicmp]
mov r8d, 6
lea rdx, str.https:
call rbx
test eax, eax
je 0x6f7d69
mov rcx, qword [0x00775100]
mov r8d, 0xe
lea rdx, str.stratumssl:__
call rbx
test eax, eax
je 0x6f7d69
mov rcx, qword [0x00775100]
mov r8d, 0xf
lea rdx, str.stratumtcps:__
call rbx
mov ecx, 2
test eax, eax
jne 0x6f7d6e
jmp 0x6f7d69
cmp byte [0x00775130], 0
je 0x6f8237
mov dword [0x007756e4], 0x3c
jmp 0x6f7ca6
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
test rax, rax
je 0x6f84fb
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x6f7d9b
lea rdx, [0x006fbbc0]
mov r13d, dword [rdx + rax*4]
jmp 0x6f7db6
mov dword [0x007756e4], 5
jmp 0x6f7ca6
lea rdx, str.Affinity:_more_threads___d__than_active_CPUs___d_
mov ecx, 2
call fcn.0040af60
jmp 0x6f7e7a
mov eax, dword [0x006f905c]
mov r9d, 0x40
cmp eax, 0x40
cmovle r9d, eax
mov rcx, qword [0x006f9060]
xor edx, edx
lea r8, [rsp + 0x70]
test eax, eax
jle 0x6f85d6
nop dword [rax]
mov rax, rcx
and eax, 1
cmp rax, 1
sbb eax, eax
and eax, 0xd
add eax, 0x21
mov byte [r8 + rdx], al
inc rdx
shr rcx, 1
cmp r9d, edx
jg 0x6f8288
test r9d, r9d
mov eax, 1
cmovle r9d, eax
movsxd rdx, r9d
add rdx, r8
mov ecx, 0x40
sub ecx, r9d
xor eax, eax
mov rdi, rdx
rep stosb byte [rdi], al
lea rdx, str.CPU_affinity___s_
mov ecx, 4
call fcn.0040af60
jmp 0x6f7e87
cmp byte [0x00775135], 0
jne 0x6f854c
mov eax, dword [0x00775110]
mov byte [0x00795c8c], 0
add eax, 2
movsxd r14, eax
imul r14, r14, 0x50
mov dword [0x006f904c], eax
add r14, qword [0x00795d68]
mov dword [r14], eax
call fcn.00410ee0
mov qword [r14 + 0x20], rax
test rax, rax
je 0x6f80bc
lea rdx, [0x00406b60]
mov rcx, r14
call fcn.004039f0
test eax, eax
jne 0x6f85a4
cmp byte [0x0077512f], 0
je 0x6f7fe7
mov rcx, qword [0x00775100]
call sub.msvcrt.dll__strdup
mov rdx, rax
movsxd rax, dword [0x006f904c]
imul rax, rax, 0x50
add rax, qword [0x00795d68]
mov rcx, qword [rax + 0x20]
call fcn.00411030
jmp 0x6f7fe7
lea rdx, str.benchmark
mov rcx, r14
call sub.msvcrt.dll_strcmp
test eax, eax
sete al
movzx eax, al
jmp 0x6f7f48
mov rbp, qword [0x00795d80]
or r8, 0xffffffffffffffff
xor eax, eax
mov rcx, r8
mov rdi, rbp
repne scasb al, byte [rdi]
mov r12, qword [0x007957d8]
mov rdi, r12
mov rdx, rcx
mov rcx, r8
repne scasb al, byte [rdi]
not rdx
mov rax, rcx
not rax
lea rcx, [rdx + rax]
call sub.msvcrt.dll_malloc
mov qword [0x007750f8], rax
mov rcx, rax
test rax, rax
je 0x6f80bc
mov r9, r12
mov r8, rbp
lea rdx, str._s:_s
call sub.msvcrt.dll_sprintf
jmp 0x6f7cf2
lea rdx, str.work_thread_create_failed
mov ecx, 1
call fcn.0040af60
mov r13d, 1
jmp 0x6f80c2
mov r8d, 0x2c0
xor edx, edx
lea rcx, [0x00775160]
call sub.msvcrt.dll_memset
xor edx, edx
lea rcx, [0x00775138]
call fcn.006f1d90
mov rax, qword [0x00775138]
mov rcx, r12
mov qword [0x00775610], rax
mov qword [0x00775618], rax
mov qword [0x007756d8], rax
mov qword [0x007756d0], rax
mov qword [0x007750a0], rax
call fcn.006c8230
mov edx, dword [0x00775128]
lea rax, [0x006fe780]
mov rax, qword [rax + rdx*8]
mov r9d, dword [0x006f905c]
mov qword [rsp + 0x20], rax
mov r8d, dword [0x00775110]
lea rdx, str._d_of__d_miner_threads_started_using__s_algorithm
mov ecx, 4
call fcn.0040af60
movsxd rax, dword [0x007957e0]
lea rcx, [rsp + 0x30]
imul rax, rax, 0x50
xor edx, edx
add rax, qword [0x00795d68]
vmovdqu xmm0, xmmword [rax + 8]
vmovups xmmword [rsp + 0x30], xmm0
call fcn.006cfc20
lea rdx, str.workio_thread_dead__exiting.
mov ecx, 2
call fcn.0040af60
jmp 0x6f80c2
mov r8d, ebx
lea rdx, str.Miner_thread__d_create_failed
mov ecx, 1
call fcn.0040af60
mov r13d, 1
jmp 0x6f80c2
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_FreeConsole]
jmp 0x6f7d9b
lea rdx, str.Creating_API_thread
mov ecx, 4
call fcn.0040af60
jmp 0x6f7ffd
lea rdx, str.Long_poll_thread_create_failed
mov ecx, 1
call fcn.0040af60
mov r13d, 1
jmp 0x6f80c2
lea rdx, str.Creating_stratum_thread
mov ecx, 4
call fcn.0040af60
jmp 0x6f82ed
mov r9d, dword [0x0077504c]
mov r8, qword [0x00775050]
lea rdx, str.API_listening_to__s:_d
mov ecx, 4
call fcn.0040af60
jmp 0x6f8053
lea rdx, str.Creating_long_poll_thread
mov ecx, 4
call fcn.0040af60
jmp 0x6f7f92
xor r9d, r9d
jmp 0x6f7e6a
lea rdx, str.Stratum_thread_create_failed
mov ecx, 1
call fcn.0040af60
mov r13d, 1
jmp 0x6f80c2
lea rdx, str.API_thread_create_failed
mov ecx, 1
call fcn.0040af60
jmp 0x6f80bc
xor r9d, r9d
jmp 0x6f82b5
mov ecx, 1
call sub.msvcrt.dll_exit
lea rdx, str.CPU_Affinity_disabled__memory_allocation_failed
mov ecx, 1
call fcn.0040af60
mov qword [0x006f9060], 0
jmp 0x6f7e87
mov rbx, qword [rsi]
mov ecx, 2
call qword [fcn.006f77e0]
mov rcx, rax
mov r8, rbx
lea rdx, str._s:_No_algo_parameter_specified_n
call fcn.006bbfc0
mov ecx, 1
call fcn.00409510
mov rdi, qword [rsi + rax*8]
mov rbx, qword [rsi]
mov ecx, 2
call qword [fcn.006f77e0]
mov rcx, rax
mov r9, rdi
mov r8, rbx
lea rdx, str._s:_unsupported_non_option_argument_____s_n
call fcn.006bbfc0
mov ecx, 1
call fcn.00409510
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
sub rsp, 0x28
lea rcx, [0x00789600]
call fcn.006ef568
lea rcx, [0x0058b630]
add rsp, 0x28
jmp fcn.00401520