Function at 0x1401c7430
Capabilities:
Encode data using xor
Get thread local storage value
Set thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xc0
movaps xmmword [rsp + 0xb0], xmm9
movdqa xmmword [rsp + 0xa0], xmm8
movdqa xmmword [rsp + 0x90], xmm7
movdqa xmmword [rsp + 0x80], xmm6
mov ecx, dword [0x140394078]
test ecx, ecx
je 0x1401c7483
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x1401c749c
add rax, 8
jmp 0x1401c7695
lea rcx, [0x140394060]
call fcn.1401d8500
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x1401c747a
je 0x1401c7693
call fcn.14015c080
test rax, rax
je 0x1401c76e6
movdqu xmm6, xmmword [rax]
inc qword [rax]
pshufd xmm7, xmm6, 0x44
pxor xmm7, xmmword [0x14039f300]
pshufd xmm8, xmm6, 0xee
pxor xmm8, xmmword [0x14039f310]
mov ebx, 1
lea r14, [rsp + 0x60]
xorps xmm9, xmm9
lea rsi, [rsp + 0x30]
lea rdi, [rsp + 0x28]
nop dword [rax + rax]
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmmword [rsp + 0x40], xmm8
movdqa xmmword [rsp + 0x50], xmm6
movaps xmmword [r14], xmm9
mov qword [r14 + 0x10], 0
mov qword [rsp + 0x28], rbx
mov r8d, 8
mov rcx, rsi
mov rdx, rdi
call fcn.140079c30
mov rax, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rax
rol rax, 0xd
xor rcx, r9
xor rax, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rcx
rol rcx, 0x10
xor rcx, rdx
add r8, rcx
rol rcx, 0x15
add rdx, rax
rol rax, 0x11
xor rcx, r8
xor rax, rdx
rol rdx, 0x20
xor r8, r9
add r8, rax
rol rax, 0xd
xor rax, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rcx
rol rcx, 0x10
xor rcx, rdx
add r8, rcx
rol rcx, 0x15
add rdx, rax
rol rax, 0x11
xor rax, rdx
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
xor rax, r8
rol r8, 0x20
add rdx, rcx
rol rcx, 0x10
xor rcx, rdx
add r8, rcx
rol rcx, 0x15
add rdx, rax
rol rax, 0x11
xor rax, rdx
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
rol rcx, 0x10
xor rcx, rdx
rol rcx, 0x15
xor rax, r8
add rdx, rax
rol rax, 0x11
mov r15, rdx
rol r15, 0x20
xor r15, rax
xor r15, rcx
inc rbx
xor r15, rdx
je 0x1401c74f0
movzx eax, byte [0x1404a3130]
mov edx, 0x10
xor ecx, ecx
call fcn.140201a50
test rax, rax
je 0x1401c770f
mov rbx, rax
mov rsi, rax
lea rax, [0x140394060]
mov qword [rsi], rax
mov qword [rsi + 8], r15
mov ecx, dword [0x140394078]
test ecx, ecx
je 0x1401c76c6
dec ecx
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, dword [0x140394078]
test ecx, ecx
je 0x1401c76d6
dec ecx
add rbx, 8
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
test rdi, rdi
je 0x1401c768e
mov rcx, qword [0x1404a30d0]
xor edx, edx
mov r8, rdi
call fcn.14021d5e4
mov rax, rbx
jmp 0x1401c7695
xor eax, eax
movaps xmm6, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x90]
movaps xmm8, xmmword [rsp + 0xa0]
movaps xmm9, xmmword [rsp + 0xb0]
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, [0x140394060]
call fcn.1401d8500
mov ecx, eax
jmp 0x1401c7658
lea rcx, [0x140394060]
call fcn.1401d8500
mov ecx, eax
jmp 0x1401c766c
lea rax, [0x14043f6e8]
mov qword [rsp + 0x20], rax
lea rcx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_3cb521a4344f0b556b81c55eec8facddeb1ead83library_std_src_threadlocal.rs
lea r9, [0x14043f5d0]
lea r8, [rsp + 0x30]
mov edx, 0x46
call fcn.140048f30
mov ecx, 8
mov edx, 0x10
call fcn.140043da0
int3