Function at 0x1400a3e30
Capabilities:
Terminate process

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x3c8
lea rbp, [rsp + 0x70]
and rbp, 0xffffffffffffffc0
mov rax, qword [0x14017f8e0]
xor rax, rsp
mov qword [rbp + 0x340], rax
mov r14d, dword [rdx + 0x4c]
lea rax, [0x140000000]
movsxd r12, ecx
mov r13, r8
mov rcx, qword [rsp + 0x430]
mov rbx, rdx
mov qword [rbp + 0x18], rcx
lea rdx, [0x140116610]
mov r8d, 0x10000000
mov dword [rbp + 0x10], r9d
mov ecx, dword [rax + r12*4 + 0x1905d0]
mov edi, r9d
mov dword [rbp + 8], r14d
call fcn.14009d710
mov esi, edi
sub esi, r14d
cmp eax, esi
cmovb esi, eax
and esi, 0xfffffc00
cmp byte [0x140190373], 0
je 0x1400a3ecc
mov dword [r13 + 0x1c], 0
mov dword [r13 + 0x18], 0xffffffff
cmp byte [0x1401905ca], 0
mov r14d, 1
mov eax, dword [r13 + 0x18]
mov r15d, dword [r13 + 0x1c]
mov dword [rbp + 0xc], eax
mov eax, dword [reloc.WS2_32.dll_accept]
bswap r15d
je 0x1400a3f51
xor ecx, ecx
mov esi, r14d
cmp eax, 2
jl 0x1400a3f31
xor eax, eax
lea ecx, [rax + 0x10]
nop
movdqu xmm0, xmmword [rbx + rax*4]
pshufb xmm0, xmmword [0x140170170]
movdqu xmmword [rbx + rax*4], xmm0
movdqu xmm0, xmmword [rbx + rax*4 + 0x10]
pshufb xmm0, xmmword [0x140170170]
movdqu xmmword [rbx + rax*4 + 0x10], xmm0
add rax, 8
cmp rax, rcx
jl 0x1400a3f00
movsxd rcx, ecx
cmp rcx, 0x14
jge 0x1400a3f51
nop word [rax + rax]
mov eax, dword [rbx + rcx*4]
bswap eax
mov dword [rbx + rcx*4], eax
inc rcx
cmp rcx, 0x14
jl 0x1400a3f40
mov rax, qword gs:[0x58]
mov ecx, dword [0x14018fef0]
mov rdi, qword [rax + rcx*8]
mov eax, 0xd8
movzx eax, byte [rax + rdi]
test al, al
jne 0x1400a405a
lea rax, [0x140000000]
mov ecx, dword [rax + r12*4 + 0x1905d0]
call sub.cudart64_80.dll_cudaSetDevice
test eax, eax
jne 0x1400a4529
call sub.cudart64_80.dll_cudaDeviceReset
test eax, eax
jne 0x1400a4567
lea ecx, [rax + 4]
call sub.cudart64_80.dll_cudaSetDeviceFlags
test eax, eax
jne 0x1400a45a5
lea ecx, [rax + 2]
call sub.cudart64_80.dll_cudaDeviceSetCacheConfig
test eax, eax
jne 0x1400a45e3
lea rax, [0x140000000]
lea rcx, [rax + 0x182b80]
lea rcx, [rcx + r12*8]
call sub.cudart64_80.dll_cudaStreamCreate
test eax, eax
jne 0x1400a4621
mov ecx, reloc.WLDAP32.dll_Ordinal_200
lea edx, [rax + 0x3c]
add rcx, rdi
xor r8d, r8d
call sub.cudart64_80.dll_cudaHostAlloc
test eax, eax
jne 0x1400a465f
mov ecx, Ordinal_211
lea edx, [rax + 8]
add rcx, rdi
xor r8d, r8d
call sub.cudart64_80.dll_cudaHostAlloc
test eax, eax
jne 0x1400a469d
lea rax, [0x140000000]
mov edx, 8
lea rcx, [rax + 0x183900]
lea rcx, [rcx + r12*8]
call sub.cudart64_80.dll_cudaMalloc
test eax, eax
jne 0x1400a46db
cmp r12d, 0x10
jae 0x1400a4719
lea rax, [0x140000000]
mov byte [r12 + rax + 0x18ffa8], 0
mov eax, 0xd8
mov byte [rax + rdi], r14b
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400a40d0
lea rax, [rbx + 0x3c]
lea rcx, [rbp + 0x240]
cmp rcx, rax
ja 0x1400a4082
lea rax, [rbp + 0x27c]
cmp rax, rbx
jae 0x1400a40d0
lea rdx, [rbp + 0x250]
mov rcx, rbx
sub rcx, rdx
lea rax, [rbp + 0x250]
mov edx, 2
lea r8d, [rdx + 0xe]
nop
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, r14
jne 0x1400a40a0
movsxd rdx, r8d
cmp rdx, 0x10
jge 0x1400a410d
lea rax, [rbp + 0x240]
mov r8, rbx
sub r8, rax
nop word [rax + rax]
lea rax, [r8 + rdx*4]
mov ecx, dword [rbp + rax + 0x240]
bswap ecx
mov dword [rbp + rdx*4 + 0x240], ecx
inc rdx
cmp rdx, 0x10
jl 0x1400a40f0
movsx edi, byte [rsp + 0x438]
lea rcx, [rbp + 0x80]
mov eax, edi
mov dword [rbp + 4], eax
mov dword [reloc.WS2_32.dll_ntohl], eax
call fcn.14004a720
mov r8d, 0x40
lea rdx, [rbp + 0x240]
lea rcx, [rbp + 0x80]
call fcn.14004a750
movups xmm0, xmmword [rbp + 0xc8]
lea rdx, [rbx + 0x40]
mov r9, r13
movups xmm1, xmmword [rbp + 0xd8]
lea r8, [rbp + 0x40]
mov ecx, r12d
movaps xmmword [rbp + 0x40], xmm0
movaps xmmword [rbp + 0x50], xmm1
call fcn.1400a4bb0
nop
mov r9d, dword [rbp + 0xc]
mov edx, esi
mov r8d, dword [rbx + 0x4c]
mov ecx, r12d
mov byte [rsp + 0x28], dil
mov dword [rsp + 0x20], r15d
call fcn.1400a4850
cmp byte [0x140190370], 0
mov edi, eax
je 0x1400a41ba
lea rax, [0x140000000]
mov rcx, qword [rax + r12*8 + 0x182b80]
mov byte [r12 + rax + 0x18ffa8], r14b
call sub.cudart64_80.dll_cudaStreamDestroy
xor ecx, ecx
call fcn.1400c5de0
cmp edi, 0xffffffff
je 0x1400a436d
xor eax, eax
mov dword [rbp + 0x200], 0
xor edx, edx
mov qword [rbp + 0x204], rax
cmp dword [reloc.WS2_32.dll_accept], 2
mov qword [rbp + 0x20c], rax
mov qword [rbp + 0x214], rax
mov dword [rbp + 0x21c], eax
jl 0x1400a4260
lea rax, [rbx + 0x48]
lea rcx, [rbp + 0x240]
cmp rcx, rax
ja 0x1400a4211
lea rax, [rbp + 0x288]
cmp rax, rbx
jae 0x1400a4260
lea rdx, [rbp + 0x250]
mov rcx, rbx
sub rcx, rdx
lea rax, [rbp + 0x250]
mov edx, reloc.WS2_32.dll_recv
lea r8d, [rdx - 0xe]
nop
movdqu xmm0, xmmword [rax + rcx]
movdqu xmm1, xmmword [rax + rcx + 0x10]
lea rax, [rax + 0x20]
pshufb xmm0, xmmword [0x140170170]
pshufb xmm1, xmmword [0x140170170]
movdqu xmmword [rax - 0x30], xmm0
movdqu xmmword [rax - 0x20], xmm1
sub r8, r14
jne 0x1400a4230
lea rax, [rbp + 0x240]
mov r8, rbx
sub r8, rax
nop dword [rax]
lea rax, [r8 + rdx*4]
mov ecx, dword [rbp + rax + 0x240]
bswap ecx
mov dword [rbp + rdx*4 + 0x240], ecx
inc rdx
cmp rdx, 0x13
jl 0x1400a4270
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x1400a42fd
mov eax, edi
lea rcx, [rbp + 0x100]
bswap eax
mov dword [rbp + 0x28c], eax
mov eax, dword [rbp + 4]
mov dword [reloc.WS2_32.dll_ntohl], eax
call fcn.14004a720
mov r8d, 0x50
lea rdx, [rbp + 0x240]
lea rcx, [rbp + 0x100]
call fcn.14004a750
lea rdx, [rbp + 0x2c0]
lea rcx, [rbp + 0x100]
call fcn.14004a760
movaps xmm0, xmmword [rbp + 0x2c0]
movaps xmm1, xmmword [rbp + 0x2d0]
movups xmmword [rbp + 0x200], xmm0
movups xmmword [rbp + 0x210], xmm1
mov rax, qword [rbp + 0x218]
shr rax, 0x20
cmp eax, r15d
ja 0x1400a4324
mov rdx, r13
lea rcx, [rbp + 0x200]
call fcn.1400342d0
test al, al
jne 0x1400a43b7
cmp byte [0x140190372], 0
je 0x1400a4344
mov rcx, r13
call fcn.140037570
mov rdx, r13
lea rcx, [rbp + 0x200]
call fcn.140037410
cmp dword [rbp + 0x21c], r15d
jbe 0x1400a436d
lea rax, [0x140000000]
mov r9d, edi
mov r8d, dword [rax + r12*4 + 0x1905d0]
lea rdx, str.GPU__d:_result_for_nonce__08x_does_not_validate_on_CPU_
xor ecx, ecx
call fcn.140033450
add dword [rbx + 0x4c], esi
call sub.cudart64_80.dll_cudaGetLastError
test eax, eax
jne 0x1400a471f
mov rax, qword [0x140190658]
mov rcx, r12
shl rcx, 7
mov ecx, dword [rcx + rax]
test ecx, ecx
jne 0x1400a4519
mov eax, dword [rbx + 0x4c]
mov ecx, esi
add rcx, rax
mov eax, dword [rbp + 0x10]
cmp rax, rcx
jbe 0x1400a4519
movzx edi, byte [rsp + 0x438]
jmp 0x1400a4170
cmp byte [0x140190373], 0
je 0x1400a43d7
mov r9d, edi
lea rdx, [0x140116868]
mov r8d, r12d
mov ecx, 3
call fcn.140033450
sub esi, dword [rbp + 8]
add esi, dword [rbx + 0x4c]
mov rcx, qword [rbp + 0x18]
mov dword [rcx], esi
mov dword [rbx + 0x4c], edi
lea rdi, [0x140000000]
mov eax, dword [rdi + r12*8 + 0x17d000]
cmp eax, 0xffffffff
je 0x1400a44f3
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x1400a446c
bswap eax
mov dword [rbp + 0x28c], eax
lea rcx, [rbp + 0x180]
mov eax, dword [rbp + 4]
mov dword [reloc.WS2_32.dll_ntohl], eax
call fcn.14004a720
mov r8d, 0x50
lea rdx, [rbp + 0x240]
lea rcx, [rbp + 0x180]
call fcn.14004a750
lea rdx, [rbp + 0x300]
lea rcx, [rbp + 0x180]
call fcn.14004a760
movaps xmm0, xmmword [rbp + 0x300]
movaps xmm1, xmmword [rbp + 0x310]
movups xmmword [rbp + 0x200], xmm0
movups xmmword [rbp + 0x210], xmm1
mov rax, qword [rbp + 0x218]
shr rax, 0x20
cmp eax, r15d
ja 0x1400a44c0
mov rdx, r13
lea rcx, [rbp + 0x200]
call fcn.1400342d0
test al, al
je 0x1400a44c0
mov r9d, dword [rdi + r12*8 + 0x17d000]
mov dword [rbx + 0x54], r9d
cmp byte [0x140190373], 0
je 0x1400a44b8
mov r8d, r12d
lea rdx, [0x140116888]
mov ecx, 3
call fcn.140033450
mov r14d, 2
jmp 0x1400a44e7
cmp dword [rbp + 0x21c], r15d
jbe 0x1400a44e7
mov r9d, dword [rdi + r12*8 + 0x17d000]
lea rdx, str.GPU__d:_result_for_second_nonce__08x_does_not_validate_on_CPU_
mov r8d, dword [rdi + r12*4 + 0x1905d0]
xor ecx, ecx
call fcn.140033450
mov dword [rdi + r12*8 + 0x17d000], 0xffffffff
mov eax, r14d
mov rcx, qword [rbp + 0x340]
xor rcx, rsp
call fcn.140111120
add rsp, 0x3c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov eax, dword [rbx + 0x4c]
sub eax, dword [rbp + 8]
mov rcx, qword [rbp + 0x18]
mov dword [rcx], eax
xor eax, eax
jmp 0x1400a44f6
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, 0x2d0
lea r8, [0x140116628]
lea rdx, [0x140116640]
call fcn.140027e90
mov ecx, r14d
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, 0x2d1
lea r8, [0x140116670]
lea rdx, [0x140116688]
call fcn.140027e90
mov ecx, r14d
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, 0x2d2
lea r8, [0x1401166b8]
lea rdx, [0x1401166d0]
call fcn.140027e90
mov ecx, r14d
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, 0x2d3
lea r8, [0x140116700]
lea rdx, [0x140116718]
call fcn.140027e90
mov ecx, r14d
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, 0x2d4
lea r8, [0x140116748]
lea rdx, [0x140116760]
call fcn.140027e90
mov ecx, r14d
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, 0x2d5
lea r8, [0x140116790]
lea rdx, [0x1401167a8]
call fcn.140027e90
mov ecx, r14d
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, 0x2d6
lea r8, [0x1401167d8]
lea rdx, [0x1401167f0]
call fcn.140027e90
mov ecx, r14d
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, 0x2d7
lea r8, [0x140116820]
lea rdx, [0x140116838]
call fcn.140027e90
mov ecx, r14d
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, 0x329
lea r8, str.scanhash_blake256
lea rdx, [0x140116948]
call fcn.140027e90
mov ecx, r14d
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3