Function at 0x1400c0f90
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rsi, rcx
cmp qword [rcx + 0x20], 0
je 0x1400c118f
mov rcx, qword [rcx + 0x28]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x1400c0ffe
lea rcx, [0x1400b4830]
mov qword [rbp - 0x29], rcx
mov qword [rbp - 0x21], rdx
movaps xmm0, xmmword [rbp - 0x29]
movdqa xmmword [rbp - 0x29], xmm0
lea rdx, [rbp - 0x29]
mov rcx, rsi
call rax
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov r14, qword [rcx + 0x10]
mov rax, qword [rdx]
mov qword [rbp - 9], rax
mov rax, qword [rdx + 8]
mov qword [rbp - 1], rax
mov rax, qword [rdx + 0x10]
mov qword [rbp + 7], rax
mov rax, qword [rdx + 0x18]
mov qword [rbp + 0xf], rax
mov rax, qword [rdx + 0x20]
mov qword [rbp + 0x17], rax
mov rax, qword [rdx + 0x28]
mov qword [rbp + 0x1f], rax
xor ebx, ebx
mov qword [rdx + 0x20], rbx
mov qword [rdx + 0x28], rbx
movzx eax, byte [rdx + 0x30]
mov byte [rbp + 0x27], al
mov byte [rdx + 0x30], bl
movups xmm0, xmmword [rdx + 0x38]
movups xmmword [rbp + 0x2f], xmm0
movsd xmm1, qword [rdx + 0x48]
movsd qword [rbp + 0x3f], xmm1
lea rax, [rbp - 9]
mov qword [rbp + 0x77], rax
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400c1076
mov rdx, qword [rax + 8]
jmp 0x1400c1079
mov rdx, rbx
mov r9d, 8
mov r8d, 0x60
movzx ecx, byte [rbp + 0x67]
call fcn.1400aa770
mov rdx, rax
mov rcx, qword [rbp - 9]
mov qword [rax + 8], rcx
mov rcx, qword [rbp - 1]
mov qword [rax + 0x10], rcx
mov rcx, qword [rbp + 7]
mov qword [rax + 0x18], rcx
mov rcx, qword [rbp + 0xf]
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], rbx
mov qword [rax + 0x30], rbx
mov rax, qword [rbp + 0x17]
mov qword [rdx + 0x28], rax
mov rax, qword [rbp + 0x1f]
mov qword [rdx + 0x30], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x17], xmm0
movzx eax, byte [rbp + 0x27]
mov byte [rdx + 0x38], al
mov byte [rbp + 0x27], 0
movups xmm0, xmmword [rbp + 0x2f]
movups xmmword [rdx + 0x40], xmm0
movsd xmm1, qword [rbp + 0x3f]
movsd qword [rdx + 0x50], xmm1
lea rax, [0x1400b4850]
mov qword [rdx], rax
mov qword [rbp + 0x67], rdx
movzx edx, byte [rbp + 0x27]
test dl, dl
je 0x1400c1138
mov rax, qword [rbp + 0xf]
lea rcx, [rax + 0x58]
mov qword [rbp - 0x29], rax
mov rax, qword [rbp + 0x17]
mov qword [rbp - 0x21], rax
mov rax, qword [rbp + 0x1f]
mov qword [rbp - 0x19], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x17], xmm0
mov byte [rbp - 0x11], dl
mov byte [rbp + 0x27], 0
lea rdx, [rbp - 0x29]
call fcn.1400c9ba0
mov rbx, qword [rbp + 0x1f]
test rbx, rbx
je 0x1400c116e
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400c116e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400c116e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rdx, [rbp + 0x67]
mov rcx, rsi
call r14
nop
mov rcx, qword [rbp + 0x67]
test rcx, rcx
je 0x1400c118a
mov rax, qword [rcx]
xor edx, edx
call rax
nop
jmp 0x1400c0fe6
lea rcx, [rbp - 0x29]
call fcn.1400d7910
nop
lea rcx, [rbp - 0x29]
call fcn.1400d01d0
int3