Function at 0x180023988
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x150
movsxd r12, r9d
mov ebx, edx
mov r14, rcx
lea r15, [r12 + 0x18]
mov qword [rax - 0xd8], r15
mov rcx, r15
call fcn.180054640
mov rsi, rax
mov qword [rsp + 0xa8], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xc0], xmm0
mov cl, byte [rsp + 0x40]
mov byte [rsp + 0x40], cl
mov qword [rsp + 0xd0], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0xd8], rax
mov byte [rsp + 0xe0], 1
mov ecx, 0x18
call fcn.1800545fc
mov rdi, rax
mov qword [rsp + 0xe8], rax
test rax, rax
je 0x180023a52
mov cl, byte [rsp + 0x40]
mov byte [rsp + 0x48], cl
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov eax, 1
mov dword [rdi + 8], eax
mov dword [rdi + 0xc], eax
lea rax, vtable.._AV___Ref_count_resource_PEAEU__default_delete___BY0A_E_std___std__.0
mov qword [rdi], rax
lea rax, [rdi + 0x10]
mov qword [rsp + 0xf0], rax
mov qword [rax], rsi
mov qword [rsp + 0x50], rdi
jmp 0x180023a59
xor edi, edi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xc8], rdi
mov byte [rsp + 0xe0], 0
mov dword [rsi], ebx
mov dword [rsi + 4], r12d
mov r8d, 8
mov rdx, rsi
mov rcx, r14
call fcn.180023368
cmp ebx, 0x5aea129c
je 0x180023b2a
cmp ebx, 0x5aea2442
je 0x180023b2a
test r12d, r12d
je 0x180023b4d
lea rdx, [0x1800c11c8]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x1800c11c8]
mov qword [rsp + 0xf8], rdx
lea rax, [0x1800c11a8]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rax, qword [0x1800c11a8]
mov qword [rsp + 0x100], rax
lea rcx, [rsi + 8]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rax
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
mov r9, r12
mov r8, qword [rsp + 0x190]
lea rdx, [rsp + 0x120]
call fcn.18002a090
movups xmm0, xmmword [rsp + 0x120]
movdqu xmmword [rsi + r15 - 0x10], xmm0
jmp 0x180023b4d
mov r8, r12
mov rdx, qword [rsp + 0x190]
lea rcx, [rsi + 8]
call fcn.180056680
mov r8, r12
lea rdx, [rsi + 8]
mov rcx, r14
call fcn.180023390
mov rbx, qword [r14 + 0x120]
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0x58], r14
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
xor r14d, r14d
test rdi, rdi
je 0x180023b93
lock inc dword [rdi + 8]
mov r15, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0x50]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], r15
lea rax, [rsp + 0x58]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x88], rax
mov ecx, dword [0x1800c6a7c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x108], rax
test rax, rax
je 0x180023bdb
mov rdx, qword [rax + 8]
jmp 0x180023bde
mov rdx, r14
mov qword [rsp + 0xb8], rdx
mov r9d, 8
lea r8d, [r9 + 0x58]
mov cl, byte [rsp + 0x48]
call fcn.180012960
mov r8, rax
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], r14
mov qword [rsp + 0x138], rbx
mov qword [rax + 0x20], r14
lea rax, [0x18002fdc4]
mov qword [r8 + 0x28], rax
mov qword [r8], r14
mov qword [r8 + 8], r14
mov dword [r8 + 0x10], r14d
mov dword [r8 + 0x14], r14d
mov qword [r8 + 0x18], r14
mov dword [r8 + 0x30], r14d
lea rdx, [r8 + 0x38]
mov qword [rsp + 0x110], rdx
mov rax, qword [rsp + 0x58]
mov qword [rdx], rax
lea rcx, [rdx + 8]
mov qword [rsp + 0x118], rcx
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov rax, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x68]
mov qword [rcx + 8], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov rax, qword [rsp + 0x70]
mov qword [rdx + 0x18], rax
mov qword [rsp + 0x98], r8
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x80], rax
lock inc dword [rax + 0x30]
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x80]
call fcn.180040380
mov qword [rsp + 0x98], r14
mov qword [rsp + 0x90], r14
lea rcx, [rsp + 0x88]
call fcn.18004668c
mov rcx, qword [rsp + 0x68]
or edi, 0xffffffff
test rcx, rcx
je 0x180023d0e
mov qword [rsp + 0x78], rcx
mov eax, edi
lock xadd dword [rcx + 8], eax
add eax, edi
jne 0x180023d0e
mov rbx, qword [rsp + 0x78]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
add eax, edi
jne 0x180023d0e
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x180023d47
mov eax, edi
lock xadd dword [rcx + 8], eax
add eax, edi
jne 0x180023d47
mov rbx, qword [rsp + 0x50]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
add eax, edi
jne 0x180023d47
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret