Function at 0x1400e6710
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push r14
sub rsp, 0xa0
mov rbx, rdx
mov r14, rcx
mov rax, qword [rcx + 8]
xor esi, esi
test al, 1
jne 0x1400e6773
and rax, 0xfffffffffffffffc
mov rax, qword [rax + 0x10]
lea rdi, [rax + 0x28]
test rax, rax
cmove rdi, rsi
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400e6773
cmp qword [rax], rdi
je 0x1400e6870
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400e6761
mov rdx, qword [r14]
mov eax, 1
xchg dword [rdx + 0x408], eax
test eax, eax
je 0x1400e6792
mov ecx, 0xa8
call fcn.1401ae1f0
mov rdx, rax
mov qword [rdx + 0x20], rsi
lea rax, [0x1401123c0]
mov qword [rdx + 0x28], rax
mov qword [rdx], rsi
mov qword [rdx + 8], rsi
mov qword [rdx + 0x10], 0
mov qword [rdx + 0x18], rsi
mov dword [rdx + 0x30], esi
mov rcx, qword [rbx]
mov qword [rdx + 0x38], rcx
mov rax, qword [rbx + 8]
mov qword [rdx + 0x40], rax
mov rax, qword [rbx + 0x10]
mov qword [rdx + 0x48], rax
movups xmm0, xmmword [rbx + 0x18]
movups xmmword [rdx + 0x50], xmm0
mov qword [rdx + 0x60], rsi
mov qword [rdx + 0x68], rsi
mov rax, qword [rbx + 0x28]
mov qword [rdx + 0x60], rax
mov rax, qword [rbx + 0x30]
mov qword [rdx + 0x68], rax
mov qword [rbx + 0x28], rsi
mov qword [rbx + 0x30], rsi
mov rax, qword [rbx + 0x38]
mov qword [rdx + 0x70], rax
mov rax, qword [rbx + 0x40]
mov qword [rbx + 0x40], rsi
mov qword [rdx + 0x78], rax
mov byte [rdx + 0x80], 0
movzx eax, byte [rbx + 0x50]
mov byte [rdx + 0x88], al
movzx eax, byte [rbx + 0x58]
mov byte [rdx + 0x90], al
mov byte [rbx + 0x58], 0
movzx eax, byte [rbx + 0x60]
mov byte [rdx + 0x98], al
mov byte [rbx + 0x60], 0
mov rax, qword [r14]
mov qword [rdx + 0xa0], rax
mov rax, qword [r14 + 8]
and rax, 0xfffffffffffffffc
mov rcx, qword [rax + 0x10]
lock inc dword [rcx + 0x30]
call fcn.1401257a0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
cmp qword [rax + 8], rsi
je 0x1400e6773
mov rax, qword [rbx]
mov qword [rsp + 0x20], rax
mov rax, qword [rbx + 8]
mov qword [rsp + 0x28], rax
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rbx + 0x18]
movups xmmword [rsp + 0x38], xmm0
mov rax, qword [rbx + 0x28]
mov qword [rsp + 0x48], rax
mov rax, qword [rbx + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rbx + 0x28], rsi
mov qword [rbx + 0x30], rsi
mov rax, qword [rbx + 0x38]
mov qword [rsp + 0x58], rax
mov rax, qword [rbx + 0x40]
mov qword [rbx + 0x40], rsi
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x68], sil
movzx eax, byte [rbx + 0x50]
mov byte [rsp + 0x70], al
movzx eax, byte [rbx + 0x58]
mov byte [rsp + 0x78], al
mov byte [rbx + 0x58], sil
movzx eax, byte [rbx + 0x60]
mov byte [rsp + 0x80], al
mov byte [rbx + 0x60], sil
nop
lea rcx, [rsp + 0x28]
call fcn.1400f2bf0
nop
nop
lea rcx, [rsp + 0x58]
call fcn.1400dfe90
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400e6949
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400e6949
mov rbx, qword [rsp + 0x50]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400e6949
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x1400e6856