Function at 0x68ac00
Capabilities:
Get system information on windows

Disassembly:
cmp dword [rdi], 0x10
ja 0x68b6e0
mov eax, dword [rdi]
movsxd rax, dword [r15 + rax*4]
add rax, r15
jmp rax
vmovdqu xmm3, xmmword [rbx + 0x30]
vmovdqu xmm4, xmmword [rbx]
vmovdqu xmm5, xmmword [rbx + 0x10]
vmovdqu xmm2, xmmword [rbx + 0x20]
vmovups xmmword [rbx + 0x70], xmm3
movzx edx, byte [rbx + 0x7f]
vmovups xmmword [rbx + 0x40], xmm4
and edx, 1
vmovups xmmword [rbx + 0x50], xmm5
vmovups xmmword [rbx + 0x60], xmm2
mov rdi, qword [rdi + rdx*8 + 8]
test rdi, rdi
je 0x62a928
test cl, cl
jne 0x62a88e
mov rax, qword [rbx + 0x40]
mov rdx, qword [rbx + 0x48]
mov qword [r13], rax
mov rax, qword [rbp + 0x10]
mov qword [r13 + 8], rdx
mov rdx, qword [rbp + 0x18]
mov qword [r13 + 0x10], rax
mov qword [r13 + 0x18], rdx
mov eax, r8d
add rsp, 0xf8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xb0
lea rbp, [0x0068ef60]
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.006827d0
xor edx, edx
lea rcx, [0x0071d070]
call fcn.006578c0
lea rcx, str._n___________cpuminer_opt_24.2____n
call fcn.0064f300
lea rcx, str._____A_CPU_miner_with_multi_algo_support_and_optimized_for_CPUs_n
call fcn.0064f300
lea rcx, str._____with_AVX512__SHA_and_VAES_extensions_by_JayDDee._n
call fcn.0064f300
lea rcx, str._____BTC_donation_address:_12tdvfF7KmAsihBXQXynT6E6th2c2pByTT_n_n
call fcn.0064f300
lea rcx, [0x0068d002]
call sub.msvcrt.dll__strdup
lea rcx, [0x0068d002]
mov qword [0x0071d080], rax
call sub.msvcrt.dll__strdup
lea rcx, [rsp + 0x40]
mov qword [0x0071cad8], rax
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x60]
mov edx, 1
mov r12, qword [0x006f3bd0]
test eax, eax
cmovle eax, edx
mov dword [0x0068c05c], eax
mov dword [0x00706110], eax
jmp 0x68acc9
mov rdx, qword [r12]
call fcn.00409690
mov ecx, ebx
mov r9, rbp
mov r8, rdi
mov rdx, rsi
mov qword [rsp + 0x20], 0
call fcn.00684e60
mov ecx, eax
test eax, eax
jns 0x68acc0
mov rax, qword [0x006f3be0]
movsxd rax, dword [rax]
cmp ebx, eax
jg 0x68b6ac
mov ecx, dword [0x00706128]
test ecx, ecx
je 0x68b682
mov edx, dword [0x007066e4]
test edx, edx
je 0x68b180
mov eax, dword [0x007066ec]
test eax, eax
jne 0x68b1bb
lea rdx, [0x0071cfc0]
call fcn.00413a90
test al, al
je 0x68b657
xor ecx, ecx
call fcn.00401e50
test al, al
je 0x68b657
cmp byte [0x00706132], 0
je 0x68b148
cmp qword [0x007060f8], 0
je 0x68b40e
mov r8, qword [0x0071cac0]
test r8, r8
je 0x68ad91
movsxd rdx, dword [0x0068c054]
lea rcx, [0x007066b0]
call fcn.0040caa0
mov qword [0x007066a8], rax
test rax, rax
je 0x68b19c
lea r12, [0x0071d078]
xor edx, edx
mov rcx, r12
call fcn.006578c0
xor edx, edx
lea rcx, [0x0071cad0]
call fcn.0065e360
xor edx, edx
lea rcx, [0x0071cc30]
call fcn.006578c0
xor edx, edx
lea rcx, [0x0071cf80]
call fcn.006578c0
cmp byte [0x00706132], 0
je 0x68b1f6
mov ecx, 3
call qword [sym.imp.libcurl_4.dll_curl_global_init]
test eax, eax
jne 0x68b1da
mov edx, 1
lea rcx, [0x00404340]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
cmp byte [0x007066f0], 0
jne 0x68b279
mov eax, dword [0x00706108]
test eax, eax
jle 0x68ae39
sub eax, 1
mov r13d, 0x20
cmp eax, 4
jbe 0x68b298
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, r13d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
movsxd rcx, dword [0x00706110]
mov edx, 1
mov rsi, rcx
call sub.msvcrt.dll_calloc
mov ebx, dword [0x0068c05c]
mov qword [0x00706070], rax
cmp esi, ebx
cmovl esi, ebx
movsxd rcx, esi
shl rcx, 2
call sub.msvcrt.dll_malloc
mov qword [0x00706420], rax
mov r10, rax
test rax, rax
je 0x68b661
mov r8, qword [0x0068c060]
test r8, r8
je 0x68aef9
test esi, esi
jle 0x68b615
lea eax, [rsi - 1]
mov r11d, dword [0x0068c05c]
xor ecx, ecx
xor r9d, r9d
lea rsi, [r10 + rax*4 + 4]
jmp 0x68aeb3
add ecx, 1
bt r8, rcx
jae 0x68aeb0
mov eax, ecx
cdq
idiv ebx
xor eax, eax
cmp r11d, ecx
mov ebx, r11d
setg al
add r10, 4
add ecx, 1
add r9d, eax
mov dword [r10 - 4], edx
cmp rsi, r10
jne 0x68aeb3
mov r8d, dword [0x00706110]
cmp r8d, r9d
jg 0x68b2b7
cmp byte [0x0070612d], 0
je 0x68b2cd
movsxd r13, dword [0x00706110]
mov edx, pe_nt_image_headers64
mov rcx, r13
mov rsi, r13
call sub.msvcrt.dll_calloc
mov qword [0x007060d8], rax
test rax, rax
je 0x68b12d
lea ecx, [r13 + 4]
mov edx, 0x50
movsxd rcx, ecx
call sub.msvcrt.dll_calloc
mov qword [0x0071d068], rax
mov rbx, rax
test rax, rax
je 0x68b12d
mov edx, 8
mov rcx, r13
call sub.msvcrt.dll_calloc
mov qword [0x0071d090], rax
test rax, rax
je 0x68b12d
mov dword [0x0071cae0], r13d
imul r13, r13, 0x50
add r13, rbx
mov dword [r13], esi
call fcn.00410ed0
mov qword [r13 + 0x20], rax
test rax, rax
je 0x68b12d
mov rcx, qword [0x0071cad8]
test rcx, rcx
je 0x68afc7
mov r14, qword [0x0071d080]
test r14, r14
je 0x68afc7
lea rdx, str.stats
call sub.msvcrt.dll_strstr
mov r8, rax
mov eax, 1
test r8, r8
je 0x68b3f2
mov byte [0x007060d1], al
and byte [0x007060d1], 1
mov rcx, r13
lea rdx, [0x00407090]
call fcn.00403960
mov r13d, eax
test eax, eax
jne 0x68b471
cmp byte [0x00706131], 0
je 0x68b04d
cmp byte [0x0070612f], 0
jne 0x68b359
cmp byte [0x00706135], 0
jne 0x68b5ff
mov eax, dword [0x00706110]
add eax, 1
movsxd r14, eax
mov dword [0x0068c050], eax
imul r14, r14, 0x50
add r14, qword [0x0071d068]
mov dword [r14], eax
call fcn.00410ed0
mov qword [r14 + 0x20], rax
test rax, rax
je 0x68b12d
lea rdx, [0x00403d00]
mov rcx, r14
call fcn.00403960
test eax, eax
jne 0x68b5a9
cmp byte [0x0070612f], 0
jne 0x68b359
cmp byte [0x00706620], 0
je 0x68b0c6
cmp byte [0x00706135], 0
jne 0x68b593
mov eax, dword [0x00706110]
add eax, 3
movsxd r14, eax
mov dword [0x0068c048], eax
imul r14, r14, 0x50
add r14, qword [0x0071d068]
mov dword [r14], eax
call fcn.00410ed0
mov qword [r14 + 0x20], rax
test rax, rax
je 0x68b12d
lea rdx, [0x00413240]
mov rcx, r14
call fcn.00403960
test eax, eax
jne 0x68b639
cmp byte [0x0070612d], 0
je 0x68b5db
mov rcx, r12
call fcn.0065a4d0
cmp dword [0x00706110], 0
jle 0x68b48d
xor ebx, ebx
xor esi, esi
lea rdi, [0x0071d068]
lea rbp, [0x00405220]
jmp 0x68b116
mov rdx, rbp
mov rcx, r14
call fcn.00403960
test eax, eax
jne 0x68b555
add ebx, 1
add rsi, 0x50
cmp dword [0x00706110], ebx
jle 0x68b48d
mov r14, qword [rdi]
add r14, rsi
mov dword [r14], ebx
call fcn.00410ed0
mov qword [r14 + 0x20], rax
test rax, rax
jne 0x68b0f0
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 [0x007060f0], 0
jne 0x68ad54
mov rbx, qword [rsi]
mov ecx, 2
call qword [fcn.0068a850]
lea rdx, str._s:_no_URL_supplied_n
mov rcx, rax
mov r8, rbx
call fcn.0064f2d0
mov ecx, 1
call fcn.004094e0
cmp byte [0x0070612f], 0
je 0x68b261
mov dword [0x007066e4], 0x1e
jmp 0x68ad16
mov r8, qword [0x0071cac0]
mov ecx, 1
lea rdx, str.Invalid_coinbase_address:__s
call fcn.0040ae50
xor ecx, ecx
call sub.msvcrt.dll_exit
xor ecx, ecx
call qword [sym.imp.msvcrt.dll__time64]
add eax, dword [0x007066ec]
mov ecx, dword [0x00706128]
mov dword [0x007066e8], eax
jmp 0x68ad24
lea rdx, [0x0068df08]
mov ecx, 1
mov r13d, 1
call fcn.0040ae50
jmp 0x68b133
mov rcx, qword [0x00706100]
mov rbx, qword [sym.imp.msvcrt.dll__strnicmp]
mov r8d, 6
lea rdx, str.https:
call rbx
test eax, eax
je 0x68add9
mov rcx, qword [0x00706100]
mov r8d, 0xe
lea rdx, str.stratumssl:__
call rbx
test eax, eax
je 0x68add9
mov rcx, qword [0x00706100]
mov r8d, 0xf
lea rdx, str.stratumtcps:__
call rbx
mov ecx, 2
test eax, eax
jne 0x68adde
jmp 0x68add9
cmp byte [0x00706130], 0
je 0x68b2a8
mov dword [0x007066e4], 0x3c
jmp 0x68ad16
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
test rax, rax
je 0x68b574
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x68ae0b
lea rdx, [0x0068ebc0]
mov r13d, dword [rdx + rax*4]
jmp 0x68ae27
mov dword [0x007066e4], 5
jmp 0x68ad16
lea rdx, str.Affinity:_more_threads___d__than_active_CPUs___d_
mov ecx, 2
call fcn.0040ae50
jmp 0x68aeec
mov eax, dword [0x0068c05c]
mov r9d, 0x40
lea r8, [rsp + 0x70]
mov rcx, qword [0x0068c060]
cmp eax, 0x40
cmovle r9d, eax
xor edx, edx
test eax, eax
jle 0x68b64f
nop word cs:[rax + rax]
mov rax, rcx
and eax, 1
cmp rax, 1
sbb eax, eax
shr rcx, 1
and eax, 0xd
add eax, 0x21
mov byte [r8 + rdx], al
add rdx, 1
cmp r9d, edx
jg 0x68b300
test r9d, r9d
mov eax, 1
cmovle r9d, eax
movsxd rdx, r9d
mov ecx, 0x40
xor eax, eax
add rdx, r8
sub ecx, r9d
mov rdi, rdx
lea rdx, str.CPU_affinity___s_
rep stosb byte [rdi], al
mov ecx, 4
call fcn.0040ae50
jmp 0x68aef9
cmp byte [0x00706135], 0
jne 0x68b5c5
mov eax, dword [0x00706110]
mov byte [0x0071cf8c], 0
add eax, 2
movsxd r14, eax
mov dword [0x0068c04c], eax
imul r14, r14, 0x50
add r14, qword [0x0071d068]
mov dword [r14], eax
call fcn.00410ed0
mov qword [r14 + 0x20], rax
test rax, rax
je 0x68b12d
lea rdx, [0x00406b60]
mov rcx, r14
call fcn.00403960
test eax, eax
jne 0x68b61d
cmp byte [0x0070612f], 0
je 0x68b05a
mov rcx, qword [0x00706100]
call sub.msvcrt.dll__strdup
mov rdx, rax
movsxd rax, dword [0x0068c04c]
imul rax, rax, 0x50
add rax, qword [0x0071d068]
mov rcx, qword [rax + 0x20]
call fcn.00411020
jmp 0x68b05a
lea rdx, str.benchmark
mov rcx, r14
call sub.msvcrt.dll_strcmp
test eax, eax
sete al
movzx eax, al
jmp 0x68afba
mov rbp, qword [0x0071d080]
or r8, 0xffffffffffffffff
xor eax, eax
mov r12, qword [0x0071cad8]
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 qword [0x007060f8], rax
mov rcx, rax
test rax, rax
je 0x68b12d
mov r9, r12
mov r8, rbp
lea rdx, str._s:_s
call sub.msvcrt.dll_sprintf
jmp 0x68ad62
lea rdx, str.work_thread_create_failed
mov ecx, 1
mov r13d, 1
call fcn.0040ae50
jmp 0x68b133
lea rdx, [0x00706160]
xor eax, eax
mov ecx, 0x58
mov rdi, rdx
xor edx, edx
rep stosq qword [rdi], rax
lea rcx, [0x00706138]
call fcn.00684f40
mov rax, qword [0x00706138]
mov rcx, r12
mov qword [0x00706610], rax
mov qword [0x00706618], rax
mov qword [0x007066d8], rax
mov qword [0x007066d0], rax
mov qword [0x007060a0], rax
call fcn.0065b400
mov edx, dword [0x00706128]
lea rax, [0x00691780]
mov r9d, dword [0x0068c05c]
mov r8d, dword [0x00706110]
mov ecx, 4
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.0040ae50
movsxd rax, dword [0x0071cae0]
lea rcx, [rsp + 0x30]
xor edx, edx
imul rax, rax, 0x50
add rax, qword [0x0071d068]
vmovdqu xmm0, xmmword [rax + 8]
vmovups xmmword [rsp + 0x30], xmm0
call fcn.00662df0
lea rdx, str.workio_thread_dead__exiting.
mov ecx, 2
call fcn.0040ae50
jmp 0x68b133
mov r8d, ebx
lea rdx, str.Miner_thread__d_create_failed
mov ecx, 1
mov r13d, 1
call fcn.0040ae50
jmp 0x68b133
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 0x68ae0b
lea rdx, str.Creating_API_thread
mov ecx, 4
call fcn.0040ae50
jmp 0x68b070
lea rdx, str.Long_poll_thread_create_failed
mov ecx, 1
mov r13d, 1
call fcn.0040ae50
jmp 0x68b133
lea rdx, str.Creating_stratum_thread
mov ecx, 4
call fcn.0040ae50
jmp 0x68b366
mov r9d, dword [0x0070604c]
mov r8, qword [0x00706050]
mov ecx, 4
lea rdx, str.API_listening_to__s:_d
call fcn.0040ae50
jmp 0x68b0c6
lea rdx, str.Creating_long_poll_thread
mov ecx, 4
call fcn.0040ae50
jmp 0x68b004
xor r9d, r9d
jmp 0x68aedc
lea rdx, str.Stratum_thread_create_failed
mov ecx, 1
mov r13d, 1
call fcn.0040ae50
jmp 0x68b133
lea rdx, str.API_thread_create_failed
mov ecx, 1
call fcn.0040ae50
jmp 0x68b12d
xor r9d, r9d
jmp 0x68b32e
mov ecx, 1
call sub.msvcrt.dll_exit
lea rdx, str.CPU_Affinity_disabled__memory_allocation_failed
mov ecx, 1
call fcn.0040ae50
mov qword [0x0068c060], 0
jmp 0x68aef9
mov rbx, qword [rsi]
mov ecx, 2
call qword [fcn.0068a850]
lea rdx, str._s:_No_algo_parameter_specified_n
mov rcx, rax
mov r8, rbx
call fcn.0064f2d0
mov ecx, 1
call fcn.004094e0
mov rdi, qword [rsi + rax*8]
mov rbx, qword [rsi]
mov ecx, 2
call qword [fcn.0068a850]
lea rdx, str._s:_unsupported_non_option_argument_____s_n
mov rcx, rax
mov r9, rdi
mov r8, rbx
call fcn.0064f2d0
mov ecx, 1
call fcn.004094e0
nop
nop
nop
mov ecx, 1
mov r8d, 1
jmp 0x62a8e8