Function at 0x140011b80
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 [0x14015bdc8]
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 [0x14015bdc8]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x268], rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140011bd5
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 0x140011c49
nop
mov edx, 0xfffffff0
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1e
jae 0x140011c27
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetParent]
mov rbx, rax
test rax, rax
jne 0x140011c00
jmp 0x140011c49
test rbx, rbx
je 0x140011c49
call qword [sym.imp.USER32.dll_GetDesktopWindow]
cmp rbx, rax
je 0x140011c46
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_EnableWindow]
test eax, eax
je 0x140011c49
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 0x140011c79
test rbx, rbx
je 0x140011c72
lea edx, [rax + 1]
mov rcx, rbx
call qword [sym.imp.USER32.dll_EnableWindow]
xor al, al
jmp 0x140011dd4
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 0x140011d09
cmp edi, 0xffffffff
je 0x140011d05
lea r9, [rsp + 0x20]
xor r8d, r8d
mov edx, 0x475
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x140011cc7
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 0x140011d05
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 0x140011c92
jmp 0x140011d09
test edi, edi
jne 0x140011d13
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.USER32.dll_PostQuitMessage]
cmp qword [rbp + 8], 0
je 0x140011d2f
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, rsi
jne 0x140011d2f
mov rcx, qword [rbp + 8]
call qword [sym.imp.USER32.dll_SetActiveWindow]
test rbx, rbx
je 0x140011d42
mov edx, 1
mov rcx, rbx
call qword [sym.imp.USER32.dll_EnableWindow]
test r14, r14
je 0x140011d5d
mov rcx, r14
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140011d5d
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 [0x14015bdc8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
lea rcx, [rsp + 0x50]
cmp rax, rcx
je 0x140011d92
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov rdx, qword [rsp + 0x268]
mov ecx, dword [0x14015bdc8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140011db6
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov r8, qword [rsp + 0x260]
test r8, r8
je 0x140011dd2
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