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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xf8
mov r13, rcx
xor r12d, r12d
mov dword [rbp + 0x67], r12d
lea rcx, [rbp - 9]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
nop
lea rbx, str.secc::CUITaskManager::LoadTaskList
mov qword [rbp - 0x11], rbx
mov edx, dword [0x1401c1658]
mov eax, dword [0x1401c165c]
add edx, eax
je 0x140032c5b
mov dword [rsp + 0x50], r12d
call fcn.140005ad0
mov qword [rsp + 0x48], rax
lock inc dword [rsp + 0x50]
mov dword [rbp + 0x67], 1
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x140032c1d
call fcn.140005ad0
mov qword [rsp + 0x48], rax
lock inc dword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
mov dword [rbp + 0x77], 0x20
mov qword [rsp + 0x30], rbx
lea rax, str._s_start:
mov qword [rsp + 0x28], rax
lea rax, str._CScopeTrace::operator___
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rbp + 0x77]
movsx edx, r12w
call fcn.140004c90
nop
mov eax, dword [rbp + 0x67]
test al, 1
je 0x140032c9a
and eax, 0xfffffffe
mov dword [rbp + 0x67], eax
mov qword [rsp + 0x48], r12
mov eax, 0xffffffff
lock xadd dword [rsp + 0x50], eax
cmp eax, 1
js 0x140032c95
nop dword [rax]
call fcn.140005e40
mov eax, 0xffffffff
lock xadd dword [rsp + 0x50], eax
cmp eax, 1
jns 0x140032c80
lock inc dword [rsp + 0x50]
mov rax, qword [0x1401c0ff8]
cmp eax, 0xffffffff
je 0x140032cba
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, rax
mov rax, qword [0x1401c0ff8]
jmp 0x140032cc0
mov ecx, dword [0x1401c0ffc]
lea edx, [rcx + 1]
cmp eax, 0xffffffff
je 0x140032cd3
movsxd rdx, edx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
lea rcx, [rbp - 0x49]
call fcn.1400316a0
nop
lea r8, str.settings
mov rdx, rax
lea rcx, [rbp - 0x51]
call fcn.14003a5f0
nop
mov rsi, qword [rax]
mov rax, qword [r13 + 0xe8]
lea rdi, [0x1401836d8]
test rax, rax
cmovne rdi, rax
mov qword [rbp - 0x71], r12
mov dword [rbp - 0x69], 2
lea rcx, str.settings.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x140032dea
lea rdx, str.GetSettingsObject
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140032dea
call qword [case.0x140077645.0]
mov rbx, rax
mov qword [rbp - 0x71], rax
test rax, rax
je 0x140032dea
test rsi, rsi
je 0x140032d7d
mov rax, qword [rax]
mov r8, rsi
mov edx, 1
mov rcx, rbx
mov rax, qword [rax + 0xa0]
call qword [case.0x140077645.0]
mov rbx, qword [rbp - 0x71]
test rdi, rdi
je 0x140032d9d
mov rax, qword [rbx]
mov rdx, rdi
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x140077645.0]
test eax, eax
je 0x140032dea
mov rbx, qword [rbp - 0x71]
mov qword [rbp - 0x71], r12
mov dword [rbp - 0x69], 2
test rbx, rbx
je 0x140032dea
lea rcx, str.settings.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
test rax, rax
je 0x140032dea
lea rdx, str.DeleteSettingsObject
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140032de0
mov rcx, rbx
call qword [case.0x140077645.0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
mov rdx, qword [rbp - 0x51]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140032e15
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140077645.0]
nop
mov rdx, qword [rbp - 0x49]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140032e3f
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140077645.0]
mov rbx, qword [rbp - 0x71]
test rbx, rbx
jne 0x140032e50
mov esi, r12d
jmp 0x1400334a4
mov qword [rbp - 0x41], r12
mov qword [rbp - 0x59], r12
mov rax, qword [rbx]
mov r9d, dword [rbp - 0x69]
bts r9d, 7
lea rcx, [rbp - 0x41]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r12
lea r8, [rbp - 0x59]
lea rdx, str._tasks_task
mov rcx, rbx
mov rax, qword [rax + 0x40]
call qword [case.0x140077645.0]
test eax, eax
jne 0x140033478
mov rax, qword [rbp - 0x59]
lea rcx, [rbp - 0x71]
mov qword [rsp + 0x58], rcx
mov qword [rbp - 0x79], rax
test rax, rax
je 0x140033478
lea rbx, [0x1401848e8]
lea rdi, str.plugin
mov r15d, 0x400
mov qword [rsp + 0x40], r12
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.14001c030
nop
cmp qword [rbp - 0x79], 0
je 0x1400333a8
mov rsi, qword [rsp + 0x58]
test rsi, rsi
je 0x1400333ad
mov dword [rbp + 0x6f], r12d
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400333ad
mov rax, qword [rcx]
mov r9d, dword [rsi + 8]
or r9d, 0x40
lea rdx, [rbp - 0x79]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
lea r8, [rbp + 0x6f]
lea rdx, [0x1401836d8]
mov rax, qword [rax + 0x20]
call qword [case.0x140077645.0]
test eax, eax
jne 0x1400333a8
cmp qword [rbp - 0x79], 0
je 0x1400333a8
mov rsi, qword [rsp + 0x58]
test rsi, rsi
je 0x1400333ad
mov qword [rbp - 0x61], r12
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400333ad
mov rax, qword [rcx]
mov r9d, dword [rsi + 8]
or r9d, 0x40
lea rdx, [rbp - 0x79]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rdi
lea r8, [rbp - 0x61]
lea rdx, [0x1401836d8]
mov rax, qword [rax + 0x48]
call qword [case.0x140077645.0]
test eax, eax
jne 0x1400333a8
mov r14, qword [rbp - 0x61]
mov rbx, qword [rsp + 0x40]
test r14, r14
jne 0x140033045
test rbx, rbx
je 0x140032fc2
mov rcx, qword [rbx - 0xc]
test rcx, rcx
je 0x140032fc2
mov rdx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140032fca
jmp 0x140032ff1
mov edx, 0x40
mov rcx, r12
mov rax, rcx
neg rax
cmp rax, rdx
cmovae rdx, rax
add rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.14001c030
test al, al
je 0x140033516
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x140032ffc
mov rax, qword [rbx - 0xc]
jmp 0x140032fff
mov rax, r12
mov qword [rax + 8], r12
mov word [rbx], r12w
mov rax, qword [rbx - 0xc]
test rax, rax
je 0x14003315d
cmp dword [rbx - 0x10], 0xabcd
jne 0x140033516
cmp dword [rbx - 4], 0xabcd
jne 0x140033516
mov rax, qword [rax + 0x10]
cmp dword [rbx + rax*2 + 2], 0xabcd
jne 0x140033516
jmp 0x14003315d
lea rax, [0x1401836d8]
test rbx, rbx
cmovne rax, rbx
cmp r14, rax
je 0x14003315d
mov rdi, 0xffffffffffffffff
inc rdi
cmp word [r14 + rdi*2], 0
jne 0x140033063
test rbx, rbx
je 0x140033086
mov rcx, qword [rbx - 0xc]
test rcx, rcx
je 0x140033086
mov rdx, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x18]
jmp 0x14003308e
mov rdx, r12
mov ecx, 0x40
cmp rdx, rdi
jb 0x140033098
test rdx, rdx
jne 0x1400330d4
mov rax, rdi
sub rax, rdx
cmp rax, rcx
cmovae rcx, rax
cmp rdx, r15
jae 0x1400330b3
cmp rcx, rdx
cmovb rcx, rdx
jmp 0x1400330ba
cmp rcx, r15
cmovb rcx, r15
add rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.14001c030
test al, al
je 0x140033516
mov rbx, qword [rsp + 0x40]
lea r15, [rdi + rdi]
mov r8, r15
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
test rbx, rbx
je 0x1400330fa
mov rax, qword [rbx - 0xc]
test rax, rax
je 0x1400330fa
mov rcx, qword [rax + 0x10]
jmp 0x1400330fd
mov rcx, r12
cmp rdi, rcx
ja 0x140033516
test rbx, rbx
je 0x140033111
mov rax, qword [rbx - 0xc]
jmp 0x140033114
mov rax, r12
mov qword [rax + 8], rdi
mov word [r15 + rbx], r12w
test rbx, rbx
je 0x140033157
mov rax, qword [rbx - 0xc]
test rax, rax
je 0x140033157
cmp dword [rbx - 0x10], 0xabcd
jne 0x140033516
cmp dword [rbx - 4], 0xabcd
jne 0x140033516
mov rax, qword [rax + 0x10]
cmp dword [rbx + rax*2 + 2], 0xabcd
jne 0x140033516
mov r15d, 0x400
mov rcx, qword [rsi]
mov rax, qword [rcx]
lea rdx, [rbp - 0x61]
mov rax, qword [rax + 0xd0]
call qword [case.0x140077645.0]
lea r14, [r13 + 0xa8]
mov qword [rbp - 1], r14
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
lea rdi, [r13 + 0xf0]
mov edx, dword [rbp + 0x6f]
mov dword [rbp + 0x7f], edx
mov rsi, qword [rdi]
mov rax, qword [rsi + 8]
mov qword [rbp - 0x29], rax
mov dword [rbp - 0x21], r12d
mov rcx, rsi
cmp byte [rax + 0x19], 0
jne 0x1400331d6
nop
mov qword [rbp - 0x29], rax
cmp dword [rax + 0x20], edx
jae 0x1400331c3
mov dword [rbp - 0x21], r12d
mov rax, qword [rax + 0x10]
jmp 0x1400331d0
mov dword [rbp - 0x21], 1
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1400331b0
cmp byte [rcx + 0x19], 0
jne 0x1400331e1
cmp edx, dword [rcx + 0x20]
jae 0x14003325d
movabs rax, 0x555555555555555
cmp qword [rdi + 8], rax
je 0x140033510
mov qword [rbp - 0x39], rdi
mov qword [rbp - 0x31], r12
lfence
mov ecx, 0x30
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov rbx, rax
mov qword [rbp - 0x31], rax
mov ecx, dword [rbp + 0x7f]
mov dword [rax + 0x20], ecx
lea rcx, [rax + 0x28]
mov qword [rcx], r12
mov edx, 0x40
call fcn.14001c030
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rsi
mov word [rbx + 0x18], 0
mov qword [rbp - 0x31], r12
movups xmm0, xmmword [rbp - 0x29]
movaps xmmword [rbp + 7], xmm0
mov r8, rbx
lea rdx, [rbp + 7]
mov rcx, rdi
call fcn.140019770
mov rcx, rax
mov rbx, qword [rsp + 0x40]
lea rdi, [rcx + 0x28]
lea rax, [rsp + 0x40]
cmp rax, rdi
je 0x140033312
test rbx, rbx
je 0x1400332b4
mov rcx, qword [rbx - 0xc]
test rcx, rcx
je 0x1400332b4
cmp dword [rbx - 0x10], 0xabcd
jne 0x14003352a
cmp dword [rbx - 4], 0xabcd
jne 0x14003352a
mov rax, qword [rcx + 0x10]
cmp dword [rbx + rax*2 + 2], 0xabcd
jne 0x14003352a
test rcx, rcx
je 0x1400332b4
mov r8, qword [rcx + 8]
jmp 0x1400332b7
mov r8, r12
lea rdx, [0x1401836d8]
test rbx, rbx
cmovne rdx, rbx
mov rcx, rdi
call fcn.14001bc90
test al, al
je 0x14003352a
mov rdx, qword [rdi]
test rdx, rdx
je 0x140033312
mov rax, qword [rdx - 0xc]
test rax, rax
je 0x140033312
cmp dword [rdx - 0x10], 0xabcd
jne 0x14003352a
cmp dword [rdx - 4], 0xabcd
jne 0x14003352a
mov rax, qword [rax + 0x10]
cmp dword [rdx + rax*2 + 2], 0xabcd
jne 0x14003352a
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
test rbx, rbx
je 0x14003343f
mov rdi, qword [rbx - 0xc]
test rdi, rdi
je 0x14003343f
cmp dword [rbx - 0x10], 0xabcd
jne 0x140033534
cmp dword [rbx - 4], 0xabcd
jne 0x140033534
mov rax, qword [rdi + 0x10]
cmp dword [rbx + rax*2 + 2], 0xabcd
jne 0x140033534
test rdi, rdi
je 0x14003343f
cmp byte [rdi + 0x20], 0
je 0x140033381
mov rcx, qword [rdi]
mov rax, qword [rcx]
lea rdx, [rbx - 0x10]
mov rax, qword [rax + 0x10]
call qword [case.0x140077645.0]
mov rbx, qword [rdi]
cmp byte [rdi + 0x21], 0
je 0x14003339d
mov rax, qword [rbx]
mov rdx, rdi
mov rcx, rbx
mov rax, qword [rax + 0x10]
call qword [case.0x140077645.0]
mov rax, qword [rbx]
mov rcx, rbx
jmp 0x140033435
mov rsi, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x140033452
mov rbx, qword [rdx - 0xc]
test rbx, rbx
je 0x14003344b
cmp dword [rdx - 0x10], 0xabcd
jne 0x140033520
cmp dword [rdx - 4], 0xabcd
jne 0x140033520
mov rax, qword [rbx + 0x10]
cmp dword [rdx + rax*2 + 2], 0xabcd
jne 0x140033520
test rbx, rbx
je 0x14003344b
cmp byte [rbx + 0x20], 0
je 0x140033413
mov rcx, qword [rbx]
mov rax, qword [rcx]
add rdx, 0xfffffffffffffff0
mov rax, qword [rax + 0x10]
call qword [case.0x140077645.0]
mov rdi, qword [rbx]
cmp byte [rbx + 0x21], 0
je 0x14003342f
mov rax, qword [rdi]
mov rdx, rbx
mov rcx, rdi
mov rax, qword [rax + 0x10]
call qword [case.0x140077645.0]
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x18]
call qword [case.0x140077645.0]
lea rdi, str.plugin
mov rsi, qword [rsp + 0x58]
lea rbx, [0x1401848e8]
mov rcx, qword [rsi]
mov rax, qword [rcx]
lea rdx, [rbp - 0x79]
mov rax, qword [rax + 0xe0]
call qword [case.0x140077645.0]
test eax, eax
jne 0x140033478
cmp qword [rbp - 0x79], 0
jne 0x140032ec0
lea rcx, [r13 + 0xa8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, r12d
cmp qword [r13 + 0xf8], rsi
setne sil
lea rcx, [r13 + 0xa8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rbp - 0x71]
mov qword [rbp - 0x71], r12
mov dword [rbp - 0x69], 2
test rbx, rbx
je 0x1400334f1
lea rcx, str.settings.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
test rax, rax
je 0x1400334f1
lea rdx, str.DeleteSettingsObject
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400334e7
mov rcx, rbx
call qword [case.0x140077645.0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rcx, [rbp - 0x11]
call fcn.140032660
mov eax, esi
add rsp, 0xf8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14000b540
nop
xor edx, edx
xor ecx, ecx
call sub.VCRUNTIME140.dll__CxxThrowException
nop
xor edx, edx
xor ecx, ecx
call sub.VCRUNTIME140.dll__CxxThrowException
nop
xor edx, edx
xor ecx, ecx
call sub.VCRUNTIME140.dll__CxxThrowException
nop
xor edx, edx
xor ecx, ecx
call sub.VCRUNTIME140.dll__CxxThrowException
int3