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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x270
xor edi, edi
mov rbp, rcx
mov ecx, dword [0x7ff7c01d69f0]
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 [0x7ff7c01d69f0]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x268], rax
call qword [sym.imp.kernel32.dll_TlsSetValue]
test eax, eax
je 0x7ff7c00ce66b
nop word [rax + rax]
call qword [sym.imp.USER32.dll_GetFocus]
mov rbx, qword [rbp + 8]
mov r14, rax
test rbx, rbx
je 0x7ff7c00ce48f
mov edx, 0xfffffff0
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
bt rax, 0x1e
jae 0x7ff7c00ce472
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetParent]
mov rbx, rax
test rax, rax
jne 0x7ff7c00ce442
nop
jmp 0x7ff7c00ce48f
call qword [sym.imp.USER32.dll_GetDesktopWindow]
cmp rbx, rax
je 0x7ff7c00ce48c
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_EnableWindow]
test eax, eax
je 0x7ff7c00ce48f
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 0x7ff7c00ce4d8
test rbx, rbx
je 0x7ff7c00ce4b8
lea edx, [rax + 1]
mov rcx, rbx
call qword [sym.imp.USER32.dll_EnableWindow]
xor al, al
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
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 0x7ff7c00ce5a7
nop dword [rax + rax]
cmp edi, 0xffffffff
je 0x7ff7c00ce5b6
cmp dword [rsp + 0x28], 0x100
jne 0x7ff7c00ce52b
mov r9, qword [rsp + 0x38]
mov edx, 0x100
mov r8, qword [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
lea r9, [rsp + 0x20]
xor r8d, r8d
mov edx, 0x475
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x7ff7c00ce561
lea rcx, ds:[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 0x7ff7c00ce5a3
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 0x7ff7c00ce500
jmp 0x7ff7c00ce5a7
test edi, edi
jne 0x7ff7c00ce5b6
mov ecx, dword ds:[rsp + 0x30]
call qword [sym.imp.USER32.dll_PostQuitMessage]
cmp qword [rbp + 8], 0
je 0x7ff7c00ce5d6
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, rsi
jne 0x7ff7c00ce5d6
mov rcx, qword ss:[rbp + 8]
call qword [sym.imp.USER32.dll_SetActiveWindow]
test rbx, rbx
je 0x7ff7c00ce5e9
mov edx, 1
mov rcx, rbx
call qword [sym.imp.USER32.dll_EnableWindow]
test r14, r14
je 0x7ff7c00ce604
mov rcx, r14
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x7ff7c00ce604
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 [0x7ff7c01d69f0]
call qword [sym.imp.kernel32.dll_TlsGetValue]
lea rcx, [rsp + 0x50]
cmp rax, rcx
jne 0x7ff7c00ce66b
mov rdx, qword [rsp + 0x268]
mov ecx, dword [0x7ff7c01d69f0]
call qword [sym.imp.kernel32.dll_TlsSetValue]
test eax, eax
je 0x7ff7c00ce66b
mov r8, qword ds:[rsp + 0x260]
test r8, r8
je 0x7ff7c00ce664
mov rcx, qword [0x7ff7c01d3cd0]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov al, 1
jmp 0x7ff7c00ce4ba
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3