Function at 0x1400884e0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rsp + 0x178], rbx
mov r9, rdx
mov rsi, qword [rcx]
test rsi, rsi
je 0x14008870d
movups xmm1, xmmword [rdx + 0x10]
xor ebx, ebx
cmp byte [rsi + 8], bl
je 0x1400885bf
movups xmm2, xmmword [rdx]
movaps xmmword [rbp], xmm2
movaps xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movaps xmmword [rbp + 0x20], xmm0
mov rdx, qword [rdx + 0x30]
mov rcx, qword [r9 + 0x38]
mov qword [r9 + 0x30], rbx
mov qword [r9 + 0x38], rbx
mov rax, qword [r9 + 0x40]
mov qword [r9 + 0x40], rbx
movups xmmword [rbp - 0x78], xmm1
movups xmmword [rbp - 0x68], xmm2
movups xmmword [rbp - 0x58], xmm1
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rdx
mov qword [rbp - 0x30], rcx
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x30], xmm0
mov qword [rbp - 0x28], rax
mov qword [rbp + 0x40], rbx
lea r8, [rbp - 0x78]
lea rdx, [rbp + 8]
movq rcx, xmm2
call fcn.14008c9d0
nop
mov rdi, qword [rbp - 0x30]
test rdi, rdi
je 0x1400885ba
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400885ba
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x1400885ba
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
nop
jmp 0x1400886fa
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 + 0x88], rax
mov qword [rsp + 0x68], r8
mov ecx, dword [0x140336628]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140088624
mov rdx, qword [rax + 8]
jmp 0x140088627
mov rdx, rbx
mov r8d, 0x58
call fcn.140056980
mov rcx, rax
mov qword [rsp + 0x78], rbx
lea rax, [0x1400893c0]
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 + 0x70], rcx
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x68]
call fcn.1400888d0
nop
mov rdi, qword [rsp + 0x58]
test rdi, rdi
je 0x1400886db
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400886db
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x1400886db
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rax, qword [rsi]
lea rdx, [rbp + 0x70]
mov rcx, rsi
call qword [rax + 0x28]
nop
mov rax, qword [rbp + 0x70]
test rax, rax
je 0x1400886fa
xor edx, edx
mov rcx, rax
call qword [rax]
nop
mov rbx, qword [rsp + 0x178]
add rsp, 0x150
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rbp - 0x20]
call fcn.140023e60
nop
lea rcx, [rbp - 0x20]
call fcn.14003b290
int3