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

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1b8]
sub rsp, 0x280
mov qword [rbp + 0x118], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov r11, r8
mov rdi, rdx
mov r12, rcx
mov dword [rcx + 0x30], r9d
xor r13d, r13d
cmp r9d, 1
je 0x140099009
mov r10, qword [rcx + 8]
mov r9, qword [r10 + 0x58]
movsxd r8, dword [r9]
mov rdx, r11
cmp r8, r11
cmovb rdx, r8
sub r8d, edx
mov dword [r9], r8d
mov rcx, qword [r10 + 0x40]
movsxd rax, edx
add qword [rcx], rax
mov rax, qword [r10 + 0x40]
mov rcx, qword [rax]
mov rax, qword [r10 + 0x38]
sub ecx, dword [rax]
mov rax, qword [r10 + 0x50]
mov dword [rax], ecx
cmp dword [rdi], r13d
jne 0x140098fff
test r11, r11
jne 0x140099009
mov r9, qword [r12 + 0x38]
jmp 0x1400994f6
mov rcx, qword [r12 + 8]
mov qword [rsp + 0x60], rcx
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
mov rax, qword [rcx + 0x38]
mov rcx, qword [rax]
mov qword [rsp + 0x40], rcx
sub rdx, rcx
mov qword [rsp + 0x48], rdx
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
mov qword [rbp + 0x88], r13
mov qword [rbp + 0xa8], r13
lea rax, [rsp + 0x40]
mov qword [rbp + 0x90], rax
lea rax, [rsp + 0x40]
mov qword [rbp + 0x98], rax
lea rcx, [rsp + 0x50]
mov qword [rbp + 0xa0], rcx
nop dword [rax + rax]
movups xmm2, xmmword [rax]
movups xmmword [rbp + 0x78], xmm2
movdqa xmm0, xmm2
psrldq xmm0, 8
movq r8, xmm0
test r8, r8
jne 0x140099098
add rax, 0x10
lea rcx, [rsp + 0x50]
cmp rax, rcx
jne 0x140099070
mov qword [rbp + 0x98], rax
mov rcx, qword [r12 + 0x38]
movups xmmword [rsp + 0x68], xmm2
movups xmm0, xmmword [rbp + 0x88]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rbp + 0x98]
movups xmmword [rbp - 0x78], xmm1
movsd xmm0, qword [rbp + 0xa8]
movsd qword [rbp - 0x68], xmm0
mov rdx, qword [rbp - 0x68]
test rcx, rcx
jle 0x140099165
cmp r8, rcx
jg 0x140099153
mov r10, qword [rbp - 0x70]
mov rax, qword [rbp - 0x78]
nop word [rax + rax]
sub rcx, r8
add rdx, r8
mov qword [rbp - 0x68], rdx
add rax, 0x10
mov qword [rbp - 0x78], rax
cmp rax, r10
je 0x140099135
movups xmm2, xmmword [rax]
movups xmmword [rsp + 0x68], xmm2
mov r9, r13
movdqa xmm0, xmm2
psrldq xmm0, 8
movq r8, xmm0
cmp r8, rcx
jle 0x1400990f0
add rdx, rcx
add r9, rcx
mov qword [rsp + 0x78], r9
jmp 0x1400991d1
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
movups xmm2, xmmword [rsp + 0x50]
movups xmmword [rsp + 0x68], xmm2
mov qword [rsp + 0x78], r13
jmp 0x1400991d5
mov r9, qword [rsp + 0x78]
add rdx, rcx
add r9, rcx
mov qword [rsp + 0x78], r9
jmp 0x1400991d1
jns 0x1400991d5
neg rcx
mov r10, qword [rsp + 0x78]
je 0x1400991c6
mov r9, qword [rbp - 0x80]
mov r11, qword [rbp - 0x78]
nop dword [rax]
sub rcx, r10
sub rdx, r10
mov qword [rbp - 0x68], rdx
cmp r11, r9
je 0x140099149
mov rax, r11
sub rax, 0x10
movups xmm0, xmmword [rax]
psrldq xmm0, 8
movq r8, xmm0
test r8, r8
jne 0x1400991af
cmp rax, r9
jne 0x140099192
jmp 0x1400991c1
mov r11, rax
mov qword [rbp - 0x78], rax
movups xmm2, xmmword [rax]
movups xmmword [rsp + 0x68], xmm2
mov r10, r8
cmp r10, rcx
jb 0x140099180
sub rdx, rcx
sub r10, rcx
mov qword [rsp + 0x78], r10
mov qword [rbp - 0x68], rdx
xorps xmm5, xmm5
movdqu xmmword [rbp + 0xe0], xmm5
mov qword [rbp + 0xf0], r13
mov r15, r13
lea rax, [rsp + 0x40]
mov qword [rbp + 0xf8], rax
lea rcx, [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rbp + 0x108], rax
nop word [rax + rax]
movups xmm0, xmmword [rcx]
psrldq xmm0, 8
movq rax, xmm0
add r15, rax
add rcx, 0x10
lea rax, [rsp + 0x50]
cmp rcx, rax
jne 0x140099210
mov qword [rbp + 0x100], rcx
mov qword [rbp + 0x110], r15
lea r9, [r12 + 0x10]
mov qword [rsp + 0x50], r9
mov rcx, r9
mov r8, qword [r9 + 0x18]
cmp r8, 0x10
jb 0x140099256
mov rcx, qword [r9]
add rcx, qword [r9 + 0x10]
cmp r8, 0x10
jb 0x140099268
mov r9, qword [r9]
mov qword [rsp + 0x50], r9
movups xmmword [rbp - 0x10], xmm2
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rbp], xmm1
movups xmm4, xmmword [rbp - 0x78]
movups xmmword [rbp + 0x10], xmm4
movsd xmm3, qword [rbp - 0x68]
movsd qword [rbp + 0x20], xmm3
cmp rdx, r15
je 0x140099403
mov r13, qword [rbp + 0x18]
mov r10, qword [rbp + 0x10]
mov r12, qword [rbp]
mov r14, qword [rbp - 8]
movups xmmword [rbp + 0x28], xmm2
movups xmmword [rbp + 0x38], xmm1
movups xmmword [rbp + 0x48], xmm4
movsd qword [rbp + 0x58], xmm3
mov rax, r9
mov rdi, qword [rbp + 0x50]
mov rsi, qword [rbp + 0x58]
mov r9, qword [rbp + 0x48]
mov rbx, qword [rbp + 0x38]
mov r11, qword [rbp + 0x30]
nop dword [rax + rax]
cmp rax, rcx
je 0x1400993bf
cmp rsi, r15
je 0x14009933b
movzx r8d, byte [rax]
mov rdx, qword [rbp + 0x28]
cmp byte [rdx + rbx], r8b
jne 0x140099349
inc rsi
mov qword [rbp + 0x58], rsi
inc rbx
mov qword [rbp + 0x38], rbx
cmp rbx, r11
jne 0x140099336
add r9, 0x10
mov qword [rbp + 0x48], r9
xor ebx, ebx
mov qword [rbp + 0x38], rbx
cmp r9, rdi
je 0x140099336
movups xmm0, xmmword [r9]
movups xmmword [rbp + 0x28], xmm0
psrldq xmm0, 8
movq r11, xmm0
test r11, r11
jne 0x140099332
add r9, 0x10
cmp r9, rdi
jne 0x140099312
mov qword [rbp + 0x48], r9
inc rax
jmp 0x1400992d0
mov r9, qword [rsp + 0x50]
cmp rax, r9
je 0x14009934e
xor al, al
jmp 0x1400993c1
mov r9, qword [rsp + 0x50]
mov rdx, qword [rbp + 0x20]
inc rdx
mov qword [rbp + 0x20], rdx
inc r12
mov qword [rbp], r12
cmp r12, r14
jne 0x1400993ac
add r10, 0x10
mov qword [rbp + 0x10], r10
xor r12d, r12d
mov qword [rbp], r12
cmp r10, r13
je 0x1400993a8
nop dword [rax]
movups xmm2, xmmword [r10]
movups xmmword [rbp - 0x10], xmm2
movdqa xmm0, xmm2
psrldq xmm0, 8
movq r14, xmm0
test r14, r14
jne 0x1400993a4
add r10, 0x10
cmp r10, r13
jne 0x140099380
mov qword [rbp + 0x10], r10
movups xmm4, xmmword [rbp + 0x10]
cmp rdx, r15
je 0x140099403
movsd xmm3, qword [rbp + 0x20]
movups xmm1, xmmword [rbp]
jmp 0x1400992a0
mov al, 1
movsd qword [rbp - 0x20], xmm3
movaps xmmword [rbp - 0x30], xmm4
movaps xmmword [rbp - 0x40], xmm1
movaps xmmword [rbp - 0x50], xmm2
mov rdx, qword [rbp + 0x20]
cmp rdx, r15
je 0x14009942a
test al, al
je 0x14009942a
mov r12, qword [rbp + 0x1c0]
mov r9, qword [r12 + 0x20]
add r9, rdx
mov qword [r12 + 0x38], r9
xor r13d, r13d
mov ebx, r13d
mov rdi, qword [rsp + 0x60]
jmp 0x1400994d9
movaps xmmword [rbp - 0x50], xmm5
movups xmm0, xmmword [rbp + 0xf0]
movaps xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rbp + 0x100]
movaps xmmword [rbp - 0x30], xmm1
movsd xmm0, qword [rbp + 0x110]
movsd qword [rbp - 0x20], xmm0
mov rdi, qword [rsp + 0x60]
mov rax, qword [rdi + 0x40]
mov rcx, qword [rax]
mov rax, qword [rdi + 0x38]
sub rcx, qword [rax]
mov r12, qword [rbp + 0x1c0]
cmp rcx, qword [rdi + 0x68]
jne 0x14009945e
mov r9, 0xffffffffffffffff
mov qword [r12 + 0x38], r9
xor r13d, r13d
mov ebx, r13d
jmp 0x1400994d9
mov r9, qword [rbp - 0x20]
cmp r9, r15
je 0x14009946e
mov qword [r12 + 0x38], r9
jmp 0x140099476
mov qword [r12 + 0x38], r15
mov r9, r15
mov r8, qword [rdi + 0x68]
mov rax, qword [rdi + 0x40]
mov rcx, qword [rax]
mov rax, qword [rdi + 0x38]
sub rcx, qword [rax]
sub r8, rcx
mov qword [rsp + 0x60], r8
mov qword [rbp + 0x1c0], 0x10000
mov rdx, qword [rdi + 0x80]
sub rdx, qword [rdi + 0x70]
sub rdx, rcx
lea rcx, [rbp + 0x1c0]
lea rax, [rsp + 0x60]
cmp r8, 0x10000
cmovb rcx, rax
mov eax, 0x200
cmp rdx, rax
cmova rax, rdx
mov rbx, qword [rcx]
cmp rbx, rax
cmovae rbx, rax
xor r13d, r13d
cmp dword [rbp + 0x1d8], 0
jne 0x1400996e2
test rbx, rbx
jne 0x1400996e2
mov rdi, qword [rbp + 0x1c8]
cmp r9, 0xffffffffffffffff
jne 0x140099566
call fcn.140022300
mov rbx, rax
mov dword [rsp + 0x40], 3
mov rax, qword [rax + 8]
movabs rcx, 0x8fafd21e25c5e09b
cmp rax, rcx
je 0x140099545
movabs rcx, 0xb2ab117a257edf0d
cmp rax, rcx
je 0x140099545
mov rcx, qword [rbx]
mov rax, qword [rcx + 0x30]
lea rcx, [method.boost::asio::error::detail::misc_category.virtual_48]
cmp rax, rcx
jne 0x1400997f2
mov al, 1
mov byte [rsp + 0x44], al
mov qword [rsp + 0x48], rbx
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x120], xmm0
lea rcx, [rbp + 0x120]
jmp 0x140099577
movups xmm0, xmmword [rdi]
movups xmmword [rbp + 0x130], xmm0
lea rcx, [rbp + 0x130]
cmp dword [rdi], 0
jne 0x140099587
mov rax, qword [r12 + 0x38]
cmp rax, 0xffffffffffffffff
jne 0x14009958a
mov rax, r13
movups xmm0, xmmword [r12 + 0x50]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rcx]
movups xmmword [rbp - 0x40], xmm1
mov qword [rbp - 0x30], rax
mov rsi, qword [r12 + 0x40]
mov rbx, qword [r12 + 0x48]
mov ecx, dword [0x140336660]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400995d2
nop word [rax + rax]
cmp qword [rax], rbx
je 0x1400996c4
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400995c0
lea rax, [rbp - 0x50]
mov qword [rbp + 0x150], rax
lea rdx, [rbp - 0x50]
mov ecx, 0x60
call fcn.140022380
mov rbx, rax
mov qword [rax + 0x20], r13
lea rax, [fcn.14008a610]
mov qword [rbx + 0x28], rax
mov qword [rbx], r13
mov qword [rbx + 8], r13
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], r13
mov dword [rbx + 0x30], r13d
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rbx + 0x38], xmm0
movups xmm1, xmmword [rbp - 0x40]
movups xmmword [rbx + 0x48], xmm1
mov rax, qword [rbp - 0x30]
mov qword [rbx + 0x58], rax
mov r8, rbx
lea rdx, [r12 + 0x48]
mov rcx, rsi
call fcn.140025180
mov qword [rbp + 0x160], r13
mov qword [rbp + 0x158], r13
test al, al
je 0x1400996bf
mov rax, qword [r12 + 0x48]
mov qword [rbp + 0x60], rax
mov ecx, dword [0x140336660]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rbp + 0x70], rax
lea rax, [rbp + 0x60]
mov qword [rbp + 0x68], rax
lea rdx, [rbp + 0x60]
mov ecx, dword [0x140336660]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rsi + 0x28]
mov qword [rbp - 0x60], rcx
mov rax, qword [r12 + 0x48]
mov qword [rbp - 0x58], rax
xor r9d, r9d
lea r8, [rbp + 0x168]
mov rdx, rbx
call fcn.14008a610
nop
lea rcx, [rbp - 0x60]
call fcn.140024f40
nop
mov rdx, qword [rbp + 0x70]
mov ecx, dword [0x140336660]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
jmp 0x1400997d7
cmp qword [rax + 8], 0
je 0x1400995d2
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x50]
call fcn.14008b1d0
nop
jmp 0x1400997d7
mov rdx, rbx
mov rcx, rdi
call fcn.140081760
mov rax, qword [rdi + 0x40]
mov rsi, qword [rax]
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], rbx
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp + 0x140], xmm0
mov rax, qword [r12]
lea r15, [rax + 0x68]
mov r14, qword [rax]
lea rdi, [rax + 8]
mov qword [rbp + 0xc8], r12
lea rdx, [r12 + 0x50]
mov ecx, 0xd0
call fcn.140022380
mov r10, rax
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x140099741
lock inc dword [rcx + 0xc]
mov rcx, qword [rdi + 0x18]
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x140]
lea r8, [rsp + 0x50]
movzx edx, byte [rdi + 8]
mov rcx, r10
call fcn.140099f70
mov qword [rbp + 0xb8], rsi
mov dword [rbp + 0xb0], ebx
mov qword [rbp + 0xc0], rbx
test byte [rdi + 8], 0x10
je 0x140099794
test rbx, rbx
jne 0x140099794
mov dl, 1
jmp 0x140099796
xor edx, edx
lea rcx, [r14 + 0x28]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], dl
mov dword [rsp + 0x20], r13d
mov r9d, 1
lea r8, [rbp + 0xb0]
mov rdx, rdi
call fcn.140072280
mov qword [rbp + 0xd8], r13
mov qword [rbp + 0xd0], r13
lea rcx, [rbp + 0xc8]
call fcn.14009a1c0
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x280
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov edx, 3
mov rcx, rbx
call rax
jmp 0x140099547