Function at 0x140069910
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 rdi, qword [rdx]
mov rbp, qword [rdx + 8]
xor r12d, r12d
cmp rdi, rbp
je 0x1400699cd
nop dword [rax]
mov ecx, 0x60
call fcn.140283d20
mov qword [rsp + 0x70], rax
mov rdx, qword [rbx + 8]
sub rdx, qword [rbx]
sar rdx, 3
mov rcx, qword [rbx + 0x18]
mov r8, qword [rcx]
mov qword [rax], rdx
movups xmm0, xmmword [rdi]
movups xmmword [rax + 8], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rax + 0x18], xmm1
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rax + 0x28], xmm0
movsd xmm1, qword [rdi + 0x30]
movsd qword [rax + 0x38], xmm1
mov qword [rax + 0x40], r8
mov qword [rax + 0x48], r12
xorps xmm0, xmm0
movups xmmword [rax + 0x50], xmm0
mov qword [rsp + 0x70], rax
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x1400699ad
mov qword [rdx], rax
add qword [rbx + 8], 8
jmp 0x1400699ba
lea r8, [rsp + 0x70]
mov rcx, rbx
call fcn.140025ec0
mov rsi, qword [rbx + 8]
add rdi, 0x38
cmp rdi, rbp
jne 0x140069940
jmp 0x1400699d1
mov rsi, qword [rcx + 8]
sub rsi, qword [rbx]
sar rsi, 3
mov ecx, 0x30
call fcn.140283d20
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 r14, [r15 + 0x10]
lea rcx, [rsi + 1]
mov qword [r14], rcx
mov eax, 8
mul rcx
mov rbp, 0xffffffffffffffff
cmovo rax, rbp
mov rcx, rax
call fcn.140284278
mov qword [r14 + 0x10], rax
mov eax, 8
mul qword [r14]
cmovo rax, rbp
mov rcx, rax
call fcn.140284278
mov qword [r14 + 0x18], rax
mov eax, 4
mul qword [r14]
cmovo rax, rbp
mov rcx, rax
call fcn.140284278
mov qword [r14 + 8], rax
mov rsi, r12
cmp qword [r14], r12
jbe 0x140069aca
nop word [rax + rax]
mov ecx, 0x8000
call fcn.140284278
mov rdi, rax
xor edx, edx
mov r8d, 0x8000
mov rcx, rax
call fcn.140286a40
mov rcx, qword [r14 + 0x10]
mov qword [rcx + rsi*8], rdi
mov ecx, 0x8000
call fcn.140284278
mov rdi, rax
xor edx, edx
mov r8d, 0x8000
mov rcx, rax
call fcn.140286a40
mov rcx, qword [r14 + 0x18]
mov qword [rcx + rsi*8], rdi
mov rax, qword [r14 + 8]
mov dword [rax + rsi*4], r12d
inc rsi
cmp rsi, qword [r14]
jb 0x140069a70
mov rax, qword [rbx + 0x18]
mov qword [rax + 0x18], r14
mov rdi, qword [rax + 0x20]
mov qword [rax + 0x20], r15
test rdi, rdi
je 0x140069b06
mov eax, ebp
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140069b06
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebp
cmp ebp, 1
jne 0x140069b06
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
lock inc qword [0x140397300]
mov rdi, qword [rbx]
mov rsi, qword [rbx + 8]
cmp rdi, rsi
je 0x140069b87
lea rbp, [0x140069db0]
mov rbx, qword [rdi]
mov ecx, reloc.WS2_32.dll_recv
call fcn.140283d20
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, [0x14006a000]
xor edx, edx
xor ecx, ecx
call fcn.140291c8c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140069ba6
cmp dword [rbx + 0x58], 0
jne 0x140069ba0
xorps xmm0, xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movups xmmword [rbx + 0x50], xmm1
add rdi, 8
cmp rdi, rsi
jne 0x140069b21
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.14028ed68
nop
mov dword [rsp + 0x38], r12d
mov ecx, 6
call fcn.140282540
int3