Function at 0x14002d1e0
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 [0x1402ba410]
xor rax, rsp
mov qword [rbp + 0x548], rax
mov r14, rcx
mov ecx, 0x250
call fcn.1401ec268
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 0x14002d2c6
mov rbx, rdi
sub rbx, rsi
sar rbx, 4
mov rdx, rbx
call fcn.1400334f0
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 0x14002d2a3
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 0x14002d290
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.1400316d0
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.14005b6c0
nop
cmp dword [r14 + 0x8c], 1
je 0x14002d76b
mov rdi, qword [r14 + 0xb0]
mov r15, qword [r14 + 0xb8]
cmp rdi, r15
je 0x14002d76b
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14002d378
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.140091b70
nop
lea rdx, str.Configured_pool
lea rcx, [rbp + 0x88]
call fcn.1400345b0
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 0x14002d3c0
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 0x14002d42f
lea r8, [rbp + 0x545]
sub r8, r9
mov rdx, r9
lea rcx, [rbp + 0x380]
call fcn.1400331b0
nop
lea rdx, [rsi + 0xc0]
lea rcx, [rbp + 0x360]
call fcn.1400316d0
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 0x14002d493
lea rax, [rdx + 1]
mov qword [rbp + 0x370], rax
cmp r8, 0x10
cmovae rcx, qword [rbp + 0x360]
movzx eax, byte [0x140276030]
mov byte [rcx + rdx], al
mov byte [rcx + rdx + 1], 0
lea rax, [rbp + 0x360]
jmp 0x14002d4af
mov qword [rsp + 0x20], 1
lea r9, [0x140276030]
xor r8d, r8d
lea edx, [r8 + 1]
call fcn.14003c1f0
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.140040950
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.140041af0
nop
mov rdx, qword [rbp + 0x3b8]
cmp rdx, 0x10
jb 0x14002d55a
inc rdx
mov rcx, qword [rbp + 0x3a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d555
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002d748
call fcn.1401ec5cc
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 0x14002d5b4
inc rdx
mov rcx, qword [rbp + 0x3c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d5af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002d74f
call fcn.1401ec5cc
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 0x14002d60e
inc rdx
mov rcx, qword [rbp + 0x360]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d609
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002d756
call fcn.1401ec5cc
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 0x14002d668
inc rdx
mov rcx, qword [rbp + 0x380]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d663
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002d75d
call fcn.1401ec5cc
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.140032c20
lea rcx, [rbp + 0x3e0]
call fcn.140092020
mov rdx, qword [rbp + 0x3f8]
cmp rdx, 0x10
jb 0x14002d6e1
inc rdx
mov rcx, qword [rbp + 0x3e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d6dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002d764
call fcn.1401ec5cc
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.140003ff0
nop
test rbx, rbx
je 0x14002d73f
mov eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14002d73f
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 0x14002d73f
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
add rdi, 0x10
jmp 0x14002d35e
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.1400316d0
mov rdi, rax
mov ebx, dword [r14 + 0x218]
lea rdx, [r14 + 0x1f8]
lea rcx, [rbp + 0x58]
call fcn.1400316d0
nop
mov r9, rdi
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp + 0x420]
call fcn.14009e3f0
nop
cmp dword [r14 + 0x218], 0
je 0x14002d7ca
lea rcx, [rbp + 0x420]
call fcn.14009e530
mov rcx, qword [0x1402c58a0]
mov byte [rcx + 0x60], 1
mov byte [rcx + 0x62], 1
mov eax, 1
lock xadd dword [rcx + 0x88], eax
lea rax, [0x14005dbb0]
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 [0x1402c6040]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
lea rdx, [rbp - 0x10]
mov ecx, 0x58
call fcn.140021f90
mov qword [rax + 0x20], r12
lea rcx, [0x140058870]
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 [0x1402c5cd8]
lock inc dword [rcx + 0x30]
mov rdx, rax
call fcn.140022d60
mov eax, dword [r14 + 0x180]
imul rcx, rax, 0xf4240
mov qword [rsp + 0x48], rcx
lea rdx, [rsp + 0x48]
lea rcx, [r14 + 0x18]
call fcn.14002e770
lea rax, [0x140027210]
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.14004ae50
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 0x14002d8ea
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov byte [rsp + 0x78], 1
cmp byte [0x1402c5891], 0
je 0x14002d919
nop dword [rax + rax]
mov rdx, r14
lea rcx, [0x1402c5da0]
call qword [sym.imp.MSVCP140.dll__Cnd_wait]
cmp byte [0x1402c5891], 0
jne 0x14002d900
movzx eax, byte [rbp + 0x460]
test al, al
je 0x14002d9b8
movzx eax, byte [rbp + 0x460]
test al, al
je 0x14002d9b8
mov dword [rsp + 0x50], r12d
mov byte [rsp + 0x54], 0
lea rax, [0x140275440]
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.140068410
cmp dword [rsp + 0x50], 0
jne 0x14002dc2f
lea rcx, [rbp + 0x490]
call fcn.140077710
lea rcx, [rbp + 0x428]
call fcn.140020a90
mov byte [rbp + 0x460], 0
mov rdx, qword [rbp + 0x520]
mov rcx, qword [rbp + 0x518]
call fcn.14003c380
mov rax, qword [rbp + 0x518]
mov qword [rbp + 0x520], rax
mov rax, qword [0x1402c58a0]
movzx ecx, byte [rax + 0x60]
nop
test cl, cl
je 0x14002db20
mov rbx, qword [0x1402c58a0]
movzx eax, byte [rbx + 0x60]
test al, al
je 0x14002db20
mov byte [rbx + 0x62], 1
mov byte [rbx + 0x61], 1
mov rcx, qword [rbx + 0x240]
test rcx, rcx
je 0x14002dab6
mov rax, qword [rcx]
call qword [rax + 0x28]
test al, al
je 0x14002dab6
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 0x14002da97
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 0x14002da4c
imul rax, rax, 0x64
jmp 0x14002da6a
cqo
idiv rdi
mov rcx, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
imul rcx, rcx, 0x3b9aca00
add rax, rcx
cmp rax, r14
jge 0x14002da86
add rax, 0x1dcd6500
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.14005ecd0
jmp 0x14002da26
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x30]
call fcn.14005ecd0
jmp 0x14002da26
mov rcx, qword [rbx + 0x240]
mov qword [rbx + 0x240], r12
test rcx, rcx
je 0x14002db20
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
jmp 0x14002db20
lea rcx, [rbx + 0x1a0]
call fcn.14002e880
lea rcx, [rbx + 0x1f0]
call fcn.14002e880
mov rax, qword [0x1402c5898]
movzx eax, byte [rax + 0x190]
test al, al
je 0x14002db20
lea rdx, str.e_94m_i
lea rcx, [rbp + 0x268]
call fcn.140091b70
nop
lea rdx, str.Shutting_down_miners...
lea rcx, [rbp + 0x278]
call fcn.1400345b0
nop
lea rcx, [rbp + 0x268]
call fcn.14002e480
mov rcx, qword [0x1402c5898]
call fcn.140055180
lea rdx, str.e_94m_i
lea rcx, [rbp + 0x170]
call fcn.140091b70
nop
lea rdx, str.Terminated_
lea rcx, [rbp + 0x180]
call fcn.1400345b0
nop
lea rdx, [rbp + 0x400]
lea rcx, [rbp + 0x188]
call fcn.140032c20
lea rcx, [rbp + 0x400]
call fcn.140092020
mov rdx, qword [rbp + 0x418]
cmp rdx, 0x10
jb 0x14002dbab
inc rdx
mov rcx, qword [rbp + 0x400]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002dba6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002dba6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401ec5cc
lea rcx, [rbp + 0x170]
call fcn.140003ff0
nop
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
nop
lea rcx, [rbp + 0x518]
call fcn.14002e510
lea rcx, [rbp + 0x490]
call fcn.140031cb0
lea rcx, [rbp + 0x468]
call fcn.140032e40
lea rcx, [rbp + 0x440]
call fcn.140032e40
cmp dword [rbp + 0x430], 0
je 0x14002dc04
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.1401ebfb0
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.140021e50
int3