Function at 0x1400231b0
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.14006c660
mov rax, qword [rdi + 0x90]
lea r14, [rax + 0x28]
lea rdx, [0x14001bdd0]
lea rcx, [rsp + 0x78]
call fcn.14003c320
mov qword [rsp + 0x68], rbx
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x80]
call fcn.14003c110
mov rbx, qword [rax]
cmp byte [rdi + 0xa0], 0
jne 0x140023249
call fcn.14006c660
jmp 0x14002326c
lea r8, [rdi + 0xa8]
or r9, 0xffffffffffffffff
mov rdx, r14
mov rcx, qword [r14 + 0x40]
call fcn.140047220
mov byte [rdi + 0xa0], 0
call fcn.14006c660
mov qword [rdi + 0x98], rbx
call fcn.14006c660
call fcn.14006c660
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 0x1400232a3
mov rsi, qword [rsi]
xor r14d, r14d
mov dword [rsp + 0xa0], r14d
call fcn.14006c660
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.140048d60
call fcn.14006c660
cmp qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x50]
jne 0x140023405
cmp eax, 0x2733
jne 0x140023405
mov dword [rsp + 0x30], r14d
call fcn.14006c660
mov qword [rsp + 0x38], rax
mov rbx, qword [rdi + 0x10]
mov eax, r14d
lock xadd dword [rbx + 0x30], eax
test eax, eax
jne 0x14002337b
mov rcx, rbx
call fcn.14001d160
mov dword [rsp + 0xb0], r14d
call fcn.14006c660
mov qword [rsp + 0xb8], rax
movaps xmm0, xmmword [rsp + 0xb0]
movdqa xmmword [rsp + 0x30], xmm0
jmp 0x1400233f0
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x88], rbx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x90], rax
mov ecx, dword [0x140133b88]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x98], rax
lea rdx, [rsp + 0x88]
mov ecx, dword [0x140133b88]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r8, [rsp + 0x30]
mov rcx, rbx
call fcn.14001d450
nop
mov rdx, qword [rsp + 0x98]
mov ecx, dword [0x140133b88]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400233f0
call fcn.140085158
cmp dword [rsp + 0x30], 0
je 0x140023310
lea rcx, [rsp + 0x30]
call fcn.14001c320
test eax, eax
je 0x140023589
cmp qword [0x14012ce40], 0
jne 0x14002344b
cmp byte [0x14012ce39], 0
jne 0x14002344b
mov ecx, 0xa8
call fcn.1400851e4
mov qword [rsp + 0x80], rax
test rax, rax
je 0x140023441
mov rcx, rax
call fcn.140021860
jmp 0x140023444
mov rax, r14
mov qword [0x14012ce40], rax
cmp dword [reloc.WS2_32.dll_accept], 3
jl 0x14002357e
lea rcx, [rsp + 0x100]
call fcn.140038e00
nop
lea rdx, [rsp + 0x340]
lea rcx, [rsp + 0x50]
call fcn.1400015d0
mov rbx, rax
lea rcx, [rsp + 0x300]
call fcn.140022020
nop
mov rdx, rax
lea rcx, [rsp + 0x110]
call fcn.140044740
lea rdx, str.Problems_at_write:
mov rcx, rax
call fcn.1400444f0
mov rdx, rbx
mov rcx, rax
call fcn.140044740
mov rbx, rax
mov rcx, rax
call fcn.1400374d0
mov rcx, rbx
call fcn.140037610
nop
cmp qword [rsp + 0x318], 0x10
jb 0x1400234df
mov rcx, qword [rsp + 0x300]
call fcn.140085158
mov qword [rsp + 0x318], setsockopt
mov qword [rsp + 0x310], r14
mov byte [rsp + 0x300], 0
cmp qword [rsp + 0x358], 0x10
jb 0x140023513
mov rcx, qword [rsp + 0x340]
call fcn.140085158
lea rdx, [rsp + 0x320]
lea rcx, [rsp + 0x100]
call fcn.140038f70
nop
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 3]
mov rcx, rax
call fcn.140021f00
nop
cmp qword [rsp + 0x338], 0x10
jb 0x140023555
mov rcx, qword [rsp + 0x320]
call fcn.140085158
nop
lea rcx, [rsp + 0x198]
call fcn.140038ea0
lea rax, vtable.std::ios_base.0
mov qword [rsp + 0x198], rax
lea rcx, [rsp + 0x198]
call fcn.140066b88
mov byte [rdi + 0x89], 0
xor al, al
jmp 0x1400235cc
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.14003f950
lea rcx, [rdi + 0x90]
lea rdx, [rsp + 0x70]
call fcn.14003a280
nop
mov al, 1
jmp 0x1400235cc
mov rcx, qword [rsp + 0x3a8]
xor rcx, rsp
call fcn.140084590
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