Function at 0x14006b5e0
Capabilities:
Get system information on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x60
lea rdi, [0x14007210e]
lea rbp, str.._a_
mov rbx, rdx
mov esi, ecx
call dbg.__main
mov rcx, rdi
call sym.strdup
mov rcx, rdi
lea rdi, str.a:c:Dhp:Px:qr:R:s:t:T:o:u:O:V
mov qword [0x140082478], rax
call sym.strdup
mov r12, qword [str.0._b_]
mov qword [0x140082470], rax
jmp 0x14006b63c
mov rdx, qword [r12]
mov r8, qword [rbx]
call sym.parse_arg
mov ecx, esi
mov r9, rbp
mov r8, rdi
mov rdx, rbx
mov qword [rsp + 0x20], 0
call dbg.getopt_long
mov ecx, eax
test eax, eax
jns 0x14006b630
mov rax, qword [0x140079420]
movsxd rax, dword [rax]
cmp esi, eax
jg 0x14006bae5
cmp byte [0x140082499], 0
je 0x14006b869
cmp qword [0x140082480], 0
je 0x14006b8eb
xor edx, edx
lea rcx, [0x140082040]
call sym.pthread_mutex_init
xor edx, edx
lea rcx, [0x1400821c0]
call sym.pthread_mutex_init
xor edx, edx
lea rcx, [0x140082090]
call sym.pthread_mutex_init
xor edx, edx
lea rcx, [0x140082310]
call sym.pthread_mutex_init
xor edx, edx
lea rcx, [0x1400823a8]
call sym.pthread_mutex_init
cmp byte [0x140082499], 0
je 0x14006b8bc
mov ecx, 2
call qword [sym.imp.libcurl_4.dll_curl_global_init]
test eax, eax
jne 0x14006b8ac
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x50]
mov edx, 1
test eax, eax
cmovle eax, edx
cmp dword [0x140082494], 0
mov dword [0x140082490], eax
je 0x14006b8a1
movsxd rsi, dword [0x140082494]
mov edx, pe_nt_image_headers64
mov rcx, rsi
mov rdi, rsi
call sym.calloc
mov qword [0x140082048], rax
test rax, rax
je 0x14006b857
lea ecx, [rsi + 3]
mov edx, 0x18
movsxd rcx, ecx
call sym.calloc
mov qword [0x140082050], rax
mov rbx, rax
test rax, rax
je 0x14006b857
mov edx, 8
mov rcx, rsi
call sym.calloc
mov qword [0x1400821b0], rax
test rax, rax
je 0x14006b857
mov dword [0x1400823b0], esi
imul rsi, rsi, 0x18
add rbx, rsi
mov dword [rbx], edi
call sym.tq_new
mov qword [rbx + 0x10], rax
test rax, rax
je 0x14006b857
lea rcx, [rbx + 8]
mov r9, rbx
lea r8, [sym.workio_thread]
xor edx, edx
call sym.pthread_create
mov edi, eax
test eax, eax
jne 0x14006ba6a
cmp byte [0x14006d01f], 0
mov r8d, dword [0x140082494]
jne 0x14006b940
cmp byte [0x14006d01c], 0
jne 0x14006b9b2
test r8d, r8d
jle 0x14006ba7d
xor esi, esi
xor ebp, ebp
lea r12, [sym.miner_thread]
jmp 0x14006b817
mov r8d, dword [0x140082494]
add esi, 1
add rbp, 0x18
cmp r8d, esi
jle 0x14006ba7d
mov rbx, qword [0x140082050]
add rbx, rbp
mov dword [rbx], esi
call sym.tq_new
mov qword [rbx + 0x10], rax
test rax, rax
je 0x14006b857
xor edx, edx
lea rcx, [rbx + 8]
mov r9, rbx
mov r8, r12
call sym.pthread_create
test eax, eax
je 0x14006b800
mov r8d, esi
lea rdx, str.thread__d_create_failed
xor ecx, ecx
call sym.applog
mov edi, 1
mov eax, edi
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp qword [0x140082488], 0
jne 0x14006b67a
mov rbx, qword [rbx]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str._s:_no_URL_supplied_n
mov rcx, rax
mov r8, rbx
call sym.fprintf
mov ecx, 1
call sym.show_usage_and_exit
mov dword [0x140082494], eax
jmp 0x14006b71a
lea rdx, [0x140072b9e]
xor ecx, ecx
call sym.applog
jmp 0x14006b857
mov rcx, qword [0x140082488]
mov rbx, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strnicmp]
mov r8d, 8
lea rdx, str.https:__
call rbx
test eax, eax
jne 0x14006ba47
mov ecx, 3
jmp 0x14006b6e0
mov rsi, qword [0x140082478]
mov rcx, rsi
call sym.strlen
mov rdi, qword [0x140082470]
mov rbx, rax
mov rcx, rdi
call sym.strlen
lea rcx, [rbx + rax + 2]
call sym.malloc
mov qword [0x140082480], rax
mov rcx, rax
test rax, rax
je 0x14006b857
mov r9, rdi
mov r8, rsi
lea rdx, str._s:_s
call sym.sprintf
jmp 0x14006b688
cmp byte [0x140082075], 0
jne 0x14006b7d5
add r8d, 1
movsxd rbx, r8d
mov dword [0x14006d004], r8d
imul rbx, rbx, 0x18
add rbx, qword [0x140082050]
mov dword [rbx], r8d
call sym.tq_new
mov qword [rbx + 0x10], rax
test rax, rax
je 0x14006b857
lea r8, [sym.longpoll_thread]
lea rcx, [rbx + 8]
mov r9, rbx
xor edx, edx
call sym.pthread_create
mov r8d, dword [0x140082494]
test eax, eax
je 0x14006b7d5
lea rdx, str.longpoll_thread_create_failed
xor ecx, ecx
call sym.applog
jmp 0x14006b857
add r8d, 2
movsxd rbx, r8d
mov dword [section..data], r8d
imul rbx, rbx, 0x18
add rbx, qword [0x140082050]
mov dword [rbx], r8d
call sym.tq_new
mov qword [rbx + 0x10], rax
test rax, rax
je 0x14006b857
xor edx, edx
lea rcx, [rbx + 8]
lea r8, [sym.stratum_thread]
mov r9, rbx
call sym.pthread_create
test eax, eax
jne 0x14006bad2
cmp byte [0x140082075], 0
mov r8d, dword [0x140082494]
je 0x14006b7e2
mov rcx, qword [0x140082488]
call sym.strdup
movsxd rdx, dword [section..data]
imul rdx, rdx, 0x18
add rdx, qword [0x140082050]
mov rcx, qword [rdx + 0x10]
mov rdx, rax
call sym.tq_push
mov r8d, dword [0x140082494]
jmp 0x14006b7e2
mov rcx, qword [0x140082488]
mov r8d, 0xf
lea rdx, str.stratumtcps:__
call rbx
test eax, eax
je 0x14006b8e1
jmp 0x14006b6db
lea rdx, str.workio_thread_create_failed
xor ecx, ecx
call sym.applog
jmp 0x14006b857
mov edx, dword [0x14006d00c]
lea rax, str.scrypt
mov ecx, 3
mov r9, qword [rax + rdx*8]
lea rdx, str._d_miner_threads_started__using__s_algorithm.
call sym.applog
movsxd rax, dword [0x1400823b0]
xor edx, edx
imul rax, rax, 0x18
add rax, qword [0x140082050]
mov rcx, qword [rax + 8]
call sym.pthread_join
lea rdx, str.workio_thread_dead__exiting.
mov ecx, 3
call sym.applog
jmp 0x14006b85c
lea rdx, str.stratum_thread_create_failed
xor ecx, ecx
call sym.applog
jmp 0x14006b857
mov rsi, qword [rbx + rax*8]
mov rbx, qword [rbx]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str._s:_unsupported_non_option_argument_____s_n
mov rcx, rax
mov r9, rsi
mov r8, rbx
call sym.fprintf
mov ecx, 1
call sym.show_usage_and_exit
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop