Function at 0x14006c5a0
Capabilities:
Get thread local storage value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc0
mov rbp, r8
mov r15, rdx
mov rdi, rcx
xor esi, esi
mov eax, esi
mov dword [rsp + 0x40], eax
mov byte [rsp + 0x44], al
lea rcx, [0x140275440]
mov qword [rsp + 0x48], rcx
cmp qword [rdi + 8], 0xffffffffffffffff
jne 0x14006c618
mov eax, 2
mov ecx, 0x17
cmp word [rdx], ax
cmovne eax, ecx
mov dword [r11 + 8], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [r11 + 8]
lea r8, [rdi + 8]
lea rdx, [rsp + 0x50]
mov rcx, qword [rdi]
call fcn.1400778b0
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14006c739
movups xmm0, xmmword [rbp]
movups xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rbp + 0x10]
movups xmmword [rsp + 0x50], xmm0
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x14006c645
mov rax, qword [rcx]
call qword [rax]
mov rbx, rax
jmp 0x14006c648
mov rbx, rsi
mov qword [rsp + 0x118], rbx
test rbx, rbx
je 0x14006c662
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov rdi, rax
jmp 0x14006c665
mov rdi, rsi
mov qword [rsp + 0x68], rdi
test rdi, rdi
je 0x14006c83a
mov rax, qword [rdi]
mov rbp, qword [rax + 0x30]
mov ecx, dword [0x1402c6008]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14006c6b6
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14006c6b6
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x14006c6b6
mov qword [rcx + 0x10], rsi
movzx ecx, byte [rax]
cmp cl, 0x12
jb 0x14006c6ae
mov byte [rax + 0x48], cl
jmp 0x14006c6c4
mov rcx, rax
call fcn.1401ec5c4
mov ecx, 0x49
call fcn.1401ec268
mov byte [rax + 0x48], reloc.WS2_32.dll_select
lea rcx, [0x140080b80]
mov qword [rax], rcx
mov byte [rax + 9], 1
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rax + 0x10], xmm0
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + 0x30], xmm0
mov qword [rsp + 0x100], rax
lea rdx, [rsp + 0x100]
mov rcx, rdi
call rbp
nop
mov rcx, qword [rsp + 0x100]
test rcx, rcx
je 0x14006c718
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
nop
test rbx, rbx
je 0x14006c81f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x14006c81f
mov r13, qword [rdi]
mov qword [rsp + 0x50], rbp
lea rdx, [rbp + 0x10]
mov ecx, 0x98
call fcn.140021f90
mov rbx, rax
mov qword [rsp + 0x58], rax
mov rcx, qword [rdi + 8]
mov qword [rax + 0x20], rsi
lea rax, [0x14007cb30]
mov qword [rbx + 0x28], rax
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov dword [rbx + 0x30], esi
mov dword [rbx + 0x38], esi
mov byte [rbx + 0x3c], 0
lea rax, [0x140275440]
mov qword [rbx + 0x40], rax
mov qword [rbx + 0x48], rsi
lea rax, [0x1400682b0]
mov qword [rbx + 0x50], rax
mov qword [rbx + 0x58], rcx
mov byte [rbx + 0x60], 0
movups xmm0, xmmword [rbp]
movups xmmword [rbx + 0x68], xmm0
movups xmm0, xmmword [rbp + 0x10]
movups xmmword [rbx + 0x78], xmm0
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x14006c7c6
mov rax, qword [rcx]
call qword [rax]
mov rsi, rax
mov qword [rbx + 0x88], rsi
movzx eax, byte [rdi + 0x70]
mov byte [rbx + 0x90], al
lea rdx, [rbx + 0x88]
call fcn.14007ca90
mov qword [rsp + 0x60], rbx
lea rcx, [r13 + 0x28]
mov eax, reloc.WS2_32.dll_recv
mov edx, 0x1c
cmp word [r15], 2
cmovne eax, edx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9d, [rdx - 0x1b]
mov r8d, dword [rdi + 0x40]
lea rdx, [rdi + 8]
call fcn.140068790
nop
mov rbx, qword [rsp + 0x108]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rsp + 0x50]
call fcn.140023540
nop
lea rcx, [rsp + 0x50]
call fcn.1400374e0
int3