Function at 0x1401833f0
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 - 0x80]
sub rsp, 0x180
mov rax, qword [0x1405c5108]
xor rax, rsp
mov qword [rbp + 0x70], rax
movzx ebx, r9b
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x60], rcx
xor r15d, r15d
movzx eax, byte [0x14085c338]
mov byte [rsp + 0x40], al
lea rcx, [rbp - 0x50]
call fcn.140183ec0
nop
lea r12, [r15 - 1]
cmp qword [rbp - 0x50], r15
je 0x1401835e8
test bl, bl
je 0x140183649
mov rdx, qword [rdi + 8]
sub rdx, qword [rdi]
sar rdx, 3
movabs rcx, 0xaaaaaaaaaaaaaaab
imul rdx, rcx
mov rax, qword [0x14085ff88]
sub rax, qword [0x14085ff78]
sar rax, 3
imul rax, rcx
cmp rdx, rax
jbe 0x1401834a3
movabs rax, 0xaaaaaaaaaaaaaaa
cmp rdx, rax
ja 0x140183988
call fcn.140183db0
mov rbx, qword [rdi]
mov rsi, qword [rdi + 8]
cmp rbx, rsi
je 0x140183649
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 0x1401835b0
mov dword [rbp - 0x40], edi
mov r8, qword [rbp - 0x60]
mov qword [rbp - 0x38], r8
mov qword [rbp - 0x30], r12
test edi, edi
je 0x1401835cb
cmp dword [0x14085c0c0], 0
jbe 0x140183565
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.1400260f0
mov rdx, qword [0x14085ff80]
cmp rdx, qword [0x14085ff88]
je 0x140183597
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rdx], xmm0
movsd xmm1, qword [rbp - 0x30]
movsd qword [rdx + 0x10], xmm1
add qword [0x14085ff80], 0x18
add rbx, 0x18
jmp 0x1401834aa
lea r8, [rbp - 0x40]
lea rcx, [0x14085ff78]
call fcn.14017b560
add rbx, 0x18
jmp 0x1401834aa
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.1400260f0
mov rcx, qword [0x14085ff80]
cmp qword [0x14085ff78], rcx
cmovne rcx, qword [0x14085ff78]
mov qword [0x14085ff80], rcx
xor dil, dil
mov rbx, qword [rbp - 0x48]
test rbx, rbx
je 0x14018361e
mov eax, r12d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14018361e
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
lock xadd dword [rbx + 0xc], r12d
cmp r12d, 1
jne 0x14018361e
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + reloc.WS2_32.dll_htonl]
movzx eax, dil
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1403de160
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
mov ecx, 0x20
call fcn.1403de180
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 0x1401837cd
mov rcx, qword [0x1408614f8]
test rcx, rcx
jne 0x1401836b5
mov ecx, 0x110
call fcn.1403de180
mov qword [rbp - 0x58], rax
mov rcx, rax
call fcn.140080e30
mov rcx, rax
mov qword [0x1408614f8], 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 0x1401837ca
mov ebx, dword [rdi]
test ebx, ebx
js 0x1401837af
mov r8d, ebx
mov rdx, qword [r15 + 8]
mov rcx, qword [r15]
call fcn.1403dc300
cmp rax, qword [r15 + 8]
je 0x1401837af
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 0x140183734
nop
mov qword [rbp - 0x80], rax
cmp dword [rax + 0x1c], ebx
jge 0x140183722
mov dword [rbp - 0x78], edx
mov rax, qword [rax + 0x10]
jmp 0x14018372f
mov dword [rbp - 0x78], 1
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], dl
je 0x140183710
cmp byte [rcx + 0x19], dl
jne 0x14018373e
cmp ebx, dword [rcx + 0x1c]
jge 0x1401837a0
movabs rax, 0x7ffffffffffffff
cmp qword [rsp + 0x58], rax
je 0x14018398e
lea rax, [rsp + 0x50]
mov qword [rbp], rax
mov qword [rbp + 8], rdx
mov ecx, 0x20
call fcn.1403de180
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 + 8], 0
movups xmm0, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x10], xmm0
mov r8, rax
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x50]
call fcn.140014330
add rdi, 0x10
cmp rdi, r14
jne 0x1401836d1
jmp 0x1401837ca
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.1400260f0
xor r15d, r15d
lea rax, [rbp - 0x50]
mov qword [rbp - 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [rbp - 0x20], rax
movzx eax, byte [rsp + 0x40]
mov byte [rbp - 0x18], al
lea rax, [rsp + 0x50]
mov qword [rbp - 0x10], rax
mov byte [rbp - 8], r13b
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_f03a332018168dd8942073de201a8953___bool__int_.0
mov qword [rbp + 0x30], rax
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rbp + 0x38], xmm0
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rbp + 0x48], xmm1
movsd xmm0, qword [rbp - 8]
movsd qword [rbp + 0x58], xmm0
lea rax, [rbp + 0x30]
mov qword [rbp + 0x68], rax
mov rcx, qword [0x1408614f8]
test rcx, rcx
jne 0x14018384c
mov ecx, 0x110
call fcn.1403de180
mov qword [rbp - 0x58], rax
mov rcx, rax
call fcn.140080e30
mov rcx, rax
mov qword [0x1408614f8], rax
mov rax, qword [rcx]
call qword [rax + 0x80]
mov byte [rsp + 0x40], 0
lea rcx, [rbp + 0x30]
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x40]
mov qword [rbp - 0x70], rax
mov ecx, 0x18
call fcn.1403de180
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, [0x140183350]
xor edx, edx
xor ecx, ecx
call fcn.1403ec4ac
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140183978
cmp dword [rsp + 0x68], 0
je 0x140183994
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rsp + 0x68], eax
je 0x14018399f
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp + 0x20], xmm0
xor edx, edx
lea rcx, [rbp + 0x20]
call fcn.1403dd25c
test eax, eax
jne 0x14018396d
xorps xmm0, xmm0
movaps xmmword [rbp - 0x80], xmm0
movdqa xmmword [rsp + 0x60], xmm0
movzx edi, byte [rsp + 0x40]
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x140183920
mov rax, qword [rcx]
lea rdx, [rbp + 0x30]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x68], r15
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rcx + 8]
cmp byte [rbx + 0x19], 0
jne 0x14018395e
nop
mov r8, qword [rbx + 0x10]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.14008d520
mov rcx, rbx
mov rbx, qword [rbx]
mov edx, 0x20
call fcn.1403de1bc
cmp byte [rbx + 0x19], 0
je 0x140183930
mov rcx, qword [rsp + 0x50]
mov edx, 0x20
call fcn.1403de1bc
jmp 0x1401835eb
mov ecx, 2
call fcn.1403dcadc
nop
mov dword [rsp + 0x68], r15d
mov ecx, 6
call fcn.1403dcadc
nop
call fcn.1400041d0
nop
call fcn.140013ac0
nop
mov ecx, 1
call fcn.1403dcadc
int3
mov ecx, 5
call fcn.1403dcadc
int3