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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rsi, qword [0x14032a5f0]
mov r14, rdx
mov rdi, rcx
cmp rcx, rsi
je 0x1401ffdc0
lea rcx, [rbp - 0x50]
call fcn.1401ffc40
mov rbx, qword [rax]
test rbx, rbx
jne 0x1401ffe05
lea eax, [rbx + 2]
jmp 0x1401ffff1
test rsi, rsi
je 0x1401ffdeb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rsi]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, ebx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rsi, rsi
je 0x1401ffdeb
movups xmm0, xmmword [rsi + 0x10]
jmp 0x1401ffdfd
test r14, r14
jne 0x1401ffdf9
lea eax, [r14 + 2]
jmp 0x1401ffff1
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x50], xmm0
mov rbx, qword [rbp - 0x50]
mov qword [rsp + 0x98], r15
xor r15d, r15d
mov esi, r15d
test rdi, rdi
je 0x1401fffe7
test rbx, rbx
je 0x1401fffd2
cmp qword [rdi + 8], rsi
je 0x1401fffd2
test r14, r14
je 0x1401fffd2
lea rax, [rdi + 0x10]
mov qword [rbp - 8], r15
lea rcx, [rbp - 0x20]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x10], r15
mov qword [rbp - 0x18], r15
xchg qword [rax], rcx
mov qword [rsp + 0x90], r12
lea r12, [r15 - 1]
test rcx, rcx
je 0x1401ffe88
lea rax, [rbp - 0x20]
mov qword [rcx + 8], rax
xor eax, eax
lock cmpxchg qword [rcx + 0x18], r12
je 0x1401ffe7f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
lea rcx, [rbp - 0x10]
call fcn.1402008a0
lea rax, [rbx + 0x30]
mov qword [rbp - 0x28], r15
lea rcx, [rbp - 0x40]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x38], r15
xchg qword [rax], rcx
test rcx, rcx
je 0x1401ffecc
lea rax, [rbp - 0x40]
mov qword [rcx + 8], rax
xor eax, eax
lock cmpxchg qword [rcx + 0x18], r12
je 0x1401ffec3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
lea rcx, [rbp - 0x30]
call fcn.1402008a0
mov rax, qword [rbx + 0x58]
test rax, rax
je 0x1401ffee4
cmp qword [rax + 8], rdi
je 0x1401fff34
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1401ffed5
mov edx, gethostbyname
lea ecx, [rdx - 0x2f]
call fcn.140227aac
test rax, rax
jne 0x1401ffefb
lea esi, [rax + 0xc]
jmp 0x1401fff34
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov qword [rax + 0x28], r15
mov rcx, qword [rdi + 0x18]
mov qword [rax + 0x18], rcx
test rcx, rcx
je 0x1401fff17
mov qword [rcx + 0x28], rax
mov qword [rdi + 0x18], rax
mov qword [rax + 0x20], r15
mov rcx, qword [rbx + 0x58]
mov qword [rax + 0x10], rcx
test rcx, rcx
je 0x1401fff30
mov qword [rcx + 0x20], rax
mov qword [rbx + 0x58], rax
mov rdx, qword [rbp - 0x40]
mov rcx, r15
lock xadd qword [rbp - 0x38], rcx
test rcx, rcx
jne 0x1401fff6a
lea rax, [rbp - 0x40]
lock cmpxchg qword [rdx], r15
lea rcx, [rbp - 0x40]
cmp rcx, rax
je 0x1401fff7d
lea rcx, [rbp - 0x28]
call fcn.1402008a0
mov rcx, r15
lock xadd qword [rbp - 0x38], rcx
xor eax, eax
lock cmpxchg qword [rcx + 0x10], r12
je 0x1401fff7d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rdx, qword [rbp - 0x20]
mov rcx, r15
lock xadd qword [rbp - 0x18], rcx
test rcx, rcx
jne 0x1401fffb3
lea rax, [rbp - 0x20]
lock cmpxchg qword [rdx], r15
lea rcx, [rbp - 0x20]
cmp rcx, rax
je 0x1401fffc6
lea rcx, [rbp - 8]
call fcn.1402008a0
mov rcx, r15
lock xadd qword [rbp - 0x18], rcx
xor eax, eax
lock cmpxchg qword [rcx + 0x10], r12
je 0x1401fffc6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov r12, qword [rsp + 0x90]
test esi, esi
jne 0x1401fffe7
mov ecx, dword [rdi]
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
mov ecx, inet_ntoa
cmove esi, ecx
mov r15, qword [rsp + 0x98]
mov eax, esi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret