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

Disassembly:
push rdi
push r14
push r15
mov eax, 0x2ea0
call fcn.140096900
sub rsp, rax
mov qword [rsp + 0x118], 0xfffffffffffffffe
mov qword [rsp + 0x2ed0], rbx
mov qword [rsp + 0x2ed8], rsi
mov rax, qword [0x140105358]
xor rax, rsp
mov qword [rsp + 0x2e90], rax
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
movsxd rbx, dword [rcx + 0x84]
imul rbx, rbx, 0x3e8
call fcn.14006c660
mov rsi, qword [rdi + 0x90]
lea rdx, [0x14001bdd0]
lea rcx, [rsp + 0x70]
call fcn.14003c320
mov qword [rsp + 0x80], rbx
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x88]
call fcn.14003c110
mov rbx, qword [rax]
cmp byte [rdi + 0xa0], 0
jne 0x1400236ac
call fcn.14006c660
jmp 0x1400236d0
lea r8, [rdi + 0xa8]
or r9, 0xffffffffffffffff
lea rdx, [rsi + 0x28]
mov rcx, qword [rsi + 0x68]
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 + 0x40], 0x2733
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
xor r15d, r15d
mov qword [rsp + 0x58], r15
mov byte [rsp + 0x780], r15b
xor edx, edx
mov r8d, 0x270f
lea rcx, [rsp + 0x781]
call fcn.14008cf90
lea rbx, [rsp + 0x780]
mov dword [rsp + 0xb0], r15d
call fcn.14006c660
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xd0], 1
lea rax, [rdi + 0x18]
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe0], rbx
mov qword [rsp + 0xe8], 0x2710
mov dword [rsp + 0xf0], r15d
mov qword [rsp + 0xf8], r15
lea rax, [rsp + 0x30]
mov qword [rsp + 0x100], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x108], rax
lea r9d, [r15 + 1]
xor r8d, r8d
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0xd0]
call fcn.140048fc0
nop dword [rax]
call fcn.14006c660
cmp qword [rsp + 0x38], rax
jne 0x1400238b2
cmp dword [rsp + 0x30], 0x2733
jne 0x1400238b2
mov eax, dword [rdi + 0xd0]
test eax, eax
jne 0x1400238b2
mov dword [rsp + 0x40], r15d
call fcn.14006c660
mov qword [rsp + 0x48], rax
mov rbx, qword [rdi + 0x10]
mov eax, r15d
lock xadd dword [rbx + 0x30], eax
test eax, eax
jne 0x140023828
mov rcx, rbx
call fcn.14001d160
mov dword [rsp + 0xc0], r15d
call fcn.14006c660
mov qword [rsp + 0xc8], rax
movaps xmm0, xmmword [rsp + 0xc0]
movdqa xmmword [rsp + 0x40], xmm0
jmp 0x14002389d
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x98], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0xa0], rax
mov ecx, dword [0x140133b88]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0x98]
mov ecx, dword [0x140133b88]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r8, [rsp + 0x40]
mov rcx, rbx
call fcn.14001d450
nop
mov rdx, qword [rsp + 0xa8]
mov ecx, dword [0x140133b88]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14002389d
call fcn.140085158
cmp dword [rsp + 0x40], 0
je 0x1400237b0
lea rcx, [rsp + 0x40]
call fcn.14001c320
cmp dword [rsp + 0x30], 0
je 0x140023c53
cmp qword [0x14012ce40], 0
jne 0x1400238fb
cmp byte [0x14012ce39], 0
jne 0x1400238fb
mov ecx, 0xa8
call fcn.1400851e4
mov qword [rsp + 0x88], rax
test rax, rax
je 0x1400238f1
mov rcx, rax
call fcn.140021860
jmp 0x1400238f4
mov rax, r15
mov qword [0x14012ce40], rax
cmp dword [reloc.WS2_32.dll_accept], 4
jl 0x1400239ea
lea rcx, [rsp + 0x120]
call fcn.140038e00
nop
lea rcx, [rsp + 0x6c0]
call fcn.140022020
nop
mov ebx, dword [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x130]
call fcn.140044740
lea rdx, str.READ_ENDS:_Connection_err_code
mov rcx, rax
call fcn.1400444f0
mov edx, ebx
mov rcx, rax
call fcn.140036e90
mov rbx, rax
mov rcx, rax
call fcn.1400374d0
mov rcx, rbx
call fcn.140037610
nop
cmp qword [rsp + 0x6d8], 0x10
jb 0x14002397d
mov rcx, qword [rsp + 0x6c0]
call fcn.140085158
lea rdx, [rsp + 0x640]
lea rcx, [rsp + 0x120]
call fcn.140038f70
nop
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rcx, rax
call fcn.140021f00
nop
cmp qword [rsp + 0x658], 0x10
jb 0x1400239bf
mov rcx, qword [rsp + 0x640]
call fcn.140085158
nop
lea rcx, [rsp + 0x1b8]
call fcn.140038ea0
lea rbx, vtable.std::ios_base.0
mov qword [rsp + 0x1b8], rbx
lea rcx, [rsp + 0x1b8]
call fcn.140066b88
jmp 0x1400239f1
lea rbx, vtable.std::ios_base.0
mov eax, dword [0x14012ce14]
test al, 1
jne 0x140023a1e
or eax, 1
mov dword [0x14012ce14], eax
lea rax, vtable.boost::asio::error::detail::misc_category.0
mov qword [0x14012ce30], rax
lea rcx, [0x1400b9d70]
call fcn.140085104
lea rax, [0x14012ce30]
cmp qword [rsp + 0x38], rax
jne 0x140023b1b
cmp dword [rsp + 0x30], 2
jne 0x140023b1b
call fcn.140021eb0
cmp eax, 4
jl 0x140023b14
lea rcx, [rsp + 0x220]
call fcn.140038e00
nop
lea rcx, [rsp + 0x660]
call fcn.140022020
nop
mov rdx, rax
lea rcx, [rsp + 0x230]
call fcn.140044740
lea rdx, str.Connection_err_code_eof.
mov rcx, rax
call fcn.1400444f0
mov rdi, rax
mov rcx, rax
call fcn.1400374d0
mov rcx, rdi
call fcn.140037610
nop
cmp qword [rsp + 0x678], 0x10
jb 0x140023ab0
mov rcx, qword [rsp + 0x660]
call fcn.140085158
lea rdx, [rsp + 0x6a0]
lea rcx, [rsp + 0x220]
call fcn.140038f70
nop
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rcx, rax
call fcn.140021f00
nop
cmp qword [rsp + 0x6b8], 0x10
jb 0x140023af2
mov rcx, qword [rsp + 0x6a0]
call fcn.140085158
nop
lea rcx, [rsp + 0x2b8]
call fcn.140038ea0
mov qword [rsp + 0x2b8], rbx
lea rcx, [rsp + 0x2b8]
call fcn.140066b88
mov al, 1
jmp 0x140023cb0
call fcn.140021eb0
cmp eax, 3
jl 0x140023c48
lea rcx, [rsp + 0x320]
call fcn.140038e00
nop
lea rdx, [rsp + 0x6e0]
lea rcx, [rsp + 0x30]
call fcn.1400015d0
mov rsi, rax
lea rcx, [rsp + 0x620]
call fcn.140022020
nop
mov rdx, rax
lea rcx, [rsp + 0x330]
call fcn.140044740
lea rdx, str.Problems_at_read:
mov rcx, rax
call fcn.1400444f0
mov rdx, rsi
mov rcx, rax
call fcn.140044740
mov rsi, rax
mov rcx, rax
call fcn.1400374d0
mov rcx, rsi
call fcn.140037610
nop
cmp qword [rsp + 0x638], 0x10
jb 0x140023bb0
mov rcx, qword [rsp + 0x620]
call fcn.140085158
mov qword [rsp + 0x638], 0xf
mov qword [rsp + 0x630], r15
mov byte [rsp + 0x620], 0
cmp qword [rsp + 0x6f8], 0x10
jb 0x140023be4
mov rcx, qword [rsp + 0x6e0]
call fcn.140085158
lea rdx, [rsp + 0x680]
lea rcx, [rsp + 0x320]
call fcn.140038f70
nop
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 3]
mov rcx, rax
call fcn.140021f00
nop
cmp qword [rsp + 0x698], 0x10
jb 0x140023c26
mov rcx, qword [rsp + 0x680]
call fcn.140085158
nop
lea rcx, [rsp + 0x3b8]
call fcn.140038ea0
mov qword [rsp + 0x3b8], rbx
lea rcx, [rsp + 0x3b8]
call fcn.140066b88
mov byte [rdi + 0x89], 0
xor al, al
jmp 0x140023cb0
movabs rax, 0x7fffffffffffffff
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x50], 0xffffffff
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x78]
call fcn.14003f950
lea rcx, [rdi + 0x90]
lea rdx, [rsp + 0x78]
call fcn.14003a280
mov r8, qword [rsp + 0x58]
lea rdx, [rsp + 0x780]
mov rcx, r14
call fcn.140002630
mov al, 1
jmp 0x140023cb0
mov rcx, qword [rsp + 0x2e90]
xor rcx, rsp
call fcn.140084590
lea r11, [rsp + 0x2ea0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret