Function at 0x1400a0950
Capabilities:
Terminate process

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x288]
sub rsp, 0x388
mov rax, qword [0x14017f8e0]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov r14d, dword [rdx + 0x4c]
lea rsi, [rdx + 0x4c]
movsxd r15, ecx
lea rax, [0x140000000]
mov rcx, qword [rbp + 0x2f0]
mov edi, r9d
mov qword [rsp + 0x48], rdx
mov r13, r8
mov qword [rsp + 0x58], rcx
mov ebx, 0x80000
mov edx, dword [rax + r15*4 + 0x1905d0]
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x50], r9d
mov dword [rsp + 0x38], r14d
call sub.cudart64_80.dll_cudaGetDeviceProperties
lea rdx, [0x140115b28]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_strstr
test rax, rax
je 0x1400a09e7
mov ebx, 0x160000
jmp 0x1400a0a92
lea rdx, [0x140115b30]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_strstr
test rax, rax
je 0x1400a0a07
mov ebx, 0x160000
jmp 0x1400a0a92
lea rdx, [0x140115b38]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_strstr
test rax, rax
je 0x1400a0a24
mov ebx, 0x160000
jmp 0x1400a0a92
lea rdx, [0x140115b3c]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_strstr
test rax, rax
je 0x1400a0a41
mov ebx, 0x160000
jmp 0x1400a0a92
lea rdx, [0x140115b40]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_strstr
test rax, rax
je 0x1400a0a5e
mov ebx, 0xc0000
jmp 0x1400a0a92
lea rdx, [0x140115b48]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_strstr
test rax, rax
je 0x1400a0a7b
mov ebx, 0x50000
jmp 0x1400a0a92
lea rdx, [0x140115b4c]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_strstr
test rax, rax
cmovne ebx, ebx
lea rax, [0x140000000]
mov r8d, ebx
mov ecx, dword [rax + r15*4 + 0x1905d0]
lea rdx, [0x140115b50]
call fcn.14009d710
sub edi, r14d
mov ebx, eax
cmp eax, edi
cmovb edi, eax
and edi, 0xfffffe00
cmp byte [0x140190373], 0
je 0x1400a0ad1
mov dword [r13 + 0x1c], reloc.WLDAP32.dll_Ordinal_79
mov rax, qword gs:[0x58]
mov edx, dword [0x14018fef0]
mov r14, qword [rax + rdx*8]
mov eax, 0x90
mov qword [rsp + 0x40], r14
cmp byte [rax + r14], 0
jne 0x1400a0bda
lea rax, [0x140000000]
mov ecx, dword [rax + r15*4 + 0x1905d0]
call sub.cudart64_80.dll_cudaSetDevice
test eax, eax
jne 0x1400a0f1e
call sub.cudart64_80.dll_cudaDeviceReset
test eax, eax
jne 0x1400a0f5e
lea ecx, [rax + 4]
call sub.cudart64_80.dll_cudaSetDeviceFlags
test eax, eax
jne 0x1400a0f9e
lea ecx, [rax + 2]
call sub.cudart64_80.dll_cudaDeviceSetCacheConfig
test eax, eax
jne 0x1400a0fde
lea rax, [0x140000000]
lea rcx, [rax + 0x182b80]
lea rcx, [rcx + r15*8]
call sub.cudart64_80.dll_cudaStreamCreate
test eax, eax
jne 0x1400a101e
mov eax, 0x88
mov rdx, rbx
add r14, rax
shl rdx, 0xb
mov rcx, r14
call sub.cudart64_80.dll_cudaMalloc
test eax, eax
jne 0x1400a105e
shl rbx, 5
mov ecx, 0x80
mov rdx, rbx
add rcx, qword [rsp + 0x40]
call sub.cudart64_80.dll_cudaMalloc
test eax, eax
jne 0x1400a109e
mov ecx, r15d
call fcn.140098930
mov rdx, qword [r14]
mov ecx, r15d
call fcn.1400a0290
cmp r15d, 0x10
jae 0x1400a10de
mov r14, qword [rsp + 0x40]
lea rax, [0x140000000]
mov byte [r15 + rax + 0x18ffa8], 0
mov eax, 0x90
mov byte [rax + r14], 1
mov r9, qword [rsp + 0x48]
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400a0c51
lea rax, [rbp + 0x210]
cmp rax, rsi
ja 0x1400a0c03
lea rax, [rbp + 0x25c]
cmp rax, r9
jae 0x1400a0c51
lea rdx, [rbp + 0x220]
mov rcx, r9
sub rcx, rdx
lea rax, [rbp + 0x220]
mov edx, 2
lea r8d, [rdx + 0xe]
movdqu xmm0, xmmword [rcx + rax]
movdqu xmm1, xmmword [rcx + rax + 0x10]
lea rax, [rax + 0x20]
pshufb xmm0, xmmword [0x140170170]
pshufb xmm1, xmmword [0x140170170]
movdqu xmmword [rax - 0x30], xmm0
movdqu xmmword [rax - 0x20], xmm1
sub rdx, 1
jne 0x1400a0c20
movsxd rdx, r8d
cmp rdx, 0x14
jge 0x1400a0c8d
lea rax, [rbp + 0x210]
mov r8, r9
sub r8, rax
nop word [rax + rax]
lea rax, [r8 + rdx*4]
mov ecx, dword [rbp + rax + 0x210]
bswap ecx
mov dword [rbp + rdx*4 + 0x210], ecx
inc rdx
cmp rdx, 0x14
jl 0x1400a0c70
mov rdx, r9
mov ecx, r15d
call fcn.1400a5ff0
mov eax, 0x80
mov ebx, 1
add r14, rax
mov qword [rsp + 0x40], r14
nop word [rax + rax]
mov r9, qword [r14]
xor eax, eax
mov r8d, dword [rsi]
mov edx, edi
mov ecx, r15d
mov qword [rsp + 0x30], rax
call fcn.1400a6700
mov r9, qword [r14]
mov edx, edi
mov r8d, dword [rsi]
mov ecx, r15d
call fcn.140098c30
mov r9, qword [r14]
mov edx, edi
mov r8d, dword [rsi]
mov ecx, r15d
call fcn.1400a02e0
mov r9, qword [r14]
mov edx, edi
mov r8d, dword [rsi]
mov ecx, r15d
call fcn.1400a9000
mov r9, qword [r14]
mov edx, edi
mov r8d, dword [rsi]
mov ecx, r15d
call fcn.140098c30
mov eax, dword [r13 + 0x1c]
mov edx, edi
mov r9, qword [r14]
mov ecx, r15d
mov r8d, dword [rsi]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call fcn.140098710
cmp byte [0x140190370], 0
je 0x1400a0d55
lea rax, [0x140000000]
mov rcx, qword [rax + r15*8 + 0x182b80]
mov byte [r15 + rax + 0x18ffa8], bl
call sub.cudart64_80.dll_cudaStreamDestroy
xor ecx, ecx
call fcn.1400c5de0
mov ecx, dword [rsp + 0x30]
test ecx, ecx
je 0x1400a0dee
mov r14d, dword [r13 + 0x1c]
xor eax, eax
cmp byte [reloc.WS2_32.dll_accept], al
mov dword [rbp + 0x1f0], 0
mov qword [rbp + 0x1f4], rax
mov qword [rbp + 0x1fc], rax
mov qword [rbp + 0x204], rax
mov dword [rbp + 0x20c], eax
je 0x1400a0db5
bswap ecx
mov dword [rbp + 0x25c], ecx
lea rdx, [rbp + 0x210]
lea rcx, [rbp + 0x1f0]
call fcn.1400a10f0
mov eax, dword [rbp + 0x20c]
cmp eax, r14d
ja 0x1400a0dd8
mov rdx, r13
lea rcx, [rbp + 0x1f0]
call fcn.1400342d0
test al, al
jne 0x1400a0e4b
mov eax, dword [rbp + 0x20c]
cmp eax, r14d
je 0x1400a0de9
mov r8d, r15d
lea rdx, str.GPU__d:_result_does_not_validate_on_CPU_
mov ecx, ebx
call fcn.140033450
mov r14, qword [rsp + 0x40]
add dword [rsi], edi
mov rcx, r15
mov rax, qword [0x140190658]
shl rcx, 7
mov ecx, dword [rcx + rax]
test ecx, ecx
jne 0x1400a0e19
mov eax, dword [rsi]
mov ecx, edi
add rcx, rax
mov eax, dword [rsp + 0x50]
cmp rax, rcx
ja 0x1400a0cb0
mov eax, dword [rsi]
sub eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
mov dword [rcx], eax
xor eax, eax
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.140111120
add rsp, 0x388
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
sub edi, dword [rsp + 0x38]
add edi, dword [rsi]
mov rcx, qword [rsp + 0x58]
mov eax, dword [rsp + 0x34]
mov dword [rcx], edi
test eax, eax
je 0x1400a0ef2
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x1400a0e88
bswap eax
lea rdx, [rbp + 0x210]
mov dword [rbp + 0x25c], eax
lea rcx, [rbp + 0x1f0]
call fcn.1400a10f0
mov eax, dword [rbp + 0x20c]
cmp eax, r14d
ja 0x1400a0ee1
mov rdx, r13
lea rcx, [rbp + 0x1f0]
call fcn.1400342d0
test al, al
je 0x1400a0ed6
mov rax, qword [rsp + 0x48]
mov ebx, 2
mov r9d, dword [rsp + 0x34]
mov dword [rax + 0x54], r9d
cmp byte [0x140190373], 0
je 0x1400a0ef2
mov r8d, r15d
lea rdx, [0x140115d60]
lea ecx, [rbx + 1]
call fcn.140033450
jmp 0x1400a0ef2
mov eax, dword [rbp + 0x20c]
cmp eax, r14d
je 0x1400a0ef2
mov r8d, r15d
lea rdx, [0x140115d80]
mov ecx, ebx
call fcn.140033450
mov r9d, dword [rsp + 0x30]
mov dword [rsi], r9d
cmp byte [0x140190373], 0
je 0x1400a0f17
mov r8d, r15d
lea rdx, str.GPU__d_Found_nonce___08x
mov ecx, 3
call fcn.140033450
mov eax, ebx
jmp 0x1400a0e28
mov ecx, eax
call sub.cudart64_80.dll_cudaGetErrorString
mov ecx, 2
mov rbx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov qword [rsp + 0x20], rbx
mov r9d, 0x88
lea r8, [0x140115b68]
lea rdx, [0x140115b80]
call fcn.140027e90
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
mov ecx, eax
call sub.cudart64_80.dll_cudaGetErrorString
mov ecx, 2
mov rbx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov qword [rsp + 0x20], rbx
mov r9d, 0x89
lea r8, [0x140115bb0]
lea rdx, [0x140115bc8]
call fcn.140027e90
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
mov ecx, eax
call sub.cudart64_80.dll_cudaGetErrorString
mov ecx, 2
mov rbx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov qword [rsp + 0x20], rbx
mov r9d, Ordinal_143
lea r8, [0x140115bf8]
lea rdx, [0x140115c10]
call fcn.140027e90
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
mov ecx, eax
call sub.cudart64_80.dll_cudaGetErrorString
mov ecx, 2
mov rbx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov qword [rsp + 0x20], rbx
mov r9d, Ordinal_143
lea r8, [0x140115c40]
lea rdx, [0x140115c58]
call fcn.140027e90
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
mov ecx, eax
call sub.cudart64_80.dll_cudaGetErrorString
mov ecx, 2
mov rbx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov qword [rsp + 0x20], rbx
mov r9d, Ordinal_143
lea r8, [0x140115c88]
lea rdx, [0x140115ca0]
call fcn.140027e90
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
mov ecx, eax
call sub.cudart64_80.dll_cudaGetErrorString
mov ecx, 2
mov rbx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov qword [rsp + 0x20], rbx
mov r9d, reloc.WS2_32.dll___WSAFDIsSet
lea r8, [0x140115cd0]
lea rdx, [0x140115ce8]
call fcn.140027e90
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
mov ecx, eax
call sub.cudart64_80.dll_cudaGetErrorString
mov ecx, 2
mov rbx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov qword [rsp + 0x20], rbx
mov r9d, 0x98
lea r8, str.scanhash_lyra2v2
lea rdx, [0x140115d30]
call fcn.140027e90
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
call fcn.140110efc
int3