Function at 0x14009c290
Capabilities:
Hash data using sha512
Terminate process

Disassembly:
push rbp
push rbx
push rsi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x14017f8e0]
xor rax, rsp
mov qword [rbp + 0xa0], rax
cmp byte [0x140190373], 0
mov r14d, r9d
mov rax, qword [rbp + 0x120]
mov rsi, rdx
mov r13d, dword [rdx + 0x20]
mov r15d, 1
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x38], r9d
mov qword [rsp + 0x40], r8
movsxd r12, ecx
mov dword [rsp + 0x30], r13d
je 0x14009c2f7
mov dword [r8 + 0x1c], r15d
mov ecx, dword [0x14018fef0]
lea rdx, [0x140000000]
mov rax, qword gs:[0x58]
mov qword [rsp + 0x1b8], rdi
mov rbx, qword [rax + rcx*8]
mov eax, Ordinal_79
mov ecx, 0x48
movzx eax, byte [rax + rbx]
test al, al
jne 0x14009c404
mov ecx, dword [rdx + r12*4 + 0x1905d0]
call sub.cudart64_80.dll_cudaSetDevice
test eax, eax
jne 0x14009c839
call sub.cudart64_80.dll_cudaDeviceReset
test eax, eax
jne 0x14009c877
lea ecx, [rax + 4]
call sub.cudart64_80.dll_cudaSetDeviceFlags
test eax, eax
jne 0x14009c8b5
lea ecx, [rax + 2]
call sub.cudart64_80.dll_cudaDeviceSetCacheConfig
test eax, eax
jne 0x14009c8f3
lea rax, [0x140000000]
lea rcx, [rax + 0x182b80]
lea rcx, [rcx + r12*8]
call sub.cudart64_80.dll_cudaStreamCreate
test eax, eax
jne 0x14009c931
mov ecx, 0x40
lea edx, [rax + 0x20]
add rcx, rbx
xor r8d, r8d
call sub.cudart64_80.dll_cudaHostAlloc
test eax, eax
jne 0x14009c96f
mov ecx, r12d
call fcn.1400b92d0
lea rax, [0x140000000]
mov r8d, 0x10000000
mov ecx, dword [rax + r12*4 + 0x1905d0]
lea rdx, [0x140114d10]
call fcn.14009d710
mov ecx, 0x48
mov dword [rcx + rbx], eax
cmp r12, 0x10
jae 0x14009c9ad
lea rax, [0x140000000]
mov ecx, 0x48
mov byte [r12 + rax + 0x18ffa8], 0
mov eax, Ordinal_79
mov byte [rax + rbx], r15b
mov eax, ecx
sub r14d, r13d
mov rdx, rsi
cmp dword [rax + rbx], r14d
cmovb r14d, dword [rax + rbx]
lea rax, [0x140000000]
mov rcx, qword [rax + r12*8 + 0x182b80]
and r14d, 0xfffffe00
call fcn.1400b9400
lea rax, [rbp + 0x52]
mov r8, rsi
sub r8, rax
lea rdx, [rbp + 0x52]
mov edi, reloc.WS2_32.dll_sendto
nop dword [rax]
nop word [rax + rax]
mov ecx, dword [r8 + rdx]
mov eax, ecx
shr eax, 8
mov byte [rdx - 1], al
mov eax, ecx
mov byte [rdx - 2], cl
lea rdx, [rdx + 4]
shr eax, 0x10
shr ecx, 0x18
mov byte [rdx - 4], al
mov byte [rdx - 3], cl
sub rdi, r15
jne 0x14009c450
mov rdi, qword [rsp + 0x40]
mov r13d, 0x40
add r13, rbx
lea rbx, [0x140000000]
nop dword [rax + rax]
mov rax, qword [rsi + 0x20]
mov r8d, r14d
mov r9, qword [r13]
mov edx, r12d
mov rcx, qword [rbx + r12*8 + 0x182b80]
mov qword [rsp + 0x28], rax
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x20], rax
call fcn.1400b96d0
cmp byte [0x140190370], 0
je 0x14009c4e8
call sub.cudart64_80.dll_cudaDeviceSynchronize
mov rcx, qword [rbx + r12*8 + 0x182b80]
call sub.cudart64_80.dll_cudaStreamDestroy
call sub.cudart64_80.dll_cudaProfilerStop
xor ecx, ecx
mov byte [r12 + rbx + 0x18ffa8], r15b
call fcn.1400c5de0
mov rax, qword [r13]
mov ecx, dword [rax]
test ecx, ecx
je 0x14009c6b0
mov rbx, qword [rdi + 0x18]
xor eax, eax
xor edx, edx
mov qword [rbp + 0x38], rax
cmp byte [reloc.WS2_32.dll_accept], al
mov qword [rbp + 0x30], rdx
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rax
je 0x14009c66a
movaps xmm2, xmmword [0x140114e00]
lea rdi, [rsp + 0x50]
movaps xmm0, xmmword [0x140114e10]
mov eax, ecx
movaps xmm1, xmmword [0x140114e20]
shr eax, 8
mov byte [rbp + 0x71], al
mov eax, ecx
shr eax, 0x10
mov byte [rbp + 0x70], cl
shr ecx, 0x18
mov byte [rbp + 0x72], al
movq rax, xmm2
mov byte [rbp + 0x73], cl
xor rax, 0x1010020
movaps xmmword [rbp - 0x30], xmm2
mov ecx, 0x80
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x30], rax
xor eax, eax
movaps xmm0, xmmword [0x140114e30]
mov qword [rbp + 0x20], rdx
movups xmmword [rbp - 0x10], xmm1
mov qword [rbp + 0x10], rdx
movups xmmword [rbp], xmm0
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x28], reloc.WLDAP32.dll_Ordinal_32
rep stosb byte [rdi], al
mov rcx, qword [rbp + 0x20]
mov edi, edx
cmp rcx, 0x80
jne 0x14009c5c6
mov rax, qword [rbp + 0x10]
sub rax, 0xffffffffffffff80
mov qword [rbp + 0x10], rax
cmp rax, rcx
jae 0x14009c5b4
inc qword [rbp + 0x18]
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.14009cab0
xor ecx, ecx
mov qword [rbp + 0x20], rcx
movzx eax, byte [rbp + rdi + 0x50]
inc rdi
mov byte [rsp + rcx + 0x50], al
mov rcx, qword [rbp + 0x20]
inc rcx
mov qword [rbp + 0x20], rcx
cmp rdi, 0x50
jb 0x14009c596
mov rax, qword [rbp + 0x10]
add rax, rcx
mov qword [rbp + 0x10], rax
cmp rax, rcx
jae 0x14009c5f7
inc qword [rbp + 0x18]
cmp rcx, 0x80
jae 0x14009c619
mov byte [rsp + rcx + 0x50], 0
mov rcx, qword [rbp + 0x20]
inc rcx
mov qword [rbp + 0x20], rcx
cmp rcx, 0x80
jb 0x14009c600
mov edx, r15d
lea rcx, [rsp + 0x50]
call fcn.14009cab0
mov r8, qword [rbp + 0x28]
xor eax, eax
test r8, r8
je 0x14009c665
nop dword [rax]
nop word [rax + rax]
mov rdi, rax
movzx ecx, al
shr rdi, 3
and cl, 7
shl cl, 3
mov rdi, qword [rbp + rdi*8 - 0x30]
shr rdi, cl
mov byte [rbp + rax + 0x30], dil
inc rax
cmp rax, r8
jb 0x14009c640
mov rdi, qword [rsp + 0x40]
mov rax, qword [rbp + 0x30]
bswap rax
cmp rax, rbx
ja 0x14009c68a
mov rdx, rdi
lea rcx, [rbp + 0x30]
call fcn.140034480
test al, al
jne 0x14009c726
cmp qword [rbp + 0x30], rbx
lea rbx, [0x140000000]
je 0x14009c6b0
mov r8d, dword [rbx + r12*4 + 0x1905d0]
lea rdx, [0x140114d90]
mov ecx, 3
call fcn.140033450
add dword [rsi + 0x20], r14d
call sub.cudart64_80.dll_cudaGetLastError
test eax, eax
jne 0x14009c9b3
mov rax, qword [0x140190658]
mov rcx, r12
shl rcx, 7
mov ecx, dword [rcx + rax]
test ecx, ecx
jne 0x14009c6ec
mov eax, dword [rsi + 0x20]
mov ecx, r14d
add rcx, rax
mov eax, dword [rsp + 0x38]
cmp rax, rcx
ja 0x14009c490
mov eax, dword [rsi + 0x20]
sub eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
mov dword [rcx], eax
xor eax, eax
mov rdi, qword [rsp + 0x1b8]
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140111120
add rsp, 0x1c0
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret
sub r14d, dword [rsp + 0x30]
add r14d, dword [rsi + 0x20]
mov rcx, qword [rsp + 0x48]
mov dword [rcx], r14d
cmp byte [0x140190373], 0
jne 0x14009c749
cmp byte [0x140190372], 0
je 0x14009c772
mov rax, qword [r13]
lea r14, [0x140000000]
mov r8d, dword [r14 + r12*4 + 0x1905d0]
lea rdx, [0x140114d20]
mov ecx, 3
mov r9d, dword [rax]
call fcn.140033450
jmp 0x14009c779
lea r14, [0x140000000]
mov rax, qword [r13]
mov ecx, dword [rax + 4]
test ecx, ecx
je 0x14009c828
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x14009c7bc
mov eax, ecx
mov byte [rbp + 0x70], cl
shr eax, 8
lea r8, [rbp + 0x50]
mov byte [rbp + 0x71], al
mov edx, 0x50
mov eax, ecx
shr ecx, 0x18
mov byte [rbp + 0x73], cl
lea rcx, [rbp + 0x30]
shr eax, 0x10
mov byte [rbp + 0x72], al
call fcn.14009d430
mov rcx, qword [rbp + 0x30]
mov rax, rcx
bswap rax
cmp rax, rbx
ja 0x14009c80a
mov rdx, rdi
lea rcx, [rbp + 0x30]
call fcn.140034480
test al, al
je 0x14009c806
mov rax, qword [r13]
mov r15d, 2
mov edx, dword [rax + 4]
mov dword [rsi + 0x50], edx
cmp byte [0x140190373], 0
jne 0x14009c7fd
cmp byte [0x140190372], 0
je 0x14009c828
lea rdx, str.GPU__d:_Found_second_nonce
jmp 0x14009c816
mov rcx, qword [rbp + 0x30]
cmp rcx, rbx
je 0x14009c828
lea rdx, [0x140114d60]
mov r8d, dword [r14 + r12*4 + 0x1905d0]
mov ecx, 3
call fcn.140033450
mov rcx, qword [r13]
mov eax, r15d
mov edx, dword [rcx]
mov dword [rsi + 0x20], edx
jmp 0x14009c6fc
mov ecx, eax
call sub.cudart64_80.dll_cudaGetErrorString
mov ecx, 2
mov rdi, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov qword [rsp + 0x20], rdi
mov r9d, 0xdf
lea r8, [0x140114b90]
lea rdx, [0x140114ba0]
call fcn.140027e90
mov ecx, r15d
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 rdi, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov qword [rsp + 0x20], rdi
mov r9d, 0xe0
lea r8, [0x140114bd0]
lea rdx, [0x140114be0]
call fcn.140027e90
mov ecx, r15d
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 rdi, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov qword [rsp + 0x20], rdi
mov r9d, 0xe1
lea r8, [0x140114c10]
lea rdx, [0x140114c20]
call fcn.140027e90
mov ecx, r15d
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 rdi, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov qword [rsp + 0x20], rdi
mov r9d, 0xe2
lea r8, [0x140114c50]
lea rdx, [0x140114c60]
call fcn.140027e90
mov ecx, r15d
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 rdi, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov qword [rsp + 0x20], rdi
mov r9d, 0xe4
lea r8, [0x140114c90]
lea rdx, [0x140114ca0]
call fcn.140027e90
mov ecx, r15d
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 rdi, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov qword [rsp + 0x20], rdi
mov r9d, 0xe5
lea r8, [0x140114cd0]
lea rdx, [0x140114ce0]
call fcn.140027e90
mov ecx, r15d
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 rdi, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov qword [rsp + 0x20], rdi
mov r9d, 0x12e
lea r8, str.scanhash_sia
lea rdx, [0x140114dd0]
call fcn.140027e90
mov ecx, r15d
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3