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

Disassembly:
push rbp
push rdi
push r12
push r15
lea rbp, [rsp - 0x438]
sub rsp, 0x538
mov rax, qword [0x14020a008]
xor rax, rsp
mov qword [rbp + 0x420], rax
xor r12d, r12d
mov r15, rcx
mov ecx, dword [0x1402169f0]
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 [0x1402169f0]
lea rdx, ds:[rsp + 0x70]
mov qword [rbp + 0x188], rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14012f546
mov qword [rsp + 0x568], rbx
lea rax, [rbp + 0x320]
mov qword [rsp + 0x570], rsi
mov ebx, r12d
mov qword [rsp + 0x578], r13
mov esi, r12d
mov qword [rsp + 0x530], r14
mov dword [rsp + 0x30], 0x24
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x80
movsxd r8, ebx
lea r9, [rsp + 0x30]
mov edx, 0x105f
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x14012f353
inc esi
inc ebx
cmp ebx, 0x64
jb 0x14012f330
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, qword [0x140213b58]
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
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 0x14012f4ae
nop dword [rax]
nop dword [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 0x14012f49f
xor eax, eax
mov ebx, eax
test esi, esi
je 0x14012f43b
nop word [rax + rax]
mov r8d, ebx
mov edx, r14d
mov rcx, r15
call fcn.14012f190
lea rcx, [rsp + 0x20]
mov r8, qword [rax]
mov rdx, qword [rax + 8]
call sym.ProcessHacker.exe_PhAppendStringBuilderEx
lea rcx, [0x1401b4e40]
call sym.ProcessHacker.exe_PhCountStringZ
lea rdx, [0x1401b4e40]
lea rcx, [rsp + 0x20]
lea r8, [rax + rax]
call sym.ProcessHacker.exe_PhAppendStringBuilderEx
inc ebx
cmp ebx, esi
jb 0x14012f3f0
mov rdi, qword [rsp + 0x28]
mov r8, qword ds:[rdi]
test r8, r8
je 0x14012f478
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.140165120
add qword [rdi], 0xfffffffffffffffc
mov rcx, qword [rdi]
xor edx, edx
mov rax, qword [rdi + 8]
mov word [rcx + rax], dx
lea rcx, [0x1401b34a8]
nop
call sym.ProcessHacker.exe_PhCountStringZ
lea rdx, [0x1401b34a8]
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 0x14012f3c0
lea rcx, [rsp + 0x70]
call sym.ProcessHacker.exe_PhDrainAutoPool
mov ecx, dword [0x1402169f0]
nop
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, qword [rsp + 0x530]
lea rcx, [rsp + 0x70]
mov r13, qword [rsp + 0x578]
mov rsi, qword [rsp + 0x570]
mov rbx, qword [rsp + 0x568]
cmp rax, rcx
jne 0x14012f546
mov rdx, qword ds:[rbp + 0x188]
mov ecx, dword [0x1402169f0]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14012f546
mov r8, qword [rbp + 0x180]
test r8, r8
je 0x14012f526
mov rcx, qword [0x140213cd0]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rax, rdi
mov rcx, qword [rbp + 0x420]
xor rcx, rsp
call fcn.140161390
add rsp, 0x538
pop r15
pop r12
pop rdi
pop rbp
ret
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3