Function at 0x14026b120
Capabilities:
Get system information on windows

Disassembly:
lea rcx, [0x140001440]
jmp fcn.140001410
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xb8
lea rdi, [0x14026e6a4]
lea rbp, [0x14026ff60]
mov ebx, ecx
mov rsi, rdx
call fcn.14025ab80
xor edx, edx
lea rcx, [0x1402d9060]
call fcn.14022f6d0
lea rcx, str._n___________cpuminer_opt_3.23.1____n
call fcn.140226590
lea rcx, str._____A_CPU_miner_with_multi_algo_support_and_optimized_for_CPUs_n
call fcn.140226590
lea rcx, str._____with_AVX512__SHA_and_VAES_extensions_by_JayDDee._n
call fcn.140226590
lea rcx, str._____BTC_donation_address:_12tdvfF7KmAsihBXQXynT6E6th2c2pByTT_n_n
call fcn.140226590
mov rcx, rdi
call sub.msvcrt.dll__strdup
mov rcx, rdi
lea rdi, str.a:b:Bc:CDf:hK:m:n:N:p:Px:qr:R:s:t:T:o:u:O:V
mov qword [0x1402d9658], rax
call sub.msvcrt.dll__strdup
lea rcx, [rsp + 0x40]
mov qword [0x1402d9650], rax
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x60]
mov edx, 1
mov r12, qword [0x1402c63a0]
test eax, eax
cmovle eax, edx
mov dword [0x14026c04c], eax
mov dword [0x1402d9678], eax
jmp 0x14026b1e9
mov rdx, qword [r12]
call fcn.140008fc0
mov ecx, ebx
mov r9, rbp
mov r8, rdi
mov rdx, rsi
mov qword [rsp + 0x20], 0
call fcn.14025cce0
mov ecx, eax
test eax, eax
jns 0x14026b1e0
mov rax, qword [0x1402c63b0]
movsxd rax, dword [rax]
cmp ebx, eax
jg 0x14026bb7e
mov ecx, dword [0x1402d9690]
test ecx, ecx
je 0x14026bb54
mov r8d, dword [0x1402d9ce4]
test r8d, r8d
je 0x14026b681
mov edx, dword [0x1402d9cec]
test edx, edx
jne 0x14026b6bc
lea rdx, [0x1402d96a0]
call fcn.1400146a0
test al, al
je 0x14026bb2b
xor ecx, ecx
call fcn.1400014a0
test al, al
je 0x14026bb2b
cmp byte [0x1402d969a], 0
je 0x14026b649
cmp qword [0x1402d9660], 0
je 0x14026b903
mov r8, qword [0x1402d9640]
test r8, r8
je 0x14026b2b3
movsxd rdx, dword [0x14026c044]
lea rcx, [0x1402d9cb0]
call fcn.14000c3f0
mov qword [0x1402d9ca8], rax
test rax, rax
je 0x14026b69d
lea rsi, [0x1402d9058]
xor edx, edx
mov rcx, rsi
call fcn.14022f6d0
xor edx, edx
lea rcx, [0x1402d9048]
call fcn.140236170
xor edx, edx
lea rcx, [0x1402d9270]
call fcn.14022f6d0
xor edx, edx
lea rcx, [0x1402d95c0]
call fcn.14022f6d0
cmp byte [0x1402d969a], 0
je 0x14026b6f1
mov ecx, 3
call qword [sym.imp.libcurl_4.dll_curl_global_init]
test eax, eax
jne 0x14026b6db
mov edx, 1
lea rcx, [0x1400042e0]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
cmp byte [0x1402d9cf0], 0
jne 0x14026b774
mov eax, dword [0x1402d9670]
test eax, eax
jle 0x14026b359
sub eax, 1
mov ebx, 0x20
cmp eax, 4
jbe 0x14026b793
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, ebx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov ebx, dword [0x14026c04c]
mov eax, dword [0x1402d9678]
cmp ebx, eax
cmovge eax, ebx
movsxd r11, eax
lea rdi, [r11*4]
mov rbp, r11
mov rcx, rdi
call sub.msvcrt.dll_malloc
mov qword [0x1402d9a20], rax
mov r10, rax
test rax, rax
je 0x14026bb35
mov r8, qword [0x14026c050]
test r8, r8
je 0x14026b407
test ebp, ebp
jle 0x14026baea
lea r11, [rax + rdi]
xor ecx, ecx
mov edi, dword [0x14026c04c]
xor r9d, r9d
jmp 0x14026b3c3
add ecx, 1
bt r8, rcx
jae 0x14026b3c0
mov eax, ecx
cdq
idiv ebx
xor eax, eax
cmp edi, ecx
mov ebx, edi
setg al
add r10, 4
add ecx, 1
add r9d, eax
mov dword [r10 - 4], edx
cmp r10, r11
jne 0x14026b3c3
mov r8d, dword [0x1402d9678]
cmp r8d, r9d
jg 0x14026b7b1
cmp byte [0x1402d9695], 0
je 0x14026b7c7
movsxd rdi, dword [0x1402d9678]
mov edx, pe_nt_image_headers64
mov rcx, rdi
call sub.msvcrt.dll_calloc
mov qword [0x1402d9600], rax
test rax, rax
je 0x14026b630
lea ecx, [rdi + 4]
mov edx, 0x50
movsxd rcx, ecx
call sub.msvcrt.dll_calloc
mov qword [0x1402d9610], rax
mov rbx, rax
test rax, rax
je 0x14026b630
mov edx, 8
mov rcx, rdi
call sub.msvcrt.dll_calloc
mov qword [0x1402d90e0], rax
test rax, rax
je 0x14026b630
imul rax, rdi, 0x50
mov dword [0x1402d960c], edi
add rbx, rax
mov dword [rbx], edi
call fcn.1400118b0
mov qword [rbx + 0x20], rax
test rax, rax
je 0x14026b630
mov rcx, qword [0x1402d9650]
test rcx, rcx
je 0x14026b4ce
mov rdi, qword [0x1402d9658]
test rdi, rdi
je 0x14026b4ce
lea rdx, str.stats
call sub.msvcrt.dll_strstr
mov rdx, rax
mov eax, 1
test rdx, rdx
je 0x14026b8cd
mov byte [0x1402d9101], al
and byte [0x1402d9101], 1
lea rdx, [0x140006db0]
mov rcx, rbx
call fcn.1400030f0
mov r12d, eax
test eax, eax
jne 0x14026b958
cmp byte [0x1402d9699], 0
movzx eax, byte [0x1402d9697]
je 0x14026b557
movzx edx, byte [0x1402d969d]
test al, al
jne 0x14026b835
test dl, dl
jne 0x14026bad4
mov eax, dword [0x1402d9678]
add eax, 1
movsxd rbx, eax
mov dword [0x14026c040], eax
imul rbx, rbx, 0x50
add rbx, qword [0x1402d9610]
mov dword [rbx], eax
call fcn.1400118b0
mov qword [rbx + 0x20], rax
test rax, rax
je 0x14026b630
lea rdx, [0x140003cf0]
mov rcx, rbx
call fcn.1400030f0
test eax, eax
jne 0x14026ba84
cmp byte [0x1402d9697], 0
jne 0x14026b835
cmp byte [0x1402d9c20], 0
je 0x14026b5cf
cmp byte [0x1402d969d], 0
jne 0x14026ba6e
mov eax, dword [0x1402d9678]
add eax, 3
movsxd rbx, eax
mov dword [0x14026c038], eax
imul rbx, rbx, 0x50
add rbx, qword [0x1402d9610]
mov dword [rbx], eax
call fcn.1400118b0
mov qword [rbx + 0x20], rax
test rax, rax
je 0x14026b630
mov rdx, qword [0x1402c6000]
mov rcx, rbx
call fcn.1400030f0
test eax, eax
jne 0x14026bb08
cmp byte [0x1402d9695], 0
je 0x14026bab0
mov rcx, rsi
xor edi, edi
lea r13, [0x140005090]
xor ebp, ebp
call fcn.1402322e0
cmp dword [0x1402d9678], 0
jg 0x14026b616
jmp 0x14026b96e
mov rdx, r13
mov rcx, rbx
call fcn.1400030f0
test eax, eax
jne 0x14026ba36
add edi, 1
add rbp, 0x50
cmp dword [0x1402d9678], edi
jle 0x14026b96e
mov rbx, qword [0x1402d9610]
add rbx, rbp
mov dword [rbx], edi
call fcn.1400118b0
mov qword [rbx + 0x20], rax
test rax, rax
jne 0x14026b5f0
mov r12d, 1
mov eax, r12d
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
cmp qword [0x1402d9648], 0
jne 0x14026b276
mov rbx, qword [rsi]
mov ecx, 2
call qword [fcn.14026a720]
lea rdx, str._s:_no_URL_supplied_n
mov rcx, rax
mov r8, rbx
call fcn.140226560
mov ecx, 1
call fcn.140008e00
cmp byte [0x1402d9697], 0
je 0x14026b75c
mov dword [0x1402d9ce4], 0x1e
jmp 0x14026b238
mov r8, qword [0x1402d9640]
mov ecx, 1
lea rdx, str.Invalid_coinbase_address:__s
call fcn.14000a6b0
xor ecx, ecx
call sub.msvcrt.dll_exit
xor ecx, ecx
call qword [sym.imp.msvcrt.dll__time64]
add eax, dword [0x1402d9cec]
mov ecx, dword [0x1402d9690]
mov dword [0x1402d9ce8], eax
jmp 0x14026b246
lea rdx, [0x14026ef20]
mov ecx, 1
call fcn.14000a6b0
jmp 0x14026b630
mov rcx, qword [0x1402d9668]
mov rbx, qword [sym.imp.msvcrt.dll__strnicmp]
mov r8d, 6
lea rdx, str.https:
call rbx
test eax, eax
je 0x14026b2fb
mov rcx, qword [0x1402d9668]
mov r8d, 0xe
lea rdx, str.stratumssl:__
call rbx
test eax, eax
je 0x14026b2fb
mov rcx, qword [0x1402d9668]
mov r8d, 0xf
lea rdx, str.stratumtcps:__
call rbx
test eax, eax
je 0x14026b2fb
mov ecx, 2
jmp 0x14026b300
cmp byte [0x1402d9698], 0
je 0x14026b7a2
mov dword [0x1402d9ce4], 0x3c
jmp 0x14026b238
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
test rax, rax
je 0x14026ba4f
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x14026b32d
lea rdx, [0x14026fbd0]
mov ebx, dword [rdx + rax*4]
jmp 0x14026b348
mov dword [0x1402d9ce4], 5
jmp 0x14026b238
lea rdx, str.Affinity:_more_threads___d__than_active_CPUs___d_
mov ecx, 2
call fcn.14000a6b0
jmp 0x14026b3fa
mov eax, dword [0x14026c04c]
mov r9d, 0x40
mov rdx, qword [0x14026c050]
cmp eax, r9d
cmovle r9d, eax
test eax, eax
jle 0x14026bb1e
xor eax, eax
lea r8, [rsp + 0x70]
test dl, 1
jne 0x14026b8e9
mov byte [r8 + rax], 0x2e
add rax, 1
shr rdx, 1
cmp r9d, eax
jg 0x14026b7f0
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.14000a6b0
jmp 0x14026b407
cmp byte [0x1402d969d], 0
jne 0x14026ba9a
mov eax, dword [0x1402d9678]
mov byte [0x1402d95cc], 0
add eax, 2
movsxd rbx, eax
mov dword [0x14026c03c], eax
imul rbx, rbx, 0x50
add rbx, qword [0x1402d9610]
mov dword [rbx], eax
call fcn.1400118b0
mov qword [rbx + 0x20], rax
test rax, rax
je 0x14026b630
lea rdx, [0x1400068a0]
mov rcx, rbx
call fcn.1400030f0
test eax, eax
jne 0x14026baf2
cmp byte [0x1402d9697], 0
je 0x14026b564
mov rcx, qword [0x1402d9668]
call sub.msvcrt.dll__strdup
mov rdx, rax
movsxd rax, dword [0x14026c03c]
imul rax, rax, 0x50
add rax, qword [0x1402d9610]
mov rcx, qword [rax + 0x20]
call fcn.1400119e0
jmp 0x14026b564
lea rdx, str.benchmark
mov rcx, rdi
call sub.msvcrt.dll_strcmp
test eax, eax
sete al
movzx eax, al
jmp 0x14026b4c1
mov byte [r8 + rax], 0x21
add rax, 1
shr rdx, 1
cmp r9d, eax
jg 0x14026b7f0
jmp 0x14026b80a
mov rsi, qword [0x1402d9658]
mov rcx, rsi
call sub.msvcrt.dll_strlen
mov rdi, qword [0x1402d9650]
mov rbx, rax
mov rcx, rdi
call sub.msvcrt.dll_strlen
lea rcx, [rbx + rax + 2]
call sub.msvcrt.dll_malloc
mov qword [0x1402d9660], rax
mov rcx, rax
test rax, rax
je 0x14026b630
mov r9, rdi
mov r8, rsi
lea rdx, str._s:_s
call fcn.140001470
jmp 0x14026b284
lea rdx, str.work_thread_create_failed
mov ecx, 1
call fcn.14000a6b0
jmp 0x14026b630
lea rdx, [0x1402d9760]
xor eax, eax
mov ecx, 0x58
mov rdi, rdx
xor edx, edx
rep stosq qword [rdi], rax
lea rcx, [0x1402d9748]
call fcn.14025ce00
mov rax, qword [0x1402d9748]
mov rcx, rsi
mov qword [0x1402d9c10], rax
mov qword [0x1402d9c18], rax
mov qword [0x1402d9cd8], rax
mov qword [0x1402d9cd0], rax
mov qword [0x1402d90c8], rax
call fcn.140233210
mov edx, dword [0x1402d9690]
lea rax, [0x1402727c0]
mov r9d, dword [0x14026c04c]
mov r8d, dword [0x1402d9678]
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.14000a6b0
movsxd rax, dword [0x1402d960c]
lea rcx, [rsp + 0x30]
xor edx, edx
imul rax, rax, 0x50
add rax, qword [0x1402d9610]
vmovdqu xmm0, xmmword [rax + 8]
vmovdqu xmmword [rsp + 0x30], xmm0
call fcn.14023ac00
lea rdx, str.workio_thread_dead__exiting.
mov ecx, 2
call fcn.14000a6b0
jmp 0x14026b636
mov r8d, edi
lea rdx, str.Miner_thread__d_create_failed
mov ecx, 1
call fcn.14000a6b0
jmp 0x14026b630
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 0x14026b32d
lea rdx, str.Creating_API_thread
mov ecx, 4
call fcn.14000a6b0
jmp 0x14026b57a
lea rdx, str.Long_poll_thread_create_failed
mov ecx, 1
call fcn.14000a6b0
jmp 0x14026b630
lea rdx, str.Creating_stratum_thread
mov ecx, 4
call fcn.14000a6b0
jmp 0x14026b842
mov r9d, dword [0x1402d906c]
mov r8, qword [0x1402d9070]
mov ecx, 4
lea rdx, str.API_listening_to__s:_d
call fcn.14000a6b0
jmp 0x14026b5cf
lea rdx, str.Creating_long_poll_thread
mov ecx, 4
call fcn.14000a6b0
jmp 0x14026b50f
xor r9d, r9d
jmp 0x14026b3ea
lea rdx, str.Stratum_thread_create_failed
mov ecx, 1
call fcn.14000a6b0
jmp 0x14026b630
lea rdx, str.API_thread_create_failed
mov ecx, 1
call fcn.14000a6b0
jmp 0x14026b630
xor r9d, r9d
lea r8, [rsp + 0x70]
jmp 0x14026b80a
mov ecx, 1
call sub.msvcrt.dll_exit
lea rdx, str.CPU_Affinity_disabled__memory_allocation_failed
mov ecx, 1
call fcn.14000a6b0
xor eax, eax
mov qword [0x14026c050], rax
jmp 0x14026b407
mov rbx, qword [rsi]
mov ecx, 2
call qword [fcn.14026a720]
lea rdx, str._s:_No_algo_parameter_specified_n
mov rcx, rax
mov r8, rbx
call fcn.140226560
mov ecx, 1
call fcn.140008e00
mov rdi, qword [rsi + rax*8]
mov rbx, qword [rsi]
mov ecx, 2
call qword [fcn.14026a720]
lea rdx, str._s:_unsupported_non_option_argument_____s_n
mov rcx, rax
mov r9, rdi
mov r8, rbx
call fcn.140226560
mov ecx, 1
call fcn.140008e00
nop
jmp 0x140001430