Function at 0x1400234f0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x3b0
mov qword [rax - 0x2f8], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140105358]
xor rax, rsp
mov qword [rsp + 0x3a8], rax
mov rsi, rdx
mov rdi, rcx
movsxd rbx, dword [rcx + 0x84]
imul rbx, rbx, 0x3e8
call fcn.14006cb10
mov rax, qword [rdi + 0x90]
lea r14, [rax + 0x28]
lea rdx, [0x14001c110]
lea rcx, [rsp + 0x78]
call fcn.14003c7c0
mov qword [rsp + 0x68], rbx
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x80]
call fcn.14003c5b0
mov rbx, qword [rax]
cmp byte [rdi + 0xa0], 0
jne 0x140023589
call fcn.14006cb10
jmp 0x1400235ac
lea r8, [rdi + 0xa8]
or r9, 0xffffffffffffffff
mov rdx, r14
mov rcx, qword [r14 + 0x40]
call fcn.1400476c0
mov byte [rdi + 0xa0], 0
call fcn.14006cb10
mov qword [rdi + 0x98], rbx
call fcn.14006cb10
call fcn.14006cb10
mov dword [rsp + 0x30], 0x2733
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x50], xmm0
mov rbx, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0x10
jb 0x1400235e3
mov rsi, qword [rsi]
xor r14d, r14d
mov dword [rsp + 0xa0], r14d
call fcn.14006cb10
mov qword [rsp + 0xa8], rax
lea rax, [rdi + 0x18]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], rsi
mov qword [rsp + 0xd8], rbx
mov dword [rsp + 0xe0], r14d
mov qword [rsp + 0xe8], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0xf0], rax
lea r9d, [r14 + 1]
xor r8d, r8d
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0xc8]
call fcn.140049200
call fcn.14006cb10
cmp qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x50]
jne 0x140023745
cmp eax, 0x2733
jne 0x140023745
mov dword [rsp + 0x30], r14d
call fcn.14006cb10
mov qword [rsp + 0x38], rax
mov rbx, qword [rdi + 0x10]
mov eax, r14d
lock xadd dword [rbx + 0x30], eax
test eax, eax
jne 0x1400236bb
mov rcx, rbx
call fcn.14001d4a0
mov dword [rsp + 0xb0], r14d
call fcn.14006cb10
mov qword [rsp + 0xb8], rax
movaps xmm0, xmmword [rsp + 0xb0]
movdqa xmmword [rsp + 0x30], xmm0
jmp 0x140023730
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x88], rbx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x90], rax
mov ecx, dword [0x140133c18]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x98], rax
lea rdx, [rsp + 0x88]
mov ecx, dword [0x140133c18]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r8, [rsp + 0x30]
mov rcx, rbx
call fcn.14001d790
nop
mov rdx, qword [rsp + 0x98]
mov ecx, dword [0x140133c18]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140023730
call fcn.1400855f8
cmp dword [rsp + 0x30], 0
je 0x140023650
lea rcx, [rsp + 0x30]
call fcn.14001c660
test eax, eax
je 0x1400238c9
cmp qword [0x14012ce40], 0
jne 0x14002378b
cmp byte [0x14012ce39], 0
jne 0x14002378b
mov ecx, 0xa8
call fcn.140085684
mov qword [rsp + 0x80], rax
test rax, rax
je 0x140023781
mov rcx, rax
call fcn.140021ba0
jmp 0x140023784
mov rax, r14
mov qword [0x14012ce40], rax
cmp dword [reloc.WS2_32.dll_accept], 3
jl 0x1400238be
lea rcx, [rsp + 0x100]
call fcn.1400392a0
nop
lea rdx, [rsp + 0x340]
lea rcx, [rsp + 0x50]
call fcn.1400015d0
mov rbx, rax
lea rcx, [rsp + 0x300]
call fcn.140022360
nop
mov rdx, rax
lea rcx, [rsp + 0x110]
call fcn.140044be0
lea rdx, str.Problems_at_write:
mov rcx, rax
call fcn.140044990
mov rdx, rbx
mov rcx, rax
call fcn.140044be0
mov rbx, rax
mov rcx, rax
call fcn.140037970
mov rcx, rbx
call fcn.140037ab0
nop
cmp qword [rsp + 0x318], 0x10
jb 0x14002381f
mov rcx, qword [rsp + 0x300]
call fcn.1400855f8
mov qword [rsp + 0x318], setsockopt
mov qword [rsp + 0x310], r14
mov byte [rsp + 0x300], 0
cmp qword [rsp + 0x358], 0x10
jb 0x140023853
mov rcx, qword [rsp + 0x340]
call fcn.1400855f8
lea rdx, [rsp + 0x320]
lea rcx, [rsp + 0x100]
call fcn.140039410
nop
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 3]
mov rcx, rax
call fcn.140022240
nop
cmp qword [rsp + 0x338], 0x10
jb 0x140023895
mov rcx, qword [rsp + 0x320]
call fcn.1400855f8
nop
lea rcx, [rsp + 0x198]
call fcn.140039340
lea rax, vtable.std::ios_base.0
mov qword [rsp + 0x198], rax
lea rcx, [rsp + 0x198]
call fcn.140067028
mov byte [rdi + 0x89], 0
xor al, al
jmp 0x14002390c
movabs rax, 0x7fffffffffffffff
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x40], 0xffffffff
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.14003fdf0
lea rcx, [rdi + 0x90]
lea rdx, [rsp + 0x70]
call fcn.14003a720
nop
mov al, 1
jmp 0x14002390c
mov rcx, qword [rsp + 0x3a8]
xor rcx, rsp
call fcn.140084a30
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret