Function at 0x18003cfc0
Capabilities:
Get 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 - 0x57]
sub rsp, 0xb0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
mov rax, qword [rdx + 0x18]
test rax, rax
je 0x18003cff6
lock inc dword [rax + 8]
mov rax, qword [rdx + 0x10]
mov qword [rbp - 0x39], rax
mov rax, qword [rdx + 0x18]
mov qword [rbp - 0x31], rax
mov rax, qword [rcx]
mov qword [rbp - 0x29], rax
movups xmm0, xmmword [rcx + 8]
movups xmmword [rbp - 0x21], xmm0
movsd xmm1, qword [rcx + 0x18]
movsd qword [rbp - 0x11], xmm1
mov eax, dword [rcx + 0x20]
mov dword [rbp - 9], eax
movups xmm0, xmmword [rcx + 0x28]
movups xmmword [rbp - 1], xmm0
mov rax, qword [rcx + 0x38]
mov qword [rbp + 0xf], rax
mov rax, qword [rcx + 0x40]
mov qword [rbp + 0x17], rax
xor r14d, r14d
mov qword [rcx + 0x38], r14
mov qword [rcx + 0x40], r14
movups xmm0, xmmword [rcx + 0x48]
movups xmmword [rbp + 0x1f], xmm0
mov rax, qword [rcx + 0x58]
mov qword [rbp + 0x2f], rax
mov rsi, qword [rdx]
lea rdi, [rdx + 8]
mov rbx, qword [rdi]
mov ecx, dword [0x1800a4950]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x18003d085
cmp qword [rax], rbx
je 0x18003d1e7
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x18003d073
lea rax, [rbp - 0x39]
mov qword [rbp + 0x37], rax
lea rdx, [rbp + 0xf]
mov ecx, 0xb0
call fcn.1800072d0
mov r8, rax
mov qword [rax + 0x20], r14
lea rax, [0x18003db80]
mov qword [r8 + 0x28], rax
mov qword [r8], r14
mov qword [r8 + 8], r14
mov qword [r8 + 0x10], r14
mov qword [r8 + 0x18], r14
mov dword [r8 + 0x30], r14d
mov qword [r8 + 0x38], r14
mov qword [r8 + 0x40], r14
mov rax, qword [rbp - 0x39]
mov qword [r8 + 0x38], rax
mov rax, qword [rbp - 0x31]
mov qword [r8 + 0x40], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
mov rax, qword [rbp - 0x29]
mov qword [r8 + 0x48], rax
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [r8 + 0x50], xmm0
movsd xmm1, qword [rbp - 0x11]
movsd qword [r8 + 0x60], xmm1
mov eax, dword [rbp - 9]
mov dword [r8 + 0x68], eax
movups xmm0, xmmword [rbp - 1]
movups xmmword [r8 + 0x70], xmm0
mov qword [r8 + 0x80], r14
mov qword [r8 + 0x88], r14
mov rax, qword [rbp + 0xf]
mov qword [r8 + 0x80], rax
mov rax, qword [rbp + 0x17]
mov qword [r8 + 0x88], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf], xmm0
movups xmm0, xmmword [rbp + 0x1f]
movups xmmword [r8 + 0x90], xmm0
mov rax, qword [rbp + 0x2f]
mov qword [r8 + 0xa0], rax
mov qword [rbp + 0x47], r14
mov qword [rbp + 0x3f], r14
mov rdx, rdi
mov rcx, rsi
call fcn.18000b150
nop
mov edi, 0xffffffff
mov rbx, qword [rbp + 0x17]
test rbx, rbx
je 0x18003d19a
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18003d19a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18003d19a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rbp - 0x31]
test rbx, rbx
je 0x18003d1ca
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18003d1ca
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x18003d1ca
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
lea r11, [rsp + 0xb0]
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 0x18003d085
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x39]
call fcn.18003dd10
nop
jmp 0x18003d163