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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x2770]
mov eax, 0x2870
call fcn.140030fc0
sub rsp, rax
mov rax, qword [0x14003d0d8]
xor rax, rsp
mov qword [rbp + 0x2760], rax
mov r13, rcx
mov rsi, rdx
mov ecx, dword [0x14003d17c]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
or ebx, 0xffffffff
mov rdi, rax
test rax, rax
jne 0x14001e3d5
mov ebx, dword [0x14003d17c]
lea rdx, [rsp + 0x50]
and dword [rsp + 0x50], eax
lea rdi, [rsp + 0x50]
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
inc dword [rdi]
mov r10, qword [0x14003d048]
lea r15, [0x14003d048]
lea rdx, [0x140035650]
mov r14d, 0x1df
cmp r10, r15
je 0x14001e435
test byte [r10 + 0x1c], 1
je 0x14001e435
mov eax, dword [rdi]
lea ecx, [rax + rax*4]
cmp ecx, 0x1e1
ja 0x14001e415
mov eax, ecx
mov ecx, r14d
sub rcx, rax
jmp 0x14001e417
xor ecx, ecx
lea r9, [rcx + rdx]
mov qword [rsp + 0x20], r13
mov rcx, qword [r10 + 0x10]
lea r8, [0x140036cb8]
mov edx, 0x40
call fcn.140001370
mov rax, qword [rsi]
lea r8, [rsp + 0x48]
and qword [rsp + 0x48], 0
lea rdx, [0x140035878]
mov rcx, rsi
mov rax, qword [rax]
call qword [0x140034e68]
mov esi, eax
test eax, eax
js 0x14001e560
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x40]
and qword [rsp + 0x40], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
call qword [0x140034e68]
mov esi, eax
test eax, eax
js 0x14001e543
mov r15, qword [rsp + 0x40]
and qword [rsp + 0x38], 0
mov rcx, r15
call fcn.140021e94
mov esi, eax
test eax, eax
js 0x14001e4b7
mov rax, qword [r15]
lea rdx, [rsp + 0x38]
mov rcx, r15
mov rax, qword [rax + 0x40]
call qword [0x140034e68]
mov esi, eax
test esi, esi
js 0x14001e51f
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x2800
call sub.msvcrt.dll_memset
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
and dword [rsp + 0x30], 0
lea r8, [rsp + 0x60]
call fcn.14001a8a0
mov esi, eax
test eax, eax
js 0x14001e51f
mov rdx, qword [r13 + 0xb0]
lea rax, [rsp + 0x60]
and qword [r13 + 0xb0], 0
lea rcx, [r13 + 0xb8]
mov r9d, dword [rsp + 0x30]
lea r8, str.WindowsMime.text_x_vcard
mov qword [rsp + 0x20], rax
call fcn.140025c60
mov esi, eax
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14001e53c
and qword [rsp + 0x38], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140034e68]
lea r15, [0x14003d048]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14001e560
and qword [rsp + 0x40], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140034e68]
mov rcx, qword [0x14003d048]
cmp rcx, r15
je 0x14001e5b1
test byte [rcx + 0x1c], 1
je 0x14001e5b1
mov eax, dword [rdi]
lea edx, [rax + rax*4]
cmp edx, 0x1e1
ja 0x14001e586
mov eax, edx
sub r14, rax
jmp 0x14001e589
xor r14d, r14d
mov rcx, qword [rcx + 0x10]
lea r9, [0x140035650]
add r9, r14
mov dword [rsp + 0x28], esi
mov edx, 0x41
mov qword [rsp + 0x20], r13
lea r8, [0x140036cb8]
call fcn.140001730
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001e5ce
and qword [rsp + 0x48], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140034e68]
dec dword [rdi]
cmp ebx, 0xffffffff
je 0x14001e5ec
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
test rax, rax
je 0x14001e5ec
xor edx, edx
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
mov eax, esi
mov rcx, qword [rbp + 0x2760]
xor rcx, rsp
call fcn.1400304d0
lea r11, [rsp + 0x2870]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret