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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov ecx, dword [0x14003d17c]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
or edi, 0xffffffff
xor r13d, r13d
mov r15, rax
test rax, rax
jne 0x14000dd6c
mov edi, dword [0x14003d17c]
lea rdx, [rsp + 0x88]
mov ecx, edi
mov dword [rsp + 0x88], r13d
lea r15, [rsp + 0x88]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
inc dword [r15]
mov r10, qword [0x14003d048]
lea rax, [0x14003d048]
lea r14, [0x140035650]
mov r12d, 0x1df
cmp r10, rax
je 0x14000ddca
test byte [r10 + 0x1c], 1
je 0x14000ddca
mov eax, dword [r15]
lea ecx, [rax + rax*4]
cmp ecx, 0x1e1
ja 0x14000ddae
mov eax, ecx
mov ecx, r12d
sub rcx, rax
jmp 0x14000ddb1
mov rcx, r13
lea r9, [rcx + r14]
mov edx, Ordinal_20
mov rcx, qword [r10 + 0x10]
lea r8, [0x140036280]
call fcn.1400012b0
test byte [0x14003d7c0], 1
je 0x14000dddf
lea rdx, [0x140035950]
call fcn.140010b80
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x80], r13
call fcn.14002ae00
mov rsi, qword [rsp + 0x80]
mov ebp, eax
test eax, eax
js 0x14000dfeb
lea rdx, [0x140035918]
mov ecx, 0x40
call fcn.1400308a0
mov r14, rax
test rax, rax
je 0x14000de4f
mov dword [r14 + 8], 1
lea rax, [0x1400333a8]
mov qword [r14], rax
mov byte [r14 + 0xc], r13b
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], r13
mov qword [r14 + 0x20], r13
mov qword [r14 + 0x28], r13
mov dword [r14 + 0x30], r13d
mov qword [r14 + 0x38], r13
jmp 0x14000de52
mov r14, r13
test r14, r14
mov eax, 0x8007000e
cmove ebp, eax
test ebp, ebp
js 0x14000df33
mov r9d, 0x3fe
mov byte [rsp + 0x80], r13b
lea rax, [rsp + 0x80]
mov rdx, rsi
mov qword [rsp + 0x30], rax
mov rcx, r14
lea rax, str.Windows.SystemToast.NfpReceiveContent
mov dword [rsp + 0x28], 3
lea r8d, [r9 - 1]
mov qword [rsp + 0x20], rax
call fcn.140012780
cmp byte [rsp + 0x80], r13b
je 0x14000df8c
test byte [0x14003d7c0], 1
je 0x14000dec6
lea rdx, [0x140035838]
call fcn.140010b80
lea rdx, [0x140035918]
mov ecx, 0x168
mov rbx, r13
call fcn.1400308a0
test rax, rax
je 0x14000deea
mov rcx, rax
call fcn.14001ac2c
mov rbx, rax
mov rax, rbx
neg rax
sbb ebp, ebp
not ebp
and ebp, 0x8007000e
test rbx, rbx
je 0x14000df09
mov rcx, rbx
call fcn.14001e7e8
mov ebp, eax
test byte [0x14003d7c0], 1
je 0x14000df1e
lea rdx, [0x140035858]
call fcn.140010b80
test rbx, rbx
je 0x14000df33
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x10]
call qword [0x140034e68]
lea rbx, [0x14003d048]
mov rcx, qword [0x14003d048]
test r14, r14
je 0x14000df5d
mov rax, qword [r14]
mov rcx, r14
mov rax, qword [rax + 0x10]
call qword [0x140034e68]
mov rcx, qword [0x14003d048]
lea r14, [0x140035650]
cmp rcx, rbx
je 0x14000e01e
test byte [rcx + 0x1c], 1
je 0x14000e01e
mov eax, dword [r15]
lea edx, [rax + rax*4]
cmp edx, 0x1e1
ja 0x14000dffe
mov eax, edx
sub r12, rax
jmp 0x14000e001
mov ebp, 0x80004004
mov rcx, qword [0x14003d048]
lea rbx, [0x14003d048]
cmp rcx, rbx
je 0x14000df41
test byte [rcx + 0x1c], 8
je 0x14000df41
mov eax, dword [r15]
inc eax
lea edx, [rax + rax*4]
cmp edx, 0x1e1
ja 0x14000dfc4
mov eax, edx
mov rdx, r12
sub rdx, rax
jmp 0x14000dfc7
mov rdx, r13
mov rcx, qword [rcx + 0x10]
lea r9, [0x140035650]
add r9, rdx
lea r8, [0x140036280]
mov edx, Ordinal_20
call fcn.1400012b0
jmp 0x14000df3a
mov rcx, qword [0x14003d048]
lea rbx, [0x14003d048]
jmp 0x14000df64
mov r12, r13
mov rcx, qword [rcx + 0x10]
lea r9, [r12 + r14]
mov edx, Ordinal_20
mov dword [rsp + 0x20], ebp
lea r8, [0x140036280]
call fcn.140001304
test rsi, rsi
je 0x14000e033
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x10]
call qword [0x140034e68]
dec dword [r15]
cmp edi, 0xffffffff
je 0x14000e052
mov ecx, edi
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
test rax, rax
je 0x14000e052
xor edx, edx
mov ecx, edi
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
mov eax, ebp
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret