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

Disassembly:
push rbp
push r12
push r14
lea rbp, [rsp - 0x180]
sub rsp, 0x280
xor r12d, r12d
mov r14, rcx
cmp dword [0x1402bbf68], 0xffffffff
mov ecx, dword [0x1402c8d98]
mov dword [rsp + 0x50], r12d
mov qword [rbp + 0x158], r12
mov qword [rbp + 0x160], r12
jae 0x140152f3f
nop dword [rax]
cmp ecx, 0x40
jae 0x140152f3f
mov rcx, qword gs:[0x30]
mov r8d, dword [0x1402c8d98]
mov rax, qword [rcx + r8*8 + 0x1480]
jmp 0x140152f4d
nop
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r8d, dword [0x1402c8d98]
cmp dword [0x1402bbf68], 0xffffffff
mov qword [rsp + 0x2a0], rbx
mov qword [rsp + 0x2b0], rsi
mov qword [rsp + 0x270], r15
mov qword [rbp + 0x168], rax
jae 0x140152f99
cmp r8d, 0x40
jae 0x140152f99
mov rcx, qword gs:[0x30]
lea rdx, [rsp + 0x50]
mov eax, dword [0x1402c8d98]
mov qword [rcx + rax*8 + 0x1480], rdx
jmp 0x140152fd7
lea rdx, [rsp + 0x50]
mov ecx, r8d
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140152fd7
cmp dword [0x1402bbf68], 0xffffffff
jae 0x140152fc2
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x68]
jmp 0x140152fc8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.SystemInformer.exe_Ordinal_1343
test eax, eax
js 0x1401532f3
call qword [sym.imp.USER32.dll_GetFocus]
mov rbx, qword [r14 + 8]
mov r15, rax
test rbx, rbx
je 0x140153037
nop dword [rax]
mov edx, 0xfffffff0
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
bt rax, 0x1e
jae 0x140153018
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetParent]
mov rbx, rax
test rax, rax
jne 0x140152ff0
jmp 0x140153037
call qword [sym.imp.USER32.dll_GetDesktopWindow]
nop
cmp rbx, rax
je 0x140153034
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_EnableWindow]
test eax, eax
je 0x140153037
mov rbx, r12
or dword [r14 + 4], 0x400
mov rcx, r14
call qword [sym.imp.COMCTL32.dll_PropertySheetW]
mov rsi, rax
test rax, rax
jne 0x14015308d
test rbx, rbx
je 0x140153066
mov edx, 1
mov rcx, rbx
call qword [sym.imp.USER32.dll_EnableWindow]
xor al, al
mov r15, qword [rsp + 0x270]
mov rsi, qword [rsp + 0x2b0]
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x280
pop r14
pop r12
pop rbp
ret
xor r9d, r9d
mov qword [rsp + 0x278], rdi
xor r8d, r8d
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
mov edi, eax
test eax, eax
je 0x140153157
cmp edi, 0xffffffff
je 0x140153166
cmp dword [rsp + 0x28], 0x100
jne 0x1401530dd
mov r9, qword [rsp + 0x38]
mov edx, 0x100
mov r8, qword [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.USER32.dll_DefWindowProcW]
lea r9, [rsp + 0x20]
xor r8d, r8d
mov edx, 0x475
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x140153111
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.SystemInformer.exe_Ordinal_1247
xor r9d, r9d
xor r8d, r8d
mov edx, 0x476
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x140153153
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 0x1401530b2
jmp 0x140153157
test edi, edi
jne 0x140153166
mov ecx, dword ds:[rsp + 0x30]
call qword [sym.imp.USER32.dll_PostQuitMessage]
cmp qword [r14 + 8], r12
je 0x140153186
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, rsi
jne 0x140153186
mov rcx, qword ds:[r14 + 8]
call qword [sym.imp.USER32.dll_SetActiveWindow]
test rbx, rbx
je 0x140153199
mov edx, 1
mov rcx, rbx
call qword [sym.imp.USER32.dll_EnableWindow]
test r15, r15
je 0x1401531b4
mov rcx, r15
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1401531b4
mov rcx, r15
call qword [sym.imp.USER32.dll_SetFocus]
mov rcx, rsi
call qword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x1401531f5
lea rbx, [rsp + 0x58]
mov edi, eax
nop dword [rax]
mov rcx, qword [rbx]
mov eax, 0xffffffff
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1401531eb
call fcn.140143da0
add rbx, 8
sub rdi, 1
jne 0x1401531d0
mov rbx, qword [rbp + 0x160]
mov dword [rsp + 0x50], r12d
test rbx, rbx
je 0x140153271
mov eax, dword [rbp + 0x158]
test eax, eax
je 0x14015323e
mov edi, eax
mov rcx, qword [rbx]
mov eax, 0xffffffff
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14015322d
call fcn.140143da0
add rbx, 8
sub rdi, 1
jne 0x140153212
mov rbx, qword [rbp + 0x160]
cmp dword [rbp + 0x15c], 0x100
mov dword [rbp + 0x158], r12d
jbe 0x140153271
mov rcx, qword [0x1402c6140]
mov r8, rbx
xor edx, edx
mov dword [rbp + 0x15c], r12d
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov qword [rbp + 0x160], r12
cmp dword [0x1402bbf68], 0xffffffff
mov ecx, dword [0x1402c8d98]
mov rdi, qword [rsp + 0x278]
jae 0x1401532a7
cmp ecx, 0x40
jae 0x1401532a7
mov rcx, qword gs:[0x30]
mov r8d, dword [0x1402c8d98]
mov rax, qword [rcx + r8*8 + 0x1480]
jmp 0x1401532b4
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r8d, dword [0x1402c8d98]
lea rcx, [rsp + 0x50]
cmp rax, rcx
jne 0x1401532f3
mov rdx, qword [rbp + 0x168]
mov ecx, r8d
call fcn.14014b8e0
test eax, eax
js 0x1401532f3
mov r8, qword [rbp + 0x160]
test r8, r8
je 0x1401532ec
mov rcx, qword [0x1402c6140]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov al, 1
jmp 0x140153068
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3