Function at 0x1400087f0
Capabilities:
Check for time delay via queryperformancecounter
Hash data using sha512

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0xca910
call fcn.140037250
sub rsp, rax
lea rbp, [rsp + 0x50]
mov qword [rbp + 0xca910], rbx
mov rax, qword [0x14005b740]
xor rax, rbp
mov qword [rbp + 0xca8b0], rax
mov rax, qword [rbp + 0xca928]
mov rsi, qword [rbp + 0xca940]
mov qword [rbp + 0xa8], r9
mov qword [rbp + 0xb8], rax
mov eax, dword [0x1400613e4]
mov r9, r8
mov r8d, dword [rbp + 0xca938]
mov dword [rbp + 0x50], edx
mov dword [rbp + 0x34], ecx
mov dword [rbp + 0x18], r8d
test eax, eax
jne 0x140009434
movsxd rbx, ecx
lea r14, sym.ZecMiner64.exe__Co9eEk_rc_U8Qzt_M_rBCXNPgLr_62n_K__
mov r12d, 1
mov r13d, dword [r14 + rbx*4 + 0x5f5c0]
mov qword [rbp + 0x48], rbx
mov eax, 8
mov dword [rbp + 0x30], r13d
cmp r13d, r12d
jle 0x1400088d9
cmp r13d, 5
jle 0x1400088a1
lea edx, [r13*4 + 8]
mov dword [rbp + 8], edx
jmp 0x1400088e3
jne 0x1400088ac
mov dword [rbp + 8], 0x1c
jmp 0x1400088e3
cmp r13d, 4
jne 0x1400088bb
mov dword [rbp + 8], 0x18
jmp 0x1400088e3
cmp r13d, 3
jne 0x1400088ca
mov dword [rbp + 8], socket
jmp 0x1400088e3
cmp r13d, 2
jne 0x1400088e0
mov dword [rbp + 8], reloc.WS2_32.dll_recv
jmp 0x1400088e3
mov r13d, r12d
mov dword [rbp + 0x30], r12d
mov dword [rbp + 8], eax
mov eax, dword [rsp]
sub rsp, 0x90
lea r15, [rsp + 0x50]
mov qword [rbp + 0xf8], r15
mov eax, dword [r15]
mov rax, r9
mov rcx, r15
or rax, r15
and eax, 0xf
jne 0x140008979
mov rax, r12
nop dword [rax]
movaps xmm0, xmmword [r9]
lea rcx, [rcx + 0x80]
lea r9, [r9 + 0x80]
movaps xmmword [rcx - 0x80], xmm0
movaps xmm1, xmmword [r9 - 0x70]
movaps xmmword [rcx - 0x70], xmm1
movaps xmm0, xmmword [r9 - 0x60]
movaps xmmword [rcx - 0x60], xmm0
movaps xmm1, xmmword [r9 - 0x50]
movaps xmmword [rcx - 0x50], xmm1
movaps xmm0, xmmword [r9 - 0x40]
movaps xmmword [rcx - 0x40], xmm0
movaps xmm1, xmmword [r9 - 0x30]
movaps xmmword [rcx - 0x30], xmm1
movaps xmm0, xmmword [r9 - 0x20]
movaps xmmword [rcx - 0x20], xmm0
movaps xmm1, xmmword [r9 - 0x10]
movaps xmmword [rcx - 0x10], xmm1
dec rax
jne 0x140008910
mov rax, qword [r9]
mov qword [rcx], rax
mov eax, dword [r9 + 8]
mov dword [rcx + 8], eax
jmp 0x14000898b
mov r8d, 0x8c
mov rdx, r9
call fcn.14002afa0
mov r8d, dword [rbp + 0x18]
mov rax, qword [0x1400664d0]
mov rdi, rbx
imul rdi, rdi, 0x508
mov qword [rbp + 0xd8], rdi
mov ecx, dword [rdi + rax + 0x200]
mov dword [rsi], ecx
cmp byte [rbx + r14 + 0x61930], 0
je 0x140008a2a
mov rcx, qword [0x1400664d0]
add rcx, 0x4e0
add rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [0x1400664d0]
mov rax, qword [rdi + rcx + 0x4c8]
mov qword [rdi + rcx + 0x4d0], rax
mov rcx, qword [0x1400664d0]
add rcx, 0x4e0
add rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [0x1400664d0]
xor esi, esi
mov qword [rdi + rax + 0x468], rsi
mov rax, qword [0x1400664d0]
lea ecx, [rsi + 0x64]
mov qword [rdi + rax + 0x460], rsi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140009434
cmp byte [rbx + r14 + 0x61690], 0
je 0x1400089b7
mov rax, qword [0x1400664d0]
xor esi, esi
mov byte [rbp + 3], 0
mov ecx, dword [rdi + rax + 0x200]
mov eax, dword [reloc.WS2_32.dll_connect]
mov ecx, esi
mov byte [rbp], 0
mov dword [rbp + 0x88], esi
mov dword [rbp + 0x120], esi
mov dword [rbp + 4], ecx
test eax, eax
jle 0x140008bdd
mov rdi, qword [rbp + 0xa8]
mov edx, esi
mov dword [rbp + 0x10], edx
nop dword [rax + rax]
test r13d, r13d
je 0x140008bb5
mov eax, r8d
lea r14, [rbp + 0x350]
movsxd rbx, edx
mov qword [rbp + 0x70], rax
add rbx, rdi
movsxd rax, ecx
mov rdi, qword [rbp + 0x70]
mov r12d, r13d
movabs r13, 0x6a09e667f2bdc93a
imul rax, rax, 0x7e0
add r14, rax
nop dword [rax + rax]
lea rcx, [rbp + 0x1e0]
xor edx, edx
mov r8d, 0x170
mov qword [rdi + r15 + 0x6c], rbx
call fcn.140032380
mov rax, qword [0x14004e5b0]
mov qword [rbp + 0x1e0], rax
mov rax, qword [0x14004e5b8]
lea rcx, [rbp + 0x1e0]
mov qword [rbp + 0x1e8], rax
mov rax, qword [0x14004e5c0]
mov r8, r14
mov qword [rbp + 0x1f0], rax
mov rax, qword [0x14004e5c8]
mov rdx, r15
mov qword [rbp + 0x1f8], rax
mov rax, qword [0x14004e5d0]
mov qword [rbp + 0x1e0], r13
mov qword [rbp + 0x200], rax
mov rax, qword [0x14004e5d8]
mov qword [rbp + 0x348], rsi
mov qword [rbp + 0x208], rax
mov rax, qword [0x14004e5e0]
mov qword [rbp + 0x210], rax
mov rax, qword [0x14004e5e8]
mov qword [rbp + 0x218], rax
movabs rax, 0x48ec89c38820de31
mov qword [rbp + 0x210], rax
movabs rax, 0x5be0cd10137e21b1
mov qword [rbp + 0x218], rax
call fcn.140007c10
inc rbx
add r14, 0xe0
dec r12
jne 0x140008ac0
mov eax, dword [reloc.WS2_32.dll_connect]
mov r13d, dword [rbp + 0x30]
mov rdi, qword [rbp + 0xa8]
mov ecx, dword [rbp + 4]
mov edx, dword [rbp + 0x10]
mov r8d, dword [rbp + 0x18]
inc ecx
add edx, r13d
mov dword [rbp + 4], ecx
mov dword [rbp + 0x10], edx
cmp ecx, eax
jl 0x140008a80
mov rdi, qword [rbp + 0xd8]
mov rbx, qword [rbp + 0x48]
mov r12d, 1
mov rax, qword [0x140066470]
lea r14, [rbx + rbx*4]
lea rcx, [rax + r14*8]
mov qword [rbp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
movsxd rcx, dword [rbp + 0x50]
mov rax, rbx
imul rax, rax, 0x142
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x70], rcx
add rcx, rax
mov rax, qword [0x1400664d0]
mov dword [rax + rcx*4 + 0x430], esi
mov eax, dword [0x1400613e4]
test eax, eax
je 0x140008c3d
mov rax, qword [0x140066470]
lea rcx, [rax + r14*8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140009434
lea rcx, [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
cmp dword [reloc.WS2_32.dll_accept], esi
mov r14d, esi
mov byte [rbp + 1], 1
je 0x140008c7c
lea rax, sym.ZecMiner64.exe__Co9eEk_rc_U8Qzt_M_rBCXNPgLr_62n_K__
cmp dword [rax + rbx*4 + 0x614a0], esi
jg 0x140008c7c
cmp dword [rax + rbx*4 + 0x60940], esi
jle 0x140008c81
xor al, al
mov byte [rbp + 1], al
mov ecx, esi
cmp dword [reloc.WS2_32.dll_connect], ecx
mov dword [rbp + 4], ecx
jle 0x140009252
mov eax, r13d
mov r14, rbx
mov qword [rbp + 0x10], 0x270
imul eax, eax, 0xe0
movsxd r8, eax
mov eax, r13d
shl eax, 0xb
imul r14, r14, 0xa1
mov qword [rbp + 0x100], r8
cdq
mov qword [rbp + 0xc8], r14
and edx, 7
add eax, edx
sar eax, 3
cdqe
mov qword [rbp + 0xe0], rax
mov eax, r13d
shl eax, 0x14
cdqe
mov qword [rbp + 0x110], rax
mov eax, r13d
shl eax, 0x13
cdqe
mov qword [rbp + 0xa0], rax
mov eax, r13d
mov r15, qword [rbp + 0xa0]
shl eax, 0x11
cdqe
mov qword [rbp + 0xe8], rax
mov eax, dword [rbp + 8]
shl eax, 0xb
add eax, 0xb4
cdqe
mov qword [rbp + 0xf0], rax
nop
mov rdx, qword [0x1400664d0]
movsxd rbx, ecx
mov qword [rsp + 0x40], rsi
mov rdx, qword [rdi + rdx + 0x220]
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
mov rax, rbx
lea rcx, [rbp + 0x350]
xor r9d, r9d
mov qword [rbp + 0xa0], rbx
imul rax, rax, 0x7e0
add rcx, rax
mov qword [rsp + 0x28], rcx
mov rcx, qword [0x1400664d0]
mov qword [rsp + 0x20], r8
mov rcx, qword [rdi + rcx + 0x428]
xor r8d, r8d
call qword [sym.imp.OpenCL.dll_clEnqueueWriteBuffer]
mov rcx, qword [0x1400664d0]
mov rax, qword [rbp + 0xe0]
lea r9, [rcx + 0x228]
xor edx, edx
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x60], 0x100
mov rcx, qword [rdi + rcx + 0x3b8]
lea r8d, [rdx + 8]
add r9, rdi
call qword [sym.imp.OpenCL.dll_clSetKernelArg]
mov rcx, qword [0x1400664d0]
add rbx, r14
lea r9, [rcx + 0x230]
mov rcx, qword [rdi + rcx + 0x3b8]
mov r14d, 8
lea r9, [r9 + rbx*8]
mov r8d, r14d
mov edx, r12d
call qword [sym.imp.OpenCL.dll_clSetKernelArg]
mov rcx, qword [0x1400664d0]
lea edx, [r14 - 6]
lea r9, [rcx + 0x270]
mov rcx, qword [rdi + rcx + 0x3b8]
mov r8d, r14d
lea r9, [r9 + rbx*8]
call qword [sym.imp.OpenCL.dll_clSetKernelArg]
mov rcx, qword [0x1400664d0]
mov qword [rsp + 0x40], rsi
mov rdx, qword [rdi + rcx + 0x3b8]
mov rcx, qword [rdi + rcx + 0x428]
mov qword [rsp + 0x38], rsi
lea rax, [rbp + 0x60]
mov dword [rsp + 0x30], esi
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x78]
mov r8d, r12d
mov qword [rsp + 0x20], rax
call qword [sym.imp.OpenCL.dll_clEnqueueNDRangeKernel]
mov rcx, qword [0x1400664d0]
mov rax, qword [rbp + 0x110]
lea r9, [rcx + 0x228]
mov qword [rbp + 0x60], 0x100
mov qword [rbp + 0x78], rax
mov rcx, qword [rdi + rcx + 0x3c0]
add r9, rdi
mov r8d, r14d
xor edx, edx
call qword [sym.imp.OpenCL.dll_clSetKernelArg]
mov rcx, qword [0x1400664d0]
mov r8d, r14d
lea r9, [rcx + 0x220]
mov rcx, qword [rdi + rcx + 0x3c0]
mov edx, r12d
add r9, rdi
call qword [sym.imp.OpenCL.dll_clSetKernelArg]
mov rcx, qword [0x1400664d0]
mov dword [rbp + 0xc0], r13d
mov rcx, qword [rdi + rcx + 0x3c0]
lea r9, [rbp + 0xc0]
lea edx, [r14 - 6]
lea r8d, [r14 - 4]
call qword [sym.imp.OpenCL.dll_clSetKernelArg]
mov rcx, qword [0x1400664d0]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov rdx, qword [rdi + rcx + 0x3c0]
mov rcx, qword [rdi + rcx + 0x428]
lea rax, [rbp + 0x60]
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x78]
xor r9d, r9d
mov r8d, r12d
mov qword [rsp + 0x20], rax
call qword [sym.imp.OpenCL.dll_clEnqueueNDRangeKernel]
mov qword [rbp + 0x60], 0x100
lea rbx, [rdi + 0x3c8]
mov eax, r14d
nop dword [rax]
mov rcx, qword [0x1400664d0]
mov qword [rbp + 0x78], r15
mov r8, rax
lea r9, [rcx + 0x228]
mov rcx, qword [rbx + rcx]
xor edx, edx
add r9, rdi
call qword [sym.imp.OpenCL.dll_clSetKernelArg]
mov rcx, qword [0x1400664d0]
mov dword [rbp + 0xb0], r13d
mov dword [rbp + 0x98], esi
mov rcx, qword [rbx + rcx]
lea r9, [rbp + 0xb0]
mov r8d, 4
mov edx, r12d
call qword [sym.imp.OpenCL.dll_clSetKernelArg]
mov rcx, qword [0x1400664d0]
mov edx, 2
mov rcx, qword [rbx + rcx]
lea r9, [rbp + 0x98]
lea r8d, [rdx + 2]
call qword [sym.imp.OpenCL.dll_clSetKernelArg]
mov rcx, qword [0x1400664d0]
mov qword [rsp + 0x40], rsi
mov rdx, qword [rbx + rcx]
mov rcx, qword [rdi + rcx + 0x428]
mov qword [rsp + 0x38], rsi
lea rax, [rbp + 0x60]
mov dword [rsp + 0x30], esi
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x78]
mov r8d, r12d
mov qword [rsp + 0x20], rax
call qword [sym.imp.OpenCL.dll_clEnqueueNDRangeKernel]
lea rbx, [rbx + 8]
mov eax, 8
dec r14
jne 0x140008f30
mov rcx, qword [0x1400664d0]
mov qword [rbp + 0x78], r15
mov qword [rbp + 0x60], 0x100
lea r9, [rcx + 0x228]
mov rcx, qword [rdi + rcx + 0x408]
xor edx, edx
add r9, rdi
mov r8d, eax
call qword [sym.imp.OpenCL.dll_clSetKernelArg]
mov rcx, qword [0x1400664d0]
mov r14, qword [rbp + 0xa0]
mov rbx, qword [rbp + 0xc8]
lea r9, [rcx + 0x230]
mov rcx, qword [rdi + rcx + 0x408]
add rbx, r14
mov r8d, 8
mov edx, r12d
lea r9, [r9 + rbx*8]
call qword [sym.imp.OpenCL.dll_clSetKernelArg]
mov rcx, qword [0x1400664d0]
mov edx, 2
mov dword [rbp + 0x90], esi
mov dword [rbp + 0x94], 0x33f
mov rcx, qword [rdi + rcx + 0x408]
lea r9, [rbp + 0x90]
lea r8d, [rdx + 2]
call qword [sym.imp.OpenCL.dll_clSetKernelArg]
mov rcx, qword [0x1400664d0]
mov edx, 3
mov rcx, qword [rdi + rcx + 0x408]
lea r9, [rbp + 0x94]
lea r8d, [rdx + 1]
call qword [sym.imp.OpenCL.dll_clSetKernelArg]
mov rcx, qword [0x1400664d0]
mov qword [rsp + 0x40], rsi
mov rdx, qword [rdi + rcx + 0x408]
mov rcx, qword [rdi + rcx + 0x428]
mov qword [rsp + 0x38], rsi
lea rax, [rbp + 0x60]
mov dword [rsp + 0x30], esi
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x78]
mov r8d, r12d
mov qword [rsp + 0x20], rax
call qword [sym.imp.OpenCL.dll_clEnqueueNDRangeKernel]
mov rcx, qword [0x1400664d0]
mov rax, qword [rbp + 0xe8]
lea r9, [rcx + 0x228]
xor edx, edx
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x60], 0x100
mov rcx, qword [rdi + rcx + 0x410]
lea r8d, [rdx + 8]
add r9, rdi
call qword [sym.imp.OpenCL.dll_clSetKernelArg]
mov rcx, qword [0x1400664d0]
mov r8d, 8
lea r9, [rcx + 0x230]
mov rcx, qword [rdi + rcx + 0x410]
mov edx, r12d
lea r9, [r9 + rbx*8]
call qword [sym.imp.OpenCL.dll_clSetKernelArg]
mov rcx, qword [0x1400664d0]
mov edx, 2
lea r9, [rbx + 0x4e]
lea r8d, [rdx + 6]
lea r9, [rcx + r9*8]
mov rcx, qword [rdi + rcx + 0x410]
call qword [sym.imp.OpenCL.dll_clSetKernelArg]
mov rcx, qword [0x1400664d0]
mov qword [rsp + 0x40], rsi
mov rdx, qword [rdi + rcx + 0x410]
mov qword [rsp + 0x38], rsi
lea rax, [rbp + 0x60]
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x78]
xor r9d, r9d
mov r8d, r12d
mov qword [rsp + 0x20], rax
mov rcx, qword [rdi + rcx + 0x428]
call qword [sym.imp.OpenCL.dll_clEnqueueNDRangeKernel]
mov rcx, qword [0x1400664d0]
mov rbx, qword [rbp + 0x10]
imul r14, r14, 0x160b4
mov qword [rsp + 0x40], rsi
add rcx, rdi
mov qword [rsp + 0x38], rsi
mov rdx, qword [rcx + rbx]
mov rcx, qword [rcx + 0x428]
mov dword [rsp + 0x30], esi
lea rax, [rbp + 0x4250]
xor r9d, r9d
xor r8d, r8d
add rax, r14
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0xf0]
mov qword [rsp + 0x20], rax
call qword [sym.imp.OpenCL.dll_clEnqueueReadBuffer]
mov ecx, dword [rbp + 4]
mov r14, qword [rbp + 0xc8]
mov r8, qword [rbp + 0x100]
inc ecx
add rbx, 8
cmp ecx, dword [reloc.WS2_32.dll_connect]
mov dword [rbp + 4], ecx
mov qword [rbp + 0x10], rbx
jl 0x140008d20
mov r15, qword [rbp + 0xf8]
mov rbx, qword [rbp + 0x48]
mov r14d, esi
movzx edx, byte [rbp + 1]
test dl, dl
je 0x1400092f8
mov rcx, qword [0x1400664d0]
imul rbx, rbx, 0xa1
add rbx, qword [rbp + 0x70]
lea rdx, [rcx + 0x440]
mov rcx, qword [rdi + rcx + 0x428]
lea rdx, [rdx + rbx*8]
call qword [sym.imp.OpenCL.dll_clEnqueueMarker]
mov eax, dword [rbp + 0x50]
mov rcx, qword [0x1400664d0]
mov rcx, qword [rcx + rbx*8 + 0x440]
shl eax, 8
lea r8, [0x140008700]
movsxd r9, eax
xor edx, edx
or r9, qword [rbp + 0x48]
call qword [sym.imp.OpenCL.dll_clSetEventCallback]
mov rcx, qword [0x1400664d0]
mov rcx, qword [rdi + rcx + 0x428]
call qword [sym.imp.OpenCL.dll_clFlush]
mov rax, qword [0x1400664d0]
lock inc qword [rdi + rax + 0x470]
mov rax, qword [0x140066470]
mov rbx, qword [rbp + 0x20]
lea rcx, [rax + rbx*8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movzx edx, byte [rbp + 1]
mov byte [rbp], 1
jmp 0x1400092fc
mov rbx, qword [rbp + 0x20]
mov rcx, qword [0x1400664d0]
mov eax, 0xffff
lock cmpxchg qword [rdi + rcx + 0x470], rsi
test eax, eax
jle 0x140009320
test dl, dl
jne 0x140009320
mov byte [rbp + 2], 1
jmp 0x140009328
mov byte [rbp + 2], sil
test dl, dl
jne 0x140009383
mov rcx, qword [0x1400664d0]
mov rcx, qword [rdi + rcx + 0x428]
call qword [sym.imp.OpenCL.dll_clFinish]
test eax, eax
je 0x140009368
mov r9d, dword [rbp + 0x34]
lea r8, str.GPU__d__GpuMiner_kx_2__failed__d_n
mov edx, 3
xor ecx, ecx
mov dword [rsp + 0x20], eax
call fcn.1400056c0
mov r12, qword [rbp + 0x88]
jmp 0x1400097fe
lea rcx, [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp + 0x58]
mov rax, qword [rbp + 0x38]
mov r14, qword [rbp + 0x20]
jmp 0x14000947e
mov eax, dword [0x1400613e4]
test eax, eax
jne 0x14000941f
mov eax, dword [0x1400613e4]
test eax, eax
jne 0x14000941f
mov rbx, qword [rbp + 0x70]
mov r14, qword [rbp + 0x20]
add rbx, qword [rbp + 0x28]
mov qword [rbp + 0x28], rbx
nop
mov rax, qword [0x1400664b0]
lea rcx, [rax + r14*8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x1400664d0]
mov ebx, dword [rax + rbx*4 + 0x430]
mov rax, qword [0x1400664b0]
lea rcx, [rax + r14*8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
jne 0x14000945f
mov rcx, qword [0x1400664d0]
mov eax, 0xffff
lock cmpxchg qword [rdi + rcx + 0x470], rsi
test eax, eax
je 0x14000945f
mov eax, dword [0x1400613e4]
test eax, eax
jne 0x14000941f
lea ecx, [rbx + 5]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x1400613e4]
mov rbx, qword [rbp + 0x28]
test eax, eax
je 0x1400093b0
mov rcx, qword [0x1400664d0]
mov rcx, qword [rdi + rcx + 0x428]
call qword [sym.imp.OpenCL.dll_clFinish]
xor eax, eax
mov rcx, qword [rbp + 0xca8b0]
xor rcx, rbp
call fcn.14002aed0
mov rbx, qword [rbp + 0xca910]
lea rsp, [rbp + 0xca8c0]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [0x1400664d0]
mov rax, qword [rdi + rcx + 0x460]
mov qword [rbp + 0x38], rax
mov rcx, qword [rdi + rcx + 0x468]
mov qword [rbp + 0x58], rcx
mov r8, qword [rbp + 0xd0]
sub rax, rcx
imul rax, rax, 0xf4240
cqo
idiv r8
mov rdx, rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 1]
test al, al
jne 0x140009566
cmp byte [rbp + 2], sil
jne 0x14000954b
mov rbx, qword [rbp + 0x48]
lea rax, sym.ZecMiner64.exe__Co9eEk_rc_U8Qzt_M_rBCXNPgLr_62n_K__
mov ecx, dword [rax + rbx*4 + 0x614a0]
test ecx, ecx
jle 0x1400094db
lea ecx, [rcx + rcx*4]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, qword [rbp + 0x28]
lea rax, sym.ZecMiner64.exe__Co9eEk_rc_U8Qzt_M_rBCXNPgLr_62n_K__
mov ecx, dword [rax + rbx*4 + 0x60940]
test ecx, ecx
jle 0x14000954b
movss xmm0, dword [0x140054a58]
add ecx, ecx
mov eax, 8
cmp ecx, 8
cmovg ecx, eax
mov eax, 0x10624dd3
imul edx
movd xmm1, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
cvtdq2ps xmm1, xmm1
movd xmm2, edx
divss xmm1, dword [0x140054a68]
cvtdq2ps xmm2, xmm2
subss xmm0, xmm1
divss xmm2, xmm0
cvttss2si eax, xmm2
sub eax, edx
cmp eax, 1
jl 0x140009542
mov ecx, 0x3e8
cmp eax, ecx
cmovg eax, ecx
mov r12d, eax
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp + 0x58]
mov r8, qword [rbp + 0xd0]
mov rax, qword [rbp + 0x38]
jmp 0x140009585
mov rcx, qword [0x1400664d0]
mov rax, qword [rdi + rcx + 0x460]
mov qword [rbp + 0x38], rax
mov rcx, qword [rdi + rcx + 0x468]
mov qword [rbp + 0x58], rcx
sub rax, rcx
imul rax, rax, 0xf4240
cqo
idiv r8
mov r12, rax
mov qword [rbp + 0x88], rax
cmp byte [rbp], sil
jne 0x1400095b9
mov rcx, qword [0x140066470]
lea rcx, [rcx + r14*8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [rbp], 1
mov ecx, esi
mov r14d, esi
mov dword [rbp + 0xc], esi
cmp dword [reloc.WS2_32.dll_connect], ecx
mov dword [rbp + 0x10], ecx
jle 0x140009701
mov r9d, esi
mov dword [rbp + 4], esi
lea r12, [rbp + 0x4250]
nop dword [rax]
mov eax, dword [r12]
mov ebx, dword [rbp + 8]
cmp eax, ebx
jbe 0x14000960f
lea rdx, str.warning:_solutions_buf_overflow___d____d_n
mov r9d, ebx
mov r8d, eax
mov ecx, 2
call fcn.1400054d0
mov ecx, dword [rbp + 0x10]
mov r9d, dword [rbp + 4]
mov eax, ebx
mov dword [r12], ebx
add dword [0x140061d74], eax
inc dword [0x140061d78]
mov ebx, esi
test eax, eax
jle 0x1400096d0
mov r8d, dword [rbp + 0x18]
mov esi, dword [rbp + 0xc]
movsxd r13, ecx
imul r13, r13, 0x160b4
mov edx, r8d
movsxd rdi, r9d
lea r14, [r12 + 4]
mov qword [rbp + 0x28], rdx
nop word [rax + rax]
mov eax, dword [r14]
lea rcx, [rbp + 0x4304]
mov r9, r15
add rax, qword [rbp + 0xa8]
add rax, rdi
mov qword [rdx + r15 + 0x6c], rax
mov edx, dword [r14]
movsxd rax, ebx
add rdx, qword [rbp + 0xa8]
shl rax, 0xb
add rax, r13
add rdx, rdi
add rcx, rax
mov eax, dword [rbp + 0x34]
mov dword [rsp + 0x30], eax
mov rax, qword [rbp + 0xca920]
mov dword [rsp + 0x28], r8d
mov r8, qword [rbp + 0xb8]
mov qword [rsp + 0x20], rax
call fcn.140008350
mov rdx, qword [rbp + 0x28]
mov r8d, dword [rbp + 0x18]
inc ebx
add esi, eax
lea r14, [r14 + 4]
cmp ebx, dword [r12]
jl 0x140009650
mov r13d, dword [rbp + 0x30]
mov ecx, dword [rbp + 0x10]
mov r9d, dword [rbp + 4]
mov dword [rbp + 0xc], esi
xor esi, esi
inc ecx
add r9d, r13d
add r12, 0x160b4
cmp ecx, dword [reloc.WS2_32.dll_connect]
mov dword [rbp + 0x10], ecx
mov dword [rbp + 4], r9d
jl 0x1400095e0
mov rdi, qword [rbp + 0xd8]
mov r14d, dword [rbp + 0xc]
mov r12, qword [rbp + 0x88]
cmp dword [0x14006070c], 0
mov ebx, esi
setne bl
test ebx, ebx
je 0x140009762
xor ecx, ecx
call fcn.14002c4a4
lea rcx, [rbp + 0x108]
mov qword [rbp + 0x108], rax
call fcn.14002c150
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov r8, rax
mov eax, reloc.WS2_32.dll_send
cdq
idiv ebx
xor edx, edx
movsxd rcx, eax
mov rax, r8
div rcx
test rdx, rdx
jne 0x140009762
cmp dword [0x14006070c], edx
mov rcx, qword [rbp + 0xb8]
cmovne r14d, esi
call fcn.14000a040
mov rax, qword [rbp + 0xb8]
mov rcx, qword [rax + 8]
mov rdx, qword [rax]
cmp rdx, rcx
je 0x1400097a5
sub rcx, rdx
movabs rax, 0x2e8ba2e8ba2e8ba3
imul rcx
lea rcx, sym.ZecMiner64.exe__Co9eEk_rc_U8Qzt_M_rBCXNPgLr_62n_K__
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [rbp + 0x48]
add dword [rcx + rax*4 + 0x5f4a0], edx
test r12d, r12d
je 0x1400097f7
mov eax, r14d
xor edx, edx
movsxd rcx, r12d
imul eax, eax, 0xf4240
cdqe
div rcx
cmp rax, 0x2710
jbe 0x1400097f7
mov r9d, dword [rbp + 0x34]
lea r8, str.GPU__d_failed_n
mov edx, 3
xor ecx, ecx
call fcn.1400056c0
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
mov sil, 1
mov byte [rbp + 3], sil
mov byte [0x14005f523], sil
jmp 0x1400097fa
xor sil, sil
mov rbx, qword [rbp + 0x20]
cmp byte [rbp], 0
jne 0x140009815
mov rax, qword [0x140066470]
lea rcx, [rax + rbx*8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test sil, sil
je 0x14000985b
mov rcx, qword [0x1400664d0]
add rcx, 0x4e0
add rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [0x1400664d0]
mov rax, qword [rdi + rcx + 0x4c8]
mov qword [rdi + rcx + 0x4d0], rax
mov rcx, qword [0x1400664d0]
add rcx, 0x4e0
jmp 0x1400099a1
cmp byte [rbp + 2], 0
jne 0x1400099aa
mov rcx, qword [0x1400664d0]
mov dword [rbp + 0x40], r14d
mov dword [rbp + 0x44], r12d
add rcx, 0x4e0
add rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400664d0]
lea rcx, [rbp + 0x40]
add rbx, 0x4c8
add rbx, rdi
mov rax, qword [rbx + 8]
cmp rcx, rax
jae 0x1400098e0
mov rcx, qword [rbx]
lea rdx, [rbp + 0x40]
cmp rcx, rdx
ja 0x1400098e0
lea rsi, [rbp + 0x40]
sub rsi, rcx
sar rsi, 3
cmp rax, qword [rbx + 0x10]
jne 0x1400098c7
mov rcx, rbx
call fcn.14000a230
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x1400098da
mov rax, qword [rbx]
mov rcx, qword [rax + rsi*8]
mov qword [rdx], rcx
movzx esi, byte [rbp + 3]
jmp 0x1400098fe
cmp rax, qword [rbx + 0x10]
jne 0x1400098ee
mov rcx, rbx
call fcn.14000a230
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400098fe
mov rax, qword [rbp + 0x40]
mov qword [rcx], rax
add qword [rbx + 8], 8
mov r8, qword [0x1400664d0]
mov eax, 0xbb8
cdq
idiv dword [reloc.WS2_32.dll_connect]
movsxd r10, eax
mov rax, qword [rdi + r8 + 0x4d0]
sub rax, qword [rdi + r8 + 0x4c8]
sar rax, 3
cmp rax, r10
jbe 0x14000999a
nop word [rax + rax]
mov rax, qword [rdi + r8 + 0x4c8]
mov r9, qword [rdi + r8 + 0x4d0]
lea rdx, [rax + 8]
cmp rdx, r9
je 0x140009971
sub rax, rdx
nop dword [rax]
mov rcx, qword [rdx]
add rdx, 8
mov qword [rax + rdx - 8], rcx
cmp rdx, r9
jne 0x140009960
add qword [rdi + r8 + 0x4d0], 0xfffffffffffffff8
mov r8, qword [0x1400664d0]
mov rax, qword [rdi + r8 + 0x4d0]
sub rax, qword [rdi + r8 + 0x4c8]
sar rax, 3
cmp rax, r10
ja 0x140009940
lea rcx, [r8 + 0x4e0]
add rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rcx, qword [0x1400664d0]
neg sil
mov qword [rdi + rcx + 0x478], rax
mov rcx, qword [0x1400664d0]
mov rax, qword [rdi + rcx + 0x478]
mov qword [rdi + rcx + 0x480], rax
sbb eax, eax
jmp 0x140009436