Function at 0x140188d20
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 [0x1402cdb18]
mov dword [rbp - 0x80], r14d
mov qword [rbp + 0x188], r14
mov qword [rbp + 0x190], r14
jae 0x140188d8c
cmp ecx, 0x40
jae 0x140188d8c
mov rcx, qword gs:[0x30]
mov r8d, dword [0x1402cdb18]
mov rax, qword [rcx + r8*8 + 0x1480]
jmp 0x140188d99
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r8d, dword [0x1402cdb18]
cmp dword [0x1402bff40], 0xffffffff
mov qword [rsp + 0x3f8], rdi
mov qword [rbp + 0x198], rax
jae 0x140188dd4
cmp r8d, 0x40
jae 0x140188dd4
mov rcx, qword gs:[0x30]
lea rdx, [rbp - 0x80]
mov eax, dword [0x1402cdb18]
mov qword [rcx + rax*8 + 0x1480], rdx
jmp 0x140188e17
lea rdx, ds:[rbp - 0x80]
mov ecx, r8d
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140188e17
cmp dword [0x1402bff40], 0xffffffff
jae 0x140188e02
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x68]
jmp 0x140188e08
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
test eax, eax
js 0x140189252
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 0x140188e85
inc r15d
inc ebx
cmp ebx, 0x64
jb 0x140188e60
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
mov rcx, r13
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, qword [0x1402ca998]
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 0x1401890c9
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 0x1401890b4
nop
test r15d, r15d
je 0x14018901f
nop dword [rax]
mov r8d, r14d
mov edx, r12d
mov rcx, r13
call sym.SystemInformer.exe_PhGetListViewItemText
mov rbx, rax
test rax, rax
je 0x140188f50
mov rcx, rax
call sym.SystemInformer.exe_PhAutoDereferenceObject
jmp 0x140188f52
xor ebx, ebx
mov rsi, qword [rbx]
mov rbx, qword [rbx + 8]
test rsi, rsi
je 0x140188fb7
mov rcx, qword [rdi]
add rcx, rsi
cmp qword [rsp + 0x20], rcx
jae 0x140188f8a
lfence
mov rax, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
mov rdx, qword [rax]
add rdx, rsi
call fcn.140146440
mov rdi, qword [rsp + 0x28]
test rbx, rbx
je 0x140188fa5
mov rcx, qword ds:[rdi + 8]
mov r8, rsi
add rcx, qword [rdi]
mov rdx, rbx
call fcn.14020af00
add qword [rdi], rsi
mov rcx, qword [rdi]
xor ebx, ebx
mov rax, qword [rdi + 8]
mov word [rcx + rax], bx
jmp 0x140188fb9
xor ebx, ebx
mov rax, qword [rdi]
add rax, 4
cmp qword [rsp + 0x20], rax
jae 0x140188fea
lfence
mov rax, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
mov rdx, qword [rax]
add rdx, 4
call fcn.140146440
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 0x140188f30
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov r8, qword [rdi]
test r8, r8
je 0x140189065
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.14020af00
add qword [rdi], 0xfffffffffffffffc
mov rcx, qword [rdi]
xor r14d, r14d
mov rax, qword [rdi + 8]
mov word [rcx + rax], r14w
jmp 0x140189068
xor r14d, r14d
mov rax, qword [rdi]
add rax, 4
cmp qword [rsp + 0x20], rax
jae 0x140189094
lfence
mov rax, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
mov rdx, qword [rax]
add rdx, 4
call fcn.140146440
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 0x140188f00
mov eax, dword [rbp - 0x80]
mov r15, qword [rsp + 0x3b0]
mov r12, qword [rsp + 0x3b8]
mov rsi, qword [rsp + 0x3f0]
test eax, eax
je 0x14018911a
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 0x14018910b
call fcn.140141ea0
add rbx, 8
sub rdi, 1
jne 0x1401890f0
mov rdi, qword [rsp + 0x28]
mov rbx, qword [rbp + 0x190]
mov dword [rbp - 0x80], r14d
test rbx, rbx
je 0x1401891a5
mov eax, dword [rbp + 0x188]
test eax, eax
je 0x140189172
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 0x14018915b
call fcn.140141ea0
add rbx, 8
sub rdi, 1
jne 0x140189140
mov rbx, qword [rbp + 0x190]
mov rdi, qword [rsp + 0x28]
cmp dword [rbp + 0x18c], 0x100
mov dword [rbp + 0x188], r14d
jbe 0x1401891a5
mov rcx, qword [0x1402caaf0]
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 [0x1402cdb18]
mov rbx, qword [rsp + 0x3e8]
jae 0x1401891e4
nop dword [rax]
cmp ecx, 0x40
jae 0x1401891e4
mov rcx, qword gs:[0x30]
mov r8d, dword [0x1402cdb18]
mov rdi, qword [rsp + 0x28]
mov rax, qword [rcx + r8*8 + 0x1480]
jmp 0x1401891f1
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r8d, dword [0x1402cdb18]
lea rcx, [rbp - 0x80]
cmp rax, rcx
jne 0x140189252
mov rdx, qword [rbp + 0x198]
mov ecx, r8d
call fcn.140149740
test eax, eax
js 0x140189252
mov r8, qword [rbp + 0x190]
test r8, r8
je 0x140189228
mov rcx, qword [0x1402caaf0]
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.1401e4a20
add rsp, 0x3c0
pop r14
pop r13
pop rbp
ret
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3