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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbp
push rdi
sub rsp, 0x270
xor edi, edi
mov rbp, rcx
mov ecx, dword [0x14015dac4]
mov dword [rsp + 0x50], edi
mov qword [rax - 0x20], rdi
mov qword [rax - 0x18], rdi
call qword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov ecx, dword [0x14015dac4]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x268], rax
call qword [sym.imp.KERNEL32.DLL_TlsSetValue]
test eax, eax
jne 0x1400c7155
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov qword [rsp + 0x280], rbx
mov qword [rsp + 0x288], rsi
mov qword [rsp + 0x290], r14
call qword [sym.imp.USER32.dll_GetFocus]
mov rbx, qword [rbp + 8]
mov r14, rax
test rbx, rbx
je 0x1400c71c9
nop
mov edx, 0xfffffff0
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1e
jae 0x1400c71a7
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetParent]
mov rbx, rax
test rax, rax
jne 0x1400c7180
jmp 0x1400c71c9
test rbx, rbx
je 0x1400c71c9
call qword [sym.imp.USER32.dll_GetDesktopWindow]
cmp rbx, rax
je 0x1400c71c6
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_EnableWindow]
test eax, eax
je 0x1400c71c9
mov rbx, rdi
or dword [rbp + 4], 0x400
mov rcx, rbp
call qword [sym.imp.COMCTL32.dll_PropertySheetW]
mov rsi, rax
test rax, rax
jne 0x1400c71f9
test rbx, rbx
je 0x1400c71f2
lea edx, [rax + 1]
mov rcx, rbx
call qword [sym.imp.USER32.dll_EnableWindow]
xor al, al
jmp 0x1400c7354
xor r9d, r9d
lea rcx, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
mov edi, eax
test eax, eax
je 0x1400c7289
cmp edi, 0xffffffff
je 0x1400c7285
lea r9, [rsp + 0x20]
xor r8d, r8d
mov edx, 0x475
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x1400c7247
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_DispatchMessageW]
lea rcx, [rsp + 0x50]
call sym.ProcessHacker.exe_PhDrainAutoPool
xor r9d, r9d
xor r8d, r8d
mov edx, 0x476
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x1400c7285
xor r9d, r9d
lea rcx, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
mov edi, eax
test eax, eax
jne 0x1400c7212
jmp 0x1400c7289
test edi, edi
jne 0x1400c7293
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.USER32.dll_PostQuitMessage]
cmp qword [rbp + 8], 0
je 0x1400c72af
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, rsi
jne 0x1400c72af
mov rcx, qword [rbp + 8]
call qword [sym.imp.USER32.dll_SetActiveWindow]
test rbx, rbx
je 0x1400c72c2
mov edx, 1
mov rcx, rbx
call qword [sym.imp.USER32.dll_EnableWindow]
test r14, r14
je 0x1400c72dd
mov rcx, r14
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400c72dd
mov rcx, r14
call qword [sym.imp.USER32.dll_SetFocus]
mov rcx, rsi
call qword [sym.imp.USER32.dll_DestroyWindow]
lea rcx, [rsp + 0x50]
call sym.ProcessHacker.exe_PhDrainAutoPool
mov ecx, dword [0x14015dac4]
call qword [sym.imp.KERNEL32.DLL_TlsGetValue]
lea rcx, [rsp + 0x50]
cmp rax, rcx
je 0x1400c7312
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov rdx, qword [rsp + 0x268]
mov ecx, dword [0x14015dac4]
call qword [sym.imp.KERNEL32.DLL_TlsSetValue]
test eax, eax
jne 0x1400c7336
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov r8, qword [rsp + 0x260]
test r8, r8
je 0x1400c7352
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov al, 1
mov rsi, qword [rsp + 0x288]
mov rbx, qword [rsp + 0x280]
mov r14, qword [rsp + 0x290]
mov rbp, qword [rsp + 0x298]
add rsp, 0x270
pop rdi
ret