Function at 0x18000ffc0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x190
mov rax, qword [0x18009e010]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov rsi, r8
mov r11, rdx
mov rbx, rcx
mov dword [rcx + 0x40], r9d
xor edi, edi
cmp r9d, 1
je 0x18001016f
add qword [rcx + 0x28], r8
mov r10, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x30]
shl rcx, 4
mov rax, qword [rbx + 8]
add rax, rcx
cmp rax, r10
je 0x18001006a
test r8, r8
je 0x18001006a
movups xmm0, xmmword [rax]
mov r9, qword [rbx + 0x38]
psrldq xmm0, 8
movq rdx, xmm0
mov rcx, rdx
cmp r9, rdx
cmovb rcx, r9
sub rdx, rcx
cmp r8, rdx
jae 0x180010053
lea rcx, [r9 + r8]
mov r8, rdi
jmp 0x180010061
sub r8, rdx
inc qword [rbx + 0x30]
add rax, 0x10
mov rcx, rdi
mov qword [rbx + 0x38], rcx
cmp rax, r10
jne 0x180010022
mov eax, dword [r11]
test eax, eax
jne 0x180010076
test rsi, rsi
je 0x180010080
mov rcx, qword [rbx + 0x28]
cmp rcx, qword [rbx + 0x20]
jb 0x180010086
mov rcx, qword [rbx + 0x28]
jmp 0x180010097
mov esi, 0x10000
test eax, eax
cmovne rsi, rdi
je 0x18001017a
movups xmm0, xmmword [rbx + 0x58]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [r11]
movups xmmword [rsp + 0x58], xmm1
mov qword [rsp + 0x68], rcx
mov rbp, qword [rbx + 0x48]
lea rsi, [rbx + 0x50]
mov rbx, qword [rsi]
mov ecx, dword [0x1800a2b60]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1800100de
nop word [rax + rax]
cmp qword [rax], rbx
je 0x180010154
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1800100d0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x48]
mov ecx, 0x68
call fcn.180005020
mov r8, rax
mov qword [rax + 0x20], rdi
lea rax, [0x1800120e0]
mov qword [r8 + 0x28], rax
mov qword [r8], rdi
mov qword [r8 + 8], rdi
mov qword [r8 + 0x10], rdi
mov qword [r8 + 0x18], rdi
mov dword [r8 + 0x30], edi
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [r8 + 0x38], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [r8 + 0x48], xmm1
mov rax, qword [rsp + 0x68]
mov qword [r8 + 0x58], rax
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov rdx, rsi
mov rcx, rbp
call fcn.180008740
nop
jmp 0x180010272
cmp qword [rax + 8], rdi
je 0x1800100de
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.180012b40
nop
jmp 0x180010272
mov esi, 0x10000
cmp dword [rdx], edi
cmovne rsi, rdi
mov r15, qword [rbx]
lea rbp, [rsp + 0x70]
mov r14d, setsockopt
mov rcx, rbp
call fcn.1800063f0
add rbp, 0x10
sub r14, 1
jne 0x180010188
mov r10, rdi
mov qword [rsp + 0x170], rdi
mov r11, qword [rbx + 0x10]
mov rax, qword [rbx + 0x30]
shl rax, 4
add rax, qword [rbx + 8]
mov rcx, qword [rbx + 0x38]
cmp rax, r11
je 0x18001024c
test rsi, rsi
je 0x18001024c
cmp r10, 0x10
jae 0x18001024c
movups xmm1, xmmword [rax]
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r9, xmm0
mov r8, r9
cmp rcx, r9
cmovb r8, rcx
movq rdx, xmm1
add rdx, r8
sub r9, r8
mov qword [rsp + 0x30], rdx
cmp r9, rsi
cmovae r9, rsi
mov qword [rsp + 0x38], r9
add r10, r10
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsp + r10*8 + 0x70], xmm0
mov r10, qword [rsp + 0x170]
mov rcx, r10
add rcx, rcx
mov rdx, qword [rsp + rcx*8 + 0x78]
sub rsi, rdx
mov rcx, rdi
test rdx, rdx
je 0x18001023f
inc r10
mov qword [rsp + 0x170], r10
add rax, 0x10
cmp rax, r11
jne 0x1800101c2
lea rax, [r15 + 0x68]
lea rdx, [r15 + 8]
mov rcx, qword [r15]
add rcx, 0x28
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, [rsp + 0x70]
call fcn.180011480
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.180049ee0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret