Function at 0x1400c3cc0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x14032aa00]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x20], rcx
mov rax, qword [rcx + 8]
xor esi, esi
test al, 1
jne 0x1400c3d32
and rax, 0xfffffffffffffffc
mov rax, qword [rax + 0x10]
lea rdi, [rax + 0x28]
test rax, rax
cmove rdi, rsi
mov ecx, dword [0x1403509d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400c3d32
nop dword [rax + rax]
cmp qword [rax], rdi
je 0x1400c3e2a
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400c3d20
mov rdx, qword [r14]
mov eax, 1
xchg dword [rdx + 0x408], eax
test eax, eax
je 0x1400c3d51
mov ecx, 0x90
call fcn.1401ae1f0
mov rdx, rax
mov qword [rdx + 0x20], rsi
lea rax, [0x1401124f0]
mov qword [rdx + 0x28], rax
mov qword [rdx], rsi
mov qword [rdx + 8], rsi
mov qword [rdx + 0x10], 0
mov qword [rdx + 0x18], rsi
mov dword [rdx + 0x30], esi
mov rcx, qword [rbx]
mov qword [rdx + 0x38], rcx
mov rax, qword [rbx + 8]
mov qword [rdx + 0x40], rax
mov rax, qword [rbx + 0x10]
mov qword [rdx + 0x48], rax
mov qword [rdx + 0x50], rsi
mov qword [rdx + 0x58], rsi
mov rax, qword [rbx + 0x18]
mov qword [rdx + 0x50], rax
mov rax, qword [rbx + 0x20]
mov qword [rdx + 0x58], rax
mov qword [rbx + 0x18], rsi
mov qword [rbx + 0x20], rsi
mov rax, qword [rbx + 0x28]
mov qword [rdx + 0x60], rax
xorps xmm0, xmm0
movups xmmword [rdx + 0x68], xmm0
mov qword [rdx + 0x78], rsi
mov qword [rdx + 0x80], rsi
movups xmm0, xmmword [rbx + 0x30]
movups xmmword [rdx + 0x68], xmm0
movups xmm1, xmmword [rbx + 0x40]
movups xmmword [rdx + 0x78], xmm1
mov qword [rbx + 0x40], rsi
mov qword [rbx + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbx + 0x30], 0
mov rax, qword [r14]
mov qword [rdx + 0x88], rax
mov rax, qword [r14 + 8]
and rax, 0xfffffffffffffffc
mov rcx, qword [rax + 0x10]
lock inc dword [rcx + 0x30]
call fcn.1401257a0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1401ae6a0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop r14
pop rdi
pop rsi
ret
cmp qword [rax + 8], rsi
je 0x1400c3d32
mov rax, qword [rbx]
mov qword [rsp + 0x30], rax
mov rax, qword [rbx + 8]
mov qword [rsp + 0x38], rax
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x40], rax
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x48], rax
mov rax, qword [rbx + 0x20]
mov qword [rsp + 0x50], rax
mov qword [rbx + 0x18], rsi
mov qword [rbx + 0x20], rsi
mov rax, qword [rbx + 0x28]
mov qword [rsp + 0x58], rax
movups xmm0, xmmword [rbx + 0x30]
movaps xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rbx + 0x40]
movaps xmmword [rsp + 0x70], xmm1
mov qword [rbx + 0x40], rsi
mov qword [rbx + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbx + 0x30], 0
nop
lea rcx, [rsp + 0x38]
call fcn.1400f3070
nop
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x1400c3ed9
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c3ed4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c3f3d
call fcn.1401ae118
movdqa xmm0, xmmword [0x1401f97c0]
movdqa xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400c3f29
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400c3f29
mov rbx, qword [rsp + 0x50]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400c3f29
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x1400c3e06
call fcn.1401bc384
int3