Function at 0x14002ecb0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov ebx, ecx
mov r14, rdx
lea rcx, str.ccminer
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
lea rcx, str.127.0.0.1
mov qword [0x140190390], rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
lea rcx, str.ccminer_8.15_KlausT__64bit__for_nVidia_GPUs_n
mov qword [0x140190360], rax
call fcn.140029240
mov edx, 0x7df
lea rcx, str.Compiled_with_Visual_Studio__d
call fcn.140029240
xor r8d, r8d
lea rcx, str.using_Nvidia_CUDA_Toolkit__d._d_n_n
lea edx, [r8 + 8]
call fcn.140029240
lea rcx, str.Based_on_pooler_cpuminer_2.3.2_and_the_tpruvot_github_fork_n
call fcn.140029240
lea rcx, str.CUDA_support_by_Christian_Buchner__Christian_H._and_DJM34_n
call fcn.140029240
lea rcx, str.Includes_optimizations_implemented_by_sp_hash__klaust__tpruvot_and_tsiv._n_n
call fcn.140029240
lea rbp, [0x14012d6f2]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov rcx, rbp
mov qword [0x14018ffa0], rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
or rdi, 0xffffffffffffffff
lea rcx, [rsp + 0x50]
mov qword [0x140190380], rax
mov qword [0x140190570], rdi
mov qword [0x140190578], rdi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x70]
mov dword [0x140190368], eax
call fcn.14009d5e0
xor esi, esi
mov dword [0x14018ffb8], eax
lea r15, [0x1401905d0]
mov eax, esi
mov rcx, r15
mov dword [rcx], eax
lea rcx, [rcx + 4]
inc eax
cmp eax, 0x10
jl 0x14002edb3
call fcn.14003c170
mov qword [0x14018ff80], rax
test rax, rax
je 0x14002edf0
call fcn.14009d750
lea rdx, str.NVML_GPU_monitoring_enabled.
mov ecx, 3
call fcn.140033450
cmp qword [0x14018ff80], rsi
jne 0x14002ee29
call fcn.14003d700
test eax, eax
jne 0x14002ee0f
lea rdx, str.NVAPI_GPU_monitoring_enabled.
lea ecx, [rax + 3]
call fcn.140033450
call fcn.14009d750
jmp 0x14002ee29
cmp qword [0x14018ff80], rsi
jne 0x14002ee29
lea rdx, str.GPU_monitoring_is_not_available.
mov ecx, 3
call fcn.140033450
mov rdx, r14
mov ecx, ebx
call fcn.140028290
test eax, eax
js 0x14002ee5c
nop word [rax + rax]
mov rdx, qword [0x140190bc0]
mov ecx, eax
call fcn.14002da20
mov rdx, r14
mov ecx, ebx
call fcn.140028290
test eax, eax
jns 0x14002ee40
movsxd rax, dword [reloc.WS2_32.dll_accept]
cmp eax, ebx
jl 0x14002f561
call fcn.14002ead0
cmp byte [0x140190371], sil
je 0x14002eee1
mov ecx, 3
call fcn.1400c9b70
lea rdx, str.using_libcurl__s
mov ecx, 4
mov rbx, rax
mov r8, qword [rax + 8]
call fcn.140033450
mov ebx, dword [rbx + 0x20]
test bl, 1
je 0x14002eeb4
lea rdx, str.libcurl_supports_IPv6
mov ecx, 4
call fcn.140033450
test bl, 4
je 0x14002eeca
lea rdx, str.libcurl_supports_SSL
mov ecx, 4
call fcn.140033450
bt ebx, 0xa
jae 0x14002eee1
lea rdx, str.libcurl_supports_international_domain_names
mov ecx, 4
call fcn.140033450
cmp byte [0x140190373], sil
jne 0x14002eef7
cmp qword [0x14018ff90], rsi
je 0x14002f5aa
cmp qword [0x140190398], rsi
jne 0x14002ef65
mov rcx, qword [0x140190380]
mov rax, rdi
nop word [rax + rax]
cmp byte [rcx + rax + 1], sil
lea rax, [rax + 1]
jne 0x14002ef10
mov rcx, qword [0x14018ffa0]
inc rdi
cmp byte [rcx + rdi], sil
jne 0x14002ef22
lea rcx, [rax + 2]
add rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [0x140190398], rax
test rax, rax
je 0x14002f5ec
mov r9, qword [0x140190380]
lea rdx, str._s:_s
mov r8, qword [0x14018ffa0]
mov rcx, rax
call fcn.140029280
xor edx, edx
lea rcx, [0x140190040]
mov r8d, 0xf8
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [0x140190070]
call fcn.1400c6460
xor edx, edx
lea rcx, [0x140190110]
call fcn.1400c6460
mov ecx, 3
call fcn.1400c9e30
test eax, eax
je 0x14002efd3
lea rdx, str.CURL_initialization_failed
xor ecx, ecx
call fcn.140033450
lea r11, [rsp + 0x80]
mov eax, 1
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov edx, 1
lea rcx, [0x14002ec60]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
mov ecx, dword [0x14018ffbc]
test ecx, ecx
jle 0x14002f139
mov ebx, reloc.WLDAP32.dll_Ordinal_32
sub ecx, 1
je 0x14002f021
sub ecx, 2
je 0x14002f01a
sub ecx, 1
je 0x14002f013
cmp ecx, 1
jne 0x14002f026
mov ebx, 0x100
jmp 0x14002f026
mov ebx, 0x80
jmp 0x14002f026
mov ebx, 0x8000
jmp 0x14002f026
mov ebx, 0x4000
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
test eax, eax
jne 0x14002f0a7
mov qword [rsp + 0xb0], rsi
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x30], rsi
xor edx, edx
mov r8d, eax
mov dword [rsp + 0x28], esi
lea rax, [rsp + 0xb0]
mov ecx, 0x1300
mov r9d, 0x400
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
lea rdx, str.Error_while_trying_to_set_the_priority:
xor ecx, ecx
call fcn.140033450
mov r8, qword [rsp + 0xb0]
lea rdx, [0x14016d034]
xor ecx, ecx
call fcn.140033450
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_LocalFree]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPriorityClass]
cmp eax, 0x100
ja 0x14002f0f4
je 0x14002f0eb
mov ecx, eax
sub ecx, 0x20
je 0x14002f0e2
sub ecx, 0x20
je 0x14002f0d9
cmp ecx, 0x40
jne 0x14002f102
lea r8, str.high
jmp 0x14002f128
lea r8, str.idle
jmp 0x14002f128
lea r8, str.normal
jmp 0x14002f128
lea r8, str.realtime
jmp 0x14002f128
cmp eax, 0x4000
je 0x14002f121
cmp eax, 0x8000
je 0x14002f118
mov r8d, eax
lea rdx, str.CPU_priority_class:__d
mov ecx, 3
call fcn.140033450
jmp 0x14002f139
lea r8, str.above_normal
jmp 0x14002f128
lea r8, str.below_normal
lea rdx, str.CPU_priority:__s
mov ecx, 3
call fcn.140033450
mov eax, dword [0x14017f97c]
cmp eax, 0xffffffff
je 0x14002f17b
cmp byte [0x1401905c8], sil
jne 0x14002f167
mov r8d, eax
lea rdx, str.Binding_process_to_cpu_mask__x
mov ecx, 4
call fcn.140033450
mov eax, dword [0x14017f97c]
movzx ebx, al
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
mov eax, dword [0x14019013c]
mov edx, 0x80
test eax, eax
cmove eax, dword [0x14018ffb8]
movsxd rcx, eax
mov dword [0x14019013c], eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov qword [0x140190658], rax
test rax, rax
je 0x14002f605
mov eax, dword [0x14019013c]
mov edx, 0x100
add eax, 4
movsxd rcx, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov qword [0x140190358], rax
mov rcx, rax
test rax, rax
je 0x14002efb1
movsxd rax, dword [0x14019013c]
mov edx, Ordinal_41
mov rdi, rax
mov dword [0x140190af4], eax
shl rdi, 8
add rdi, rcx
lea ecx, [rdx - 0x27]
mov dword [rdi], eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rbx, rax
test rax, rax
je 0x14002f61e
lea rcx, [rax + 0x18]
mov qword [rax], rax
xor edx, edx
mov qword [rax + 8], rax
call fcn.1400c6460
lea rcx, [rbx + 0x20]
xor edx, edx
call fcn.1400c5820
lea rax, [0x14018ffa8]
mov qword [rdi + 0x18], rbx
mov ecx, reloc.WS2_32.dll_recv
nop dword [rax + rax]
mov byte [rax], 1
lea rax, [rax + 1]
sub rcx, 1
jne 0x14002f240
mov ecx, 1
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
lea rcx, [rdi + 8]
mov r9, rdi
lea r8, [0x14002ad80]
xor edx, edx
call fcn.1400c5a60
test eax, eax
je 0x14002f27d
lea rdx, str.workio_thread_create_failed
jmp 0x14002efaa
cmp byte [reloc.WS2_32.dll_accept], sil
je 0x14002f311
cmp byte [0x14018ff88], sil
jne 0x14002f311
mov eax, dword [0x14019013c]
mov edx, Ordinal_41
inc eax
movsxd rbx, eax
shl rbx, 8
add rbx, qword [0x140190358]
lea ecx, [rdx - 0x27]
mov dword [0x14017f94c], eax
mov dword [rbx], eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rdi, rax
test rax, rax
je 0x14002f637
lea rcx, [rax + 0x18]
mov qword [rax], rax
xor edx, edx
mov qword [rax + 8], rax
call fcn.1400c6460
lea rcx, [rdi + 0x20]
xor edx, edx
call fcn.1400c5820
lea rcx, [rbx + 8]
mov qword [rbx + 0x18], rdi
mov r9, rbx
lea r8, [0x14002cf40]
xor edx, edx
call fcn.1400c5a60
test eax, eax
je 0x14002f311
lea rdx, str.longpoll_thread_create_failed
jmp 0x14002efaa
cmp byte [reloc.WS2_32.dll_accept], sil
je 0x14002f3d2
mov eax, dword [0x14019013c]
mov edx, Ordinal_41
add eax, 2
movsxd rbx, eax
shl rbx, 8
add rbx, qword [0x140190358]
lea ecx, [rdx - 0x27]
mov dword [0x14017f968], eax
mov dword [rbx], eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rdi, rax
test rax, rax
je 0x14002f650
lea rcx, [rax + 0x18]
mov qword [rax], rax
xor edx, edx
mov qword [rax + 8], rax
call fcn.1400c6460
lea rcx, [rdi + 0x20]
xor edx, edx
call fcn.1400c5820
lea rcx, [rbx + 8]
mov qword [rbx + 0x18], rdi
mov r9, rbx
lea r8, [0x14002d560]
xor edx, edx
call fcn.1400c5a60
test eax, eax
je 0x14002f39d
lea rdx, str.stratum_thread_create_failed
jmp 0x14002efaa
cmp byte [0x14018ff88], sil
je 0x14002f3d2
mov rcx, qword [0x14018ff90]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov rcx, qword [0x140190358]
mov rdx, rax
movsxd rax, dword [0x14017f968]
shl rax, 8
mov rcx, qword [rax + rcx + 0x18]
call fcn.1400372c0
cmp qword [0x14018ff80], rsi
je 0x14002f40b
cmp dword [0x14018ffb8], esi
mov edi, esi
jle 0x14002f40b
mov rbx, r15
mov edx, dword [rbx]
call fcn.14003cdf0
mov edx, dword [rbx]
call fcn.14003d130
mov edx, dword [rbx]
call fcn.14003ca70
inc edi
lea rbx, [rbx + 4]
cmp edi, dword [0x14018ffb8]
jl 0x14002f3e8
cmp word [0x14017f98c], si
je 0x14002f493
mov eax, dword [0x14019013c]
mov edx, Ordinal_41
add eax, 3
movsxd rbx, eax
shl rbx, 8
add rbx, qword [0x140190358]
lea ecx, [rdx - 0x27]
mov dword [0x14017f96c], eax
mov dword [rbx], eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rdi, rax
test rax, rax
je 0x14002f669
lea rcx, [rax + 0x18]
mov qword [rax], rax
xor edx, edx
mov qword [rax + 8], rax
call fcn.1400c6460
lea rcx, [rdi + 0x20]
xor edx, edx
call fcn.1400c5820
lea rcx, [rbx + 8]
mov qword [rbx + 0x18], rdi
mov r9, rbx
lea r8, [0x14003ff20]
xor edx, edx
call fcn.1400c5a60
test eax, eax
je 0x14002f493
lea rdx, str.api_thread_create_failed
jmp 0x14002efaa
mov r8d, dword [0x14019013c]
lea r14, [0x140000000]
test r8d, r8d
jle 0x14002f682
nop word [rax + rax]
movsxd rcx, esi
mov edx, Ordinal_41
mov rbx, rcx
shl rbx, 8
add rbx, qword [0x140190358]
mov dword [rbx], esi
mov byte [rbx + 0x21], sil
movzx eax, byte [r15 + rcx*4]
mov byte [rbx + 0x20], al
movsxd rax, dword [r15 + rcx*4]
lea ecx, [rdx - 0x27]
movzx eax, word [r14 + rax*4 + 0x18ffc0]
mov word [rbx + 0x44], ax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rdi, rax
test rax, rax
je 0x14002f6fa
lea rcx, [rax + 0x18]
mov qword [rax], rax
xor edx, edx
mov qword [rax + 8], rax
call fcn.1400c6460
lea rcx, [rdi + 0x20]
xor edx, edx
call fcn.1400c5820
lea rcx, [rbx + 8]
mov qword [rbx + 0x18], rdi
mov r9, rbx
lea r8, [0x14002bbe0]
xor edx, edx
call fcn.1400c5a60
test eax, eax
jne 0x14002f54b
mov r8d, dword [0x14019013c]
inc esi
cmp esi, r8d
jl 0x14002f4b0
jmp 0x14002f682
mov r8d, esi
lea rdx, str.thread__d_create_failed
xor ecx, ecx
call fcn.140033450
jmp 0x14002efb1
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, qword [r14 + rbx*8]
lea rdx, str._s:_unsupported_non_option_argument__s_n
mov r8, qword [r14]
mov rcx, rax
call fcn.140029210
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Try__ccminer___help_for_more_information._n
call fcn.140029210
mov ecx, 1
call fcn.1400293c0
int3
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [r14]
lea rdx, str._s:_no_URL_supplied_n
mov rcx, rax
call fcn.140029210
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Try__ccminer___help_for_more_information._n
call fcn.140029210
mov ecx, 1
call fcn.1400293c0
int3
lea rdx, str.Out_of_memory_
xor ecx, ecx
call fcn.140033450
mov ecx, 2
call fcn.1400293c0
int3
lea rdx, str.Out_of_memory_
xor ecx, ecx
call fcn.140033450
mov ecx, 2
call fcn.1400293c0
int3
lea rdx, str.Out_of_memory_
xor ecx, ecx
call fcn.140033450
mov ecx, 2
call fcn.1400293c0
int3
lea rdx, str.Out_of_memory_
xor ecx, ecx
call fcn.140033450
mov ecx, 2
call fcn.1400293c0
int3
lea rdx, str.Out_of_memory_
xor ecx, ecx
call fcn.140033450
mov ecx, 2
call fcn.1400293c0
int3
lea rdx, str.Out_of_memory_
xor ecx, ecx
call fcn.140033450
mov ecx, 2
call fcn.1400293c0
int3
movsxd rax, dword [0x140190374]
lea rcx, reloc.WS2_32.dll_WSAStartup
cmp r8d, 1
lea rdx, str._d_miner_thread_s_started__using__s_algorithm.
cmovg rbp, rcx
mov ecx, 3
mov rax, qword [r14 + rax*8 + 0x12ecf0]
mov r9, rbp
mov qword [rsp + 0x20], rax
call fcn.140033450
movsxd rdx, dword [0x140190af4]
lea rcx, [rsp + 0x40]
mov rax, qword [0x140190358]
shl rdx, 8
movups xmm0, xmmword [rdx + rax + 8]
xor edx, edx
movaps xmmword [rsp + 0x40], xmm0
call fcn.1400c5e40
lea rdx, str.workio_thread_dead__exiting.
mov ecx, 3
call fcn.140033450
xor ecx, ecx
call fcn.1400293c0
int3
lea rdx, str.Out_of_memory_
xor ecx, ecx
call fcn.140033450
mov ecx, 2
call fcn.1400293c0
int3