Function at 0x140088210
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 0x14008843d
movups xmm1, xmmword [rdx + 0x10]
xor ebx, ebx
cmp byte [rsi + 8], bl
je 0x1400882ef
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.14008d190
nop
mov rdi, qword [rbp - 0x30]
test rdi, rdi
je 0x1400882ea
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400882ea
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x1400882ea
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
nop
jmp 0x14008842a
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 [0x140338528]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140088354
mov rdx, qword [rax + 8]
jmp 0x140088357
mov rdx, rbx
mov r8d, 0x58
call fcn.140055ea0
mov rcx, rax
mov qword [rsp + 0x78], rbx
lea rax, [0x14008a210]
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.140089ae0
nop
mov rdi, qword [rsp + 0x58]
test rdi, rdi
je 0x14008840b
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14008840b
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x14008840b
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 0x14008842a
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.140024000
nop
lea rcx, [rbp - 0x20]
call fcn.14003b430
int3