Function at 0x140037da0
Capabilities:
Get system information on windows
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x1d0
mov rax, qword [0x1402581e0]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov eax, dword [0x1401d4a20]
movsd xmm0, qword [str.Recommended]
mov ebp, ecx
lea rcx, str._ccminer_alexis_1.0_for_nVidia_GPUs_from_alexis78_github__n
mov r14, rdx
mov dword [rsp + 0x98], eax
movsd qword [rsp + 0x90], xmm0
call fcn.14002edd0
mov edx, 7
lea r9, [rsp + 0x90]
lea r8d, [rdx - 2]
lea rcx, str._Built_with_VC_2013_and_nVidia_CUDA_SDK__d._d___s__n_n
call fcn.14002edd0
lea rcx, str._Based_on_tpruvot_github_ccminer_n
call fcn.14002edd0
lea rcx, str._Originally_based_on_Christian_Buchner_and_Christian_H._project_n
call fcn.14002edd0
lea rcx, str._Include_some_of_the_work_of_djm34__sp__tsiv_and_klausT._n_n
call fcn.14002edd0
lea rcx, [0x1401d30da]
call qword [sym.imp.MSVCR120.dll__strdup]
lea rcx, [0x1401d30db]
mov qword [0x1402c7d60], rax
call qword [sym.imp.MSVCR120.dll__strdup]
lea rcx, [0x1401d3102]
mov qword [0x1402c7d50], rax
call qword [sym.imp.MSVCR120.dll__strdup]
lea rcx, [0x1401d3103]
mov qword [0x1402c7c90], rax
call qword [sym.imp.MSVCR120.dll__strdup]
lea rcx, [0x1402c7eb0]
xor edx, edx
mov qword [0x1402c7ec0], rax
call fcn.1401b9270
lea rcx, [0x1402cb728]
xor edx, edx
call fcn.1401b9270
lea rcx, [0x1402c7b20]
xor edx, edx
call fcn.1401b9270
lea rcx, [0x1402c7888]
xor edx, edx
call fcn.1401b9270
lea rcx, [0x1402c7ca8]
xor edx, edx
call fcn.1401b9270
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x80]
mov r15d, 1
cmp eax, r15d
cmovl eax, r15d
mov dword [0x1402c7e1c], eax
call fcn.1401989f0
xor ebx, ebx
or rsi, 0xffffffffffffffff
lea r12, [0x1402cb7b0]
mov r8d, ebx
mov r10d, eax
mov dword [0x1402cb6d8], eax
mov r9, r12
mov qword [0x140258270], rsi
mov qword [0x140258278], rsi
mov qword [0x140258280], rsi
mov qword [0x140258288], rsi
mov qword [0x140258290], rsi
mov qword [0x140258298], rsi
mov qword [0x1402582a0], rsi
mov qword [0x1402582a8], rsi
mov qword [0x1402582b0], rsi
mov qword [0x1402582b8], rsi
mov qword [0x1402cb690], rsi
mov qword [0x1402cb698], rsi
mov qword [0x1402cb6a0], rsi
mov qword [0x1402cb6a8], rsi
mov qword [0x1402cb6b0], rsi
mov qword [0x1402cb6b8], rsi
mov qword [0x1402cb6c0], rsi
mov qword [0x1402cb6c8], rsi
mov qword [0x1402cb6e0], rsi
mov qword [0x1402cb6e8], rsi
movabs rax, 0x40000000400
lea rdi, [0x1402c7e20]
mov ecx, reloc.WS2_32.dll_recv
mov qword [0x1402c7dd0], rax
mov qword [0x1402c7dd8], rax
mov qword [0x1402c7de0], rax
mov qword [0x1402c7de8], rax
mov qword [0x1402c7df0], rax
mov qword [0x1402c7df8], rax
mov qword [0x1402c7e00], rax
mov qword [0x1402c7e08], rax
movabs rax, 0x100000001
mov qword [0x1402c7d90], rax
mov qword [0x1402c7d98], rax
mov qword [0x1402c7da0], rax
mov qword [0x1402c7da8], rax
mov qword [0x1402c7db0], rax
mov qword [0x1402c7db8], rax
mov qword [0x1402c7dc0], rax
mov qword [0x1402c7dc8], rax
movabs rax, 0xc0000000c
mov qword [0x1402c7c00], rax
mov qword [0x1402c7c08], rax
mov qword [0x1402c7c10], rax
mov qword [0x1402c7c18], rax
mov qword [0x1402c7c20], rax
mov qword [0x1402c7c28], rax
mov qword [0x1402c7c30], rax
mov qword [0x1402c7c38], rax
xor eax, eax
rep stosq qword [rdi], rax
lea rdi, [0x1402c7cd0]
mov ecx, reloc.WS2_32.dll_recv
mov qword [0x1402cb6f0], rsi
mov qword [0x1402cb6f8], rsi
mov qword [0x1402cb700], rsi
mov qword [0x1402cb708], rsi
mov qword [0x1402cb710], rsi
mov qword [0x1402cb718], rsi
mov qword [0x1402c7c50], rsi
mov qword [0x1402c7c58], rsi
mov qword [0x1402c7c60], rsi
mov qword [0x1402c7c68], rsi
mov qword [0x1402c7c70], rsi
mov qword [0x1402c7c78], rsi
mov qword [0x1402c7c80], rsi
mov qword [0x1402c7c88], rsi
rep stosq qword [rdi], rax
nop dword [rax + rax]
mov eax, r8d
inc r8d
lea r9, [r9 + 2]
cdq
idiv r10d
mov word [r9 - 2], dx
cmp r8d, 0x10
jl 0x1400380f0
call fcn.140198ab0
mov rdx, r14
mov ecx, ebp
call fcn.140037cb0
cmp dword [0x1402c7e18], ebx
jne 0x1400381c2
mov rcx, qword [0x1402c7c90]
mov rax, rsi
nop
inc rax
cmp byte [rcx + rax], bl
jne 0x140038130
test rax, rax
jne 0x1400381c2
lea rcx, [rsp + 0xb1]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0xb0], bl
call sub.MSVCR120.dll_memset
mov r8, qword [r14]
lea rcx, [rsp + 0xb0]
call fcn.140040c80
lea rcx, [rsp + 0xb0]
mov rax, rsi
inc rax
cmp byte [rcx + rax], bl
jne 0x140038178
test rax, rax
je 0x1400381c2
cmp dword [0x1402c7bbc], ebx
je 0x1400381a6
lea r8, [rsp + 0xb0]
lea rdx, str.Using_config__s
mov ecx, 4
call fcn.140040950
lea rdx, [rsp + 0xb0]
mov ecx, 0x63
call fcn.140036240
mov rdx, r14
mov ecx, ebp
call fcn.140037cb0
mov rax, qword [0x1402c7c90]
nop dword [rax]
inc rsi
cmp byte [rax + rsi], bl
jne 0x1400381d0
test rsi, rsi
jne 0x140038223
cmp dword [0x1402c7e18], ebx
jne 0x14003821c
call qword [sym.imp.MSVCR120.dll___iob_func]
mov r8, qword [r14]
lea rdx, str._s:_no_URL_supplied_n
lea rcx, [rax + 0x60]
call fcn.14002eda0
call qword [sym.imp.MSVCR120.dll___iob_func]
lea rdx, str.Try__ccminer___help_for_more_information._n
lea rcx, [rax + 0x60]
call fcn.14002eda0
mov ecx, r15d
call fcn.14002eff0
xor ecx, ecx
call fcn.14003f0c0
lea rcx, [0x1402c78b0]
xor edx, edx
mov r8d, 0x210
call sub.MSVCR120.dll_memset
call fcn.14003f210
cmp dword [0x1402c7bbc], ebx
je 0x14003829f
cmp dword [0x1402c7e18], ebx
jne 0x14003829f
mov r8d, dword [reloc.WS2_32.dll_accept]
mov esi, ebx
test r8d, r8d
jle 0x1400382a6
lea rdi, [0x1402c8158]
mov eax, dword [rdi + 0x218]
lea r9, [rdi - 0x40]
lea rdx, str.POOL__01d:__s_USER__s__s__d
mov dword [rsp + 0x28], eax
mov r8d, esi
mov ecx, 4
mov qword [rsp + 0x20], rdi
call fcn.140040950
mov r8d, dword [reloc.WS2_32.dll_accept]
inc esi
add rdi, 0x6f8
cmp esi, r8d
jl 0x140038261
jmp 0x1400382a6
mov r8d, dword [reloc.WS2_32.dll_accept]
mov r9d, ebx
mov edi, ebx
test r8d, r8d
jle 0x1400382ea
lea r10, [0x1402c7ed0]
nop word [rax + rax]
mov eax, edi
cdq
idiv r8d
movsxd rax, edx
imul rcx, rax, 0x6f8
movzx eax, word [rcx + r10 + 2]
test al, 2
je 0x1400382de
test al, 0xc
je 0x1400382e7
inc edi
cmp edi, r8d
jl 0x1400382c0
jmp 0x1400382ea
mov r9d, edx
mov dword [0x1402c7890], r9d
mov edx, dword [0x1402c7890]
call fcn.14003f490
mov eax, dword [0x140258268]
cmp eax, r15d
je 0x140038312
mov eax, dword [0x140258268]
cmp eax, 0x18
jne 0x14003831e
mov dword [reloc.WS2_32.dll_accept], ebx
mov dword [reloc.WS2_32.dll_accept], ebx
cmp dword [0x1402c7e18], ebx
jne 0x140038349
mov rcx, qword [0x1402c7c90]
lea rdx, str.https:
mov r8d, 6
call qword [sym.imp.MSVCR120.dll_strncmp]
mov ecx, 2
test eax, eax
jne 0x14003834e
mov ecx, 3
call fcn.1400abdd0
test eax, eax
je 0x14003836f
lea rdx, [0x1401d4ba8]
xor ecx, ecx
call fcn.140040950
mov eax, 3
jmp 0x140038a41
cmp dword [0x1402c7d78], ebx
je 0x1400383a9
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
test rax, rax
je 0x14003838f
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1400383a9
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]
lea rcx, [0x140037d40]
mov edx, r15d
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
mov ecx, dword [0x1402c78ac]
test ecx, ecx
jle 0x140038407
mov edi, 0x20
dec ecx
je 0x1400383f1
dec ecx
je 0x1400383f6
dec ecx
je 0x1400383ea
dec ecx
je 0x1400383e3
dec ecx
jne 0x1400383f6
mov edi, 0x100
jmp 0x1400383f6
mov edi, 0x80
jmp 0x1400383f6
mov edi, 0x8000
jmp 0x1400383f6
mov edi, 0x4000
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov ecx, 0x80000001
call qword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
mov rax, qword [0x140258b40]
cmp rax, 0xffffffffffffffff
je 0x140038455
cmp dword [0x1402c7cc0], ebx
jne 0x140038442
lea rdx, str.Binding_process_to_cpu_mask__x
mov r8, rax
mov ecx, 4
call fcn.140040950
mov rax, qword [0x140258b40]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
mov r8d, dword [0x1402cb6d8]
test r8d, r8d
jne 0x140038479
lea rdx, str.No_CUDA_devices_found__terminating.
xor ecx, ecx
call fcn.140040950
mov ecx, r15d
call qword [sym.imp.MSVCR120.dll_exit]
int3
mov edi, dword [0x1402c7bb8]
test edi, edi
jne 0x14003848f
mov edi, r8d
mov dword [0x1402c7bb8], r8d
jmp 0x14003849d
cmp r8d, edi
cmovg r8d, edi
mov dword [0x1402cb6d8], r8d
mov ecx, dword [reloc.WS2_32.dll_accept]
mov eax, edi
cdq
idiv r8d
cmp ecx, eax
cmovle ecx, eax
cmp dword [0x1402c7e18], ebx
mov dword [reloc.WS2_32.dll_accept], ecx
je 0x140038510
mov eax, dword [0x140258268]
cmp eax, 0x1b
jne 0x14003850a
call fcn.1400467b0
mov qword [0x1402cb770], rbx
mov qword [0x1402cb778], rbx
mov qword [0x1402cb780], rbx
mov qword [0x1402cb788], rbx
mov qword [0x1402cb790], rbx
mov qword [0x1402cb798], rbx
mov qword [0x1402cb7a0], rbx
mov qword [0x1402cb7a8], rbx
mov dword [reloc.WS2_32.dll_accept], ebx
mov edi, dword [0x1402c7bb8]
movsxd rcx, edi
mov edx, 0x80
call qword [sym.imp.MSVCR120.dll_calloc]
mov qword [0x1402c7cc8], rax
test rax, rax
je 0x140038365
lea eax, [rdi*2 + 4]
mov edx, 0x150
movsxd rcx, eax
call qword [sym.imp.MSVCR120.dll_calloc]
mov rdx, rax
mov qword [0x1402c7d88], rax
test rax, rax
je 0x140038365
lea ecx, [rdi + 1]
movsxd rax, ecx
mov dword [0x1402582d4], ecx
imul rsi, rax, 0x150
add rsi, rdx
mov edx, 0x28
mov dword [rsi], ecx
mov rcx, r15
call qword [sym.imp.MSVCR120.dll_calloc]
mov rdi, rax
test rax, rax
jne 0x140038589
mov rdi, rbx
jmp 0x1400385a6
lea rcx, [rax + 0x18]
xor edx, edx
mov qword [rax], rax
mov qword [rax + 8], rax
call fcn.1401b9270
lea rcx, [rdi + 0x20]
xor edx, edx
call fcn.1401b8690
mov qword [rsi + 0x28], rdi
test rdi, rdi
je 0x140038365
lea rcx, [rsi + 8]
lea r8, [0x140034bc0]
mov r9, rsi
xor edx, edx
call fcn.1401b88d0
test eax, eax
je 0x1400385e4
lea rdx, str.longpoll_thread_create_failed
xor ecx, ecx
call fcn.140040950
mov eax, 3
jmp 0x140038a41
mov ecx, dword [0x1402c7bb8]
add ecx, 2
movsxd rax, ecx
mov dword [0x1402582d0], ecx
imul rdi, rax, 0x150
add rdi, qword [0x1402c7d88]
mov dword [rdi], ecx
call fcn.140045910
mov qword [rdi + 0x28], rax
test rax, rax
je 0x140038365
lea rcx, [rdi + 8]
lea r8, [0x1400359a0]
mov r9, rdi
xor edx, edx
call fcn.1401b88d0
test eax, eax
je 0x140038649
lea rdx, str.stratum_thread_create_failed
xor ecx, ecx
call fcn.140040950
mov eax, 3
jmp 0x140038a41
movsxd rcx, dword [0x1402c7bb8]
mov dword [0x1402dded4], ecx
imul rdi, rcx, 0x150
add rdi, qword [0x1402c7d88]
mov dword [rdi], ecx
call fcn.140045910
mov qword [rdi + 0x28], rax
test rax, rax
je 0x140038365
lea rcx, [rdi + 8]
lea r8, [0x140031650]
mov r9, rdi
xor edx, edx
call fcn.1401b88d0
test eax, eax
je 0x1400386a9
lea rdx, str.workio_thread_create_failed
xor ecx, ecx
call fcn.140040950
mov eax, 3
jmp 0x140038a41
cmp dword [reloc.WS2_32.dll_accept], ebx
je 0x1400386e8
cmp dword [0x1402cb6dc], ebx
je 0x1400386e8
mov rcx, qword [0x1402c7c90]
call qword [sym.imp.MSVCR120.dll__strdup]
mov rcx, qword [0x1402c7d88]
mov rdx, rax
movsxd rax, dword [0x1402582d0]
imul rax, rax, 0x150
mov rcx, qword [rax + rcx + 0x28]
call fcn.140045960
call fcn.14004a480
mov rcx, rax
mov qword [0x1402c7e10], rax
test rax, rax
je 0x140038787
cmp dword [0x14025826c], ebx
mov edi, ebx
setge dil
call fcn.140198ab0
lea rdx, str.NVML_GPU_monitoring_enabled.
mov ecx, 3
call fcn.140040950
mov eax, dword [0x1402cb6d8]
mov ebp, ebx
test eax, eax
jle 0x14003877e
mov rsi, r12
movsx ecx, word [rsi]
call fcn.14004b2a0
movsx ecx, word [rsi]
cmp eax, r15d
cmove edi, r15d
call fcn.14004b5c0
movsx ecx, word [rsi]
cmp eax, r15d
cmove edi, r15d
call fcn.14004add0
cmp eax, r15d
jne 0x140038761
mov edi, r15d
jmp 0x140038765
test edi, edi
je 0x14003876e
xor edx, edx
mov ecx, ebp
call fcn.140198cf0
mov eax, dword [0x1402cb6d8]
inc ebp
add rsi, 2
cmp ebp, eax
jl 0x140038731
mov rcx, qword [0x1402c7e10]
jmp 0x14003878d
mov eax, dword [0x1402cb6d8]
cmp dword [0x14025826c], ebx
jl 0x1400387ba
test rcx, rcx
jne 0x1400387f8
mov edi, ebx
test eax, eax
jle 0x1400387bf
xor edx, edx
mov ecx, edi
call fcn.140198cf0
inc edi
cmp edi, dword [0x1402cb6d8]
jl 0x1400387a0
mov rcx, qword [0x1402c7e10]
test rcx, rcx
jne 0x1400387f8
call fcn.14004def0
test eax, eax
jne 0x1400387de
lea rdx, str.NVAPI_GPU_monitoring_enabled.
lea ecx, [rax + 3]
call fcn.140040950
call fcn.140198ab0
jmp 0x1400387f8
cmp qword [0x1402c7e10], rbx
jne 0x1400387f8
lea rdx, str.GPU_monitoring_is_not_available.
mov ecx, 3
call fcn.140040950
cmp dword [0x140258b58], ebx
je 0x140038865
mov ecx, dword [0x1402c7bb8]
add ecx, 3
movsxd rax, ecx
mov dword [0x140258264], ecx
imul rdi, rax, 0x150
add rdi, qword [0x1402c7d88]
mov dword [rdi], ecx
call fcn.140045910
mov qword [rdi + 0x28], rax
test rax, rax
je 0x140038365
lea rcx, [rdi + 8]
lea r8, [0x140051190]
mov r9, rdi
xor edx, edx
call fcn.1401b88d0
test eax, eax
je 0x140038865
lea rdx, str.api_thread_create_failed
xor ecx, ecx
call fcn.140040950
mov eax, 3
jmp 0x140038a41
mov r8d, dword [0x1402c7bb8]
mov ebp, ebx
mov esi, ebx
lea r14, [0x140000000]
test r8d, r8d
jle 0x140038952
movsxd rax, esi
imul rdi, rax, 0x150
lea rcx, [r12 + rax*2]
add rdi, qword [0x1402c7d88]
mov dword [rdi], esi
mov byte [rdi + 0x31], sil
movzx eax, byte [rcx]
mov byte [rdi + 0x30], al
movsx rax, word [rcx]
movzx eax, word [r14 + rax*4 + 0x2cb730]
mov word [rdi + 0x56], ax
movsx rax, word [rcx]
cmp dword [r14 + rax*4 + 0x2cb730], 0x1f4
jge 0x1400388d8
lea r8, str.Unsupported_compute_capability_device._Ignoring
mov edx, esi
xor ecx, ecx
call fcn.140040b70
inc ebp
jmp 0x140038940
lea rcx, [rdi + 0x138]
xor edx, edx
call fcn.1401b9270
lea rcx, [rdi + 0x140]
xor edx, edx
call fcn.1401b8690
call fcn.140045910
mov qword [rdi + 0x28], rax
test rax, rax
je 0x140038365
lea rcx, [rdi + 8]
lea r8, [0x140032c80]
mov r9, rdi
xor edx, edx
call fcn.1401b88d0
test eax, eax
jne 0x140038a85
lea rcx, [rdi + 0x18]
lea r8, [0x1400348a0]
mov r9, rdi
xor edx, edx
call fcn.1401b88d0
test eax, eax
jne 0x140038a6d
mov r8d, dword [0x1402c7bb8]
inc esi
cmp esi, r8d
jl 0x140038880
movsxd rax, dword [0x140258268]
lea rcx, [0x1401d39dc]
sub r8d, ebp
mov rax, qword [r14 + rax*8 + 0x1d4e10]
cmp r8d, r15d
lea r9, [0x1401d311d]
cmova r9, rcx
lea rdx, str._d_miner_thread_s_started__using__s_algorithm.
mov ecx, 3
mov qword [rsp + 0x20], rax
call fcn.140040950
mov ecx, r15d
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
movsxd rax, dword [0x1402dded4]
xor edx, edx
imul rcx, rax, 0x150
mov rax, qword [0x1402c7d88]
movups xmm0, xmmword [rcx + rax + 8]
lea rcx, [rsp + 0x40]
movaps xmmword [rsp + 0x40], xmm0
call fcn.1401b8c50
cmp dword [0x1402c7bb8], ebx
jle 0x140038a1e
nop dword [rax + rax]
movsxd rax, ebx
lea rcx, [rsp + 0x50]
xor edx, edx
imul rdi, rax, 0x150
mov rax, qword [0x1402c7d88]
movups xmm0, xmmword [rdi + rax + 8]
movaps xmmword [rsp + 0x50], xmm0
call fcn.1401b8c50
mov rax, qword [0x1402c7d88]
lea rcx, [rsp + 0x30]
xor edx, edx
movups xmm0, xmmword [rdi + rax + 0x18]
movaps xmmword [rsp + 0x30], xmm0
call fcn.1401b8c50
inc ebx
cmp ebx, dword [0x1402c7bb8]
jl 0x1400389d0
cmp dword [0x1402c7bbc], 0
je 0x140038a38
lea rdx, str.workio_thread_dead__exiting.
mov ecx, 4
call fcn.140040950
xor ecx, ecx
call fcn.14002eff0
xor eax, eax
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1401bddc0
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
lea rdx, str.Monitoring_thread__d_create_failed
mov r8d, esi
xor ecx, ecx
call fcn.140040950
mov eax, 3
jmp 0x140038a41
lea rdx, str.Mining_thread__d_create_failed
mov r8d, esi
xor ecx, ecx
call fcn.140040950
mov eax, 3
jmp 0x140038a41