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

Disassembly:
push rbp
push r13
push r14
lea rbp, [rsp - 0x2c0]
sub rsp, 0x3c0
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
xor r14d, r14d
mov r13, rcx
cmp dword [0x1402bff40], 0xffffffff
mov ecx, dword [0x1402cdaf8]
mov dword [rbp - 0x80], r14d
mov qword [rbp + 0x188], r14
mov qword [rbp + 0x190], r14
jae 0x14018856c
cmp ecx, 0x40
jae 0x14018856c
mov rcx, qword gs:[0x30]
mov r8d, dword [0x1402cdaf8]
mov rax, qword [rcx + r8*8 + 0x1480]
jmp 0x140188579
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r8d, dword [0x1402cdaf8]
cmp dword [0x1402bff40], 0xffffffff
mov qword [rsp + 0x3f8], rdi
mov qword [rbp + 0x198], rax
jae 0x1401885b4
cmp r8d, 0x40
jae 0x1401885b4
mov rcx, qword gs:[0x30]
lea rdx, [rbp - 0x80]
mov eax, dword [0x1402cdaf8]
mov qword [rcx + rax*8 + 0x1480], rdx
jmp 0x1401885f7
lea rdx, ds:[rbp - 0x80]
mov ecx, r8d
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x1401885f7
cmp dword [0x1402bff40], 0xffffffff
jae 0x1401885e2
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x68]
jmp 0x1401885e8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
test eax, eax
js 0x140188a32
mov qword [rsp + 0x3e8], rbx
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x3f0], rsi
mov ebx, r14d
mov qword [rsp + 0x3b8], r12
mov qword [rsp + 0x3b0], r15
mov r15d, r14d
mov dword [rsp + 0x40], 0x24
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x80
nop dword [rax]
movsxd r8, ebx
lea r9, [rsp + 0x40]
mov edx, 0x105f
mov rcx, r13
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x140188665
inc r15d
inc ebx
cmp ebx, 0x64
jb 0x140188640
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
mov rcx, r13
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, qword [0x1402ca978]
mov ecx, 0x112
mov rsi, rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], 0x100
call sym.SystemInformer.exe_PhCreateObject
mov qword [rsp + 0x28], rax
mov rdi, rax
mov r12d, r14d
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rcx + 0x100], r14w
mov qword [rax], r14
mov rax, qword [rax + 8]
mov word [rax], r14w
test esi, esi
je 0x1401888a9
lfence
mov rdi, qword [rsp + 0x28]
mov rbx, r14
mov qword [rsp + 0x30], rbx
nop dword [rax]
mov r9d, 2
mov r8, rbx
mov edx, 0x102c
mov rcx, r13
call qword [sym.imp.USER32.dll_SendMessageW]
test al, 2
je 0x140188894
nop
test r15d, r15d
je 0x1401887ff
nop dword [rax]
mov r8d, r14d
mov edx, r12d
mov rcx, r13
call sym.SystemInformer.exe_PhGetListViewItemText
mov rbx, rax
test rax, rax
je 0x140188730
mov rcx, rax
call sym.SystemInformer.exe_PhAutoDereferenceObject
jmp 0x140188732
xor ebx, ebx
mov rsi, qword [rbx]
mov rbx, qword [rbx + 8]
test rsi, rsi
je 0x140188797
mov rcx, qword [rdi]
add rcx, rsi
cmp qword [rsp + 0x20], rcx
jae 0x14018876a
lfence
mov rax, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
mov rdx, qword [rax]
add rdx, rsi
call fcn.140146240
mov rdi, qword [rsp + 0x28]
test rbx, rbx
je 0x140188785
mov rcx, qword ds:[rdi + 8]
mov r8, rsi
add rcx, qword [rdi]
mov rdx, rbx
call fcn.14020a640
add qword [rdi], rsi
mov rcx, qword [rdi]
xor ebx, ebx
mov rax, qword [rdi + 8]
mov word [rcx + rax], bx
jmp 0x140188799
xor ebx, ebx
mov rax, qword [rdi]
add rax, 4
cmp qword [rsp + 0x20], rax
jae 0x1401887ca
lfence
mov rax, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
mov rdx, qword [rax]
add rdx, 4
call fcn.140146240
mov rdi, qword [rsp + 0x28]
mov rcx, qword [rdi + 8]
inc r14d
mov eax, dword [0x14023e110]
mov rdx, qword [rdi]
mov dword [rdx + rcx], eax
add qword [rdi], 4
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
mov word [rcx + rax], bx
cmp r14d, r15d
jb 0x140188710
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov r8, qword [rdi]
test r8, r8
je 0x140188845
mov rax, qword [rdi + 8]
mov rdx, r8
shr rdx, 1
sub rdx, 2
lea rcx, [rdx + rdx]
add rdx, 2
sub r8, rcx
add rcx, rax
sub r8, 4
lea rdx, [rax + rdx*2]
call fcn.14020a640
add qword [rdi], 0xfffffffffffffffc
mov rcx, qword [rdi]
xor r14d, r14d
mov rax, qword [rdi + 8]
mov word [rcx + rax], r14w
jmp 0x140188848
xor r14d, r14d
mov rax, qword [rdi]
add rax, 4
cmp qword [rsp + 0x20], rax
jae 0x140188874
lfence
mov rax, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
mov rdx, qword [rax]
add rdx, 4
call fcn.140146240
mov rdi, qword [rsp + 0x28]
mov rcx, qword [rdi + 8]
mov eax, dword [0x14023632c]
mov rdx, qword [rdi]
mov dword [rdx + rcx], eax
add qword [rdi], 4
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
mov word [rcx + rax], r14w
inc rbx
inc r12d
mov qword [rsp + 0x30], rbx
cmp r12d, esi
jb 0x1401886e0
mov eax, dword [rbp - 0x80]
mov r15, qword [rsp + 0x3b0]
mov r12, qword [rsp + 0x3b8]
mov rsi, qword [rsp + 0x3f0]
test eax, eax
je 0x1401888fa
lea rbx, [rbp - 0x78]
mov edi, eax
nop
mov rcx, qword [rbx]
mov eax, 0xffffffff
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1401888eb
call fcn.140141ca0
add rbx, 8
sub rdi, 1
jne 0x1401888d0
mov rdi, qword [rsp + 0x28]
mov rbx, qword [rbp + 0x190]
mov dword [rbp - 0x80], r14d
test rbx, rbx
je 0x140188985
mov eax, dword [rbp + 0x188]
test eax, eax
je 0x140188952
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 0x14018893b
call fcn.140141ca0
add rbx, 8
sub rdi, 1
jne 0x140188920
mov rbx, qword [rbp + 0x190]
mov rdi, qword [rsp + 0x28]
cmp dword [rbp + 0x18c], 0x100
mov dword [rbp + 0x188], r14d
jbe 0x140188985
mov rcx, qword [0x1402caad0]
mov r8, rbx
xor edx, edx
mov dword [rbp + 0x18c], r14d
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov qword [rbp + 0x190], r14
cmp dword [0x1402bff40], 0xffffffff
mov ecx, dword [0x1402cdaf8]
mov rbx, qword [rsp + 0x3e8]
jae 0x1401889c4
nop dword [rax]
cmp ecx, 0x40
jae 0x1401889c4
mov rcx, qword gs:[0x30]
mov r8d, dword [0x1402cdaf8]
mov rdi, qword [rsp + 0x28]
mov rax, qword [rcx + r8*8 + 0x1480]
jmp 0x1401889d1
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r8d, dword [0x1402cdaf8]
lea rcx, [rbp - 0x80]
cmp rax, rcx
jne 0x140188a32
mov rdx, qword [rbp + 0x198]
mov ecx, r8d
call fcn.140149540
test eax, eax
js 0x140188a32
mov r8, qword [rbp + 0x190]
test r8, r8
je 0x140188a08
mov rcx, qword [0x1402caad0]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rax, rdi
mov rdi, qword [rsp + 0x3f8]
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.1401e4160
add rsp, 0x3c0
pop r14
pop r13
pop rbp
ret
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3