Function at 0x14002fe80
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 [0x1401993f8]
mov eax, dword [0x1401993fc]
add edx, eax
je 0x14002ff3b
mov dword [rsp + 0x50], r12d
call fcn.1400057e0
mov qword [rsp + 0x48], rax
lock inc dword [rsp + 0x50]
mov dword [rbp + 0x67], 1
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x14002fefd
call fcn.1400057e0
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.140004bd0
nop
mov eax, dword [rbp + 0x67]
test al, 1
je 0x14002ff7a
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 0x14002ff75
nop dword [rax]
call fcn.140005b50
mov eax, 0xffffffff
lock xadd dword [rsp + 0x50], eax
cmp eax, 1
jns 0x14002ff60
lock inc dword [rsp + 0x50]
mov rax, qword [0x140198db8]
cmp eax, 0xffffffff
je 0x14002ff9a
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, rax
mov rax, qword [0x140198db8]
jmp 0x14002ffa0
mov ecx, dword [0x140198dbc]
lea edx, [rcx + 1]
cmp eax, 0xffffffff
je 0x14002ffb3
movsxd rdx, edx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
lea rcx, [rbp - 0x49]
call fcn.14002ef30
nop
lea r8, str.settings
mov rdx, rax
lea rcx, [rbp - 0x51]
call fcn.140035810
nop
mov rsi, qword [rax]
mov rax, qword [r13 + 0xe8]
lea rdi, [0x140162244]
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 0x1400300ca
lea rdx, str.GetSettingsObject
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400300ca
call qword [case.0x14006aed5.0]
mov rbx, rax
mov qword [rbp - 0x71], rax
test rax, rax
je 0x1400300ca
test rsi, rsi
je 0x14003005d
mov rax, qword [rax]
mov r8, rsi
mov edx, 1
mov rcx, rbx
mov rax, qword [rax + 0xa0]
call qword [case.0x14006aed5.0]
mov rbx, qword [rbp - 0x71]
test rdi, rdi
je 0x14003007d
mov rax, qword [rbx]
mov rdx, rdi
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14006aed5.0]
test eax, eax
je 0x1400300ca
mov rbx, qword [rbp - 0x71]
mov qword [rbp - 0x71], r12
mov dword [rbp - 0x69], 2
test rbx, rbx
je 0x1400300ca
lea rcx, str.settings.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
test rax, rax
je 0x1400300ca
lea rdx, str.DeleteSettingsObject
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400300c0
mov rcx, rbx
call qword [case.0x14006aed5.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 0x1400300f5
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006aed5.0]
nop
mov rdx, qword [rbp - 0x49]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14003011f
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006aed5.0]
mov rbx, qword [rbp - 0x71]
test rbx, rbx
jne 0x140030130
mov esi, r12d
jmp 0x140030784
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.0x14006aed5.0]
test eax, eax
jne 0x140030758
mov rax, qword [rbp - 0x59]
lea rcx, [rbp - 0x71]
mov qword [rsp + 0x58], rcx
mov qword [rbp - 0x79], rax
test rax, rax
je 0x140030758
lea rbx, [0x140162f28]
lea rdi, str.plugin
mov r15d, 0x400
mov qword [rsp + 0x40], r12
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.1400219d0
nop
cmp qword [rbp - 0x79], 0
je 0x140030688
mov rsi, qword [rsp + 0x58]
test rsi, rsi
je 0x14003068d
mov dword [rbp + 0x6f], r12d
mov rcx, qword [rsi]
test rcx, rcx
je 0x14003068d
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, [0x140162244]
mov rax, qword [rax + 0x20]
call qword [case.0x14006aed5.0]
test eax, eax
jne 0x140030688
cmp qword [rbp - 0x79], 0
je 0x140030688
mov rsi, qword [rsp + 0x58]
test rsi, rsi
je 0x14003068d
mov qword [rbp - 0x61], r12
mov rcx, qword [rsi]
test rcx, rcx
je 0x14003068d
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, [0x140162244]
mov rax, qword [rax + 0x48]
call qword [case.0x14006aed5.0]
test eax, eax
jne 0x140030688
mov r14, qword [rbp - 0x61]
mov rbx, qword [rsp + 0x40]
test r14, r14
jne 0x140030325
test rbx, rbx
je 0x1400302a2
mov rcx, qword [rbx - 0xc]
test rcx, rcx
je 0x1400302a2
mov rdx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400302aa
jmp 0x1400302d1
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.1400219d0
test al, al
je 0x1400307f6
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x1400302dc
mov rax, qword [rbx - 0xc]
jmp 0x1400302df
mov rax, r12
mov qword [rax + 8], r12
mov word [rbx], r12w
mov rax, qword [rbx - 0xc]
test rax, rax
je 0x14003043d
cmp dword [rbx - 0x10], 0xabcd
jne 0x1400307f6
cmp dword [rbx - 4], 0xabcd
jne 0x1400307f6
mov rax, qword [rax + 0x10]
cmp dword [rbx + rax*2 + 2], 0xabcd
jne 0x1400307f6
jmp 0x14003043d
lea rax, [0x140162244]
test rbx, rbx
cmovne rax, rbx
cmp r14, rax
je 0x14003043d
mov rdi, 0xffffffffffffffff
inc rdi
cmp word [r14 + rdi*2], 0
jne 0x140030343
test rbx, rbx
je 0x140030366
mov rcx, qword [rbx - 0xc]
test rcx, rcx
je 0x140030366
mov rdx, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x18]
jmp 0x14003036e
mov rdx, r12
mov ecx, 0x40
cmp rdx, rdi
jb 0x140030378
test rdx, rdx
jne 0x1400303b4
mov rax, rdi
sub rax, rdx
cmp rax, rcx
cmovae rcx, rax
cmp rdx, r15
jae 0x140030393
cmp rcx, rdx
cmovb rcx, rdx
jmp 0x14003039a
cmp rcx, r15
cmovb rcx, r15
add rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.1400219d0
test al, al
je 0x1400307f6
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 0x1400303da
mov rax, qword [rbx - 0xc]
test rax, rax
je 0x1400303da
mov rcx, qword [rax + 0x10]
jmp 0x1400303dd
mov rcx, r12
cmp rdi, rcx
ja 0x1400307f6
test rbx, rbx
je 0x1400303f1
mov rax, qword [rbx - 0xc]
jmp 0x1400303f4
mov rax, r12
mov qword [rax + 8], rdi
mov word [r15 + rbx], r12w
test rbx, rbx
je 0x140030437
mov rax, qword [rbx - 0xc]
test rax, rax
je 0x140030437
cmp dword [rbx - 0x10], 0xabcd
jne 0x1400307f6
cmp dword [rbx - 4], 0xabcd
jne 0x1400307f6
mov rax, qword [rax + 0x10]
cmp dword [rbx + rax*2 + 2], 0xabcd
jne 0x1400307f6
mov r15d, 0x400
mov rcx, qword [rsi]
mov rax, qword [rcx]
lea rdx, [rbp - 0x61]
mov rax, qword [rax + 0xd0]
call qword [case.0x14006aed5.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 0x1400304b6
nop
mov qword [rbp - 0x29], rax
cmp dword [rax + 0x20], edx
jae 0x1400304a3
mov dword [rbp - 0x21], r12d
mov rax, qword [rax + 0x10]
jmp 0x1400304b0
mov dword [rbp - 0x21], 1
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140030490
cmp byte [rcx + 0x19], 0
jne 0x1400304c1
cmp edx, dword [rcx + 0x20]
jae 0x14003053d
movabs rax, 0x555555555555555
cmp qword [rdi + 8], rax
je 0x1400307f0
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.1400219d0
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.14001eb80
mov rcx, rax
mov rbx, qword [rsp + 0x40]
lea rdi, [rcx + 0x28]
lea rax, [rsp + 0x40]
cmp rax, rdi
je 0x1400305f2
test rbx, rbx
je 0x140030594
mov rcx, qword [rbx - 0xc]
test rcx, rcx
je 0x140030594
cmp dword [rbx - 0x10], 0xabcd
jne 0x14003080a
cmp dword [rbx - 4], 0xabcd
jne 0x14003080a
mov rax, qword [rcx + 0x10]
cmp dword [rbx + rax*2 + 2], 0xabcd
jne 0x14003080a
test rcx, rcx
je 0x140030594
mov r8, qword [rcx + 8]
jmp 0x140030597
mov r8, r12
lea rdx, [0x140162244]
test rbx, rbx
cmovne rdx, rbx
mov rcx, rdi
call fcn.14001fbd0
test al, al
je 0x14003080a
mov rdx, qword [rdi]
test rdx, rdx
je 0x1400305f2
mov rax, qword [rdx - 0xc]
test rax, rax
je 0x1400305f2
cmp dword [rdx - 0x10], 0xabcd
jne 0x14003080a
cmp dword [rdx - 4], 0xabcd
jne 0x14003080a
mov rax, qword [rax + 0x10]
cmp dword [rdx + rax*2 + 2], 0xabcd
jne 0x14003080a
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
test rbx, rbx
je 0x14003071f
mov rdi, qword [rbx - 0xc]
test rdi, rdi
je 0x14003071f
cmp dword [rbx - 0x10], 0xabcd
jne 0x140030814
cmp dword [rbx - 4], 0xabcd
jne 0x140030814
mov rax, qword [rdi + 0x10]
cmp dword [rbx + rax*2 + 2], 0xabcd
jne 0x140030814
test rdi, rdi
je 0x14003071f
cmp byte [rdi + 0x20], 0
je 0x140030661
mov rcx, qword [rdi]
mov rax, qword [rcx]
lea rdx, [rbx - 0x10]
mov rax, qword [rax + 0x10]
call qword [case.0x14006aed5.0]
mov rbx, qword [rdi]
cmp byte [rdi + 0x21], 0
je 0x14003067d
mov rax, qword [rbx]
mov rdx, rdi
mov rcx, rbx
mov rax, qword [rax + 0x10]
call qword [case.0x14006aed5.0]
mov rax, qword [rbx]
mov rcx, rbx
jmp 0x140030715
mov rsi, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x140030732
mov rbx, qword [rdx - 0xc]
test rbx, rbx
je 0x14003072b
cmp dword [rdx - 0x10], 0xabcd
jne 0x140030800
cmp dword [rdx - 4], 0xabcd
jne 0x140030800
mov rax, qword [rbx + 0x10]
cmp dword [rdx + rax*2 + 2], 0xabcd
jne 0x140030800
test rbx, rbx
je 0x14003072b
cmp byte [rbx + 0x20], 0
je 0x1400306f3
mov rcx, qword [rbx]
mov rax, qword [rcx]
add rdx, 0xfffffffffffffff0
mov rax, qword [rax + 0x10]
call qword [case.0x14006aed5.0]
mov rdi, qword [rbx]
cmp byte [rbx + 0x21], 0
je 0x14003070f
mov rax, qword [rdi]
mov rdx, rbx
mov rcx, rdi
mov rax, qword [rax + 0x10]
call qword [case.0x14006aed5.0]
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x18]
call qword [case.0x14006aed5.0]
lea rdi, str.plugin
mov rsi, qword [rsp + 0x58]
lea rbx, [0x140162f28]
mov rcx, qword [rsi]
mov rax, qword [rcx]
lea rdx, [rbp - 0x79]
mov rax, qword [rax + 0xe0]
call qword [case.0x14006aed5.0]
test eax, eax
jne 0x140030758
cmp qword [rbp - 0x79], 0
jne 0x1400301a0
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 0x1400307d1
lea rcx, str.settings.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
test rax, rax
je 0x1400307d1
lea rdx, str.DeleteSettingsObject
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400307c7
mov rcx, rbx
call qword [case.0x14006aed5.0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rcx, [rbp - 0x11]
call fcn.14002f940
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.14000a300
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