Function at 0x68a390
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, [0x0068df60]
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.00681e20
xor edx, edx
lea rcx, [0x0071b070]
call fcn.00656ee0
lea rcx, str._n___________cpuminer_opt_23.13____n
call fcn.0064e740
lea rcx, str._____A_CPU_miner_with_multi_algo_support_and_optimized_for_CPUs_n
call fcn.0064e740
lea rcx, str._____with_AVX512__SHA_and_VAES_extensions_by_JayDDee._n
call fcn.0064e740
lea rcx, str._____BTC_donation_address:_12tdvfF7KmAsihBXQXynT6E6th2c2pByTT_n_n
call fcn.0064e740
lea rcx, [0x0068c019]
call sub.msvcrt.dll__strdup
lea rcx, [0x0068c019]
mov qword [0x0071b080], rax
call sub.msvcrt.dll__strdup
lea rcx, [rsp + 0x40]
mov qword [0x0071aad8], rax
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, 1
mov eax, dword [rsp + 0x60]
mov r12, qword [0x006f2010]
test eax, eax
cmovle eax, edx
mov dword [0x0068b05c], eax
mov dword [0x00704110], eax
jmp 0x68a459
mov rdx, qword [r12]
call fcn.004097e0
mov ecx, ebx
mov qword [rsp + 0x20], 0
mov r9, rbp
mov r8, rdi
mov rdx, rsi
call fcn.006844b0
mov ecx, eax
test eax, eax
jns 0x68a450
mov rax, qword [0x006f2020]
movsxd rax, dword [rax]
cmp ebx, eax
jg 0x68add1
mov ecx, dword [0x00704128]
test ecx, ecx
je 0x68ae23
mov edx, dword [0x007046e4]
test edx, edx
je 0x68a90f
mov eax, dword [0x007046ec]
test eax, eax
jne 0x68a94a
lea rdx, [0x0071afc0]
call fcn.00413960
test al, al
je 0x68ae4d
xor ecx, ecx
call fcn.00401dd0
test al, al
je 0x68ae4d
cmp byte [0x00704132], 0
je 0x68a8d7
cmp qword [0x007040f8], 0
je 0x68ab5c
mov r8, qword [0x0071aac0]
test r8, r8
je 0x68a521
movsxd rdx, dword [0x0068b054]
lea rcx, [0x007046b0]
call fcn.0040cbd0
mov qword [0x007046a8], rax
test rax, rax
je 0x68a92b
lea r12, [0x0071b078]
xor edx, edx
mov rcx, r12
call fcn.00656ee0
xor edx, edx
lea rcx, [0x0071aad0]
call fcn.0065d980
xor edx, edx
lea rcx, [0x0071ac30]
call fcn.00656ee0
xor edx, edx
lea rcx, [0x0071af80]
call fcn.00656ee0
cmp byte [0x00704132], 0
je 0x68a985
mov ecx, 3
call qword [sym.imp.libcurl_4.dll_curl_global_init]
test eax, eax
jne 0x68a969
mov edx, 1
lea rcx, [0x004043c0]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
cmp byte [0x007046f0], 0
jne 0x68aa08
mov eax, dword [0x00704108]
test eax, eax
jle 0x68a5c8
dec eax
mov r13d, 0x20
cmp eax, 4
jbe 0x68aa27
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, r13d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
movsxd rcx, dword [0x00704110]
mov edx, 1
mov rsi, rcx
call sub.msvcrt.dll_calloc
mov ebx, dword [0x0068b05c]
mov qword [0x00704070], rax
cmp esi, ebx
cmovl esi, ebx
movsxd rcx, esi
shl rcx, 2
call sub.msvcrt.dll_malloc
mov r10, rax
mov qword [0x00704420], rax
test rax, rax
je 0x68ae02
mov r8, qword [0x0068b060]
test r8, r8
je 0x68a687
test esi, esi
jle 0x68ad97
lea eax, [rsi - 1]
mov r11d, dword [0x0068b05c]
xor ecx, ecx
xor r9d, r9d
lea rsi, [r10 + rax*4 + 4]
jmp 0x68a642
inc ecx
bt r8, rcx
jae 0x68a640
mov eax, ecx
cdq
idiv ebx
xor eax, eax
cmp r11d, ecx
mov ebx, r11d
setg al
add r10, 4
inc ecx
add r9d, eax
mov dword [r10 - 4], edx
cmp rsi, r10
jne 0x68a642
mov r8d, dword [0x00704110]
cmp r8d, r9d
jg 0x68aa46
cmp byte [0x0070412d], 0
je 0x68aa5c
movsxd r13, dword [0x00704110]
mov edx, pe_nt_image_headers64
mov rcx, r13
mov rsi, r13
call sub.msvcrt.dll_calloc
mov qword [0x007040d8], rax
test rax, rax
je 0x68a8bc
lea ecx, [r13 + 4]
mov edx, 0x50
movsxd rcx, ecx
call sub.msvcrt.dll_calloc
mov rbx, rax
mov qword [0x0071b068], rax
test rax, rax
je 0x68a8bc
mov edx, 8
mov rcx, r13
call sub.msvcrt.dll_calloc
mov qword [0x0071b090], rax
test rax, rax
je 0x68a8bc
mov dword [0x0071aae0], r13d
imul r13, r13, 0x50
add r13, rbx
mov dword [r13], esi
call fcn.004110d0
mov qword [r13 + 0x20], rax
test rax, rax
je 0x68a8bc
mov rcx, qword [0x0071aad8]
test rcx, rcx
je 0x68a74e
mov r14, qword [0x0071b080]
test r14, r14
je 0x68a74e
lea rdx, str.stats
call sub.msvcrt.dll_strstr
mov r8, rax
mov eax, 1
test r8, r8
je 0x68ab40
mov byte [0x007040d1], al
mov rcx, r13
lea rdx, [0x00407190]
call fcn.004039a0
mov r13d, eax
test eax, eax
jne 0x68abf3
cmp byte [0x00704131], 0
je 0x68a7d3
cmp byte [0x0070412f], 0
jne 0x68aaa7
cmp byte [0x00704135], 0
jne 0x68ad5d
mov eax, dword [0x00704110]
inc eax
movsxd r14, eax
mov dword [0x0068b050], eax
imul r14, r14, 0x50
add r14, qword [0x0071b068]
mov dword [r14], eax
call fcn.004110d0
mov qword [r14 + 0x20], rax
test rax, rax
je 0x68a8bc
lea rdx, [0x00403d70]
mov rcx, r14
call fcn.004039a0
test eax, eax
jne 0x68ad2b
cmp byte [0x0070412f], 0
jne 0x68aaa7
cmp byte [0x00704620], 0
je 0x68a84c
cmp byte [0x00704135], 0
jne 0x68ad15
mov eax, dword [0x00704110]
add eax, 3
movsxd r14, eax
mov dword [0x0068b048], eax
imul r14, r14, 0x50
add r14, qword [0x0071b068]
mov dword [r14], eax
call fcn.004110d0
mov qword [r14 + 0x20], rax
test rax, rax
je 0x68a8bc
lea rdx, [0x00413100]
mov rcx, r14
call fcn.004039a0
test eax, eax
jne 0x68ad9f
cmp byte [0x0070412d], 0
je 0x68ad73
mov rcx, r12
call fcn.00659af0
cmp dword [0x00704110], 0
jle 0x68ac0f
xor ebx, ebx
xor esi, esi
lea rdi, [0x0071b068]
lea rbp, [0x00405290]
jmp 0x68a8a5
mov rdx, rbp
mov rcx, r14
call fcn.004039a0
test eax, eax
jne 0x68acd7
inc ebx
add rsi, 0x50
cmp dword [0x00704110], ebx
jle 0x68ac0f
mov r14, qword [rdi]
add r14, rsi
mov dword [r14], ebx
call fcn.004110d0
mov qword [r14 + 0x20], rax
test rax, rax
jne 0x68a880
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 [0x007040f0], 0
jne 0x68a4e4
mov rbx, qword [rsi]
mov ecx, 2
call qword [fcn.00689fe0]
lea rdx, str._s:_no_URL_supplied_n
mov rcx, rax
mov r8, rbx
call fcn.0064e710
mov ecx, 1
call fcn.00409620
cmp byte [0x0070412f], 0
je 0x68a9f0
mov dword [0x007046e4], 0x1e
jmp 0x68a4a6
mov r8, qword [0x0071aac0]
mov ecx, 1
lea rdx, str.Invalid_coinbase_address:__s
call fcn.0040afb0
xor ecx, ecx
call sub.msvcrt.dll_exit
xor ecx, ecx
call qword [sym.imp.msvcrt.dll__time64]
add eax, dword [0x007046ec]
mov ecx, dword [0x00704128]
mov dword [0x007046e8], eax
jmp 0x68a4b4
lea rdx, [0x0068cf08]
mov ecx, 1
mov r13d, 1
call fcn.0040afb0
jmp 0x68a8c2
mov rcx, qword [0x00704100]
mov rbx, qword [sym.imp.msvcrt.dll__strnicmp]
mov r8d, 6
lea rdx, str.https:
call rbx
test eax, eax
je 0x68a569
mov rcx, qword [0x00704100]
mov r8d, 0xe
lea rdx, str.stratumssl:__
call rbx
test eax, eax
je 0x68a569
mov rcx, qword [0x00704100]
mov r8d, 0xf
lea rdx, str.stratumtcps:__
call rbx
mov ecx, 2
test eax, eax
jne 0x68a56e
jmp 0x68a569
cmp byte [0x00704130], 0
je 0x68aa37
mov dword [0x007046e4], 0x3c
jmp 0x68a4a6
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
test rax, rax
je 0x68acf6
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x68a59b
lea rdx, [0x0068dbc0]
mov r13d, dword [rdx + rax*4]
jmp 0x68a5b6
mov dword [0x007046e4], 5
jmp 0x68a4a6
lea rdx, str.Affinity:_more_threads___d__than_active_CPUs___d_
mov ecx, 2
call fcn.0040afb0
jmp 0x68a67a
mov r9d, dword [0x0068b05c]
mov ecx, 0x40
mov rdx, qword [0x0068b060]
lea r8, [rsp + 0x70]
cmp r9d, 0x40
cmovle ecx, r9d
xor eax, eax
test r9d, r9d
jg 0x68aa9b
jmp 0x68abc9
mov byte [r8 + rax], 0x21
inc rax
shr rdx, 1
cmp ecx, eax
jle 0x68abbf
test dl, 1
jne 0x68aa88
mov byte [r8 + rax], 0x2e
jmp 0x68aa8d
cmp byte [0x00704135], 0
jne 0x68ad47
mov eax, dword [0x00704110]
mov byte [0x0071af8c], 0
add eax, 2
movsxd r14, eax
mov dword [0x0068b04c], eax
imul r14, r14, 0x50
add r14, qword [0x0071b068]
mov dword [r14], eax
call fcn.004110d0
mov qword [r14 + 0x20], rax
test rax, rax
je 0x68a8bc
lea rdx, [0x00406c20]
mov rcx, r14
call fcn.004039a0
test eax, eax
jne 0x68adb5
cmp byte [0x0070412f], 0
je 0x68a7e0
mov rcx, qword [0x00704100]
call sub.msvcrt.dll__strdup
mov rdx, rax
movsxd rax, dword [0x0068b04c]
imul rax, rax, 0x50
add rax, qword [0x0071b068]
mov rcx, qword [rax + 0x20]
call fcn.00411230
jmp 0x68a7e0
lea rdx, str.benchmark
mov rcx, r14
call sub.msvcrt.dll_strcmp
test eax, eax
sete al
movzx eax, al
jmp 0x68a748
mov rbp, qword [0x0071b080]
or r8, 0xffffffffffffffff
xor eax, eax
mov r12, qword [0x0071aad8]
mov rcx, r8
mov rdi, rbp
repne scasb al, byte [rdi]
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 rcx, rax
mov qword [0x007040f8], rax
test rax, rax
je 0x68a8bc
mov r9, r12
mov r8, rbp
lea rdx, str._s:_s
call sub.msvcrt.dll_sprintf
jmp 0x68a4f2
test ecx, ecx
mov eax, 1
cmovg eax, ecx
movsxd rdx, eax
mov ecx, 0x40
add rdx, r8
sub ecx, eax
xor eax, eax
mov rdi, rdx
lea rdx, str.CPU_affinity___s_
rep stosb byte [rdi], al
mov ecx, 4
call fcn.0040afb0
jmp 0x68a687
lea rdx, str.work_thread_create_failed
mov ecx, 1
mov r13d, 1
call fcn.0040afb0
jmp 0x68a8c2
lea rdx, [0x00704160]
xor eax, eax
mov ecx, 0x58
mov rdi, rdx
xor edx, edx
rep stosq qword [rdi], rax
lea rcx, [0x00704138]
call fcn.00684590
mov rax, qword [0x00704138]
mov rcx, r12
mov qword [0x00704610], rax
mov qword [0x00704618], rax
mov qword [0x007046d8], rax
mov qword [0x007046d0], rax
mov qword [0x007040a0], rax
call fcn.0065aa20
lea rax, [0x00690780]
mov ecx, 4
mov edx, dword [0x00704128]
mov r9d, dword [0x0068b05c]
mov r8d, dword [0x00704110]
mov rax, qword [rax + rdx*8]
lea rdx, str._d_of__d_miner_threads_started_using__s_algorithm
mov qword [rsp + 0x20], rax
call fcn.0040afb0
lea rcx, [rsp + 0x30]
xor edx, edx
movsxd rax, dword [0x0071aae0]
imul rax, rax, 0x50
add rax, qword [0x0071b068]
vmovups xmm0, xmmword [rax + 8]
vmovups xmmword [rsp + 0x30], xmm0
call fcn.00662410
lea rdx, str.workio_thread_dead__exiting.
mov ecx, 2
call fcn.0040afb0
jmp 0x68a8c2
mov r8d, ebx
lea rdx, str.Miner_thread__d_create_failed
mov ecx, 1
mov r13d, 1
call fcn.0040afb0
jmp 0x68a8c2
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 0x68a59b
lea rdx, str.Creating_API_thread
mov ecx, 4
call fcn.0040afb0
jmp 0x68a7f6
lea rdx, str.Long_poll_thread_create_failed
mov ecx, 1
mov r13d, 1
call fcn.0040afb0
jmp 0x68a8c2
lea rdx, str.Creating_stratum_thread
mov ecx, 4
call fcn.0040afb0
jmp 0x68aab4
lea rdx, str.Creating_long_poll_thread
mov ecx, 4
call fcn.0040afb0
jmp 0x68a78b
mov r9d, dword [0x0070404c]
mov r8, qword [0x00704050]
lea rdx, str.API_listening_to__s:_d
mov ecx, 4
call fcn.0040afb0
jmp 0x68a84c
xor r9d, r9d
jmp 0x68a66a
lea rdx, str.API_thread_create_failed
mov ecx, 1
call fcn.0040afb0
jmp 0x68a8bc
lea rdx, str.Stratum_thread_create_failed
mov ecx, 1
mov r13d, 1
call fcn.0040afb0
jmp 0x68a8c2
mov rdi, qword [rsi + rax*8]
mov rbx, qword [rsi]
mov ecx, 2
call qword [fcn.00689fe0]
lea rdx, str._s:_unsupported_non_option_argument_____s_n
mov rcx, rax
mov r9, rdi
mov r8, rbx
call fcn.0064e710
mov ecx, 1
call fcn.00409620
lea rdx, str.CPU_Affinity_disabled__memory_allocation_failed
mov ecx, 1
call fcn.0040afb0
mov qword [0x0068b060], 0
jmp 0x68a687
mov rbx, qword [rsi]
mov ecx, 2
call qword [fcn.00689fe0]
lea rdx, str._s:_No_algo_parameter_specified_n
mov rcx, rax
mov r8, rbx
call fcn.0064e710
mov ecx, 1
call fcn.00409620
mov ecx, 1
call sub.msvcrt.dll_exit
nop
nop
nop
nop
nop
nop
nop
nop
nop
sub rsp, 0x28
lea rcx, [0x0070e900]
call fcn.00681d68
lea rcx, [0x00549f60]
add rsp, 0x28
jmp fcn.00401520