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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x140237008]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
xor eax, eax
mov qword [rsp + 0x40], rcx
mov r12, rcx
mov dword [rbp - 0x30], eax
mov ecx, dword [0x140244804]
mov rdi, r8
mov qword [rbp + 0x1d8], rax
mov ebx, edx
mov qword [rbp + 0x1e0], rax
mov dword [rsp + 0x30], r9d
mov qword [rsp + 0x48], r8
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [0x140244804]
lea rdx, [rbp - 0x30]
mov qword [rbp + 0x1e8], rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400b2d5f
mov qword [rsp + 0x358], r13
xor r9d, r9d
lea r13d, [rbx + 1]
mov qword [rsp + 0x308], r14
xor r8d, r8d
mov dword [rsp + 0x20], r13d
mov edx, 0x421
mov qword [rsp + 0x300], r15
mov rcx, r12
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x429
mov rcx, r12
mov rbx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x140241998]
mov edx, 4
mov r15d, eax
mov r14, rax
mov qword [rsp + 0x38], rax
lea r8, [r15*4]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword ds:[rsp + 0x50], rax
mov edx, 0x409
mov rsi, rax
mov rcx, r12
test rbx, rbx
je 0x1400b293a
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 0x1400b2946
mov r9, rsi
mov r8, r15
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x140241998]
lea r8, ds:[r15*8]
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rsp + 0x58], rax
test r14d, r14d
je 0x1400b2a50
lfence
mov rdi, rsi
mov rbx, rax
mov rsi, r15
mov r8d, dword [rdi]
lea r9, [rsp + 0x70]
mov edx, 0x407
mov rcx, r12
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x1400b29a2
mov rax, qword [rbp - 0x80]
mov qword [rbx], rax
add rdi, 4
add rbx, 8
sub rsi, 1
jne 0x1400b2980
mov r8d, r14d
lea rcx, [rsp + 0x28]
mov edx, r13d
call fcn.140133680
mov r13, qword [rsp + 0x28]
xor r14d, r14d
mov r12, qword [rsp + 0x58]
mov rdi, qword [r14 + r12]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1400b29e0
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 0x1400b2a25
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 [r13]
mov qword [r14 + rcx], rax
add r14, 8
sub r15, 1
jne 0x1400b29d2
mov r14, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
jmp 0x1400b2a65
mov r8d, r14d
lea rcx, [rsp + 0x28]
mov edx, r13d
call fcn.140133680
xor r15d, r15d
mov r13d, r15d
mov dword [rsp + 0x24], r15d
cmp dword [rdi], r15d
jbe 0x1400b2bdd
nop dword [rax]
mov rax, qword [rdi + 8]
mov esi, r15d
mov ecx, r13d
mov rdx, qword [rax + rcx*8]
mov qword [rsp + 0x68], rdx
test r14d, r14d
je 0x1400b2bcc
lfence
mov r15, qword [rsp + 0x50]
lea eax, [r13 + 1]
lea rax, [rax*8]
add rax, qword [rsp + 0x28]
xor edi, edi
mov r13, rax
mov r14d, edi
nop dword [rax]
mov eax, dword [r15]
lea r9, [rbp - 0x60]
mov qword [rbp - 0x58], rdx
xor r8d, r8d
mov edx, 0x413
mov dword [rbp - 0x50], eax
mov rcx, r12
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x40], rdi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, qword [rbp - 0x48]
test esi, esi
je 0x1400b2b59
test rbx, rbx
jne 0x1400b2b05
call sym.ProcessHacker.exe_PhReferenceEmptyString
mov rbx, rax
jmp 0x1400b2b99
mov rdx, qword [0x1402418e8]
lea rcx, [rbx + 0x12]
mov r12, qword [rbp - 0x40]
call sym.ProcessHacker.exe_PhCreateObject
mov rdi, rax
lea rcx, [rax + 0x10]
mov qword [rax], rbx
mov qword [rax + 8], rcx
xor eax, eax
mov word [rcx + rbx], ax
test r12, r12
je 0x1400b2b45
mov rcx, qword ds:[rdi + 8]
mov r8, rbx
mov rdx, r12
call fcn.140188690
mov rcx, rdi
call sym.ProcessHacker.exe_PhAutoDereferenceObject
mov r12, qword [rsp + 0x40]
mov rbx, rax
xor edi, edi
jmp 0x1400b2b99
mov rdx, qword [0x1402418e8]
lea rcx, [rbx + 0x12]
call sym.ProcessHacker.exe_PhCreateObject
lea rcx, ds:[rax + 0x10]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov word [rcx + rbx], di
mov rcx, rax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
mov r8, qword [rbp - 0x48]
mov rbx, rax
mov rdx, qword [rbp - 0x40]
mov rcx, qword [rax + 8]
call fcn.140188690
mov rax, qword [r13]
inc esi
mov rdx, qword [rsp + 0x68]
add r15, 4
mov qword [r14 + rax], rbx
add r14, 8
cmp esi, dword [rsp + 0x38]
jb 0x1400b2ac0
mov r13d, dword [rsp + 0x24]
xor r15d, r15d
mov r14, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
inc r13d
mov dword [rsp + 0x24], r13d
cmp r13d, dword [rdi]
jb 0x1400b2a80
mov r8, qword [rsp + 0x50]
xor edx, edx
mov rcx, qword [0x140241998]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8, qword ds:[rsp + 0x58]
xor edx, edx
mov rcx, qword [0x140241998]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r9d, dword [rsp + 0x30]
mov r8d, r14d
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
call fcn.140133800
mov ecx, dword [rbp - 0x30]
mov rsi, rax
mov r14, qword [rsp + 0x308]
mov r13, qword [rsp + 0x358]
test ecx, ecx
je 0x1400b2c66
lea rbx, [rbp - 0x28]
mov edi, ecx
nop dword [rax]
mov rcx, qword [rbx]
mov edx, 0xffffffff
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], edx
cmp edx, 1
jne 0x1400b2c5b
call fcn.1400fbcc0
add rbx, 8
sub rdi, 1
jne 0x1400b2c40
mov rbx, qword [rbp + 0x1e0]
mov dword [rbp - 0x30], r15d
test rbx, rbx
je 0x1400b2cef
mov eax, dword ds:[rbp + 0x1d8]
test eax, eax
je 0x1400b2cbc
mov edi, eax
nop word [rax + rax]
mov rcx, qword [rbx]
mov eax, 0xffffffff
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400b2cab
call fcn.1400fbcc0
add rbx, 8
sub rdi, 1
jne 0x1400b2c90
mov rbx, qword [rbp + 0x1e0]
cmp dword [rbp + 0x1dc], 0x100
mov dword [rbp + 0x1d8], r15d
jbe 0x1400b2cef
mov rcx, qword [0x140241998]
mov r8, rbx
xor edx, edx
mov dword [rbp + 0x1dc], r15d
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov qword [rbp + 0x1e0], r15
mov ecx, dword [0x140244804]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r15, qword [rsp + 0x300]
lea rcx, [rbp - 0x30]
cmp rax, rcx
jne 0x1400b2d5f
mov rdx, qword [rbp + 0x1e8]
mov ecx, dword [0x140244804]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
test eax, eax
je 0x1400b2d5f
mov r8, qword [rbp + 0x1e0]
test r8, r8
je 0x1400b2d3f
mov rcx, qword [0x140241998]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rax, rsi
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.1401848a0
add rsp, 0x310
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3