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

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rdi, rcx
lea rax, vtable.nbase::MessageLoop.0
mov qword [rcx], rax
xor ebp, ebp
mov dword [rcx + 8], ebp
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], rbp
mov qword [rcx + 0x20], rbp
mov word [rcx + 0x28], 0x100
lea rbx, [rcx + 0x30]
mov qword [rsp + 0x68], rbx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], rbp
lea ecx, [rbp + 0x10]
call fcn.140061538
mov qword [rax + 8], rbp
mov qword [rbx], rax
mov qword [rax], rbx
lea rcx, [rdi + 0x58]
mov edx, 0x7d0
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
nop
lea rbx, [rdi + 0x80]
mov qword [rsp + 0x68], rbx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], rbp
lea ecx, [rbp + 0x10]
call fcn.140061538
mov qword [rax + 8], rbp
mov qword [rbx], rax
mov qword [rax], rbx
lea rbx, [rdi + 0xa8]
mov qword [rsp + 0x68], rbx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], rbp
lea ecx, [rbp + 0x10]
call fcn.140061538
mov qword [rax + 8], rbp
mov qword [rbx], rax
mov qword [rax], rbx
mov qword [rdi + 0xd0], rbp
mov qword [rdi + 0xd8], rbp
mov qword [rdi + 0xe0], rbp
xor eax, eax
mov byte [rdi + 0xe8], al
mov dword [rdi + 0xf0], ebp
mov qword [rdi + 0xf8], rbp
mov dword [rdi + 0x108], ebp
lea rax, vtable.ObserverList_class_nbase::MessageLoop::TaskObserver_.0
mov qword [rdi + 0x100], rax
mov qword [rdi + 0x110], rbp
mov qword [rdi + 0x118], rbp
mov qword [rdi + 0x120], rbp
mov dword [rdi + 0x130], ebp
lea rax, vtable.ObserverList_class_nbase::MessageLoop::DestructionObserver_.0
mov qword [rdi + 0x128], rax
mov qword [rdi + 0x138], rbp
mov qword [rdi + 0x140], rbp
mov qword [rdi + 0x148], rbp
mov qword [rdi + 0x150], rbp
mov qword [rdi + 0x158], rbp
lea esi, [rbp - 1]
cmp dword [rdi + 8], ebp
jne 0x14001097f
lea ecx, [rbp + 0x20]
call fcn.140061538
mov rbx, rax
mov qword [rsp + 0x68], rax
lea rax, vtable.nbase::DefaultMessagePump.0
mov qword [rbx], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 8], rax
mov byte [rbx + 0x10], bpl
mov qword [rbx + 0x18], rbp
mov qword [rsp + 0x70], rbx
lea ecx, [rbp + 0x18]
call fcn.140061538
mov qword [rsp + 0x68], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rcx, vtable.std::_Ref_count_class_nbase::DefaultMessagePump_.0
mov qword [rax], rcx
mov qword [rax + 0x10], rbx
mov qword [rdi + 0x18], rbx
mov rbx, qword [rdi + 0x20]
mov qword [rdi + 0x20], rax
test rbx, rbx
je 0x14001097f
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14001097f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14001097f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
call fcn.140012090
mov rdx, rdi
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, 0x48
call fcn.140061538
mov rbx, rax
mov qword [rsp + 0x68], rax
mov qword [rax + 8], rbp
mov qword [rax + 0x10], rbp
lea rax, vtable.nbase::MessageLoopProxy.0
mov qword [rbx], rax
lea rcx, [rbx + 0x18]
mov edx, 0x7d0
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
nop
call fcn.140012090
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rbx + 0x40], rax
lea rax, [0x140014de0]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x20], rbx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x30], 1
mov ecx, 0x20
call fcn.140061538
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x68]
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rdx, vtable.std::_Ref_count_resource_class_nbase::MessageLoopProxy____ptr64__void____cdecl___class_nbase::MessageLoopProxy_const____ptr64__.0
mov qword [rax], rdx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rbx
mov qword [rdi + 0x150], rbx
mov rbx, qword [rdi + 0x158]
mov qword [rdi + 0x158], rax
test rbx, rbx
je 0x140010a6f
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140010a6f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x140010a6f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rax, qword [rdi + 0x150]
mov qword [rax + 0x40], rdi
mov rax, rdi
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret