Function at 0x1400e3010
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 [0x140196214]
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 [0x140196214]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x268], rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x1400e3065
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 0x1400e30da
nop
mov edx, 0xfffffff0
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
bt rax, 0x1e
jae 0x1400e30b8
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetParent]
mov rbx, rax
test rax, rax
jne 0x1400e3090
jmp 0x1400e30da
test rbx, rbx
je 0x1400e30da
call qword [sym.imp.USER32.dll_GetDesktopWindow]
cmp rbx, rax
je 0x1400e30d7
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_EnableWindow]
test eax, eax
je 0x1400e30da
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 0x1400e310a
test rbx, rbx
je 0x1400e3103
lea edx, [rax + 1]
mov rcx, rbx
call qword [sym.imp.USER32.dll_EnableWindow]
xor al, al
jmp 0x1400e3265
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 0x1400e319a
cmp edi, 0xffffffff
je 0x1400e3196
lea r9, [rsp + 0x20]
xor r8d, r8d
mov edx, 0x475
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x1400e3158
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 0x1400e3196
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 0x1400e3123
jmp 0x1400e319a
test edi, edi
jne 0x1400e31a4
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.USER32.dll_PostQuitMessage]
cmp qword [rbp + 8], 0
je 0x1400e31c0
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, rsi
jne 0x1400e31c0
mov rcx, qword [rbp + 8]
call qword [sym.imp.USER32.dll_SetActiveWindow]
test rbx, rbx
je 0x1400e31d3
mov edx, 1
mov rcx, rbx
call qword [sym.imp.USER32.dll_EnableWindow]
test r14, r14
je 0x1400e31ee
mov rcx, r14
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400e31ee
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 [0x140196214]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
lea rcx, [rsp + 0x50]
cmp rax, rcx
je 0x1400e3223
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov rdx, qword [rsp + 0x268]
mov ecx, dword [0x140196214]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x1400e3247
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov r8, qword [rsp + 0x260]
test r8, r8
je 0x1400e3263
mov rcx, qword [0x140196670]
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