Function at 0x140024cc0
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 - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x1400f3680]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rbx, rcx
cmp byte [rcx + 0x100], 0
jne 0x14002510b
xor r14d, r14d
movzx edi, r14w
lea r9d, [r14 + 1]
mov r10, qword [rcx + 0x2c8]
mov rax, qword [rcx + 0x2d0]
sub rax, r10
sar rax, 2
cmp rax, r9
jbe 0x140024d87
nop dword [rax]
movzx eax, di
lea r8, [rax*4]
mov eax, dword [r8 + r10]
nop
test eax, eax
je 0x140024d87
mov rax, qword [rbx + 0x2c8]
mov r8d, dword [r8 + rax]
nop
mov rax, qword [rbx + 0x2c8]
mov ecx, dword [rax + r9*4]
nop
movzx edx, r9w
inc r9
mov r10, qword [rbx + 0x2c8]
mov rax, qword [rbx + 0x2d0]
sub rax, r10
sar rax, 2
cmp ecx, r8d
cmovae dx, di
movzx edi, dx
cmp r9, rax
jb 0x140024d30
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 [0x1400e9460], r14d
jg 0x140024e63
mov edx, 1
lea rcx, [rbp - 0x60]
call fcn.1400132d0
mov ecx, r14d
mov dword [rbp + 0x88], ecx
mov edx, dword [0x1400e9460]
test edx, edx
jg 0x140024de3
mov rdx, r15
lea rcx, [rbp - 0x60]
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 + 0x88]
mov edx, dword [0x1400e9460]
cmp ecx, edx
jl 0x140024e40
lea rdx, [0x1400af948]
lea rcx, [rbp - 0x60]
call fcn.1400077d0
mov ecx, dword [rbp + 0x88]
mov edx, dword [0x1400e9460]
cmp ecx, edx
jl 0x140024e40
movzx edx, di
lea rcx, [rbp - 0x60]
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 + 0x88]
mov edx, dword [0x1400e9460]
cmp ecx, edx
jl 0x140024e40
lea rdx, str._queue_length:
lea rcx, [rbp - 0x60]
call fcn.1400077d0
mov ecx, dword [rbp + 0x88]
mov edx, dword [0x1400e9460]
mov rax, qword [rbx + 0x2c8]
cmp ecx, edx
jl 0x140024e5a
mov edx, dword [rax + rsi*4]
nop
lea rcx, [rbp - 0x60]
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 - 0x60]
call fcn.140018030
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
mov rax, qword [rbx + 0x2c8]
lea r10, [rax + rsi*4]
mov rax, qword [rbx + 0x30]
mov rdx, qword [rax + rsi*8]
shl rsi, 6
add rsi, qword [rbx + 0x48]
lea rax, [rbx + 0x330]
lea rcx, [rbx + 0x328]
lea r9, [rbx + 0x280]
lea r8, [rbx + 0x270]
mov qword [rsp + 0x40], r10
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rcx
mov rdx, r15
lea rcx, [rbp + 0x90]
call fcn.1400102d0
nop
mov qword [rsp + 0x58], rbx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov r14, qword [rbp + 0x98]
test r14, r14
je 0x140024ef3
lock inc dword [r14 + 8]
mov r14, qword [rbp + 0x98]
mov rax, qword [rbp + 0x90]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r15
mov word [rsp + 0x78], di
lea r13, [rax + 0x10]
mov rdi, qword [rbx + 0x60]
lea rax, [rbx + 0xc8]
mov qword [rbp - 0x80], rax
lea rax, [rsp + 0x58]
mov qword [rbp - 0x78], rax
mov ecx, dword [0x1400fd308]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140024f41
mov rdx, qword [rax + 8]
jmp 0x140024f43
xor edx, edx
mov r9d, 8
mov r8d, 0x200
movzx ecx, byte [rsp + 0x50]
call fcn.14000c9e0
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, [0x1400257d0]
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 + 0x58]
mov qword [rsi + 0x1a0], rax
mov qword [rsi + 0x1a8], r8
mov qword [rsi + 0x1b0], r8
mov rax, qword [rsp + 0x60]
mov qword [rsi + 0x1a8], rax
mov rax, qword [rsp + 0x68]
mov qword [rsi + 0x1b0], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov rax, qword [rsp + 0x70]
mov qword [rsi + 0x1b8], rax
movzx eax, word [rsp + 0x78]
mov word [rsi + 0x1c0], ax
lea rcx, [rsi + 0x1c8]
mov r9, qword [rbp - 0x80]
xor edx, edx
call fcn.140013c10
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], __WSAFDIsSet
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.140037f10
mov qword [rbp - 0x68], 0
mov qword [rbp - 0x70], 0
lea rcx, [rbp - 0x78]
call fcn.1400342f0
nop
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x1400250d0
mov eax, r15d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400250c9
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400250c9
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov r14, qword [rbp + 0x98]
test r14, r14
je 0x14002510b
mov eax, r15d
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x14002510b
mov rbx, qword [rbp + 0x98]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r15d
cmp r15d, 1
jne 0x14002510b
mov rcx, qword [rbp + 0x98]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140097850
lea r11, [rsp + 0x1b0]
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