Function at 0x140081db0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rbp
push rdi
push r14
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov r8, rdx
mov rsi, qword [rcx]
test rsi, rsi
je 0x140082027
movups xmm1, xmmword [rdx + 0x10]
xor ebx, ebx
cmp byte [rsi + 8], bl
je 0x140081ecc
movups xmm2, xmmword [rdx]
movaps xmmword [rsp + 0x70], xmm2
movaps xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [rdx + 0x20]
movaps xmmword [rbp - 0x70], xmm0
mov rdx, qword [rdx + 0x30]
mov rcx, qword [r8 + 0x38]
mov qword [r8 + 0x30], rbx
mov qword [r8 + 0x38], rbx
mov rax, qword [r8 + 0x40]
mov qword [r8 + 0x40], rbx
movups xmmword [rbp - 0x40], xmm1
movups xmmword [rbp - 0x30], xmm2
movups xmmword [rbp - 0x20], xmm1
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rdx
mov qword [rbp + 8], rcx
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x60], xmm0
mov qword [rbp + 0x10], rax
mov qword [rbp - 0x50], rbx
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x40]
call fcn.140086a20
nop
lea edi, [rbx - 1]
mov rbx, qword [rbp + 8]
test rbx, rbx
je 0x140081e86
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140081e86
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140081e86
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x14008200f
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14008200f
mov rbx, qword [rbp - 0x58]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14008200f
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x14008200f
mov rax, qword [rsi]
mov r14, qword [rax + 0x28]
movups xmm0, xmmword [rdx]
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rsp + 0x40], xmm0
mov rax, qword [rdx + 0x30]
mov qword [rsp + 0x50], rax
mov rax, qword [rdx + 0x38]
mov qword [rsp + 0x58], rax
mov qword [rdx + 0x30], rbx
mov qword [rdx + 0x38], rbx
mov rax, qword [rdx + 0x40]
mov qword [rsp + 0x60], rax
mov qword [rdx + 0x40], rbx
lea rax, [rsp + 0x20]
mov qword [rbp + 0x50], rax
mov ecx, dword [0x140312328]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140081f51
mov rax, qword [rax + 8]
test rax, rax
je 0x140081f51
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x140081f51
mov qword [rax + 0x10], rbx
movzx eax, byte [rcx]
cmp al, 0x16
jb 0x140081f4c
mov byte [rcx + 0x58], al
jmp 0x140081f62
call fcn.1402193d4
mov ecx, 0x59
call fcn.140219078
mov rcx, rax
mov byte [rax + 0x58], reloc.WS2_32.dll_shutdown
lea rax, [0x140083e90]
mov qword [rcx], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rcx + 8], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rcx + 0x18], xmm1
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rcx + 0x28], xmm0
mov qword [rcx + 0x38], rbx
mov qword [rcx + 0x40], rbx
mov rax, qword [rsp + 0x50]
mov qword [rcx + 0x38], rax
mov rax, qword [rsp + 0x58]
mov qword [rcx + 0x40], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov rax, qword [rsp + 0x60]
mov qword [rcx + 0x48], rax
mov qword [rsp + 0x60], rbx
mov qword [rbp + 0x60], rcx
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x140081ff3
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140081ff3
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140081ff3
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rdx, [rbp + 0x60]
mov rcx, rsi
call r14
nop
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x14008200f
mov rax, qword [rcx]
xor edx, edx
call rax
nop
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
lea rcx, [rbp + 0x18]
call fcn.140023da0
nop
lea rcx, [rbp + 0x18]
call fcn.140038d10
int3