Function at 0x1400b4e50
Capabilities:
Terminate process

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x48]
sub rsp, 0x148
mov rax, qword [0x14017f8e0]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov r12d, dword [rdx + 0x4c]
lea rsi, [rdx + 0x4c]
movsxd r15, ecx
mov r13, r8
mov rcx, qword [rbp + 0xb0]
mov r8d, 0x799999
mov qword [rbp - 0x60], rcx
mov r14d, r9d
lea rcx, [0x140000000]
mov qword [rsp + 0x78], rdx
lea rax, [r15*4]
mov dword [rbp - 0x70], r9d
mov ecx, dword [rax + rcx + 0x1905d0]
lea rdx, [0x14011bfc8]
mov dword [rsp + 0x74], r12d
mov rdi, r15
mov qword [rbp - 0x68], rax
call fcn.14009d710
sub r14d, r12d
mov ebx, eax
cmp eax, r14d
cmovb r14d, eax
cmp byte [0x140190373], 0
je 0x1400b4eed
mov dword [r13 + 0x1c], 0x3f
mov rax, qword gs:[0x58]
mov ecx, dword [0x14018fef0]
mov r12, qword [rax + rcx*8]
mov eax, pe_nt_image_headers64
movzx eax, byte [rax + r12]
test al, al
jne 0x1400b507c
lea rax, [0x140000000]
mov ecx, dword [rax + r15*4 + 0x1905d0]
call sub.cudart64_80.dll_cudaSetDevice
test eax, eax
jne 0x1400b562e
call sub.cudart64_80.dll_cudaDeviceReset
test eax, eax
jne 0x1400b566e
lea ecx, [rax + 4]
call sub.cudart64_80.dll_cudaSetDeviceFlags
test eax, eax
jne 0x1400b56ae
lea ecx, [rax + 2]
call sub.cudart64_80.dll_cudaDeviceSetCacheConfig
test eax, eax
jne 0x1400b56ee
lea rax, [0x140000000]
lea rcx, [rax + 0x182b80]
lea rcx, [rcx + r15*8]
call sub.cudart64_80.dll_cudaStreamCreate
test eax, eax
jne 0x1400b572e
mov rdx, rbx
mov ecx, 0x130
shl rdx, 6
add rcx, r12
call sub.cudart64_80.dll_cudaMalloc
test eax, eax
jne 0x1400b576e
mov ecx, 0x128
lea edx, [rax + 0x10]
add rcx, r12
xor r8d, r8d
call sub.cudart64_80.dll_cudaHostAlloc
test eax, eax
jne 0x1400b57ae
imul ecx, ebx, 7
mov eax, 0xcccccccd
mul ecx
mov eax, edx
shr eax, 3
imul ecx, eax, 7
mov dword [rsp + 0x58], eax
mov eax, 0xcccccccd
mul ecx
mov ecx, 0x138
shr edx, 3
add rcx, r12
mov eax, edx
shl rax, 2
mov rdx, rax
mov qword [rbp - 0x78], rax
call sub.cudart64_80.dll_cudaMalloc
test eax, eax
jne 0x1400b57ee
mov rdx, qword [rbp - 0x78]
mov ecx, 0x140
add rcx, r12
call sub.cudart64_80.dll_cudaMalloc
test eax, eax
jne 0x1400b582e
mov edx, dword [rsp + 0x58]
mov ecx, 0x148
shl rdx, 2
add rcx, r12
call sub.cudart64_80.dll_cudaMalloc
test eax, eax
jne 0x1400b586e
mov ecx, r15d
call fcn.1400ae730
mov edx, ebx
mov ecx, r15d
call fcn.1400b1210
mov ecx, r15d
call fcn.1400b26e0
mov ecx, r15d
call fcn.1400adf40
call sub.cudart64_80.dll_cudaGetLastError
test eax, eax
jne 0x1400b58ae
cmp r15d, 0x10
jae 0x1400b58ee
lea rax, [0x140000000]
mov byte [r15 + rax + 0x18ffa8], 0
mov eax, pe_nt_image_headers64
mov byte [rax + r12], 1
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400b50f1
lea rax, [rbp - 0x30]
cmp rax, rsi
ja 0x1400b509f
mov rax, qword [rsp + 0x78]
lea rcx, [rbp + 0x1c]
cmp rcx, rax
jae 0x1400b50f6
mov rdx, qword [rsp + 0x78]
lea r8, [rbp - 0x20]
mov ecx, 2
lea rax, [rbp - 0x20]
sub rdx, r8
lea r8d, [rcx + 0xe]
nop dword [rax + rax]
movdqu xmm0, xmmword [rdx + rax]
movdqu xmm1, xmmword [rdx + 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 rcx, 1
jne 0x1400b50c0
mov rax, qword [rsp + 0x78]
movsxd rdx, r8d
cmp rdx, 0x14
jge 0x1400b5127
lea rcx, [rbp - 0x30]
mov r8, rax
sub r8, rcx
nop dword [rax]
lea rax, [r8 + rdx*4]
mov ecx, dword [rbp + rax - 0x30]
bswap ecx
mov dword [rbp + rdx*4 - 0x30], ecx
inc rdx
cmp rdx, 0x14
jl 0x1400b5110
lea rdx, [rbp - 0x30]
mov ecx, r15d
call fcn.1400ae8e0
mov eax, 0x148
add rax, r12
mov ecx, 0x130
mov qword [rsp + 0x68], rax
add rcx, r12
mov eax, 0x140
add rax, r12
mov qword [rsp + 0x58], rcx
mov qword [rbp - 0x78], rax
mov eax, 0x138
add rax, r12
mov ebx, 0x128
mov qword [rbp - 0x80], rax
nop word [rax + rax]
mov r9, qword [rcx]
xor eax, eax
mov r8d, dword [rsi]
mov ecx, r15d
mov edx, r14d
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x50], eax
call fcn.1400b0000
mov rcx, qword [rsp + 0x58]
xor r9d, r9d
mov r8d, dword [rsi]
mov edx, r14d
mov rax, qword [rcx]
mov ecx, r15d
mov qword [rsp + 0x20], rax
call fcn.1400adb50
mov r8d, dword [rsi]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov edx, r14d
mov rax, qword [rsp + 0x68]
mov ecx, r15d
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], 0
mov r9, qword [rax]
call fcn.1400b1eb0
mov rcx, qword [rsp + 0x58]
mov r8d, dword [rsi]
mov edx, dword [rsp + 0x50]
mov rax, qword [rcx]
mov ecx, r15d
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x68]
mov r9, qword [rax]
call fcn.1400b2db0
mov rcx, qword [rsp + 0x58]
mov r8d, dword [rsi]
mov edx, dword [rsp + 0x50]
mov rax, qword [rcx]
mov ecx, r15d
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x68]
mov r9, qword [rax]
call fcn.1400b2370
mov rcx, qword [rsp + 0x58]
mov r8d, dword [rsi]
mov edx, dword [rsp + 0x50]
mov rax, qword [rcx]
mov ecx, r15d
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x68]
mov r9, qword [rax]
call fcn.1400ade90
mov r8d, dword [rsi]
lea rax, [rsp + 0x64]
mov edx, dword [rsp + 0x50]
mov ecx, r15d
mov qword [rsp + 0x40], rax
mov rax, qword [rbp - 0x78]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp - 0x80]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x58]
mov r9, qword [rax]
call fcn.1400b1e40
mov rcx, qword [rsp + 0x58]
mov r8d, dword [rsi]
mov rax, qword [rcx]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp - 0x80]
mov r9, qword [rax]
mov edx, dword [rsp + 0x60]
mov ecx, r15d
call fcn.1400aff50
mov rcx, qword [rsp + 0x58]
mov r8d, dword [rsi]
mov edx, dword [rsp + 0x64]
mov rax, qword [rcx]
mov ecx, r15d
mov qword [rsp + 0x20], rax
mov rax, qword [rbp - 0x78]
mov r9, qword [rax]
call fcn.1400ada50
mov rcx, qword [rsp + 0x58]
mov r8d, dword [rsi]
mov edx, dword [rsp + 0x50]
mov rax, qword [rcx]
mov ecx, r15d
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x68]
mov r9, qword [rax]
call fcn.1400b28d0
mov rax, qword [rsp + 0x68]
mov r8d, dword [rsi]
mov edx, dword [rsp + 0x50]
mov rcx, qword [rax]
lea rax, [rsp + 0x64]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rbp - 0x80]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rcx
mov ecx, r15d
mov r9, qword [rax]
call fcn.1400b1e40
mov rax, qword [rbx + r12]
mov ecx, r15d
mov r8d, dword [rsi]
mov edx, dword [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov eax, dword [r13 + 0x1c]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp - 0x80]
mov r9, qword [rax]
call fcn.1400b2760
mov rax, qword [rbx + r12]
mov ecx, r15d
mov r8d, dword [rsi]
add rax, 8
mov edx, dword [rsp + 0x64]
mov qword [rsp + 0x30], rax
mov eax, dword [r13 + 0x1c]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x68]
mov r9, qword [rax]
call fcn.1400adf60
lea rax, [0x140000000]
mov rcx, qword [rax + rdi*8 + 0x182b80]
call fcn.14010cc86
test eax, eax
jne 0x1400b5934
mov rax, qword [rbx + r12]
cmp dword [rax], 0xffffffff
jne 0x1400b53f8
mov rcx, rax
mov eax, dword [rax + 8]
mov dword [rcx], eax
mov rax, qword [rbx + r12]
mov rcx, rax
mov eax, dword [rax + 0xc]
jmp 0x1400b5404
cmp dword [rax + 4], 0xffffffff
jne 0x1400b5407
mov rcx, rax
mov eax, dword [rax + 8]
mov dword [rcx + 4], eax
cmp byte [0x140190370], 0
je 0x1400b5433
lea rax, [0x140000000]
mov rcx, qword [rax + rdi*8 + 0x182b80]
mov byte [rdi + rax + 0x18ffa8], 1
call sub.cudart64_80.dll_cudaStreamDestroy
xor ecx, ecx
call fcn.1400c5de0
mov rax, qword [rbx + r12]
cmp dword [rax], 0xffffffff
je 0x1400b54c6
mov r15d, dword [r13 + 0x1c]
xor eax, eax
cmp byte [reloc.WS2_32.dll_accept], al
mov dword [rbp - 0x58], 0
mov qword [rbp - 0x54], rax
mov qword [rbp - 0x4c], rax
mov qword [rbp - 0x44], rax
mov dword [rbp - 0x3c], eax
je 0x1400b547f
mov rax, qword [rbx + r12]
lea rdx, [rbp - 0x30]
mov ecx, dword [rax]
bswap ecx
mov dword [rbp + 0x1c], ecx
lea rcx, [rbp - 0x58]
call fcn.1400b5980
mov eax, dword [rbp - 0x3c]
cmp eax, r15d
ja 0x1400b549c
mov rdx, r13
lea rcx, [rbp - 0x58]
call fcn.1400342d0
test al, al
jne 0x1400b550d
mov eax, dword [rbp - 0x3c]
cmp eax, r15d
je 0x1400b54c3
mov rax, qword [rbx + r12]
lea rdx, [0x14011c360]
mov ecx, 3
mov r9d, dword [rax]
lea rax, [0x140000000]
mov r8d, dword [rax + rdi*4 + 0x1905d0]
call fcn.140033450
mov r15d, edi
add dword [rsi], r14d
call sub.cudart64_80.dll_cudaGetLastError
test eax, eax
jne 0x1400b58f4
mov rax, qword [0x140190658]
mov rcx, rdi
shl rcx, 7
mov ecx, dword [rcx + rax]
test ecx, ecx
jne 0x1400b561e
mov eax, dword [rsi]
mov ecx, r14d
add rcx, rax
mov eax, dword [rbp - 0x70]
cmp rax, rcx
jbe 0x1400b561e
mov rcx, qword [rsp + 0x58]
jmp 0x1400b5170
sub r14d, dword [rsp + 0x74]
mov edi, 1
add r14d, dword [rsi]
mov rcx, qword [rbp - 0x60]
mov dword [rcx], r14d
cmp byte [0x140190373], 0
mov r14, qword [rbp - 0x68]
je 0x1400b5553
mov rax, qword [rbx + r12]
lea rdx, str.GPU__d:_Found_nonce___08X
lea ecx, [rdi + 2]
mov r9d, dword [rax]
lea rax, [0x140000000]
mov r8d, dword [r14 + rax + 0x1905d0]
call fcn.140033450
mov rax, qword [rbx + r12]
mov ecx, dword [rax + 4]
cmp ecx, 0xffffffff
je 0x1400b55f4
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x1400b557e
bswap ecx
mov dword [rbp + 0x1c], ecx
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x58]
call fcn.1400b5980
mov eax, dword [rbp - 0x3c]
cmp eax, r15d
ja 0x1400b55cc
mov rdx, r13
lea rcx, [rbp - 0x58]
call fcn.1400342d0
test al, al
je 0x1400b55c4
mov rax, qword [rbx + r12]
mov edi, 2
mov rcx, qword [rsp + 0x78]
mov edx, dword [rax + 4]
mov dword [rcx + 0x54], edx
cmp byte [0x140190373], 0
je 0x1400b55f4
mov rax, qword [rbx + r12]
lea rdx, str.GPU__d:_Found_second_nonce___08X
mov r9d, dword [rax + 4]
jmp 0x1400b55db
mov eax, dword [rbp - 0x3c]
cmp eax, r15d
je 0x1400b55f4
mov rcx, qword [rbx + r12]
lea rdx, [0x14011c320]
mov r9d, dword [rcx + 4]
lea rax, [0x140000000]
mov ecx, 3
mov r8d, dword [r14 + rax + 0x1905d0]
call fcn.140033450
mov rcx, qword [rbx + r12]
mov eax, edi
mov edx, dword [rcx]
mov dword [rsi], edx
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140111120
add rsp, 0x148
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov eax, dword [rsi]
sub eax, dword [rsp + 0x74]
mov rcx, qword [rbp - 0x60]
mov dword [rcx], eax
xor eax, eax
jmp 0x1400b55fe
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, __WSAFDIsSet
lea r8, [0x14011bfd8]
lea rdx, [0x14011bfe8]
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, [0x14011c018]
lea rdx, [0x14011c028]
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, [0x14011c058]
lea rdx, [0x14011c068]
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, 0x99
lea r8, [0x14011c098]
lea rdx, [0x14011c0a8]
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, 0x9a
lea r8, [0x14011c0d8]
lea rdx, [0x14011c0e8]
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, 0xa9
lea r8, [0x14011c118]
lea rdx, [0x14011c128]
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, 0xaa
lea r8, [0x14011c158]
lea rdx, [0x14011c168]
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, 0xb0
lea r8, [0x14011c198]
lea rdx, [0x14011c1a8]
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, 0xb1
lea r8, [0x14011c1d8]
lea rdx, [0x14011c1e8]
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, 0xb2
lea r8, [0x14011c218]
lea rdx, [0x14011c228]
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, 0xb7
lea r8, [0x14011c258]
lea rdx, [0x14011c268]
call fcn.140027e90
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
call fcn.140110efc
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, 0x122
lea r8, str.scanhash_quark
lea rdx, [0x14011c3b0]
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, 0xe9
lea r8, [0x14011c298]
lea rdx, [0x14011c2a8]
call fcn.140027e90
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3