Function at 0x1400c29b0
Capabilities:
Terminate process

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0xf8
mov rax, qword [0x14017f8e0]
xor rax, rsp
mov qword [rbp - 1], rax
mov esi, dword [rdx + 0x4c]
lea r14, [rdx + 0x4c]
movsxd rax, ecx
mov r13, r8
mov rcx, qword [rbp + 0x7f]
mov r12, rax
mov qword [rsp + 0x50], rcx
mov r8d, 0x100000
lea rcx, [0x140000000]
mov qword [rsp + 0x38], rdx
lea rax, [rax*4]
mov dword [rsp + 0x48], r9d
mov ecx, dword [rax + rcx + 0x1905d0]
lea rdx, [0x14011fa88]
mov edi, r9d
mov dword [rsp + 0x34], esi
mov qword [rsp + 0x40], rax
call fcn.14009d710
mov r15d, edi
mov ebx, eax
sub r15d, esi
cmp eax, r15d
cmovb r15d, eax
and r15d, 0xfffffc00
cmp byte [0x140190373], 0
je 0x1400c2a55
mov dword [r13 + 0x1c], 0xff
mov rax, qword gs:[0x58]
mov edi, 1
mov ecx, dword [0x14018fef0]
mov rsi, qword [rax + rcx*8]
mov eax, 0x2c0
movzx eax, byte [rax + rsi]
test al, al
jne 0x1400c2b37
lea rcx, [0x140000000]
mov ecx, dword [rcx + r12*4 + 0x1905d0]
call sub.cudart64_80.dll_cudaSetDevice
test eax, eax
jne 0x1400c2e78
call sub.cudart64_80.dll_cudaDeviceReset
test eax, eax
jne 0x1400c2eb5
lea ecx, [rdi + 3]
call sub.cudart64_80.dll_cudaSetDeviceFlags
test eax, eax
jne 0x1400c2ef2
lea ecx, [rdi + 1]
call sub.cudart64_80.dll_cudaDeviceSetCacheConfig
test eax, eax
jne 0x1400c2f2f
lea rax, [0x140000000]
lea rcx, [rax + 0x182b80]
lea rcx, [rcx + r12*8]
call sub.cudart64_80.dll_cudaStreamCreate
test eax, eax
jne 0x1400c2f6c
mov rdx, rbx
mov ecx, 0x2b8
shl rdx, 6
add rcx, rsi
call sub.cudart64_80.dll_cudaMalloc
test eax, eax
jne 0x1400c2fa9
mov edx, ebx
mov r8d, edi
mov ecx, r12d
mov ebx, r12d
call fcn.1400c1440
cmp r12d, 0x10
jae 0x1400c2fe6
lea rax, [0x140000000]
mov byte [r12 + rax + 0x18ffa8], 0
mov eax, 0x2c0
mov byte [rax + rsi], dil
jmp 0x1400c2b3a
mov ebx, r12d
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400c2bb0
lea rax, [rbp - 0x61]
cmp rax, r14
ja 0x1400c2b5d
mov rax, qword [rsp + 0x38]
lea rcx, [rbp - 0x15]
cmp rcx, rax
jae 0x1400c2bb5
mov rcx, qword [rsp + 0x38]
lea rdx, [rbp - 0x51]
sub rcx, rdx
lea rax, [rbp - 0x51]
mov edx, 2
lea r8d, [rdx + 0xe]
nop word [rax + rax]
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, rdi
jne 0x1400c2b80
mov rax, qword [rsp + 0x38]
movsxd rdx, r8d
cmp rdx, 0x14
jge 0x1400c2be7
lea rcx, [rbp - 0x61]
mov r8, rax
sub r8, rcx
nop dword [rax + rax]
lea rax, [r8 + rdx*4]
mov ecx, dword [rbp + rax - 0x61]
bswap ecx
mov dword [rbp + rdx*4 - 0x61], ecx
inc rdx
cmp rdx, 0x14
jl 0x1400c2bd0
mov r8, r13
lea rdx, [rbp - 0x61]
mov ecx, ebx
call fcn.1400c1650
mov ebx, 0x2b8
add rbx, rsi
mov esi, r12d
mov qword [rsp + 0x58], rbx
nop word [rax + rax]
mov r9, qword [rbx]
mov edx, r15d
mov r8d, dword [r14]
mov ecx, esi
call fcn.1400c1640
mov r9, qword [rbx]
mov edx, r15d
mov r8d, dword [r14]
mov ecx, esi
call fcn.1400c14a0
mov r9, qword [rbx]
mov edx, r15d
mov r8d, dword [r14]
mov ecx, esi
call fcn.1400c14a0
mov r9, qword [rbx]
mov edx, r15d
mov r8d, dword [r14]
mov ecx, esi
call fcn.1400c1550
cmp byte [0x140190370], 0
mov rbx, rax
je 0x1400c2c7f
lea rax, [0x140000000]
mov rcx, qword [rax + r12*8 + 0x182b80]
mov byte [r12 + rax + 0x18ffa8], dil
call sub.cudart64_80.dll_cudaStreamDestroy
xor ecx, ecx
call fcn.1400c5de0
mov ecx, dword [rbx]
cmp ecx, 0xffffffff
je 0x1400c2d00
mov esi, dword [r13 + 0x1c]
xor eax, eax
cmp byte [reloc.WS2_32.dll_accept], al
mov dword [rsp + 0x60], 0
mov qword [rbp - 0x7d], rax
mov qword [rbp - 0x75], rax
mov qword [rbp - 0x6d], rax
mov dword [rbp - 0x65], eax
je 0x1400c2cc1
bswap ecx
mov dword [rbp - 0x15], ecx
lea rdx, [rbp - 0x61]
lea rcx, [rsp + 0x60]
call fcn.1400c3030
mov eax, dword [rbp - 0x65]
cmp eax, esi
ja 0x1400c2cdd
mov rdx, r13
lea rcx, [rsp + 0x60]
call fcn.1400342d0
test al, al
jne 0x1400c2d49
mov eax, dword [rbp - 0x65]
cmp eax, esi
je 0x1400c2cfd
mov r9d, dword [rbx]
lea rax, [0x140000000]
mov r8d, dword [rax + r12*4 + 0x1905d0]
lea rdx, [0x14011fc98]
mov ecx, edi
call fcn.140033450
mov esi, r12d
add dword [r14], r15d
call sub.cudart64_80.dll_cudaGetLastError
test eax, eax
jne 0x1400c2fec
mov rax, qword [0x140190658]
mov rcx, r12
shl rcx, 7
mov ecx, dword [rcx + rax]
test ecx, ecx
jne 0x1400c2e66
mov eax, dword [r14]
mov ecx, r15d
add rcx, rax
mov eax, dword [rsp + 0x48]
cmp rax, rcx
jbe 0x1400c2e66
mov rbx, qword [rsp + 0x58]
jmp 0x1400c2c10
sub r15d, dword [rsp + 0x34]
add r15d, dword [r14]
mov rcx, qword [rsp + 0x50]
mov dword [rcx], r15d
mov eax, dword [rbx + 4]
cmp eax, 0xffffffff
je 0x1400c2ddf
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x1400c2d7d
bswap eax
lea rdx, [rbp - 0x61]
mov dword [rbp - 0x15], eax
lea rcx, [rsp + 0x60]
call fcn.1400c3030
mov eax, dword [rbp - 0x65]
cmp eax, esi
ja 0x1400c2e3e
mov rdx, r13
lea rcx, [rsp + 0x60]
call fcn.1400342d0
test al, al
je 0x1400c2e37
cmp byte [0x140190373], 0
je 0x1400c2dcf
mov rax, qword [rsp + 0x40]
lea rcx, [0x140000000]
mov r9d, dword [rbx + 4]
lea rdx, str.GPU__d:_found_second_nounce__08x
mov r8d, dword [rax + rcx + 0x1905d0]
mov ecx, 3
call fcn.140033450
mov rcx, qword [rsp + 0x38]
mov edi, 2
mov eax, dword [rbx + 4]
mov dword [rcx + 0x54], eax
mov rsi, qword [rsp + 0x40]
lea r15, [0x140000000]
mov edx, dword [rbx]
mov dword [r14], edx
cmp byte [0x140190373], 0
je 0x1400c2e15
mov r9d, dword [rbx]
lea rdx, [0x14011fc78]
mov r8d, dword [rsi + r15 + 0x1905d0]
mov ecx, 3
call fcn.140033450
mov eax, edi
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.140111120
add rsp, 0xf8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov eax, dword [rbp - 0x65]
cmp eax, esi
je 0x1400c2ddf
mov rsi, qword [rsp + 0x40]
lea r15, [0x140000000]
mov r9d, dword [rbx + 4]
lea rdx, [0x14011fc40]
mov ecx, edi
mov r8d, dword [rsi + r15 + 0x1905d0]
call fcn.140033450
jmp 0x1400c2deb
mov eax, dword [r14]
sub eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x50]
mov dword [rcx], eax
xor eax, eax
jmp 0x1400c2e17
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, 0x42
lea r8, [0x14011fa98]
lea rdx, [0x14011faa8]
call fcn.140027e90
mov ecx, edi
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, 0x43
lea r8, [0x14011fad8]
lea rdx, [0x14011fae8]
call fcn.140027e90
mov ecx, edi
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, 0x44
lea r8, [0x14011fb18]
lea rdx, [0x14011fb28]
call fcn.140027e90
mov ecx, edi
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, 0x45
lea r8, [0x14011fb58]
lea rdx, [0x14011fb68]
call fcn.140027e90
mov ecx, edi
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, 0x46
lea r8, [0x14011fb98]
lea rdx, [0x14011fba8]
call fcn.140027e90
mov ecx, edi
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, 0x52
lea r8, [0x14011fbd8]
lea rdx, [0x14011fbe8]
call fcn.140027e90
mov ecx, edi
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, Ordinal_143
lea r8, str.scanhash_whc
lea rdx, [0x14011fce0]
call fcn.140027e90
mov ecx, edi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3