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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rdi, rdx
mov rbx, rcx
mov rax, qword [rdx + 0x10]
mov qword [rsp + 0x70], rax
mov rax, qword [rdx + 0x20]
test rax, rax
je 0x1400f4f10
lock inc dword [rax + 8]
mov rax, qword [rdx + 0x18]
mov qword [rsp + 0x78], rax
mov rax, qword [rdx + 0x20]
mov qword [rbp - 0x80], rax
mov rax, qword [rdx + 0x28]
mov qword [rbp - 0x78], rax
mov rax, qword [rdx + 0x38]
test rax, rax
je 0x1400f4f36
lock inc dword [rax + 8]
mov rax, qword [rdx + 0x30]
mov qword [rbp - 0x70], rax
mov rax, qword [rdx + 0x38]
mov qword [rbp - 0x68], rax
mov rdx, rbx
lea rcx, [rbp - 0x60]
call fcn.1400bd620
lea rdx, [rbx + 0xa0]
lea rcx, [rbp + 0x40]
call fcn.1400bdad0
movups xmm0, xmmword [rbx + 0x1b8]
movups xmmword [rbp + 0x158], xmm0
mov eax, dword [rbx + 0x1c8]
mov dword [rbp + 0x168], eax
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x170]
call fcn.1400bd1e0
nop
lea rsi, [rdi + 8]
mov rdi, qword [rdi]
mov rbx, qword [rsi]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400f4fc2
nop dword [rax]
cmp qword [rax], rbx
je 0x1400f5178
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400f4fb0
lea rax, [rbp + 0x170]
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x170]
mov ecx, 0x238
call fcn.140062870
mov rbx, rax
xor r14d, r14d
mov qword [rax + 0x20], r14
lea rax, [fcn.14014dff0]
mov qword [rbx + 0x28], rax
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
mov dword [rbx + 0x30], r14d
lea rcx, [rbx + 0x38]
lea rdx, [rbp + 0x170]
call fcn.1400bd1e0
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.140156110
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
test al, al
je 0x1400f50b0
mov rax, qword [rsi]
mov qword [rsp + 0x20], rax
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rsi]
mov qword [rsp + 0x40], rax
call fcn.14018e9e0
xor r9d, r9d
lea r8, [rsp + 0x60]
mov rdx, rbx
mov rcx, qword [rdi + 0x28]
call fcn.14014dff0
nop
lea rcx, [rsp + 0x38]
call fcn.1400c5a90
nop
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rbp + 0x328]
call fcn.1400c0650
lea rcx, [rbp + 0x210]
call fcn.1400c0650
lea rcx, [rbp + 0x170]
call fcn.1400c0650
nop
lea rcx, [rbp + 0x128]
call fcn.1400c0650
lea rcx, [rbp + 0x10]
call fcn.1400c0650
mov edi, 0xffffffff
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x1400f5126
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400f5126
mov rbx, qword [rbp - 0x68]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400f5126
mov rcx, qword [rbp - 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x1400f515b
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400f515b
mov rbx, qword [rbp - 0x80]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400f515b
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
cmp qword [rax + 8], 0
je 0x1400f4fc2
nop
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x170]
call fcn.1400d0bd0
nop
nop
jmp 0x1400f50b0