Function at 0x1400c1a50
Capabilities:
Terminate process

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1b8]
sub rsp, 0x2b8
mov rax, qword [0x14017f8e0]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rax, qword [rbp + 0x220]
lea rsi, [rdx + 0x4c]
movsxd r12, ecx
mov ebx, r9d
mov qword [rsp + 0x58], rax
lea rcx, [0x140000000]
mov eax, dword [rsi]
mov r13, r8
mov dword [rsp + 0x38], eax
mov r8d, 0x8000000
lea rax, [r12*4]
mov qword [rsp + 0x40], rdx
mov ecx, dword [rax + rcx + 0x1905d0]
lea rdx, [0x14011f710]
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x48], rax
call fcn.14009d710
mov r14d, ebx
mov edi, eax
sub r14d, dword [rsp + 0x38]
cmp eax, r14d
cmovb r14d, eax
and r14d, 0xfffffc00
cmp byte [0x140190373], 0
je 0x1400c1afb
mov dword [r13 + 0x1c], 5
mov rax, qword gs:[0x58]
mov ecx, dword [0x14018fef0]
mov edx, 0x2b1
mov rbx, qword [rax + rcx*8]
add rbx, rdx
movzx eax, byte [rbx]
test al, al
jne 0x1400c1bb0
lea rax, [0x140000000]
mov ecx, dword [rax + r12*4 + 0x1905d0]
call sub.cudart64_80.dll_cudaSetDevice
test eax, eax
jne 0x1400c2038
call sub.cudart64_80.dll_cudaDeviceReset
test eax, eax
jne 0x1400c2078
lea ecx, [rax + 4]
call sub.cudart64_80.dll_cudaSetDeviceFlags
test eax, eax
jne 0x1400c20b8
lea ecx, [rax + 2]
call sub.cudart64_80.dll_cudaDeviceSetCacheConfig
test eax, eax
jne 0x1400c20f8
lea rax, [0x140000000]
lea rcx, [rax + 0x182b80]
lea rcx, [rcx + r12*8]
call sub.cudart64_80.dll_cudaStreamCreate
test eax, eax
jne 0x1400c2138
mov edx, edi
mov ecx, r12d
call fcn.1400c07d0
cmp r12d, 0x10
jae 0x1400c2178
lea rax, [0x140000000]
mov byte [r12 + rax + 0x18ffa8], 0
mov byte [rbx], 1
xor r9d, r9d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400c1c32
mov rcx, qword [rsp + 0x40]
lea rax, [rbp + 0xa0]
cmp rax, rsi
ja 0x1400c1bd9
lea rax, [rbp + 0xec]
cmp rax, rcx
jae 0x1400c1c37
lea rdx, [rbp + 0xa0]
mov rax, rcx
sub rdx, rcx
lea r8, [rbp + 0xb0]
sub r8, rcx
mov ecx, 2
lea r9d, [rcx + 0xe]
nop dword [rax]
movdqu xmm0, xmmword [rax]
movdqu xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x20]
pshufb xmm0, xmmword [0x140170170]
pshufb xmm1, xmmword [0x140170170]
movdqu xmmword [rdx + rax - 0x20], xmm0
movdqu xmmword [r8 + rax - 0x20], xmm1
sub rcx, 1
jne 0x1400c1c00
mov rcx, qword [rsp + 0x40]
movsxd rdx, r9d
cmp rdx, 0x14
jge 0x1400c1c6d
lea rax, [rbp + 0xa0]
mov r8, rcx
sub r8, rax
nop dword [rax]
lea rax, [r8 + rdx*4]
mov ecx, dword [rbp + rax + 0xa0]
bswap ecx
mov dword [rbp + rdx*4 + 0xa0], ecx
inc rdx
cmp rdx, 0x14
jl 0x1400c1c50
lea r8, [r13 + 0x18]
mov ecx, r12d
lea rdx, [rbp + 0xa0]
call fcn.1400c0940
mov ecx, r12d
call fcn.1400c0a50
mov edi, 1
nop dword [rax]
mov r8d, dword [rsi]
lea r9, [rsp + 0x30]
mov edx, r14d
mov ecx, r12d
call fcn.1400c0be0
call sub.cudart64_80.dll_cudaGetLastError
test eax, eax
jne 0x1400c217e
cmp byte [0x140190370], al
je 0x1400c1cdb
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 rax, qword [rsp + 0x30]
cmp eax, 0xffffffff
je 0x1400c1e2a
mov ebx, dword [r13 + 0x1c]
xor ecx, ecx
cmp byte [reloc.WS2_32.dll_accept], cl
mov dword [rbp + 0x80], 0
mov qword [rbp + 0x84], rcx
mov qword [rbp + 0x8c], rcx
mov qword [rbp + 0x94], rcx
mov dword [rbp + 0x9c], ecx
je 0x1400c1dd7
bswap eax
mov dword [rbp + 0xec], eax
lea rcx, [rsp + 0x60]
xor eax, eax
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], rax
mov qword [rbp + 0x110], rax
mov qword [rbp + 0x118], rax
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x128], rax
mov qword [rbp + 0x130], rax
mov qword [rbp + 0x138], rax
call fcn.1400965e0
mov r8d, 0x50
lea rdx, [rbp + 0xa0]
lea rcx, [rsp + 0x60]
call fcn.140098130
lea rdx, [rbp + 0x100]
lea rcx, [rsp + 0x60]
call fcn.1400985b0
movdqa xmm2, xmmword [rbp + 0x100]
pxor xmm2, xmmword [rbp + 0x110]
movdqa xmm1, xmmword [rbp + 0x120]
pxor xmm1, xmmword [rbp + 0x110]
mov rax, qword [rsp + 0x30]
movdqu xmmword [rbp + 0x180], xmm2
movdqu xmmword [rbp + 0x190], xmm1
movups xmmword [rbp + 0x80], xmm2
movups xmmword [rbp + 0x90], xmm1
mov rcx, qword [rbp + 0x98]
shr rcx, 0x20
cmp ecx, ebx
ja 0x1400c1e02
mov rdx, r13
lea rcx, [rbp + 0x80]
call fcn.1400342d0
test al, al
jne 0x1400c1e89
mov rax, qword [rsp + 0x30]
cmp dword [rbp + 0x9c], ebx
je 0x1400c1e2a
mov r9d, eax
lea rdx, [0x14011f950]
lea rax, [0x140000000]
mov ecx, edi
mov r8d, dword [rax + r12*4 + 0x1905d0]
call fcn.140033450
add dword [rsi], r14d
mov rcx, r12
mov rax, qword [0x140190658]
shl rcx, 7
mov ecx, dword [rcx + rax]
test ecx, ecx
jne 0x1400c1e57
mov eax, dword [rsi]
mov ecx, r14d
add rcx, rax
mov eax, dword [rsp + 0x50]
cmp rax, rcx
ja 0x1400c1c90
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 + 0x1a0]
xor rcx, rsp
call fcn.140111120
add rsp, 0x2b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
sub r14d, dword [rsp + 0x38]
add r14d, dword [rsi]
mov rcx, qword [rsp + 0x58]
mov r9d, dword [rsp + 0x34]
mov dword [rcx], r14d
cmp r9d, 0xffffffff
je 0x1400c1fee
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x1400c1f5b
xor eax, eax
lea rcx, [rbp - 0x10]
bswap r9d
mov dword [rbp + 0xec], r9d
mov qword [rbp + 0x140], rax
mov qword [rbp + 0x148], rax
mov qword [rbp + 0x150], rax
mov qword [rbp + 0x158], rax
mov qword [rbp + 0x160], rax
mov qword [rbp + 0x168], rax
mov qword [rbp + 0x170], rax
mov qword [rbp + 0x178], rax
call fcn.1400965e0
mov r8d, 0x50
lea rdx, [rbp + 0xa0]
lea rcx, [rbp - 0x10]
call fcn.140098130
lea rdx, [rbp + 0x140]
lea rcx, [rbp - 0x10]
call fcn.1400985b0
movdqa xmm2, xmmword [rbp + 0x140]
movdqa xmm1, xmmword [rbp + 0x160]
pxor xmm2, xmmword [rbp + 0x150]
pxor xmm1, xmmword [rbp + 0x150]
mov r9d, dword [rsp + 0x34]
movups xmmword [rbp + 0x80], xmm2
movups xmmword [rbp + 0x90], xmm1
mov rax, qword [rbp + 0x98]
shr rax, 0x20
cmp eax, ebx
ja 0x1400c1fc2
mov rdx, r13
lea rcx, [rbp + 0x80]
call fcn.1400342d0
mov r9d, dword [rsp + 0x34]
test al, al
je 0x1400c1fc2
mov rdx, qword [rsp + 0x40]
mov edi, 2
mov dword [rdx + 0x54], r9d
cmp byte [0x140190373], 0
je 0x1400c202b
mov rbx, qword [rsp + 0x48]
lea r14, [0x140000000]
lea rdx, [0x14011f8d8]
lea ecx, [rdi + 1]
mov r8d, dword [rbx + r14 + 0x1905d0]
call fcn.140033450
jmp 0x1400c1ffa
cmp dword [rbp + 0x9c], ebx
lea r14, [0x140000000]
mov rbx, qword [rsp + 0x48]
je 0x1400c1ffa
mov r8d, dword [rbx + r14 + 0x1905d0]
lea rdx, [0x14011f8f8]
mov ecx, edi
call fcn.140033450
jmp 0x1400c1ffa
mov rbx, qword [rsp + 0x48]
lea r14, [0x140000000]
cmp byte [0x140190373], 0
je 0x1400c202b
mov edx, dword [rbp + 0x9c]
mov ecx, 3
mov r9d, dword [rsp + 0x30]
mov r8d, dword [rbx + r14 + 0x1905d0]
mov dword [rsp + 0x20], edx
lea rdx, str.GPU__d:_found_nonce__08x
call fcn.140033450
mov ecx, dword [rsp + 0x30]
mov eax, edi
mov dword [rsi], ecx
jmp 0x1400c1e66
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, gethostname
lea r8, [0x14011f728]
lea rdx, [0x14011f740]
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, gethostname
lea r8, [0x14011f770]
lea rdx, [0x14011f788]
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, gethostname
lea r8, [0x14011f7b8]
lea rdx, [0x14011f7d0]
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_gethostname
lea r8, [0x14011f800]
lea rdx, [0x14011f818]
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_60
lea r8, [0x14011f848]
lea rdx, [0x14011f860]
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, Ordinal_79
lea r8, str.scanhash_whirlpoolx
lea rdx, [0x14011f8a8]
call fcn.140027e90
mov ecx, edi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3