Function at 0x731740
Capabilities:
Get system information on windows

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xb8
lea rbp, [0x007370c0]
mov ebx, ecx
mov rsi, rdx
call fcn.007218e0
xor edx, edx
lea rcx, [0x007bc060]
call fcn.006f6810
lea rcx, str._n___________cpuminer_opt_gr_1.1.0____n
call fcn.006ec6c0
lea rcx, str._____A_CPU_miner_with_multi_algo_support_and_optimized_for_CPUs_n
call fcn.006ec6c0
lea rcx, str._____with_AVX512__SHA_and_VAES_extensions_by_JayDDee._n
call fcn.006ec6c0
lea rcx, str._____with_Ghostrider_Algo_SSEAVX2_by_Ausminer._n
call fcn.006ec6c0
lea rcx, str._____Jay_D_Dees_BTC_donation_address:_12tdvfF7KmAsihBXQXynT6E6th2c2pByTT_n_n
call fcn.006ec6c0
lea rcx, str._____RTM_Donations_happen_1_min_every_100_min___d_X_to_increase__n_n
call fcn.006ec6c0
lea rcx, [0x007356b1]
call sub.msvcrt.dll__strdup
lea rcx, [0x007356b1]
mov qword [0x007bc6a0], rax
call sub.msvcrt.dll__strdup
lea rcx, [0x007356b1]
mov qword [0x007bc698], rax
call sub.msvcrt.dll__strdup
lea rcx, str.RXq9v8WbMLZaGH79GmK2oEdc33CTYkvyoZ
mov qword [0x007bc670], rax
call sub.msvcrt.dll__strdup
lea rcx, str.RQKcAZBtsSacMUiGNnbk3h3KJAN94tstvt
mov qword [0x007bc668], rax
call sub.msvcrt.dll__strdup
lea rcx, [0x00736a1b]
mov qword [0x007bc660], rax
call sub.msvcrt.dll__strdup
mov rdi, qword [sym.imp.msvcrt.dll__time64]
xor ecx, ecx
mov qword [0x007bc658], rax
call rdi
mov rcx, rax
call sub.msvcrt.dll_srand
call sub.msvcrt.dll_rand
mov edx, eax
shr edx, 0x1f
add eax, edx
and eax, 1
sub eax, edx
xor ecx, ecx
mov dword [0x007bc650], eax
call rdi
mov rdi, rax
call sub.msvcrt.dll_rand
mov edx, eax
cdqe
imul rax, rax, 0x4325c53f
mov ecx, edx
sar ecx, 0x1f
sar rax, 0x24
sub eax, ecx
imul eax, eax, 0x3d
mov r12, qword [0x007a7610]
sub edx, eax
imul eax, dword [0x00733060], 0x3c
lea edx, [rdx + rdi + 0x3c]
mov dword [0x007bc64c], edx
add eax, edx
mov dword [0x007bc648], eax
lea rdi, str.a:b:Bc:CDf:hK:m:n:N:p:Px:qr:R:s:t:T:o:u:O:V:d:y
jmp 0x7318b1
mov rdx, qword [r12]
call fcn.00409aa0
mov qword [rsp + 0x20], 0
mov ecx, ebx
mov r9, rbp
mov r8, rdi
mov rdx, rsi
call fcn.00723af0
mov ecx, eax
test eax, eax
jns 0x7318a8
mov rax, qword [0x007a7620]
movsxd rax, dword [rax]
cmp ebx, eax
jg 0x7321f8
mov rax, qword [0x007bc6a0]
cmp byte [rax], 0x58
je 0x731e63
cmp dword [0x007bc6d8], 0x11
je 0x731902
mov byte [0x00733064], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x60]
mov edx, 1
test eax, eax
cmovle eax, edx
mov edx, dword [0x007bc6c0]
mov dword [0x0073306c], eax
test edx, edx
je 0x731d8b
mov ecx, dword [0x007bc6d8]
test ecx, ecx
je 0x732229
lea rdx, [0x007bc700]
call fcn.00414400
test al, al
je 0x7321ee
xor ecx, ecx
call fcn.004015a0
test al, al
je 0x7321ee
cmp byte [0x007bc6e1], 0
je 0x731d96
cmp qword [0x007bc6a8], 0
je 0x731fb1
mov r8, qword [0x007bc688]
test r8, r8
je 0x7319aa
movsxd rdx, dword [0x0073305c]
lea rcx, [0x007bccf0]
call fcn.0040ce80
mov qword [0x007bcce8], rax
test rax, rax
je 0x731de1
mov r8d, 0x280
xor edx, edx
lea rcx, [0x007bc7e0]
call sub.msvcrt.dll_memset
xor edx, edx
lea rcx, [0x007bc7b8]
call fcn.00723bd0
mov rax, qword [0x007bc7b8]
xor edx, edx
lea rcx, [0x007bc058]
mov qword [0x007bcc58], rax
mov qword [0x007bcc60], rax
call fcn.006f6810
xor edx, edx
lea rcx, [0x007bc048]
call fcn.006fd2b0
xor edx, edx
lea rcx, [0x007bc270]
call fcn.006f6810
xor edx, edx
lea rcx, [0x007bc5c0]
call fcn.006f6810
cmp byte [0x007bc6e1], 0
je 0x731e16
mov ecx, 3
call qword [sym.imp.libcurl_4.dll_curl_global_init]
test eax, eax
jne 0x731dfd
mov edx, 1
lea rcx, [0x00404210]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
cmp byte [0x007bcd10], 0
jne 0x731e8e
mov eax, dword [0x007bc6b8]
test eax, eax
jle 0x731a85
dec eax
mov r12d, 0x20
cmp eax, 4
jbe 0x731ead
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, r12d
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
cmp qword [0x00733070], 0xffffffffffffffff
je 0x731ac5
cmp dword [0x0073306c], 0x40
jle 0x731ac5
lea rdx, str.Setting_CPU_affinity_with_more_than_64_CPUs_is_only
mov ecx, 1
call fcn.0040b1a0
lea rdx, str.available_on_Linux._Using_default_affinity.
mov ecx, 1
call fcn.0040b1a0
mov qword [0x00733070], 0xffffffffffffffff
cmp byte [0x007bc6dd], 0
jne 0x731ae0
mov edx, dword [0x0073306c]
cmp edx, dword [0x007bc6c0]
jg 0x731ebd
mov eax, dword [0x007bc6c0]
lea ecx, [rax + rax]
movsxd rcx, ecx
call fcn.00414fe0
test al, al
je 0x731dce
lea rdx, str.Huge_Pages_set_up_successfuly.
mov ecx, 0x10
call fcn.0040b1a0
cmp dword [0x00733078], 0
jne 0x732006
movsxd r12, dword [0x007bc6c0]
mov edx, pe_nt_image_headers64
mov rcx, r12
call sub.msvcrt.dll_calloc
mov qword [0x007bc600], rax
mov rsi, r12
test rax, rax
je 0x731d72
lea ecx, [r12 + 4]
movsxd rcx, ecx
mov edx, 0x60
call sub.msvcrt.dll_calloc
mov qword [0x007bc610], rax
mov rbx, rax
test rax, rax
je 0x731d72
mov edx, 8
mov rcx, r12
call sub.msvcrt.dll_calloc
mov qword [0x007bc0e8], rax
test rax, rax
je 0x731d72
mov dword [0x007bc60c], r12d
imul r12, r12, 0x60
add r12, rbx
mov dword [r12], esi
call fcn.004111c0
mov qword [r12 + 0x20], rax
test rax, rax
je 0x731d72
mov rcx, qword [0x007bc698]
test rcx, rcx
je 0x731be7
mov r13, qword [0x007bc6a0]
test r13, r13
je 0x731be7
lea rdx, str.stats
call sub.msvcrt.dll_strstr
mov r8, rax
mov eax, 1
test r8, r8
je 0x731f95
mov byte [0x007bc105], al
and byte [0x007bc105], 1
mov rcx, r12
lea rdx, [0x00406d20]
call fcn.00402db0
mov r12d, eax
test eax, eax
jne 0x732028
cmp byte [0x00733091], 0
je 0x731c6d
cmp byte [0x007bc6df], 0
jne 0x731f02
cmp byte [0x007bc6e4], 0
jne 0x73219f
mov eax, dword [0x007bc6c0]
inc eax
movsxd r13, eax
imul r13, r13, 0x60
mov dword [0x00733058], eax
add r13, qword [0x007bc610]
mov dword [r13], eax
call fcn.004111c0
mov qword [r13 + 0x20], rax
test rax, rax
je 0x731d72
lea rdx, [0x00403c40]
mov rcx, r13
call fcn.00402db0
test eax, eax
jne 0x73215a
cmp byte [0x007bc6df], 0
jne 0x731f02
cmp byte [0x007bcc68], 0
je 0x731ce7
cmp byte [0x007bc6e4], 0
jne 0x732189
mov eax, dword [0x007bc6c0]
add eax, 3
movsxd r13, eax
imul r13, r13, 0x60
mov dword [0x00733050], eax
add r13, qword [0x007bc610]
mov dword [r13], eax
call fcn.004111c0
mov qword [r13 + 0x20], rax
test rax, rax
je 0x731d72
lea rdx, [0x00413540]
mov rcx, r13
call fcn.00402db0
test eax, eax
jne 0x7321ce
cmp byte [0x007bc6dd], 0
je 0x732136
mov r8d, dword [0x007bc6c0]
xor esi, esi
xor edi, edi
lea rbp, [0x004050e0]
test r8d, r8d
jg 0x731d4e
jmp 0x73208e
lea r13, [rbx + 0x18]
mov rcx, r13
call fcn.006f5c90
lea rcx, [rbx + 8]
mov r9, rbx
mov r8, rbp
mov rdx, r13
call fcn.006f9230
mov ebx, eax
mov rcx, r13
call fcn.006f5cf0
test ebx, ebx
jne 0x7320fb
mov r8d, dword [0x007bc6c0]
inc esi
add rdi, 0x60
cmp r8d, esi
jle 0x73208e
mov ecx, 0x1388
call fcn.00723c70
mov rbx, qword [0x007bc610]
add rbx, rdi
mov dword [rbx], esi
call fcn.004111c0
mov qword [rbx + 0x20], rax
test rax, rax
jne 0x731d08
mov r12d, 1
mov eax, r12d
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov dword [0x007bc6c0], eax
jmp 0x73192f
cmp qword [0x007bc690], 0
jne 0x73196d
mov rbx, qword [rsi]
mov ecx, 2
call qword [fcn.007311f0]
mov rcx, rax
mov r8, rbx
lea rdx, str._s:_no_URL_supplied_n
call fcn.006ec690
mov ecx, 1
call fcn.004098f0
lea rdx, str.Could_not_prepare_Huge_Pages.
xor ecx, ecx
call fcn.0040b1a0
jmp 0x731b0a
mov r8, qword [0x007bc688]
xor ecx, ecx
lea rdx, str.Invalid_coinbase_address:__s
call fcn.0040b1a0
xor ecx, ecx
call sub.msvcrt.dll_exit
lea rdx, [0x00735ed0]
xor ecx, ecx
call fcn.0040b1a0
mov r12d, 1
jmp 0x731d78
mov rcx, qword [0x007bc6b0]
mov rbx, qword [sym.imp.msvcrt.dll__strnicmp]
mov r8d, 6
lea rdx, str.https:
call rbx
test eax, eax
je 0x731a26
mov rcx, qword [0x007bc6b0]
mov r8d, 0xf
lea rdx, str.stratumtcps:__
call rbx
mov ecx, 2
test eax, eax
jne 0x731a2b
jmp 0x731a26
lea rcx, str.XdFVd4X4Ru688UVtKetxxJPD54hPfemhxg
call sub.msvcrt.dll__strdup
lea rcx, str.XeMjEpWscVu2A5kj663Tqtn2d7cPYYXnDN
mov qword [0x007bc668], rax
call sub.msvcrt.dll__strdup
mov qword [0x007bc660], rax
jmp 0x7318f2
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
test rax, rax
je 0x732117
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x731a58
lea rdx, [0x00736d40]
mov r12d, dword [rdx + rax*4]
jmp 0x731a73
cmp edx, 0x40
mov r9d, 0x40
mov rax, qword [0x00733070]
cmovle r9d, edx
test edx, edx
jle 0x7321e1
lea r8, [rsp + 0x70]
mov rcx, r8
xor edx, edx
jmp 0x731ef9
mov byte [rcx], 0x21
inc edx
shr rax, 1
inc rcx
cmp r9d, edx
jle 0x732057
test al, 1
jne 0x731ee5
mov byte [rcx], 0x2e
jmp 0x731ee8
cmp byte [0x007bc6e4], 0
jne 0x732173
mov eax, dword [0x007bc6c0]
add eax, 2
movsxd r13, eax
imul r13, r13, 0x60
mov dword [0x00733054], eax
add r13, qword [0x007bc610]
mov dword [r13], eax
call fcn.004111c0
mov qword [r13 + 0x20], rax
test rax, rax
je 0x731d72
lea rdx, [0x00406710]
mov rcx, r13
call fcn.00402db0
test eax, eax
jne 0x7321b5
cmp byte [0x007bc6df], 0
je 0x731c7a
mov rcx, qword [0x007bc6b0]
call sub.msvcrt.dll__strdup
mov rdx, rax
movsxd rax, dword [0x00733054]
imul rax, rax, 0x60
add rax, qword [0x007bc610]
mov rcx, qword [rax + 0x20]
call fcn.00411310
jmp 0x731c7a
lea rdx, str.benchmark
mov rcx, r13
call sub.msvcrt.dll_strcmp
test eax, eax
sete al
movzx eax, al
jmp 0x731bda
mov rsi, qword [0x007bc6a0]
mov rcx, rsi
call sub.msvcrt.dll_strlen
mov rdi, qword [0x007bc698]
mov rbx, rax
mov rcx, rdi
call sub.msvcrt.dll_strlen
lea rcx, [rbx + rax + 2]
call sub.msvcrt.dll_malloc
mov qword [0x007bc6a8], rax
mov rcx, rax
test rax, rax
je 0x731d72
mov r9, rdi
mov r8, rsi
lea rdx, str._s:_s
call fcn.00401570
jmp 0x73197b
mov ecx, dword [0x0073306c]
call fcn.00415740
test al, al
jne 0x732041
lea rdx, str.Failed_to_set_MSR_for_the_CPU.
xor ecx, ecx
call fcn.0040b1a0
jmp 0x731b17
lea rdx, str.work_thread_create_failed
xor ecx, ecx
call fcn.0040b1a0
mov r12d, 1
jmp 0x731d78
lea rdx, str.MSR_set_up_successfuly.
mov ecx, 0x10
call fcn.0040b1a0
jmp 0x731b17
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, 3
call fcn.0040b1a0
jmp 0x731ae0
mov edx, dword [0x007bc6d8]
lea rax, [0x007397c0]
mov rax, qword [rax + rdx*8]
mov r9d, dword [0x0073306c]
mov qword [rsp + 0x20], rax
lea rdx, str._d_of__d_miner_threads_started_using__s_algorithm
mov ecx, 3
call fcn.0040b1a0
movsxd rax, dword [0x007bc60c]
lea rcx, [rsp + 0x30]
imul rax, rax, 0x60
xor edx, edx
add rax, qword [0x007bc610]
vmovdqu xmm0, xmmword [rax + 8]
vmovdqu xmmword [rsp + 0x30], xmm0
call fcn.00701d40
lea rdx, str.workio_thread_dead__exiting.
mov ecx, 1
call fcn.0040b1a0
jmp 0x731d78
mov r8d, esi
lea rdx, str.Miner_thread__d_create_failed
xor ecx, ecx
call fcn.0040b1a0
mov r12d, 1
jmp 0x731d78
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 0x731a58
mov r9d, dword [0x007bc06c]
mov r8, qword [0x007bc070]
lea rdx, str.API_listnening_to__s:_d
mov ecx, 3
call fcn.0040b1a0
jmp 0x731ce7
lea rdx, str.Long_poll_thread_create_failed
xor ecx, ecx
call fcn.0040b1a0
mov r12d, 1
jmp 0x731d78
lea rdx, str.Creating_stratum_thread
mov ecx, 3
call fcn.0040b1a0
jmp 0x731f0f
lea rdx, str.Creating_API_thread
mov ecx, 3
call fcn.0040b1a0
jmp 0x731c90
lea rdx, str.Creating_long_poll_thread
mov ecx, 3
call fcn.0040b1a0
jmp 0x731c24
lea rdx, str.Stratum_thread_create_failed
xor ecx, ecx
call fcn.0040b1a0
mov r12d, 1
jmp 0x731d78
lea rdx, str.API_thread_create_failed
xor ecx, ecx
call fcn.0040b1a0
jmp 0x731d72
xor r9d, r9d
lea r8, [rsp + 0x70]
jmp 0x732063
mov ecx, 1
call sub.msvcrt.dll_exit
mov rdi, qword [rsi + rax*8]
mov rbx, qword [rsi]
mov ecx, 2
call qword [fcn.007311f0]
mov rcx, rax
mov r9, rdi
mov r8, rbx
lea rdx, str._s:_unsupported_non_option_argument_____s_n
call fcn.006ec690
mov ecx, 1
call fcn.004098f0
mov rbx, qword [rsi]
mov ecx, 2
call qword [fcn.007311f0]
mov rcx, rax
mov r8, rbx
lea rdx, str._s:_no_algo_supplied_n
call fcn.006ec690
mov ecx, 1
call fcn.004098f0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
sub rsp, 0x28
lea rcx, [0x007d2980]
call fcn.00721828
lea rcx, [0x005517f0]
add rsp, 0x28
jmp fcn.00401510