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

Disassembly:
mov dword [rsp + 0x10], edx
mov r11, rsp
mov qword [r11 + 8], rcx
push rbx
push r14
sub rsp, 0x2d8
xor eax, eax
mov r14, rcx
mov ecx, dword [0x140190208]
mov dword [rsp + 0x80], eax
mov qword [r11 - 0x60], rax
mov qword [r11 - 0x58], rax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [0x140190208]
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x298], rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400f6d2c
mov qword [rsp + 0x2d0], rbp
xor r9d, r9d
mov qword [rsp + 0x2c8], rsi
xor r8d, r8d
mov qword [rsp + 0x2c0], rdi
mov edx, 0x411
mov qword [rsp + 0x2b8], r12
mov rcx, r14
mov qword [rsp + 0x2b0], r13
mov qword [rsp + 0x2a8], r15
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x421
mov qword [rsp + 0x308], rax
mov rcx, r14
mov r15, rax
lea r13d, [rax + 1]
mov dword [rsp + 0x300], r13d
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x429
mov rcx, r14
mov rbx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov edx, 4
mov r12d, eax
mov rsi, rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], r12
lea r8, [r12*4]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rsp + 0x40], rax
mov edx, 0x409
mov rdi, rax
mov rcx, r14
test rbx, rbx
je 0x1400f68f3
lea r9, [rax + 4]
lea r8d, [rsi - 1]
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [rbx + 4]
mov dword [rdi], ecx
jmp 0x1400f68ff
mov r9, rdi
mov r8, r12
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
lea rbp, [r12*8]
mov r8, rbp
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rsp + 0x38], rax
test esi, esi
je 0x1400f6966
mov rbx, rax
mov rsi, r12
nop dword [rax + rax]
mov r8d, dword [rdi]
lea r9, [rsp + 0x50]
mov edx, 0x407
mov rcx, r14
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x1400f6953
mov rax, qword [rsp + 0x60]
mov qword [rbx], rax
add rdi, 4
add rbx, 8
sub rsi, 1
jne 0x1400f6930
mov rsi, qword [rsp + 0x20]
mov rdx, qword [0x14018d8d0]
lea rcx, [r13*8]
mov edi, r13d
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhCreateObject
mov rcx, rax
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhAutoDereferenceObject
cmp dword [rsp + 0x300], 0
mov r13, rax
mov qword [rsp + 0x48], rax
jbe 0x1400f69d1
mov rbx, rax
nop word [rax + rax]
mov rdx, qword [0x14018d8d0]
mov rcx, rbp
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhCreateObject
mov rcx, rax
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhAutoDereferenceObject
mov r8, rbp
mov qword [rbx], rax
xor edx, edx
mov rcx, rax
call fcn.140131400
lea rbx, [rbx + 8]
sub rdi, 1
jne 0x1400f69a0
test esi, esi
je 0x1400f6a6b
xor r15d, r15d
mov rbp, r12
mov r12, qword [rsp + 0x38]
mov r14d, r15d
nop word [rax + rax]
mov rdi, qword [r12 + r14]
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rdi + rbx*2], r15w
jne 0x1400f6a00
mov rdx, qword [0x140191180]
add rbx, rbx
lea rcx, [rbx + 0x12]
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhCreateObject
mov rsi, rax
mov qword [rax], rbx
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rcx + rbx], r15w
test rdi, rdi
je 0x1400f6a44
mov rcx, qword [rax + 8]
mov r8, rbx
mov rdx, rdi
call fcn.1401317c0
mov rcx, rsi
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhAutoDereferenceObject
mov rcx, qword [r13]
mov qword [r14 + rcx], rax
add r14, 8
sub rbp, 1
jne 0x1400f69f0
mov r15, qword [rsp + 0x308]
mov rsi, qword [rsp + 0x20]
test r15d, r15d
je 0x1400f6c4f
mov rbx, qword [rsp + 0x2f0]
lea r12, [r13 + 8]
xor r14d, r14d
mov ebp, r15d
mov eax, r14d
mov qword [rsp + 0x308], rbp
mov qword [rsp + 0x30], rax
nop word [rax + rax]
xor r9d, r9d
mov r8, rax
mov edx, 0x412
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
mov r13, rax
test rax, rax
je 0x1400f6b89
test esi, esi
je 0x1400f6c27
mov rsi, qword [rsp + 0x40]
mov rdi, r14
mov r14, qword [rsp + 0x28]
nop word [rax + rax]
mov qword [rsp + 0x58], r13
lea r9, [rsp + 0x50]
mov eax, dword [rsi]
xor r8d, r8d
mov dword [rsp + 0x60], eax
mov edx, 0x413
xor eax, eax
mov rcx, rbx
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbp, qword [rsp + 0x68]
mov rdx, qword [0x140191180]
mov r15, qword [rsp + 0x70]
lea rcx, [rbp + 0x12]
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhCreateObject
mov rbx, rax
lea rcx, [rax + 0x10]
mov qword [rax], rbp
mov qword [rax + 8], rcx
xor eax, eax
mov word [rcx + rbp], ax
test r15, r15
je 0x1400f6b4f
mov rcx, qword [rbx + 8]
mov r8, rbp
mov rdx, r15
call fcn.1401317c0
mov rcx, rbx
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhAutoDereferenceObject
mov rcx, qword [r12]
add rsi, 4
mov rbx, qword [rsp + 0x2f0]
mov qword [rdi + rcx], rax
add rdi, 8
sub r14, 1
jne 0x1400f6ae0
mov rbp, qword [rsp + 0x308]
xor r14d, r14d
jmp 0x1400f6c1a
test esi, esi
je 0x1400f6c27
mov rsi, qword [rsp + 0x28]
mov rdi, r14
nop dword [rax]
mov rbx, qword [0x140190230]
test rbx, rbx
jne 0x1400f6bfc
mov rdx, qword [0x140191180]
mov ecx, 0x12
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhCreateObject
mov rdx, rax
lea rcx, [rax + 0x10]
mov qword [rax], r14
mov qword [rax + 8], rcx
xor eax, eax
mov word [rcx], r14w
lock cmpxchg qword [0x140190230], rdx
mov rbx, rax
jne 0x1400f6be4
mov rbx, rdx
jmp 0x1400f6bfc
lea rcx, [rdx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400f6bfc
call fcn.1400d9400
lock inc dword [rbx - 8]
mov rcx, rbx
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhAutoDereferenceObject
mov rcx, qword [r12]
mov qword [rdi + rcx], rax
add rdi, 8
sub rsi, 1
jne 0x1400f6ba0
mov rsi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x2f0]
mov rax, qword [rsp + 0x30]
add r12, 8
inc rax
sub rbp, 1
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x308], rbp
jne 0x1400f6aa0
mov r13, qword [rsp + 0x48]
mov r8, qword [rsp + 0x38]
xor edx, edx
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8, qword [rsp + 0x40]
xor edx, edx
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r9d, dword [rsp + 0x2f8]
mov r8d, esi
mov edx, dword [rsp + 0x300]
mov rcx, r13
call fcn.1400f5ec0
lea rcx, [rsp + 0x80]
mov rbx, rax
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhDrainAutoPool
mov ecx, dword [0x140190208]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r15, qword [rsp + 0x2a8]
lea rcx, [rsp + 0x80]
mov r13, qword [rsp + 0x2b0]
mov r12, qword [rsp + 0x2b8]
mov rdi, qword [rsp + 0x2c0]
mov rsi, qword [rsp + 0x2c8]
mov rbp, qword [rsp + 0x2d0]
cmp rax, rcx
jne 0x1400f6d2c
mov rdx, qword [rsp + 0x298]
mov ecx, dword [0x140190208]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400f6d2c
mov r8, qword [rsp + 0x290]
test r8, r8
je 0x1400f6d1e
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rax, rbx
add rsp, 0x2d8
pop r14
pop rbx
ret
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3