Function at 0x14019dd20
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x140519680]
xor rax, rsp
mov qword [rbp + 0x80], rax
movzx ebx, r9b
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x60], rcx
xor r15d, r15d
movzx eax, byte [0x1407b1e87]
mov byte [rsp + 0x40], al
lea rcx, [rbp - 0x50]
call fcn.14019e8a0
nop
lea r12, [r15 - 1]
cmp qword [rbp - 0x50], r15
je 0x14019e00b
test bl, bl
je 0x14019deeb
mov rcx, qword [rdi + 8]
sub rcx, qword [rdi]
sar rcx, 3
movabs rdx, 0xaaaaaaaaaaaaaaab
imul rcx, rdx
mov qword [rbp - 0x40], rcx
mov rax, qword [0x1407b7770]
sub rax, qword [0x1407b7760]
sar rax, 3
imul rax, rdx
cmp rcx, rax
jbe 0x14019dde1
movabs rax, 0xaaaaaaaaaaaaaaa
cmp rcx, rax
ja 0x14019e2e8
lea rdx, [rbp - 0x40]
call fcn.14019e790
mov rbx, qword [rdi]
mov rsi, qword [rdi + 8]
cmp rbx, rsi
je 0x14019deeb
mov edi, dword [rbx]
mov qword [rbp - 0x60], r15
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x70], r15d
mov rax, qword [rbp - 0x50]
mov rcx, qword [rax]
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rsp + 0x48]
mov edx, 0x9c402084
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.DLL_DeviceIoControl]
test eax, eax
je 0x14019dfd9
mov dword [rbp - 0x38], edi
mov r8, qword [rbp - 0x60]
mov qword [rbp - 0x30], r8
mov qword [rbp - 0x28], r12
test edi, edi
je 0x14019dff4
cmp dword [0x1407b1e00], 0
jbe 0x14019dea3
mov rcx, qword [rbx + 8]
mov rdx, qword [rbx + 0x10]
not rdx
and rdx, r8
and rcx, qword [rbx + 0x10]
or rdx, rcx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r8
mov r9d, dword [rbx]
lea r8, str.e_43_1me_1_37m_msr_____e_0m
lea rdx, str._s_e_1_36m0x_08xe_0me_0_36m:0x_016llxe_0me_1_36m____0x_016llxe_0m
mov ecx, 6
call fcn.140026bc0
mov rdx, qword [0x1407b7768]
cmp rdx, qword [0x1407b7770]
je 0x14019dece
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rdx], xmm0
movsd xmm1, qword [rbp - 0x28]
movsd qword [rdx + 0x10], xmm1
add qword [0x1407b7768], 0x18
jmp 0x14019dede
lea r8, [rbp - 0x38]
lea rcx, [0x1407b7760]
call fcn.140186ed0
add rbx, 0x18
cmp rbx, rsi
jne 0x14019ddf1
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
mov ecx, 0x20
call fcn.140367860
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsp + 0x50], rax
mov rax, qword [r14 + 8]
cmp qword [r14], rax
sete r13b
cmp byte [rsp + 0x40], 0
je 0x14019e11e
mov rcx, qword [0x1407b6c58]
test rcx, rcx
jne 0x14019df57
mov ecx, 0x110
call fcn.140367860
mov qword [rbp - 0x58], rax
mov rcx, rax
call fcn.1400838d0
mov rcx, rax
mov qword [0x1407b6c58], rax
mov rax, qword [rcx]
call qword [rax + 0x80]
mov r15, rax
mov rdi, qword [r14]
mov r14, qword [r14 + 8]
cmp rdi, r14
je 0x14019e11b
mov ebx, dword [rdi]
test ebx, ebx
js 0x14019e100
mov r8d, ebx
mov rdx, qword [r15 + 8]
mov rcx, qword [r15]
call fcn.140366190
cmp rax, qword [r15 + 8]
je 0x14019e100
mov rsi, qword [rsp + 0x50]
mov rax, qword [rsi + 8]
mov qword [rbp - 0x80], rax
xor edx, edx
mov dword [rbp - 0x78], edx
mov rcx, rsi
cmp byte [rax + 0x19], dl
jne 0x14019e085
nop dword [rax]
nop dword [rax + rax]
mov qword [rbp - 0x80], rax
cmp dword [rax + 0x1c], ebx
jge 0x14019e06f
mov dword [rbp - 0x78], edx
mov rax, qword [rax + 0x10]
jmp 0x14019e07c
mov r9d, edi
lea r8, str.e_43_1me_1_37m_msr_____e_0m
lea rdx, str._s_e_1_33mcannot_read_MSR_0x_08xe_0m
mov ecx, 4
call fcn.140026bc0
mov rax, qword [0x1407b7760]
cmp rax, qword [0x1407b7768]
je 0x14019e00b
mov qword [0x1407b7768], rax
xor dil, dil
mov rbx, qword [rbp - 0x48]
test rbx, rbx
je 0x14019e041
mov eax, r12d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14019e041
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
lock xadd dword [rbx + 0xc], r12d
cmp r12d, 1
jne 0x14019e041
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + reloc.WS2_32.dll_htonl]
movzx eax, dil
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140367840
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov dword [rbp - 0x78], 1
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], dl
je 0x14019dfc0
cmp byte [rcx + 0x19], dl
jne 0x14019e08f
cmp ebx, dword [rcx + 0x1c]
jge 0x14019e0f1
movabs rax, 0x7ffffffffffffff
cmp qword [rsp + 0x58], rax
je 0x14019e2ee
lea rax, [rsp + 0x50]
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rdx
mov ecx, 0x20
call fcn.140367860
nop
mov dword [rax + 0x1c], ebx
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
mov word [rax + 0x18], 0
mov qword [rbp + 0x10], 0
movups xmm0, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x20], xmm0
mov r8, rax
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.140014550
add rdi, 0x10
cmp rdi, r14
jne 0x14019df73
jmp 0x14019e11b
mov r13b, 1
lea r8, str.e_43_1me_1_37m_msr_____e_0m
lea rdx, str._s_e_1_33mcache_QoS_can_only_be_enabled_when_all_mining_threads_have_affinity_sete_0m
mov ecx, 4
call fcn.140026bc0
xor r15d, r15d
lea rax, [rbp - 0x50]
mov qword [rbp - 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rbp - 0x18], rax
movzx eax, byte [rsp + 0x40]
mov byte [rbp - 0x10], al
lea rax, [rsp + 0x50]
mov qword [rbp - 8], rax
mov byte [rbp], r13b
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_f03a332018168dd8942073de201a8953___bool__int_.0
mov qword [rbp + 0x40], rax
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rbp + 0x48], xmm0
movups xmm1, xmmword [rbp - 0x10]
movups xmmword [rbp + 0x58], xmm1
movsd xmm0, qword [rbp]
movsd qword [rbp + 0x68], xmm0
lea rax, [rbp + 0x40]
mov qword [rbp + 0x78], rax
mov rcx, qword [0x1407b6c58]
test rcx, rcx
jne 0x14019e19d
mov ecx, 0x110
call fcn.140367860
mov qword [rbp - 0x58], rax
mov rcx, rax
call fcn.1400838d0
mov rcx, rax
mov qword [0x1407b6c58], rax
mov rax, qword [rcx]
call qword [rax + 0x80]
mov byte [rsp + 0x40], 0
lea rcx, [rbp + 0x40]
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x40]
mov qword [rbp - 0x70], rax
mov ecx, 0x18
call fcn.140367860
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rax], xmm0
movsd xmm1, qword [rbp - 0x70]
movsd qword [rax + 0x10], xmm1
mov qword [rbp - 0x58], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x14019dc70]
xor edx, edx
xor ecx, ecx
call fcn.140378508
mov qword [rsp + 0x60], rax
test rax, rax
je 0x14019e2d8
cmp dword [rsp + 0x68], 0
je 0x14019e2f4
call sub.KERNEL32.DLL_GetCurrentThreadId
cmp dword [rsp + 0x68], eax
je 0x14019e2ff
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp + 0x30], xmm0
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.140366e80
test eax, eax
jne 0x14019e2cd
xorps xmm0, xmm0
movaps xmmword [rbp - 0x80], xmm0
movdqa xmmword [rsp + 0x60], xmm0
movzx edi, byte [rsp + 0x40]
mov rcx, qword [rbp + 0x78]
test rcx, rcx
je 0x14019e275
mov rax, qword [rcx]
lea rdx, [rbp + 0x40]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x78], r15
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rcx + 8]
cmp byte [rbx + 0x19], 0
jne 0x14019e2be
nop dword [rax]
nop dword [rax + rax]
mov r8, qword [rbx + 0x10]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.140090260
mov rcx, rbx
mov rbx, qword [rbx]
mov edx, 0x20
call fcn.14036789c
cmp byte [rbx + 0x19], 0
je 0x14019e290
mov rcx, qword [rsp + 0x50]
mov edx, 0x20
call fcn.14036789c
jmp 0x14019e00e
mov ecx, 2
call fcn.14036699c
nop
mov dword [rsp + 0x68], r15d
mov ecx, 6
call fcn.14036699c
nop
call fcn.1400042f0
nop
call fcn.140013c80
nop
mov ecx, 1
call fcn.14036699c
int3
mov ecx, 5
call fcn.14036699c
int3