Function at 0x1400277f0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x1400bc040]
xor rax, rsp
mov qword [rbp + 0x98], rax
mov rbx, rcx
cmp byte [rcx + 0x100], 0
jne 0x140027c19
xor r14d, r14d
movzx edi, r14w
mov r8d, 1
mov r9, qword [rcx + 0x2c8]
mov rax, qword [rcx + 0x2d0]
sub rax, r9
sar rax, 2
cmp rax, r8
jbe 0x1400278b2
nop
movzx eax, di
lea rdx, [rax*4]
mov eax, dword [rdx + r9]
test eax, eax
je 0x1400278b2
mov rax, qword [rbx + 0x2c8]
mov edx, dword [rdx + rax]
mov rax, qword [rbx + 0x2c8]
mov ecx, dword [rax + r8*4]
movzx eax, r8w
inc r8
mov r9, qword [rbx + 0x2c8]
cmp ecx, edx
cmovae ax, di
movzx edi, ax
mov rax, qword [rbx + 0x2d0]
sub rax, r9
sar rax, 2
cmp r8, rax
jb 0x140027860
movzx esi, di
mov rax, qword [rbx]
mov r15, qword [rax + rsi*8]
mov rax, qword [rbx + 0x2c8]
lock inc dword [rax + rsi*4]
cmp dword [0x1400bc268], r14d
jg 0x140027988
lea rcx, [rbp - 0x68]
call fcn.140023230
mov ecx, r14d
mov dword [rbp + 0x80], ecx
mov edx, dword [0x1400bc268]
test edx, edx
jg 0x140027909
mov rdx, r15
lea rcx, [rbp - 0x68]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const____ptr64____ptr64]
mov ecx, dword [rbp + 0x80]
mov edx, dword [0x1400bc268]
cmp ecx, edx
jl 0x140027966
lea rdx, [0x14009e030]
lea rcx, [rbp - 0x68]
call fcn.14002e070
mov ecx, dword [rbp + 0x80]
mov edx, dword [0x1400bc268]
cmp ecx, edx
jl 0x140027966
movzx edx, di
lea rcx, [rbp - 0x68]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int____ptr64]
mov ecx, dword [rbp + 0x80]
mov edx, dword [0x1400bc268]
cmp ecx, edx
jl 0x140027966
lea rdx, str._queue_length:
lea rcx, [rbp - 0x68]
call fcn.14002e070
mov ecx, dword [rbp + 0x80]
mov edx, dword [0x1400bc268]
mov rax, qword [rbx + 0x2c8]
cmp ecx, edx
jl 0x14002797f
mov edx, dword [rax + rsi*4]
lea rcx, [rbp - 0x68]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int____ptr64]
nop
lea rcx, [rbp - 0x68]
call fcn.14000eba0
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
mov rax, qword [rbx + 0x2c8]
lea rdx, [rax + rsi*4]
mov rax, qword [rbx + 0x30]
mov rcx, qword [rax + rsi*8]
shl rsi, 6
add rsi, qword [rbx + 0x48]
lea rax, [rbx + 0x328]
lea r9, [rbx + 0x280]
lea r8, [rbx + 0x270]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
mov rdx, r15
lea rcx, [rbp + 0x88]
call fcn.140030e90
nop
mov qword [rsp + 0x50], rbx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov r14, qword [rbp + 0x90]
test r14, r14
je 0x140027a0c
lock inc dword [r14 + 8]
mov r14, qword [rbp + 0x90]
mov rax, qword [rbp + 0x88]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r15
mov word [rsp + 0x70], di
lea r13, [rax + 0x10]
mov rdi, qword [rbx + 0x60]
lea rax, [rbx + 0xc8]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x50]
mov qword [rbp - 0x80], rax
mov ecx, dword [0x1400e75f4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140027a5b
mov rdx, qword [rax + 8]
jmp 0x140027a5d
xor edx, edx
mov r8d, 0x200
call fcn.14002e690
mov rsi, rax
movzx edx, byte [rbx + 0x70]
shr dl, 2
and dl, 1
mov rcx, qword [rbx + 0x68]
xor r8d, r8d
mov qword [rax + 0x20], r8
lea rax, [0x14003b990]
mov qword [rsi + 0x28], rax
mov qword [rsi], r8
mov qword [rsi + 8], r8
mov qword [rsi + 0x10], r8
mov qword [rsi + 0x18], r8
mov dword [rsi + 0x30], r8d
add rdi, 0x28
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x40], rcx
mov r15, 0xffffffffffffffff
mov qword [rsi + 0x48], r15
mov qword [rsi + 0x50], r13
mov eax, dword [rbx + 0xa0]
mov dword [rsi + 0x58], eax
mov qword [rsi + 0x60], r8
mov byte [rsi + 0x188], dl
mov qword [rsi + 0x190], r8
mov qword [rsi + 0x198], r8
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x1a0], rax
mov qword [rsi + 0x1a8], r8
mov qword [rsi + 0x1b0], r8
mov rax, qword [rsp + 0x58]
mov qword [rsi + 0x1a8], rax
mov rax, qword [rsp + 0x60]
mov qword [rsi + 0x1b0], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov rax, qword [rsp + 0x68]
mov qword [rsi + 0x1b8], rax
movzx eax, word [rsp + 0x70]
mov word [rsi + 0x1c0], ax
lea rcx, [rsi + 0x1c8]
mov r9, qword [rsp + 0x78]
call fcn.14003c4a0
lea rax, [rsi + 0x68]
mov r10d, dword [rbx + 0xa0]
cmp qword [r13 + 8], r15
setne r8b
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], 0x90
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 6
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], r10d
lea r9, [rsi + 0x48]
lea rdx, [rbx + 0x68]
mov rcx, rdi
call fcn.14000b500
mov qword [rbp - 0x70], 0
mov qword [rbp - 0x78], 0
lea rcx, [rbp - 0x80]
call fcn.14003b850
nop
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x140027bde
mov eax, r15d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140027bd7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140027bd7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov r14, qword [rbp + 0x90]
test r14, r14
je 0x140027c19
mov eax, r15d
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x140027c19
mov rbx, qword [rbp + 0x90]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r15d
cmp r15d, 1
jne 0x140027c19
mov rcx, qword [rbp + 0x90]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbp + 0x98]
xor rcx, rsp
call fcn.14008cbe0
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret