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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x140237008]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rdi, qword [0x140243040]
xor eax, eax
mov r13, qword [0x140243038]
mov ebx, edx
mov ecx, dword [0x140244804]
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x58], r13
mov dword [rbp - 0x50], eax
mov qword [rbp + 0x1b8], rax
mov qword [rbp + 0x1c0], rax
mov dword [rsp + 0x44], r9d
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [0x140244804]
lea rdx, [rbp - 0x50]
mov qword [rbp + 0x1c8], rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop dword [rax]
test eax, eax
je 0x14009e806
mov qword [rsp + 0x310], r12
xor r9d, r9d
mov qword [rsp + 0x320], r14
xor r8d, r8d
mov qword [rsp + 0x328], r15
mov edx, 0x421
lea r15d, [rbx + 1]
mov rcx, r13
mov dword [rsp + 0x40], 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 [0x140241998]
mov edx, 4
mov r12d, eax
mov r14, rax
mov qword [rsp + 0x60], rax
lea r8, [r12*4]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rsp + 0x70], rax
mov edx, 0x409
mov rsi, rax
mov rcx, r13
test rbx, rbx
je 0x14009e503
lea r9, [rax + 4]
lea r8d, [r14 - 1]
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [rbx + 4]
mov dword [rsi], ecx
jmp 0x14009e50f
mov r9, rsi
mov r8, r12
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x140241998]
lea r8, [r12*8]
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rsp + 0x50], rax
test r14d, r14d
je 0x14009e634
lfence
mov rdi, rsi
mov rbx, rax
mov rsi, r12
nop dword [rax]
nop word [rax + rax]
mov r8d, dword [rdi]
lea r9, [rsp + 0x78]
mov edx, 0x407
mov rcx, r13
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x14009e572
mov rax, qword [rbp - 0x78]
mov qword [rbx], rax
add rdi, 4
add rbx, 8
sub rsi, 1
jne 0x14009e550
mov r8d, r14d
lea rcx, [rsp + 0x48]
mov edx, r15d
call fcn.140133680
mov r15, qword [rsp + 0x48]
xor r14d, r14d
mov r13, qword [rsp + 0x50]
nop dword [rax]
nop word [rax + rax]
mov rdi, qword [r14 + r13]
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x14009e5c0
mov rdx, qword [0x1402418e8]
add rbx, rbx
lea rcx, [rbx + 0x12]
call sym.ProcessHacker.exe_PhCreateObject
mov rsi, rax
lea rcx, [rax + 0x10]
mov qword [rax], rbx
mov qword [rax + 8], rcx
xor eax, eax
mov word [rcx + rbx], ax
test rdi, rdi
je 0x14009e605
mov rcx, qword [rsi + 8]
mov r8, rbx
mov rdx, rdi
call fcn.140188690
mov rcx, rsi
call sym.ProcessHacker.exe_PhAutoDereferenceObject
mov rcx, qword [r15]
mov qword [r14 + rcx], rax
add r14, 8
sub r12, 1
jne 0x14009e5b0
mov r13, qword [rsp + 0x58]
mov r14, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
jmp 0x14009e64a
mov r8d, r14d
lea rcx, [rsp + 0x48]
mov edx, r15d
call fcn.140133680
mov r15, qword [rsp + 0x48]
xor r12d, r12d
mov dword [rbp - 0x58], 1
mov ebx, r12d
cmp dword [rdi], r12d
jbe 0x14009e691
nop dword [rax]
mov rdx, qword [rdi + 8]
lea rcx, [rbp - 0x58]
mov eax, ebx
mov r9, r15
mov dword [rsp + 0x30], r14d
xor r8d, r8d
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rcx
mov rcx, r13
mov rdx, qword [rdx + rax*8]
call fcn.14009e140
inc ebx
cmp ebx, dword [rdi]
jb 0x14009e660
mov rcx, qword [0x140241998]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8, qword [rsp + 0x50]
xor edx, edx
mov rcx, qword [0x140241998]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r9d, dword [rsp + 0x44]
mov r8d, r14d
mov edx, dword [rsp + 0x40]
mov rcx, r15
call fcn.140133800
mov ecx, dword [rbp - 0x50]
mov rsi, rax
mov r15, qword [rsp + 0x328]
mov r14, qword [rsp + 0x320]
test ecx, ecx
je 0x14009e715
lea rbx, [rbp - 0x48]
mov edi, ecx
nop
mov rcx, qword [rbx]
mov edx, 0xffffffff
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], edx
cmp edx, 1
jne 0x14009e70b
call fcn.1400fbcc0
add rbx, 8
sub rdi, 1
jne 0x14009e6f0
mov rbx, qword [rbp + 0x1c0]
mov dword [rbp - 0x50], r12d
test rbx, rbx
je 0x14009e790
mov eax, dword [rbp + 0x1b8]
test eax, eax
je 0x14009e75d
mov edi, eax
mov rcx, qword [rbx]
mov eax, 0xffffffff
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14009e74c
call fcn.1400fbcc0
add rbx, 8
sub rdi, 1
jne 0x14009e731
mov rbx, qword [rbp + 0x1c0]
cmp dword [rbp + 0x1bc], 0x100
mov dword [rbp + 0x1b8], r12d
jbe 0x14009e790
mov rcx, qword [0x140241998]
mov r8, rbx
xor edx, edx
mov dword [rbp + 0x1bc], r12d
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov qword [rbp + 0x1c0], r12
mov ecx, dword [0x140244804]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r12, qword [rsp + 0x310]
lea rcx, [rbp - 0x50]
cmp rax, rcx
jne 0x14009e806
mov rdx, qword ds:[rbp + 0x1c8]
mov ecx, dword [0x140244804]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14009e806
mov r8, qword [rbp + 0x1c0]
test r8, r8
je 0x14009e7e6
mov rcx, qword [0x140241998]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rax, rsi
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1401848a0
add rsp, 0x2e0
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3