Function at 0x140240830
Capabilities:
Set thread local storage value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rbx, rcx
mov qword [rbp + 0x27], rdx
mov qword [rbp + 0x2f], 0
mov qword [rbp - 0x29], 0
lea rax, [rbp + 0x1f]
mov qword [rbp - 0x21], rax
lea rdx, [rbp - 0x29]
mov ecx, dword [rcx + 0xc0]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edx, 8
lea rcx, [rbp - 1]
call fcn.14025ce40
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
lea rcx, [rbp - 0x39]
call fcn.14003f6d0
mov qword [rbp - 0x39], rax
lea rdx, [rbx + 8]
lea rcx, [rbp - 0x11]
call fcn.140031dd0
nop
lea rdi, [rbx + 0x40]
lea rax, [rbp - 0x39]
cmp rax, rdi
je 0x14024095e
lea rcx, [rbp - 0x39]
call fcn.1400432a0
mov rdx, qword [rdi]
mov rbx, qword [rbp - 0x39]
movzx r9d, byte [rbp + 0x67]
mov r8, rbx
mov rdx, qword [rdx + 8]
lea rcx, [rbp - 0x39]
call fcn.14023f950
mov qword [rbx + 8], rax
mov rax, qword [rdi + 8]
mov qword [rbp - 0x31], rax
mov r8, qword [rbp - 0x39]
mov rdx, qword [r8 + 8]
cmp byte [rdx + 0x19], 0
jne 0x140240953
mov rcx, qword [rdx]
cmp byte [rcx + 0x19], 0
jne 0x14024091f
nop dword [rax]
mov rdx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140240910
mov qword [r8], rdx
mov rdx, qword [rbp - 0x39]
mov rcx, qword [rdx + 8]
mov rax, qword [rcx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14024094d
nop dword [rax]
nop dword [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x19], 0
je 0x140240940
mov qword [rdx + 0x10], rcx
jmp 0x14024095e
mov qword [r8], r8
mov rax, qword [rbp - 0x39]
mov qword [rax + 0x10], rax
lea rcx, [rbp - 0x11]
call fcn.140031f00
mov rdi, qword [rbp - 0x39]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x140240a1c
nop word [rax + rax]
movups xmm0, xmmword [rbx + 0x20]
psrldq xmm0, 8
movq rsi, xmm0
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
or eax, 0xff
mov edx, eax
lea rcx, [rbp - 1]
call fcn.14025d010
mov rax, qword [rsi]
xor r8d, r8d
lea rdx, [rbp - 1]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x1402409e8
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1402409e3
nop word [rax + rax]
cmp rbx, qword [rax + 0x10]
jne 0x1402409e3
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1402409d0
mov rbx, rax
jmp 0x140240a0f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x140240a0f
nop dword [rax]
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140240a00
cmp rbx, rdi
jne 0x140240980
mov rdi, qword [rbp - 0x39]
mov r14, rdi
mov rsi, qword [rdi + 8]
mov rbx, rsi
cmp byte [rsi + 0x19], 0
jne 0x140240a5a
nop dword [rax]
mov rdx, qword [rbx + 0x10]
lea rcx, [rbp - 0x39]
call fcn.14003f870
mov rbx, qword [rbx]
mov edx, 0x30
mov rcx, rsi
call fcn.140283144
mov rsi, rbx
cmp byte [rbx + 0x19], 0
je 0x140240a30
mov rdi, qword [rbp - 0x39]
mov qword [rdi + 8], r14
mov rax, qword [rbp - 0x39]
mov qword [rax], r14
mov rax, qword [rbp - 0x39]
mov qword [rax + 0x10], r14
mov qword [rbp - 0x31], 0
mov edx, 0x30
mov rcx, qword [rbp - 0x39]
call fcn.140283144
nop
lea rcx, [rbp - 1]
call fcn.14025ceb0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret