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

Disassembly:
push rbp
push r13
push r14
lea rbp, [rsp - 0x2c0]
sub rsp, 0x3c0
mov rax, qword [0x1402bb040]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
xor r14d, r14d
mov r13, rcx
cmp dword [0x1402bbf68], 0xffffffff
mov ecx, dword [0x1402c8d98]
mov dword [rbp - 0x80], r14d
mov qword [rbp + 0x188], r14
mov qword [rbp + 0x190], r14
jae 0x14018a50c
cmp ecx, 0x40
jae 0x14018a50c
mov rcx, qword gs:[0x30]
mov r8d, dword [0x1402c8d98]
mov rax, qword [rcx + r8*8 + 0x1480]
jmp 0x14018a519
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r8d, dword [0x1402c8d98]
cmp dword [0x1402bbf68], 0xffffffff
mov qword [rsp + 0x3f8], rdi
mov qword [rbp + 0x198], rax
jae 0x14018a554
cmp r8d, 0x40
jae 0x14018a554
mov rcx, qword gs:[0x30]
lea rdx, [rbp - 0x80]
mov eax, dword [0x1402c8d98]
mov qword [rcx + rax*8 + 0x1480], rdx
jmp 0x14018a597
lea rdx, ds:[rbp - 0x80]
mov ecx, r8d
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x14018a597
cmp dword [0x1402bbf68], 0xffffffff
jae 0x14018a582
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x68]
jmp 0x14018a588
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.SystemInformer.exe_Ordinal_1343
test eax, eax
js 0x14018a9d2
mov qword [rsp + 0x3e8], rbx
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x3f0], rsi
mov ebx, r14d
mov qword [rsp + 0x3b8], r12
mov qword [rsp + 0x3b0], r15
mov r15d, r14d
mov dword [rsp + 0x40], 0x24
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x80
nop dword [rax]
movsxd r8, ebx
lea r9, [rsp + 0x40]
mov edx, 0x105f
mov rcx, r13
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x14018a605
inc r15d
inc ebx
cmp ebx, 0x64
jb 0x14018a5e0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
mov rcx, r13
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, qword [0x1402c5ff0]
mov ecx, 0x112
mov rsi, rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], 0x100
call sym.SystemInformer.exe_Ordinal_1240
mov qword [rsp + 0x28], rax
mov rdi, rax
mov r12d, r14d
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rcx + 0x100], r14w
mov qword [rax], r14
mov rax, qword [rax + 8]
mov word [rax], r14w
test esi, esi
je 0x14018a849
lfence
mov rdi, qword [rsp + 0x28]
mov rbx, r14
mov qword [rsp + 0x30], rbx
nop dword [rax]
mov r9d, 2
mov r8, rbx
mov edx, 0x102c
mov rcx, r13
call qword [sym.imp.USER32.dll_SendMessageW]
test al, 2
je 0x14018a834
nop
test r15d, r15d
je 0x14018a79f
nop dword [rax]
mov r8d, r14d
mov edx, r12d
mov rcx, r13
call sym.SystemInformer.exe_Ordinal_1734
mov rbx, rax
test rax, rax
je 0x14018a6d0
mov rcx, rax
call sym.SystemInformer.exe_Ordinal_1238
jmp 0x14018a6d2
xor ebx, ebx
mov rsi, qword [rbx]
mov rbx, qword [rbx + 8]
test rsi, rsi
je 0x14018a737
mov rcx, qword [rdi]
add rcx, rsi
cmp qword [rsp + 0x20], rcx
jae 0x14018a70a
lfence
mov rax, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
mov rdx, qword [rax]
add rdx, rsi
call fcn.140148320
mov rdi, qword [rsp + 0x28]
test rbx, rbx
je 0x14018a725
mov rcx, qword ds:[rdi + 8]
mov r8, rsi
add rcx, qword [rdi]
mov rdx, rbx
call fcn.14020c7e0
add qword [rdi], rsi
mov rcx, qword [rdi]
xor ebx, ebx
mov rax, qword [rdi + 8]
mov word [rcx + rax], bx
jmp 0x14018a739
xor ebx, ebx
mov rax, qword [rdi]
add rax, 4
cmp qword [rsp + 0x20], rax
jae 0x14018a76a
lfence
mov rax, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
mov rdx, qword [rax]
add rdx, 4
call fcn.140148320
mov rdi, qword [rsp + 0x28]
mov rcx, qword [rdi + 8]
inc r14d
mov eax, dword [0x140269478]
mov rdx, qword [rdi]
mov dword [rdx + rcx], eax
add qword [rdi], 4
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
mov word [rcx + rax], bx
cmp r14d, r15d
jb 0x14018a6b0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov r8, qword [rdi]
test r8, r8
je 0x14018a7e5
mov rax, qword [rdi + 8]
mov rdx, r8
shr rdx, 1
sub rdx, 2
lea rcx, [rdx + rdx]
add rdx, 2
sub r8, rcx
add rcx, rax
sub r8, 4
lea rdx, [rax + rdx*2]
call fcn.14020c7e0
add qword [rdi], 0xfffffffffffffffc
mov rcx, qword [rdi]
xor r14d, r14d
mov rax, qword [rdi + 8]
mov word [rcx + rax], r14w
jmp 0x14018a7e8
xor r14d, r14d
mov rax, qword [rdi]
add rax, 4
cmp qword [rsp + 0x20], rax
jae 0x14018a814
lfence
mov rax, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
mov rdx, qword [rax]
add rdx, 4
call fcn.140148320
mov rdi, qword [rsp + 0x28]
mov rcx, qword [rdi + 8]
mov eax, dword [0x14023872c]
mov rdx, qword [rdi]
mov dword [rdx + rcx], eax
add qword [rdi], 4
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
mov word [rcx + rax], r14w
inc rbx
inc r12d
mov qword [rsp + 0x30], rbx
cmp r12d, esi
jb 0x14018a680
mov eax, dword [rbp - 0x80]
mov r15, qword [rsp + 0x3b0]
mov r12, qword [rsp + 0x3b8]
mov rsi, qword [rsp + 0x3f0]
test eax, eax
je 0x14018a89a
lea rbx, [rbp - 0x78]
mov edi, eax
nop
mov rcx, qword [rbx]
mov eax, 0xffffffff
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14018a88b
call fcn.140143da0
add rbx, 8
sub rdi, 1
jne 0x14018a870
mov rdi, qword [rsp + 0x28]
mov rbx, qword [rbp + 0x190]
mov dword [rbp - 0x80], r14d
test rbx, rbx
je 0x14018a925
mov eax, dword [rbp + 0x188]
test eax, eax
je 0x14018a8f2
mov edi, eax
nop word [rax + rax]
mov rcx, qword [rbx]
mov eax, 0xffffffff
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14018a8db
call fcn.140143da0
add rbx, 8
sub rdi, 1
jne 0x14018a8c0
mov rbx, qword [rbp + 0x190]
mov rdi, qword [rsp + 0x28]
cmp dword [rbp + 0x18c], 0x100
mov dword [rbp + 0x188], r14d
jbe 0x14018a925
mov rcx, qword [0x1402c6140]
mov r8, rbx
xor edx, edx
mov dword [rbp + 0x18c], r14d
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov qword [rbp + 0x190], r14
cmp dword [0x1402bbf68], 0xffffffff
mov ecx, dword [0x1402c8d98]
mov rbx, qword [rsp + 0x3e8]
jae 0x14018a964
nop dword [rax]
cmp ecx, 0x40
jae 0x14018a964
mov rcx, qword gs:[0x30]
mov r8d, dword [0x1402c8d98]
mov rdi, qword [rsp + 0x28]
mov rax, qword [rcx + r8*8 + 0x1480]
jmp 0x14018a971
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r8d, dword [0x1402c8d98]
lea rcx, [rbp - 0x80]
cmp rax, rcx
jne 0x14018a9d2
mov rdx, qword [rbp + 0x198]
mov ecx, r8d
call fcn.14014b8e0
test eax, eax
js 0x14018a9d2
mov r8, qword [rbp + 0x190]
test r8, r8
je 0x14018a9a8
mov rcx, qword [0x1402c6140]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rax, rdi
mov rdi, qword [rsp + 0x3f8]
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.1401e5e40
add rsp, 0x3c0
pop r14
pop r13
pop rbp
ret
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3