Function at 0x140189a00
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 [0x1402c0040]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
xor r14d, r14d
mov r13, rcx
cmp dword [0x1402c0f40], 0xffffffff
mov ecx, dword [0x1402cea48]
mov dword [rbp - 0x80], r14d
mov qword [rbp + 0x188], r14
mov qword [rbp + 0x190], r14
jae 0x140189a6c
cmp ecx, 0x40
jae 0x140189a6c
mov rcx, qword gs:[0x30]
mov r8d, dword [0x1402cea48]
mov rax, qword [rcx + r8*8 + 0x1480]
jmp 0x140189a79
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r8d, dword [0x1402cea48]
cmp dword [0x1402c0f40], 0xffffffff
mov qword [rsp + 0x3f8], rdi
mov qword [rbp + 0x198], rax
jae 0x140189ab4
cmp r8d, 0x40
jae 0x140189ab4
mov rcx, qword gs:[0x30]
lea rdx, [rbp - 0x80]
mov eax, dword [0x1402cea48]
mov qword [rcx + rax*8 + 0x1480], rdx
jmp 0x140189af7
lea rdx, ds:[rbp - 0x80]
mov ecx, r8d
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140189af7
cmp dword [0x1402c0f40], 0xffffffff
jae 0x140189ae2
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x68]
jmp 0x140189ae8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
test eax, eax
js 0x140189f32
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 0x140189b65
inc r15d
inc ebx
cmp ebx, 0x64
jb 0x140189b40
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
mov rcx, r13
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, qword [0x1402cb8c0]
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 0x140189da9
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 0x140189d94
nop
test r15d, r15d
je 0x140189cff
nop dword [rax]
mov r8d, r14d
mov edx, r12d
mov rcx, r13
call sym.SystemInformer.exe_PhGetListViewItemText
mov rbx, rax
test rax, rax
je 0x140189c30
mov rcx, rax
call sym.SystemInformer.exe_PhAutoDereferenceObject
jmp 0x140189c32
xor ebx, ebx
mov rsi, qword [rbx]
mov rbx, qword [rbx + 8]
test rsi, rsi
je 0x140189c97
mov rcx, qword [rdi]
add rcx, rsi
cmp qword [rsp + 0x20], rcx
jae 0x140189c6a
lfence
mov rax, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
mov rdx, qword [rax]
add rdx, rsi
call fcn.1401467a0
mov rdi, qword [rsp + 0x28]
test rbx, rbx
je 0x140189c85
mov rcx, qword ds:[rdi + 8]
mov r8, rsi
add rcx, qword [rdi]
mov rdx, rbx
call fcn.14020be40
add qword [rdi], rsi
mov rcx, qword [rdi]
xor ebx, ebx
mov rax, qword [rdi + 8]
mov word [rcx + rax], bx
jmp 0x140189c99
xor ebx, ebx
mov rax, qword [rdi]
add rax, 4
cmp qword [rsp + 0x20], rax
jae 0x140189cca
lfence
mov rax, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
mov rdx, qword [rax]
add rdx, 4
call fcn.1401467a0
mov rdi, qword [rsp + 0x28]
mov rcx, qword [rdi + 8]
inc r14d
mov eax, dword [0x14023f2e0]
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 0x140189c10
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov r8, qword [rdi]
test r8, r8
je 0x140189d45
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.14020be40
add qword [rdi], 0xfffffffffffffffc
mov rcx, qword [rdi]
xor r14d, r14d
mov rax, qword [rdi + 8]
mov word [rcx + rax], r14w
jmp 0x140189d48
xor r14d, r14d
mov rax, qword [rdi]
add rax, 4
cmp qword [rsp + 0x20], rax
jae 0x140189d74
lfence
mov rax, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
mov rdx, qword [rax]
add rdx, 4
call fcn.1401467a0
mov rdi, qword [rsp + 0x28]
mov rcx, qword [rdi + 8]
mov eax, dword [0x1402374fc]
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 0x140189be0
mov eax, dword [rbp - 0x80]
mov r15, qword [rsp + 0x3b0]
mov r12, qword [rsp + 0x3b8]
mov rsi, qword [rsp + 0x3f0]
test eax, eax
je 0x140189dfa
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 0x140189deb
call fcn.140142200
add rbx, 8
sub rdi, 1
jne 0x140189dd0
mov rdi, qword [rsp + 0x28]
mov rbx, qword [rbp + 0x190]
mov dword [rbp - 0x80], r14d
test rbx, rbx
je 0x140189e85
mov eax, dword [rbp + 0x188]
test eax, eax
je 0x140189e52
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 0x140189e3b
call fcn.140142200
add rbx, 8
sub rdi, 1
jne 0x140189e20
mov rbx, qword [rbp + 0x190]
mov rdi, qword [rsp + 0x28]
cmp dword [rbp + 0x18c], 0x100
mov dword [rbp + 0x188], r14d
jbe 0x140189e85
mov rcx, qword [0x1402cba10]
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 [0x1402c0f40], 0xffffffff
mov ecx, dword [0x1402cea48]
mov rbx, qword [rsp + 0x3e8]
jae 0x140189ec4
nop dword [rax]
cmp ecx, 0x40
jae 0x140189ec4
mov rcx, qword gs:[0x30]
mov r8d, dword [0x1402cea48]
mov rdi, qword [rsp + 0x28]
mov rax, qword [rcx + r8*8 + 0x1480]
jmp 0x140189ed1
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r8d, dword [0x1402cea48]
lea rcx, [rbp - 0x80]
cmp rax, rcx
jne 0x140189f32
mov rdx, qword [rbp + 0x198]
mov ecx, r8d
call fcn.140149ba0
test eax, eax
js 0x140189f32
mov r8, qword [rbp + 0x190]
test r8, r8
je 0x140189f08
mov rcx, qword [0x1402cba10]
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.1401e5e20
add rsp, 0x3c0
pop r14
pop r13
pop rbp
ret
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3