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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rsi
push r15
lea rbp, [rsp - 0x200]
sub rsp, 0x300
xor eax, eax
mov r15, rcx
mov ecx, dword [0x140244804]
mov dword [rbp - 0x50], eax
mov qword [rbp + 0x1b8], rax
mov qword [rbp + 0x1c0], rax
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]
test eax, eax
je 0x140134ff5
mov qword [rsp + 0x2f8], rbx
xor r9d, r9d
mov qword [rsp + 0x2f0], rdi
xor r8d, r8d
mov qword [rsp + 0x2e8], r12
mov edx, 0x411
mov qword [rsp + 0x2e0], r13
mov rcx, r15
mov qword [rsp + 0x2d8], r14
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x421
mov qword [rsp + 0x28], rax
mov rcx, r15
mov r13, rax
lea r14d, [rax + 1]
mov dword [rbp + 0x230], r14d
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x429
mov rcx, r15
mov rbx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x140241998]
mov edx, 4
mov r12d, eax
mov rdi, rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], r12
lea r8, [r12*4]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rsp + 0x48], rax
mov edx, 0x409
mov rsi, rax
mov rcx, r15
test rbx, rbx
je 0x140134bb1
lea r9, [rax + 4]
lea r8d, [rdi - 1]
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [rbx + 4]
mov dword [rsi], ecx
jmp 0x140134bbd
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 ds:[rsp + 0x40], rax
test edi, edi
je 0x140134ce2
lfence
mov rdi, rsi
mov rbx, rax
mov rsi, r12
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rdi]
lea r9, [rbp - 0x80]
mov edx, 0x407
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x140134c21
mov rax, qword [rbp - 0x70]
mov qword [rbx], rax
add rdi, 4
add rbx, 8
sub rsi, 1
jne 0x140134c00
mov r8d, dword ds:[rsp + 0x20]
lea rcx, [rbp + 0x238]
mov edx, r14d
call fcn.140133680
mov r13, qword [rsp + 0x40]
mov r15, r12
mov r12, qword [rbp + 0x238]
xor r14d, r14d
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 0x140134c70
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 0x140134cb5
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 [r12]
mov qword [r14 + rcx], rax
add r14, 8
sub r15, 1
jne 0x140134c60
mov r15, qword [rbp + 0x220]
mov r13, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x20]
jmp 0x140134cfb
mov r8d, edi
lea rcx, [rbp + 0x238]
mov edx, r14d
call fcn.140133680
mov r12, qword [rbp + 0x238]
nop dword [rax + rax]
test r13d, r13d
je 0x140134e6d
lfence
mov r14, qword [rbp + 0x238]
xor ebx, ebx
mov esi, r13d
mov ecx, ebx
mov qword [rsp + 0x38], rbx
add r14, 8
mov qword [rsp + 0x28], rsi
nop dword [rax + rax]
mov r8, rcx
xor r9d, r9d
mov rcx, r15
mov edx, 0x412
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140134e17
test edi, edi
je 0x140134e46
lfence
mov rsi, qword [rsp + 0x48]
mov rdi, rbx
mov r12, qword [rsp + 0x30]
nop dword [rax]
mov qword [rsp + 0x60], rax
lea r9, [rsp + 0x58]
mov eax, dword [rsi]
xor r8d, r8d
mov edx, 0x413
mov dword [rsp + 0x68], eax
mov rcx, r15
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
call qword [sym.imp.USER32.dll_SendMessageW]
mov r15, qword [rsp + 0x70]
mov rdx, qword [0x1402418e8]
mov r13, qword [rsp + 0x78]
lea rcx, [r15 + 0x12]
call sym.ProcessHacker.exe_PhCreateObject
mov rbx, rax
lea rcx, [rax + 0x10]
mov qword [rax], r15
mov qword [rax + 8], rcx
xor eax, eax
mov word [rcx + r15], ax
test r13, r13
je 0x140134dde
mov rcx, qword [rbx + 8]
mov r8, r15
mov rdx, r13
call fcn.140188690
mov rcx, rbx
call sym.ProcessHacker.exe_PhAutoDereferenceObject
mov rcx, qword [r14]
add rsi, 4
mov r15, qword [rbp + 0x220]
mov ebx, 0
mov qword [rdi + rcx], rax
add rdi, 8
mov rax, qword [rsp + 0x50]
sub r12, 1
jne 0x140134d70
mov rsi, qword [rsp + 0x28]
jmp 0x140134e41
test edi, edi
je 0x140134e46
mov rdi, qword [rsp + 0x30]
call sym.ProcessHacker.exe_PhReferenceEmptyString
mov rcx, rax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
mov rcx, qword [r14]
lea rbx, [rbx + 8]
mov qword [rbx + rcx - 8], rax
sub rdi, 1
jne 0x140134e20
xor ebx, ebx
mov rdi, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
add r14, 8
inc rcx
sub rsi, 1
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x28], rsi
jne 0x140134d30
mov r12, qword [rbp + 0x238]
mov r8, qword ds:[rsp + 0x40]
xor edx, edx
mov rcx, qword [0x140241998]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8, qword [rsp + 0x48]
xor edx, edx
mov rcx, qword [0x140241998]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r9d, dword [rbp + 0x228]
mov r8d, edi
mov edx, dword [rbp + 0x230]
mov rcx, r12
call fcn.140133800
mov ecx, dword [rbp - 0x50]
mov rsi, rax
mov r13, qword [rsp + 0x2e0]
mov r12, qword [rsp + 0x2e8]
test ecx, ecx
je 0x140134ef7
lea rbx, [rbp - 0x48]
mov edi, ecx
mov rcx, qword [rbx]
mov edx, 0xffffffff
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], edx
cmp edx, 1
jne 0x140134eed
call fcn.1400fbcc0
add rbx, 8
sub rdi, 1
jne 0x140134ed2
mov rbx, qword [rbp + 0x1c0]
xor r14d, r14d
mov dword [rbp - 0x50], r14d
test rbx, rbx
je 0x140134f82
mov eax, dword [rbp + 0x1b8]
test eax, eax
je 0x140134f4d
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 0x140134f3b
call fcn.1400fbcc0
add rbx, 8
sub rdi, 1
jne 0x140134f20
mov rbx, qword [rbp + 0x1c0]
cmp dword ds:[rbp + 0x1bc], 0x100
mov dword [rbp + 0x1b8], r14d
jbe 0x140134f82
mov rcx, qword [0x140241998]
mov r8, rbx
xor edx, edx
mov dword [rbp + 0x1bc], r14d
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov qword [rbp + 0x1c0], r14
mov ecx, dword [0x140244804]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, qword [rsp + 0x2d8]
lea rcx, [rbp - 0x50]
mov rdi, qword [rsp + 0x2f0]
mov rbx, qword [rsp + 0x2f8]
cmp rax, rcx
jne 0x140134ff5
mov rdx, qword ds:[rbp + 0x1c8]
mov ecx, dword [0x140244804]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x140134ff5
mov r8, qword [rbp + 0x1c0]
test r8, r8
je 0x140134fe6
mov rcx, qword [0x140241998]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rax, rsi
add rsp, 0x300
pop r15
pop rsi
pop rbp
ret
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3