Function at 0x14006f3c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rbx, rcx
mov rbp, qword [rdx]
mov r14, qword [rdx + 8]
xor r12d, r12d
cmp rbp, r14
je 0x14006f467
nop dword [rax + rax]
mov ecx, 0x78
call fcn.1403171f0
mov rsi, rax
mov qword [rsp + 0x78], rax
mov rdx, qword [rbx + 8]
sub rdx, qword [rbx]
sar rdx, 3
mov rcx, qword [rbx + 0x18]
mov rdi, qword [rcx]
mov qword [rax], rdx
lea rcx, [rax + 8]
mov rdx, rbp
call fcn.14006fa30
mov qword [rsi + 0x58], rdi
mov qword [rsi + 0x60], r12
xorps xmm0, xmm0
movups xmmword [rsi + 0x68], xmm0
mov qword [rsp + 0x70], rsi
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x14006f44b
mov qword [rdx], rsi
add qword [rbx + 8], 8
jmp 0x14006f458
lea r8, [rsp + 0x70]
mov rcx, rbx
call fcn.140026260
mov rdi, qword [rbx + 8]
add rbp, 0x50
cmp rbp, r14
jne 0x14006f3f0
jmp 0x14006f46b
mov rdi, qword [rcx + 8]
sub rdi, qword [rbx]
sar rdi, 3
mov ecx, 0x40
call fcn.1403171f0
mov r15, rax
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_xmrig::Hashrate_.0
mov qword [r15], rax
lea rsi, [r15 + 0x10]
lea rcx, [rdi + 1]
mov qword [rsi], rcx
mov eax, 8
mul rcx
mov r14, 0xffffffffffffffff
cmovo rax, r14
mov rcx, rax
call fcn.140317748
mov qword [rsi + 0x10], rax
mov eax, 8
mul qword [rsi]
cmovo rax, r14
mov rcx, rax
call fcn.140317748
mov qword [rsi + 0x18], rax
mov eax, 4
mul qword [rsi]
cmovo rax, r14
mov rcx, rax
call fcn.140317748
mov qword [rsi + 8], rax
mov rbp, r12
cmp qword [rsi], r12
jbe 0x14006f55e
mov ecx, 0x8000
call fcn.140317748
mov rdi, rax
xor edx, edx
mov r8d, 0x8000
mov rcx, rax
call fcn.140319f10
mov rcx, qword [rsi + 0x10]
mov qword [rcx + rbp*8], rdi
mov ecx, 0x8000
call fcn.140317748
mov rdi, rax
xor edx, edx
mov r8d, 0x8000
mov rcx, rax
call fcn.140319f10
mov rcx, qword [rsi + 0x18]
mov qword [rcx + rbp*8], rdi
mov rax, qword [rsi + 8]
mov dword [rax + rbp*4], r12d
inc rbp
cmp rbp, qword [rsi]
jb 0x14006f504
mov qword [rsi + 0x20], r14
mov qword [rsi + 0x28], r12
mov rax, qword [rbx + 0x18]
mov qword [rax + 0x18], rsi
mov rdi, qword [rax + 0x20]
mov qword [rax + 0x20], r15
test rdi, rdi
je 0x14006f5a5
mov eax, r14d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14006f5a5
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], r14d
cmp r14d, 1
jne 0x14006f5a5
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
lock inc qword [0x14046d340]
mov rdi, qword [rbx]
mov rsi, qword [rbx + 8]
cmp rdi, rsi
je 0x14006f626
lea rbp, [0x14006f860]
mov rbx, qword [rdi]
mov ecx, reloc.WS2_32.dll_recv
call fcn.1403171f0
mov qword [rax], rbx
mov qword [rax + 8], rbp
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x14006fb60]
xor edx, edx
xor ecx, ecx
call fcn.14032515c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14006f645
cmp dword [rbx + 0x70], 0
jne 0x14006f63f
xorps xmm0, xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movups xmmword [rbx + 0x68], xmm1
add rdi, 8
cmp rdi, rsi
jne 0x14006f5c0
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.140322518
nop
mov dword [rsp + 0x38], r12d
mov ecx, 6
call fcn.140315a14
int3