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

Disassembly:
mov r11, rsp
mov dword [r11 + 0x20], r9d
mov qword [r11 + 0x18], r8
mov qword [r11 + 8], rcx
push rbx
push rbp
push r13
sub rsp, 0x2d0
mov rax, qword [0x140195428]
xor ebp, ebp
mov r13, qword [0x140195420]
mov ebx, edx
mov ecx, dword [0x140196214]
mov dword [rsp + 0x90], ebp
mov qword [r11 - 0x50], rbp
mov qword [r11 - 0x48], rbp
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], r13
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [0x140196214]
lea rdx, [rsp + 0x90]
mov qword [rsp + 0x2a8], rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x14008d49d
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov qword [rsp + 0x2f8], rsi
xor r9d, r9d
mov qword [rsp + 0x2c8], rdi
xor r8d, r8d
mov qword [rsp + 0x2c0], r12
mov edx, 0x421
mov qword [rsp + 0x2b8], r14
mov rcx, r13
mov qword [rsp + 0x2b0], r15
lea r15d, [rbx + 1]
mov dword [rsp + 0x300], r15d
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x429
mov rcx, r13
mov rbx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x140196670]
mov edx, 4
mov r12d, eax
mov rsi, rax
mov qword [rsp + 0x2f0], rax
lea r8, [r12*4]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rsp + 0x40], rax
mov edx, 0x409
mov rdi, rax
mov rcx, r13
test rbx, rbx
je 0x14008d54e
lea r9, [rax + 4]
lea r8d, [rsi - 1]
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [rbx + 4]
mov dword [rdi], ecx
jmp 0x14008d55a
mov r9, rdi
mov r8, r12
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x140196670]
lea r14, [r12*8]
mov r8, r14
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rsp + 0x48], rax
test esi, esi
je 0x14008d5c9
mov rbx, rax
mov rsi, r12
nop word [rax + rax]
mov r8d, dword [rdi]
lea r9, [rsp + 0x60]
mov edx, 0x407
mov rcx, r13
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x14008d5b3
mov rax, qword [rsp + 0x70]
mov qword [rbx], rax
add rdi, 4
add rbx, 8
sub rsi, 1
jne 0x14008d590
mov rsi, qword [rsp + 0x2f0]
mov rdx, qword [0x140193828]
lea rcx, [r15*8]
mov edi, r15d
call sym.ProcessHacker.exe_PhCreateObject
mov rcx, rax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
mov r15, rax
cmp dword [rsp + 0x300], ebp
jbe 0x14008d631
mov rbx, rax
nop word [rax + rax]
mov rdx, qword [0x140193828]
mov rcx, r14
call sym.ProcessHacker.exe_PhCreateObject
mov rcx, rax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
mov r8, r14
mov qword [rbx], rax
xor edx, edx
mov rcx, rax
call fcn.14010ed90
lea rbx, [rbx + 8]
sub rdi, 1
jne 0x14008d600
test esi, esi
je 0x14008d6b8
mov r13, qword [rsp + 0x48]
mov r14, rbp
mov rdi, qword [r14 + r13]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rdi + rbx*2], bp
jne 0x14008d650
mov rdx, qword [0x140196800]
add rbx, rbx
lea rcx, [rbx + 0x12]
call sym.ProcessHacker.exe_PhCreateObject
mov rsi, rax
mov qword [rax], rbx
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rcx + rbx], bp
test rdi, rdi
je 0x14008d692
mov rcx, qword [rax + 8]
mov r8, rbx
mov rdx, rdi
call fcn.14010e700
mov rcx, rsi
call sym.ProcessHacker.exe_PhAutoDereferenceObject
mov rcx, qword [r15]
mov qword [r14 + rcx], rax
add r14, 8
sub r12, 1
jne 0x14008d641
mov r13, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x2f0]
mov rbx, qword [rsp + 0x58]
mov r14, qword [rsp + 0x2b8]
mov r12, qword [rsp + 0x2c0]
mov rdi, qword [rsp + 0x40]
mov dword [rsp + 0x2f0], 1
cmp dword [rbx], ebp
jbe 0x14008d715
mov rdx, qword [rbx + 8]
lea rcx, [rsp + 0x2f0]
mov eax, ebp
mov r9, r15
mov dword [rsp + 0x30], esi
xor r8d, r8d
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rcx
mov rcx, r13
mov rdx, qword [rdx + rax*8]
call fcn.14008d1f0
inc ebp
cmp ebp, dword [rbx]
jb 0x14008d6e1
mov rcx, qword [0x140196670]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8, qword [rsp + 0x48]
xor edx, edx
mov rcx, qword [0x140196670]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r9d, dword [rsp + 0x308]
mov r8d, esi
mov edx, dword [rsp + 0x300]
mov rcx, r15
call fcn.1400e8130
lea rcx, [rsp + 0x90]
mov rbx, rax
call sym.ProcessHacker.exe_PhDrainAutoPool
mov ecx, dword [0x140196214]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r15, qword [rsp + 0x2b0]
lea rcx, [rsp + 0x90]
mov rdi, qword [rsp + 0x2c8]
mov rsi, qword [rsp + 0x2f8]
cmp rax, rcx
je 0x14008d7a2
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov rdx, qword [rsp + 0x2a8]
mov ecx, dword [0x140196214]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x14008d7c6
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov r8, qword [rsp + 0x2a0]
test r8, r8
je 0x14008d7e2
mov rcx, qword [0x140196670]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rax, rbx
add rsp, 0x2d0
pop r13
pop rbp
pop rbx
ret