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

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rdi
push r14
lea rbp, [rsp - 0x2a8]
sub rsp, 0x3a8
xor r14d, r14d
mov rdi, rcx
mov ecx, dword [0x140190208]
mov dword [rsp + 0x70], r14d
mov qword [rbp + 0x178], r14
mov qword [rbp + 0x180], r14
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [0x140190208]
lea rdx, [rsp + 0x70]
mov qword [rbp + 0x188], rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400f732a
mov qword [rsp + 0x3e8], rsi
lea rax, [rbp + 0x190]
mov qword [rsp + 0x3a0], r12
mov ebx, r14d
mov qword [rsp + 0x398], r13
mov r12d, r14d
mov qword [rsp + 0x390], r15
mov dword [rsp + 0x30], 0x24
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x80
movsxd r8, ebx
lea r9, [rsp + 0x30]
mov edx, 0x105f
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1400f6f84
inc r12d
inc ebx
cmp ebx, 0x64
jb 0x1400f6f60
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, qword [0x140191180]
mov r15d, 0x100
mov ecx, 0x112
mov qword [rbp + 0x2e0], rax
mov rsi, rax
mov qword [rsp + 0x20], r15
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhCreateObject
mov qword [rsp + 0x28], rax
mov rbx, rax
mov r13d, r14d
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rcx + 0x100], r14w
mov qword [rax], r14
mov rax, qword [rax + 8]
mov word [rax], r14w
test esi, esi
je 0x1400f72a8
mov rsi, r14
mov qword [rbp + 0x2d8], r14
nop word [rax + rax]
mov r9d, 2
mov r8, rsi
mov edx, 0x102c
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
test al, 2
je 0x1400f728e
test r12d, r12d
je 0x1400f716e
nop dword [rax + rax]
mov r8d, r14d
mov edx, r13d
mov rcx, rdi
call fcn.1400f6d40
mov rdi, qword [rax]
mov rsi, qword [rax + 8]
test rdi, rdi
je 0x1400f7090
mov rdx, qword [rbx]
add rdx, rdi
cmp r15, rdx
jae 0x1400f7069
lea rcx, [rsp + 0x20]
call fcn.1400dd840
mov rbx, qword [rsp + 0x28]
mov r15, qword [rsp + 0x20]
test rsi, rsi
je 0x1400f7080
mov rcx, qword [rbx + 8]
mov r8, rdi
add rcx, qword [rbx]
mov rdx, rsi
call fcn.1401317c0
add qword [rbx], rdi
mov rcx, qword [rbx]
xor edx, edx
mov rax, qword [rbx + 8]
mov word [rcx + rax], dx
cmp byte [0x14018dbaa], 1
lea rsi, [0x140159830]
jb 0x1400f710e
mov rax, rsi
mov rcx, rsi
and rax, 0xfffffffffffffff1
xorps xmm1, xmm1
and ecx, 0xf
je 0x1400f70cf
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rax]
pmovmskb edx, xmm0
sar edx, cl
bsf ecx, edx
je 0x1400f70cb
mov eax, ecx
shr rax, 1
jmp 0x1400f7103
add rax, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rax]
pmovmskb ecx, xmm0
bsf edx, ecx
jne 0x1400f70f5
nop
add rax, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rax]
pmovmskb ecx, xmm0
bsf edx, ecx
je 0x1400f70e0
sub rax, rsi
mov ecx, edx
sar rax, 1
shr rcx, 1
add rax, rcx
lea rdi, [rax + rax]
test rdi, rdi
je 0x1400f7154
jmp 0x1400f7113
mov edi, 4
mov rdx, qword [rbx]
add rdx, rdi
cmp r15, rdx
jae 0x1400f7132
lea rcx, [rsp + 0x20]
call fcn.1400dd840
mov rbx, qword [rsp + 0x28]
mov r15, qword [rsp + 0x20]
mov rcx, qword [rbx]
mov r8, rdi
add rcx, qword [rbx + 8]
mov rdx, rsi
call fcn.1401317c0
add qword [rbx], rdi
mov rcx, qword [rbx]
xor edx, edx
mov rax, qword [rbx + 8]
mov word [rcx + rax], dx
mov rdi, qword [rbp + 0x2d0]
inc r14d
cmp r14d, r12d
jb 0x1400f7030
mov rsi, qword [rbp + 0x2d8]
mov r8, qword [rbx]
test r8, r8
je 0x1400f71b4
mov rax, qword [rbx + 8]
mov rdx, r8
shr rdx, 1
sub rdx, 2
lea rcx, [rdx + rdx]
add rdx, 2
sub r8, rcx
add rcx, rax
sub r8, 4
lea rdx, [rax + rdx*2]
call fcn.1401317c0
add qword [rbx], 0xfffffffffffffffc
mov rcx, qword [rbx]
xor r14d, r14d
mov rax, qword [rbx + 8]
mov word [rcx + rax], r14w
jmp 0x1400f71b7
xor r14d, r14d
cmp byte [0x14018dbaa], 1
jb 0x1400f723e
lea r8, [0x140157ed8]
xorps xmm1, xmm1
mov rdx, r8
mov rcx, r8
and rdx, 0xfffffffffffffff1
and ecx, 0xf
je 0x1400f71fa
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
sar eax, cl
bsf ecx, eax
je 0x1400f71f6
mov edx, ecx
shr rdx, 1
jmp 0x1400f7233
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x1400f7225
nop word [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x1400f7210
sub rdx, r8
mov eax, ecx
sar rdx, 1
shr rax, 1
add rdx, rax
lea rdi, [rdx + rdx]
test rdi, rdi
je 0x1400f7287
jmp 0x1400f7243
mov edi, 4
mov rdx, qword [rbx]
add rdx, rdi
cmp r15, rdx
jae 0x1400f7262
lea rcx, [rsp + 0x20]
call fcn.1400dd840
mov rbx, qword [rsp + 0x28]
mov r15, qword [rsp + 0x20]
mov rcx, qword [rbx]
lea rdx, [0x140157ed8]
add rcx, qword [rbx + 8]
mov r8, rdi
call fcn.1401317c0
add qword [rbx], rdi
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov word [rcx + rax], r14w
mov rdi, qword [rbp + 0x2d0]
inc rsi
inc r13d
mov qword [rbp + 0x2d8], rsi
cmp r13d, dword [rbp + 0x2e0]
jb 0x1400f7000
lea rcx, [rsp + 0x70]
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhDrainAutoPool
mov ecx, dword [0x140190208]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r15, qword [rsp + 0x390]
lea rcx, [rsp + 0x70]
mov r13, qword [rsp + 0x398]
mov r12, qword [rsp + 0x3a0]
mov rsi, qword [rsp + 0x3e8]
cmp rax, rcx
jne 0x1400f732a
mov rdx, qword [rbp + 0x188]
mov ecx, dword [0x140190208]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400f732a
mov r8, qword [rbp + 0x180]
test r8, r8
je 0x1400f731a
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rax, rbx
add rsp, 0x3a8
pop r14
pop rdi
pop rbx
pop rbp
ret
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3