Function at 0x14002e610
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x550]
sub rsp, 0x650
mov rax, qword [0x140304470]
xor rax, rsp
mov qword [rbp + 0x548], rax
mov r14, rcx
mov ecx, 0x250
call fcn.140219078
mov r15, rax
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
xor r12d, r12d
mov qword [rbp - 0x70], r12
mov rsi, qword [r14 + 0xb0]
mov rdi, qword [r14 + 0xb8]
cmp rsi, rdi
je 0x14002e6f6
mov rbx, rdi
sub rbx, rsi
sar rbx, 4
mov rdx, rbx
call fcn.140034b80
mov rdx, rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
shl rbx, 4
add rbx, rax
mov qword [rbp - 0x70], rbx
lea rcx, [rsi + 8]
mov r8, rax
sub r8, rsi
nop dword [rax]
nop dword [rax + rax]
mov qword [rdx], r12
mov qword [rcx + r8], r12
mov rax, qword [rcx]
test rax, rax
je 0x14002e6d3
lock inc dword [rax + 8]
mov rax, qword [rcx - 8]
mov qword [rdx], rax
mov rax, qword [rcx]
mov qword [rcx + r8], rax
add rdx, 0x10
add rcx, 0x10
lea rax, [rcx - 8]
cmp rax, rdi
jne 0x14002e6c0
mov qword [rbp - 0x78], rdx
mov eax, dword [r14 + 0xc8]
mov dword [rbp - 0x68], eax
mov eax, dword [r14 + 0xcc]
mov dword [rbp - 0x64], eax
mov eax, dword [r14 + 0xd0]
mov dword [rbp - 0x60], eax
mov eax, dword [r14 + 0xd4]
mov dword [rbp - 0x5c], eax
movzx eax, byte [r14 + 0xd8]
mov byte [rbp - 0x58], al
mov eax, dword [r14 + 0xdc]
mov dword [rbp - 0x54], eax
lea rdx, [r14 + 0xe0]
lea rcx, [rbp - 0x50]
call fcn.140032db0
mov eax, dword [r14 + 0x100]
mov dword [rbp - 0x30], eax
mov eax, dword [r14 + 0x104]
mov dword [rbp - 0x2c], eax
movss xmm0, dword [r14 + 0x108]
movss dword [rbp - 0x28], xmm0
lea rdx, [rbp - 0x80]
mov rcx, r15
call fcn.14005ea30
nop
cmp dword [r14 + 0x8c], 1
je 0x14002eb9b
mov rdi, qword [r14 + 0xb0]
mov r15, qword [r14 + 0xb8]
cmp rdi, r15
je 0x14002eb9b
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14002e7a8
lock inc dword [rbx + 8]
mov rbx, qword [rdi + 8]
mov rsi, qword [rdi]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rbx
lea rdx, str.e_94m_i
lea rcx, [rbp + 0x78]
call fcn.140094f70
nop
lea rdx, str.Configured_pool
lea rcx, [rbp + 0x88]
call fcn.140035d70
movzx r8d, word [rsi + 0x1c2]
lea r9, [rbp + 0x545]
nop dword [rax + rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x14002e7f0
mov qword [rbp + 0x380], r12
mov qword [rbp + 0x390], r12
mov qword [rbp + 0x398], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x380], dl
lea rax, [rbp + 0x545]
cmp r9, rax
je 0x14002e85f
lea r8, [rbp + 0x545]
sub r8, r9
mov rdx, r9
lea rcx, [rbp + 0x380]
call fcn.1400347b0
nop
lea rdx, [rsi + 0xc0]
lea rcx, [rbp + 0x360]
call fcn.140032db0
nop
mov rdx, qword [rbp + 0x370]
mov r8, qword [rbp + 0x378]
mov rax, r8
sub rax, rdx
lea rcx, [rbp + 0x360]
cmp rax, 1
jb 0x14002e8c3
lea rax, [rdx + 1]
mov qword [rbp + 0x370], rax
cmp r8, 0x10
cmovae rcx, qword [rbp + 0x360]
movzx eax, byte [0x1402b3868]
mov byte [rcx + rdx], al
mov byte [rcx + rdx + 1], 0
lea rax, [rbp + 0x360]
jmp 0x14002e8df
mov qword [rsp + 0x20], 1
lea r9, [0x1402b3868]
xor r8d, r8d
lea edx, [r8 + 1]
call fcn.14003dd40
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x3c0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x3d0], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r9, [rbp + 0x380]
lea r8, [rbp + 0x3c0]
lea rcx, [rbp + 0x3a0]
call fcn.1400424a0
nop
lea rdx, [rbp + 0x3a0]
cmp qword [rbp + 0x3b8], 0x10
cmovae rdx, qword [rbp + 0x3a0]
mov r8, qword [rbp + 0x3b0]
lea rcx, [rbp + 0x88]
call fcn.140043600
nop
mov rdx, qword [rbp + 0x3b8]
cmp rdx, 0x10
jb 0x14002e98a
inc rdx
mov rcx, qword [rbp + 0x3a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e985
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002eb78
call fcn.1402193dc
mov qword [rbp + 0x3b0], r12
mov qword [rbp + 0x3b8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x3a0], 0
mov rdx, qword [rbp + 0x3d8]
cmp rdx, 0x10
jb 0x14002e9e4
inc rdx
mov rcx, qword [rbp + 0x3c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e9df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002eb7f
call fcn.1402193dc
mov qword [rbp + 0x3d0], r12
mov qword [rbp + 0x3d8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x3c0], 0
mov rdx, qword [rbp + 0x378]
cmp rdx, 0x10
jb 0x14002ea3e
inc rdx
mov rcx, qword [rbp + 0x360]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ea39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002eb86
call fcn.1402193dc
mov qword [rbp + 0x370], r12
mov qword [rbp + 0x378], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x360], 0
mov rdx, qword [rbp + 0x398]
cmp rdx, 0x10
jb 0x14002ea98
inc rdx
mov rcx, qword [rbp + 0x380]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ea93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002eb8d
call fcn.1402193dc
mov qword [rbp + 0x390], r12
mov qword [rbp + 0x398], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x380], 0
lea rdx, [rbp + 0x3e0]
lea rcx, [rbp + 0x90]
call fcn.140034220
lea rcx, [rbp + 0x3e0]
call fcn.140095420
mov rdx, qword [rbp + 0x3f8]
cmp rdx, 0x10
jb 0x14002eb11
inc rdx
mov rcx, qword [rbp + 0x3e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002eb0c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002eb94
call fcn.1402193dc
mov qword [rbp + 0x3f0], r12
mov qword [rbp + 0x3f8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x3e0], 0
lea rcx, [rbp + 0x78]
call fcn.1400041d0
nop
test rbx, rbx
je 0x14002eb6f
mov eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14002eb6f
mov rbx, qword [rsp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14002eb6f
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
add rdi, 0x10
jmp 0x14002e78e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rax, [rbp + 0x38]
mov qword [rbp], rax
lea rdx, [r14 + 0x220]
lea rcx, [rbp + 0x38]
call fcn.140032db0
mov rdi, rax
mov ebx, dword [r14 + 0x218]
lea rdx, [r14 + 0x1f8]
lea rcx, [rbp + 0x58]
call fcn.140032db0
nop
mov r9, rdi
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp + 0x420]
call fcn.1400a1af0
nop
cmp dword [r14 + 0x218], 0
je 0x14002ebfa
lea rcx, [rbp + 0x420]
call fcn.1400a1c30
mov rcx, qword [0x140311b48]
mov byte [rcx + 0x60], 1
mov byte [rcx + 0x62], 1
mov eax, 1
lock xadd dword [rcx + 0x88], eax
lea rax, [0x140060f00]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rcx
movups xmm0, xmmword [rcx + 0x190]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rbp - 0x10], xmm1
mov ecx, dword [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
lea rdx, [rbp - 0x10]
mov ecx, 0x58
call fcn.1400227f0
mov qword [rax + 0x20], r12
lea rcx, [0x14005b920]
mov qword [rax + 0x28], rcx
mov qword [rax], r12
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r12
mov dword [rax + 0x30], r12d
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rax + 0x38], xmm0
movups xmm1, xmmword [rbp - 0x10]
movups xmmword [rax + 0x48], xmm1
mov rcx, qword [0x140311f88]
lock inc dword [rcx + 0x30]
mov rdx, rax
call fcn.1400235c0
mov eax, dword [r14 + 0x180]
imul rcx, rax, 0xf4240
mov qword [rsp + 0x48], rcx
lea rdx, [rsp + 0x48]
lea rcx, [r14 + 0x18]
call fcn.14002fd30
lea rax, [0x140027b10]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], r14
movups xmm0, xmmword [r14 + 0x68]
movups xmmword [rbp + 8], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rbp + 0x18], xmm1
lea r9, [r14 + 0x58]
lea rdx, [r14 + 0x20]
lea r8, [rbp + 8]
mov rcx, qword [r14 + 0x18]
call fcn.14004d670
add r14, 0x188
mov qword [rsp + 0x70], r14
mov byte [rsp + 0x78], 0
mov rcx, r14
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14002ed1a
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov byte [rsp + 0x78], 1
cmp byte [0x140311b31], 0
je 0x14002ed49
nop dword [rax + rax]
mov rdx, r14
lea rcx, [0x140312050]
call qword [sym.imp.MSVCP140.dll__Cnd_wait]
cmp byte [0x140311b31], 0
jne 0x14002ed30
movzx eax, byte [rbp + 0x460]
test al, al
je 0x14002ede8
movzx eax, byte [rbp + 0x460]
test al, al
je 0x14002ede8
mov dword [rsp + 0x50], r12d
mov byte [rsp + 0x54], 0
lea rax, [0x1402b2c88]
mov qword [rsp + 0x58], rax
mov rcx, qword [rbp + 0x490]
add rcx, 0x28
lea r9, [rsp + 0x50]
lea r8, [rbp + 0x498]
lea rdx, [rbp + 0x28]
call fcn.14006b830
cmp dword [rsp + 0x50], 0
jne 0x14002f05f
lea rcx, [rbp + 0x490]
call fcn.14007ab50
lea rcx, [rbp + 0x428]
call fcn.1400212f0
mov byte [rbp + 0x460], 0
mov rdx, qword [rbp + 0x520]
mov rcx, qword [rbp + 0x518]
call fcn.14003ded0
mov rax, qword [rbp + 0x518]
mov qword [rbp + 0x520], rax
mov rax, qword [0x140311b48]
movzx ecx, byte [rax + 0x60]
nop
test cl, cl
je 0x14002ef50
mov rbx, qword [0x140311b48]
movzx eax, byte [rbx + 0x60]
test al, al
je 0x14002ef50
mov byte [rbx + 0x62], 1
mov byte [rbx + 0x61], 1
mov rcx, qword [rbx + 0x240]
test rcx, rcx
je 0x14002eee6
mov rax, qword [rcx]
call qword [rax + 0x28]
test al, al
je 0x14002eee6
mov rcx, qword [rbx + 0x240]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
movabs rsi, 0x7fffffffffffffff
movabs r14, 0x7fffffffe2329aff
movzx eax, byte [rbx + 0x60]
test al, al
je 0x14002eec7
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rdi, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rdi, 0x989680
jne 0x14002ee7c
imul rax, rax, 0x64
jmp 0x14002ee9a
cqo
idiv rdi
mov rcx, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
imul rcx, rcx, 0x3b9aca00
add rax, rcx
cmp rax, r14
jge 0x14002eeb6
add rax, 0x1dcd6500
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.140062020
jmp 0x14002ee56
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x30]
call fcn.140062020
jmp 0x14002ee56
mov rcx, qword [rbx + 0x240]
mov qword [rbx + 0x240], r12
test rcx, rcx
je 0x14002ef50
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
jmp 0x14002ef50
lea rcx, [rbx + 0x1a0]
call fcn.14002fe40
lea rcx, [rbx + 0x1f0]
call fcn.14002fe40
mov rax, qword [0x140311b38]
movzx eax, byte [rax + 0x190]
test al, al
je 0x14002ef50
lea rdx, str.e_94m_i
lea rcx, [rbp + 0x268]
call fcn.140094f70
nop
lea rdx, str.Shutting_down_miners...
lea rcx, [rbp + 0x278]
call fcn.140035d70
nop
lea rcx, [rbp + 0x268]
call fcn.14002fa40
mov rcx, qword [0x140311b38]
call fcn.140058200
lea rdx, str.e_94m_i
lea rcx, [rbp + 0x170]
call fcn.140094f70
nop
lea rdx, str.Terminated_
lea rcx, [rbp + 0x180]
call fcn.140035d70
nop
lea rdx, [rbp + 0x400]
lea rcx, [rbp + 0x188]
call fcn.140034220
lea rcx, [rbp + 0x400]
call fcn.140095420
mov rdx, qword [rbp + 0x418]
cmp rdx, 0x10
jb 0x14002efdb
inc rdx
mov rcx, qword [rbp + 0x400]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002efd6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002efd6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402193dc
lea rcx, [rbp + 0x170]
call fcn.1400041d0
nop
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
nop
lea rcx, [rbp + 0x518]
call fcn.14002fad0
lea rcx, [rbp + 0x490]
call fcn.140033390
lea rcx, [rbp + 0x468]
call fcn.140034440
lea rcx, [rbp + 0x440]
call fcn.140034440
cmp dword [rbp + 0x430], 0
je 0x14002f034
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov rcx, qword [rbp + 0x548]
xor rcx, rsp
call fcn.140218dc0
lea r11, [rsp + 0x650]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea rdx, str.cancel
lea rcx, [rsp + 0x50]
call fcn.1400226b0
int3