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

Disassembly:
push rdi
push r14
push r15
mov eax, 0x2ea0
call fcn.14009af70
sub rsp, rax
mov qword [rsp + 0x118], 0xfffffffffffffffe
mov qword [rsp + 0x2ed0], rbx
mov qword [rsp + 0x2ed8], rsi
mov rax, qword [0x14010b358]
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.140070830
mov rsi, qword [rdi + 0x90]
lea rdx, [0x140020490]
lea rcx, [rsp + 0x70]
call fcn.140040b50
mov qword [rsp + 0x80], rbx
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x88]
call fcn.140040940
mov rbx, qword [rax]
cmp byte [rdi + 0xa0], 0
jne 0x140027d5c
call fcn.140070830
jmp 0x140027d80
lea r8, [rdi + 0xa8]
or r9, 0xffffffffffffffff
lea rdx, [rsi + 0x28]
mov rcx, qword [rsi + 0x68]
call fcn.14004b120
mov byte [rdi + 0xa0], 0
call fcn.140070830
mov qword [rdi + 0x98], rbx
call fcn.140070830
call fcn.140070830
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.140091e20
lea rbx, [rsp + 0x780]
mov dword [rsp + 0xb0], r15d
call fcn.140070830
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.14004cd20
nop dword [rax]
call fcn.140070830
cmp qword [rsp + 0x38], rax
jne 0x140027f62
cmp dword [rsp + 0x30], 0x2733
jne 0x140027f62
mov eax, dword [rdi + 0xd0]
test eax, eax
jne 0x140027f62
mov dword [rsp + 0x40], r15d
call fcn.140070830
mov qword [rsp + 0x48], rax
mov rbx, qword [rdi + 0x10]
mov eax, r15d
lock xadd dword [rbx + 0x30], eax
test eax, eax
jne 0x140027ed8
mov rcx, rbx
call fcn.140021820
mov dword [rsp + 0xc0], r15d
call fcn.140070830
mov qword [rsp + 0xc8], rax
movaps xmm0, xmmword [rsp + 0xc0]
movdqa xmmword [rsp + 0x40], xmm0
jmp 0x140027f4d
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x98], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0xa0], rax
mov ecx, dword [0x140139d20]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0x98]
mov ecx, dword [0x140139d20]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r8, [rsp + 0x40]
mov rcx, rbx
call fcn.140021b10
nop
mov rdx, qword [rsp + 0xa8]
mov ecx, dword [0x140139d20]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140027f4d
call fcn.140089328
cmp dword [rsp + 0x40], 0
je 0x140027e60
lea rcx, [rsp + 0x40]
call fcn.1400209e0
cmp dword [rsp + 0x30], 0
je 0x140028303
cmp qword [0x140132e80], 0
jne 0x140027fab
cmp byte [0x140132e79], 0
jne 0x140027fab
mov ecx, 0xa8
call fcn.1400893b4
mov qword [rsp + 0x88], rax
test rax, rax
je 0x140027fa1
mov rcx, rax
call fcn.140025f10
jmp 0x140027fa4
mov rax, r15
mov qword [0x140132e80], rax
cmp dword [reloc.WS2_32.dll_accept], 4
jl 0x14002809a
lea rcx, [rsp + 0x120]
call fcn.14003e560
nop
lea rcx, [rsp + 0x6c0]
call fcn.1400266d0
nop
mov ebx, dword [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x130]
call fcn.140048780
lea rdx, str.READ_ENDS:_Connection_err_code
mov rcx, rax
call fcn.140048530
mov edx, ebx
mov rcx, rax
call fcn.14003c9d0
mov rbx, rax
mov rcx, rax
call fcn.14003d010
mov rcx, rbx
call fcn.14003d150
nop
cmp qword [rsp + 0x6d8], 0x10
jb 0x14002802d
mov rcx, qword [rsp + 0x6c0]
call fcn.140089328
lea rdx, [rsp + 0x640]
lea rcx, [rsp + 0x120]
call fcn.14003e6d0
nop
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rcx, rax
call fcn.1400265b0
nop
cmp qword [rsp + 0x658], 0x10
jb 0x14002806f
mov rcx, qword [rsp + 0x640]
call fcn.140089328
nop
lea rcx, [rsp + 0x1b8]
call fcn.14003e600
lea rbx, vtable.std::ios_base.0
mov qword [rsp + 0x1b8], rbx
lea rcx, [rsp + 0x1b8]
call fcn.14006abd8
jmp 0x1400280a1
lea rbx, vtable.std::ios_base.0
mov eax, dword [0x140132e54]
test al, 1
jne 0x1400280ce
or eax, 1
mov dword [0x140132e54], eax
lea rax, vtable.boost::asio::error::detail::misc_category.0
mov qword [0x140132e70], rax
lea rcx, [0x1400be1a0]
call fcn.1400892d4
lea rax, [0x140132e70]
cmp qword [rsp + 0x38], rax
jne 0x1400281cb
cmp dword [rsp + 0x30], 2
jne 0x1400281cb
call fcn.140026560
cmp eax, 4
jl 0x1400281c4
lea rcx, [rsp + 0x220]
call fcn.14003e560
nop
lea rcx, [rsp + 0x660]
call fcn.1400266d0
nop
mov rdx, rax
lea rcx, [rsp + 0x230]
call fcn.140048780
lea rdx, str.Connection_err_code_eof.
mov rcx, rax
call fcn.140048530
mov rdi, rax
mov rcx, rax
call fcn.14003d010
mov rcx, rdi
call fcn.14003d150
nop
cmp qword [rsp + 0x678], 0x10
jb 0x140028160
mov rcx, qword [rsp + 0x660]
call fcn.140089328
lea rdx, [rsp + 0x6a0]
lea rcx, [rsp + 0x220]
call fcn.14003e6d0
nop
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rcx, rax
call fcn.1400265b0
nop
cmp qword [rsp + 0x6b8], 0x10
jb 0x1400281a2
mov rcx, qword [rsp + 0x6a0]
call fcn.140089328
nop
lea rcx, [rsp + 0x2b8]
call fcn.14003e600
mov qword [rsp + 0x2b8], rbx
lea rcx, [rsp + 0x2b8]
call fcn.14006abd8
mov al, 1
jmp 0x140028360
call fcn.140026560
cmp eax, 3
jl 0x1400282f8
lea rcx, [rsp + 0x320]
call fcn.14003e560
nop
lea rdx, [rsp + 0x6e0]
lea rcx, [rsp + 0x30]
call fcn.1400015d0
mov rsi, rax
lea rcx, [rsp + 0x620]
call fcn.1400266d0
nop
mov rdx, rax
lea rcx, [rsp + 0x330]
call fcn.140048780
lea rdx, str.Problems_at_read:
mov rcx, rax
call fcn.140048530
mov rdx, rsi
mov rcx, rax
call fcn.140048780
mov rsi, rax
mov rcx, rax
call fcn.14003d010
mov rcx, rsi
call fcn.14003d150
nop
cmp qword [rsp + 0x638], 0x10
jb 0x140028260
mov rcx, qword [rsp + 0x620]
call fcn.140089328
mov qword [rsp + 0x638], 0xf
mov qword [rsp + 0x630], r15
mov byte [rsp + 0x620], 0
cmp qword [rsp + 0x6f8], 0x10
jb 0x140028294
mov rcx, qword [rsp + 0x6e0]
call fcn.140089328
lea rdx, [rsp + 0x680]
lea rcx, [rsp + 0x320]
call fcn.14003e6d0
nop
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 3]
mov rcx, rax
call fcn.1400265b0
nop
cmp qword [rsp + 0x698], 0x10
jb 0x1400282d6
mov rcx, qword [rsp + 0x680]
call fcn.140089328
nop
lea rcx, [rsp + 0x3b8]
call fcn.14003e600
mov qword [rsp + 0x3b8], rbx
lea rcx, [rsp + 0x3b8]
call fcn.14006abd8
mov byte [rdi + 0x89], 0
xor al, al
jmp 0x140028360
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.140043bb0
lea rcx, [rdi + 0x90]
lea rdx, [rsp + 0x78]
call fcn.14003ef30
mov r8, qword [rsp + 0x58]
lea rdx, [rsp + 0x780]
mov rcx, r14
call fcn.140002630
mov al, 1
jmp 0x140028360
mov rcx, qword [rsp + 0x2e90]
xor rcx, rsp
call fcn.140088760
lea r11, [rsp + 0x2ea0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret