Function at 0x1400e8ed0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push r12
push r15
lea rbp, [rsp - 0x430]
sub rsp, 0x530
xor r12d, r12d
mov r15, rcx
mov ecx, dword [0x140196214]
mov dword [rsp + 0x70], r12d
mov qword [rbp + 0x178], r12
mov qword [rbp + 0x180], r12
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [0x140196214]
lea rdx, [rsp + 0x70]
mov qword [rbp + 0x188], rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x1400e8f32
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov qword [rsp + 0x550], rbx
lea rax, [rbp + 0x190]
mov qword [rsp + 0x558], rsi
mov ebx, r12d
mov qword [rsp + 0x560], rdi
mov esi, r12d
mov qword [rsp + 0x528], r13
mov qword [rsp + 0x520], r14
mov dword [rsp + 0x30], 0x24
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x80
nop dword [rax]
movsxd r8, ebx
lea r9, [rsp + 0x30]
mov edx, 0x105f
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1400e8fa3
inc esi
inc ebx
cmp ebx, 0x64
jb 0x1400e8f80
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, qword [0x140196800]
mov ecx, 0x112
mov r13, rax
mov qword [rsp + 0x20], 0x100
call sym.ProcessHacker.exe_PhCreateObject
mov qword [rsp + 0x28], rax
mov rdi, rax
mov r14d, r12d
mov qword [rax], 0x100
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rcx + 0x100], r12w
mov qword [rax], r12
mov rax, qword [rax + 8]
mov word [rax], r12w
test r13d, r13d
je 0x1400e90fb
nop word [rax + rax]
mov r9d, 2
mov r8, r12
mov edx, 0x102c
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageW]
test al, 2
je 0x1400e90ec
xor eax, eax
mov ebx, eax
test esi, esi
je 0x1400e908b
nop word [rax + rax]
mov r8d, ebx
mov edx, r14d
mov rcx, r15
call fcn.1400e8de0
lea rcx, [rsp + 0x20]
mov r8, qword [rax]
mov rdx, qword [rax + 8]
call sym.ProcessHacker.exe_PhAppendStringBuilderEx
lea rcx, [0x140159cd8]
call sym.ProcessHacker.exe_PhCountStringZ
lea rdx, [0x140159cd8]
lea rcx, [rsp + 0x20]
lea r8, [rax + rax]
call sym.ProcessHacker.exe_PhAppendStringBuilderEx
inc ebx
cmp ebx, esi
jb 0x1400e9040
mov rdi, qword [rsp + 0x28]
mov r8, qword [rdi]
test r8, r8
je 0x1400e90c6
mov rcx, qword [rdi + 8]
mov rdx, r8
and rdx, 0xfffffffffffffffe
sub rdx, 4
sub r8, rdx
add rcx, rdx
sub r8, 4
lea rdx, [rcx + 4]
call fcn.14010e700
add qword [rdi], 0xfffffffffffffffc
mov rcx, qword [rdi]
xor edx, edx
mov rax, qword [rdi + 8]
mov word [rcx + rax], dx
lea rcx, [0x140157ff8]
call sym.ProcessHacker.exe_PhCountStringZ
lea rdx, [0x140157ff8]
lea rcx, [rsp + 0x20]
lea r8, [rax + rax]
call sym.ProcessHacker.exe_PhAppendStringBuilderEx
mov rdi, qword [rsp + 0x28]
inc r14d
inc r12
cmp r14d, r13d
jb 0x1400e9010
lea rcx, [rsp + 0x70]
call sym.ProcessHacker.exe_PhDrainAutoPool
mov ecx, dword [0x140196214]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, qword [rsp + 0x520]
lea rcx, [rsp + 0x70]
mov r13, qword [rsp + 0x528]
mov rsi, qword [rsp + 0x558]
mov rbx, qword [rsp + 0x550]
cmp rax, rcx
je 0x1400e9147
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov rdx, qword [rbp + 0x188]
mov ecx, dword [0x140196214]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x1400e916a
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov r8, qword [rbp + 0x180]
test r8, r8
je 0x1400e9185
mov rcx, qword [0x140196670]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rax, rdi
mov rdi, qword [rsp + 0x560]
add rsp, 0x530
pop r15
pop r12
pop rbp
ret