Function at 0x180037a70
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 r8, qword [rdx + 0x18]
test r8, r8
je 0x180037aab
lock inc dword [r8 + 8]
mov r8, qword [rdx + 0x18]
mov rax, qword [rdx + 0x10]
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], r8
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 [0x1800a2b60]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x180037b36
cmp qword [rax], rbx
je 0x180037c98
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x180037b24
lea rax, [rbp - 0x39]
mov qword [rbp + 0x37], rax
lea rdx, [rbp + 0xf]
mov ecx, 0xb0
call fcn.180005020
mov r8, rax
mov qword [rax + 0x20], r14
lea rax, [0x1800385d0]
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.180008740
nop
mov edi, 0xffffffff
mov rbx, qword [rbp + 0x17]
test rbx, rbx
je 0x180037c4b
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180037c4b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180037c4b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rbp - 0x31]
test rbx, rbx
je 0x180037c7b
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180037c7b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x180037c7b
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 0x180037b36
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x39]
call fcn.180038760
nop
jmp 0x180037c14