Function at 0x14002ce40
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x1401c5538]
xor rax, rsp
mov qword [rbp + 0x18], rax
mov rdi, rdx
xor r14d, r14d
mov rax, qword [rcx + 0x30]
mov rbx, qword [rax + 0x40]
mov rax, qword [rcx + 0x18]
mov rdx, qword [rax + 0x18]
call rdx
lea r8, [rsp + 0x20]
mov rdx, rax
lea rcx, [rbp - 0x58]
call rbx
nop
mov rcx, qword [rbp - 0x40]
mov qword [rbp - 8], rcx
mov rax, qword [rbp - 0x30]
mov qword [rbp + 8], rax
lea rax, fcn.140019b10
mov qword [rbp - 0x40], rax
lea rax, [0x140176af0]
mov qword [rbp - 0x30], rax
mov rax, qword [rcx + 0x10]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x20]
call rax
mov qword [rbp - 0x38], r14
mov rax, qword [rbp - 0x28]
mov qword [rbp + 0x10], rax
lea rax, [0x140176b90]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x40]
mov rdx, qword [rax]
lea rax, [fcn.140019b10]
cmp rdx, rax
je 0x14002cef4
lea rcx, [rbp - 0x58]
call rdx
nop
mov rcx, qword [rbp + 8]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x14002cf22
lea rcx, [0x14002c9c0]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rdi
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call rax
jmp 0x14002d08d
mov rsi, qword [rcx + 0x10]
mov rax, qword [rdi + 8]
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x50], xmm0
movsd xmm1, qword [rdi + 0x20]
movsd qword [rsp + 0x60], xmm1
mov eax, dword [rdi + 0x28]
mov dword [rsp + 0x68], eax
mov rax, qword [rdi + 0x30]
mov qword [rsp + 0x70], rax
mov rax, qword [rdi + 0x38]
mov qword [rsp + 0x78], rax
mov rax, qword [rdi + 0x40]
mov qword [rbp - 0x80], rax
mov qword [rdi + 0x38], r14
mov qword [rdi + 0x40], r14
movups xmm0, xmmword [rdi + 0x48]
movups xmmword [rbp - 0x78], xmm0
movsd xmm1, qword [rdi + 0x58]
movsd qword [rbp - 0x68], xmm1
mov rax, qword [rdi + 0x60]
mov qword [rbp - 0x60], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov ecx, dword [0x1401c9bf8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14002cfa7
mov rdx, qword [rax + 8]
jmp 0x14002cfaa
mov rdx, r14
mov r9d, 1
lea r8d, [r9 + 0x77]
movzx ecx, byte [rsp + 0x20]
call fcn.14002c080
mov rdx, rax
mov rcx, qword [rsp + 0x48]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rax + 0x18], xmm0
movsd xmm1, qword [rsp + 0x60]
movsd qword [rax + 0x28], xmm1
mov ecx, dword [rsp + 0x68]
mov dword [rax + 0x30], ecx
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x38], rcx
mov qword [rax + 0x40], r14
mov qword [rax + 0x48], r14
mov rax, qword [rsp + 0x78]
mov qword [rdx + 0x40], rax
mov rax, qword [rbp - 0x80]
mov qword [rdx + 0x48], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
movups xmm0, xmmword [rbp - 0x78]
movups xmmword [rdx + 0x50], xmm0
movsd xmm1, qword [rbp - 0x68]
movsd qword [rdx + 0x60], xmm1
mov rax, qword [rbp - 0x60]
mov qword [rdx + 0x68], rax
lea rax, [0x14002c9f0]
mov qword [rdx], rax
mov qword [rsp + 0x28], rdx
mov rbx, qword [rbp - 0x80]
test rbx, rbx
je 0x14002d06f
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14002d06f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14002d06f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x20]
call rsi
nop
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x14002d08d
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov rax, qword [rbp - 8]
mov rdx, qword [rax]
lea rcx, [rbp - 0x20]
call rdx
nop
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.1401453a0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret