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

Disassembly:
push rbp
push rbx
push r13
push r15
lea rbp, [rsp - 0x1e8]
sub rsp, 0x2e8
mov rax, qword [0x1402c0040]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
xor eax, eax
mov dword [rsp + 0x40], r9d
cmp dword [0x1402c0f40], 0xffffffff
mov r15, rcx
mov ecx, dword [0x1402cea48]
mov r13, r8
mov ebx, edx
mov dword [rbp - 0x60], eax
mov qword [rbp + 0x1a8], rax
mov qword [rbp + 0x1b0], rax
jae 0x1400d4af5
cmp ecx, 0x40
jae 0x1400d4af5
mov rcx, qword gs:[0x30]
mov r8d, dword [0x1402cea48]
mov rax, qword [rcx + r8*8 + 0x1480]
jmp 0x1400d4b02
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r8d, dword [0x1402cea48]
cmp dword [0x1402c0f40], 0xffffffff
mov qword [rsp + 0x328], rsi
mov qword [rbp + 0x1b8], rax
jae 0x1400d4b43
nop word [rax + rax]
cmp r8d, 0x40
jae 0x1400d4b43
mov rcx, qword gs:[0x30]
lea rdx, [rbp - 0x60]
mov eax, dword [0x1402cea48]
mov qword [rcx + rax*8 + 0x1480], rdx
jmp 0x1400d4b88
lea rdx, [rbp - 0x60]
mov ecx, r8d
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x1400d4b88
cmp dword [0x1402c0f40], 0xffffffff
jae 0x1400d4b6b
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x68]
jmp 0x1400d4b71
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
nop dword [rax + rax]
test eax, eax
js 0x1400d4efc
mov qword [rsp + 0x2e0], rdi
xor r9d, r9d
lea edi, [rbx + 1]
mov qword [rsp + 0x2d8], r12
xor r8d, r8d
mov dword [rsp + 0x44], edi
mov edx, 0x421
mov qword [rsp + 0x2d0], r14
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x429
mov rcx, r15
mov rbx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x1402cba10]
mov edx, 4
mov esi, eax
mov r12, rax
lea r8, [rsi*4]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rsp + 0x58], rax
mov edx, 0x409
mov r14, rax
mov rcx, r15
test rbx, rbx
je 0x1400d4c1d
lea r9, [rax + 4]
lea r8d, [r12 - 1]
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [rbx + 4]
mov dword [r14], ecx
jmp 0x1400d4c29
mov r9, r14
mov r8, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x1402cba10]
lea r8, ds:[rsi*8]
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rsp + 0x50], rax
test r12d, r12d
je 0x1400d4cde
lfence
mov rdi, r14
mov rbx, rax
mov r14, rsi
mov r8d, dword [rdi]
lea r9, [rsp + 0x60]
mov edx, 0x407
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x1400d4c83
mov rax, qword [rsp + 0x70]
mov qword [rbx], rax
add rdi, 4
add rbx, 8
sub r14, 1
jne 0x1400d4c60
mov edx, dword ds:[rsp + 0x44]
lea rcx, [rsp + 0x48]
mov r8d, r12d
call fcn.1401886c0
mov rdi, qword [rsp + 0x48]
xor ebx, ebx
mov r14, qword [rsp + 0x50]
mov rcx, qword [rbx + r14]
call sym.SystemInformer.exe_PhCreateString
mov rcx, rax
call sym.SystemInformer.exe_PhAutoDereferenceObject
mov rcx, qword [rdi]
lea rbx, [rbx + 8]
mov qword [rbx + rcx - 8], rax
sub rsi, 1
jne 0x1400d4cb1
mov r14, qword [rsp + 0x58]
jmp 0x1400d4cf2
mov r8d, r12d
lea rcx, [rsp + 0x48]
mov edx, edi
call fcn.1401886c0
mov rdi, qword [rsp + 0x48]
xor ebx, ebx
mov dword [rbp - 0x70], 1
cmp dword [r13], ebx
jbe 0x1400d4d46
nop word [rax + rax]
mov rdx, qword [r13 + 8]
lea rcx, [rbp - 0x70]
mov dword [rsp + 0x30], r12d
mov r9, rdi
mov qword [rsp + 0x28], r14
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rcx, r15
mov rdx, qword [rdx + rbx*8]
call fcn.1400d4800
inc ebx
cmp ebx, dword [r13]
jb 0x1400d4d10
mov rcx, qword [0x1402cba10]
mov r8, r14
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8, qword [rsp + 0x50]
xor edx, edx
mov rcx, qword [0x1402cba10]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r9d, dword ds:[rsp + 0x40]
mov r8d, r12d
mov edx, dword [rsp + 0x44]
mov rcx, rdi
call fcn.140188880
mov ecx, dword [rbp - 0x60]
mov rsi, rax
mov r12, qword [rsp + 0x2d8]
test ecx, ecx
je 0x1400d4dc6
lea rbx, [rbp - 0x58]
mov edi, ecx
nop dword [rax]
mov rcx, qword [rbx]
mov edx, 0xffffffff
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], edx
cmp edx, 1
jne 0x1400d4dbb
call fcn.140142200
add rbx, 8
sub rdi, 1
jne 0x1400d4da0
mov rbx, qword [rbp + 0x1b0]
xor r14d, r14d
mov dword [rbp - 0x60], r14d
test rbx, rbx
je 0x1400d4e4f
mov eax, dword ds:[rbp + 0x1a8]
test eax, eax
je 0x1400d4e1c
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 0x1400d4e0b
call fcn.140142200
add rbx, 8
sub rdi, 1
jne 0x1400d4df0
mov rbx, qword [rbp + 0x1b0]
cmp dword [rbp + 0x1ac], 0x100
mov dword [rbp + 0x1a8], r14d
jbe 0x1400d4e4f
mov rcx, qword [0x1402cba10]
mov r8, rbx
xor edx, edx
mov dword [rbp + 0x1ac], r14d
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov qword [rbp + 0x1b0], r14
cmp dword [0x1402c0f40], 0xffffffff
mov ecx, dword [0x1402cea48]
mov r14, qword [rsp + 0x2d0]
mov rdi, qword [rsp + 0x2e0]
jae 0x1400d4e8d
cmp ecx, 0x40
jae 0x1400d4e8d
mov rcx, qword gs:[0x30]
mov r8d, dword [0x1402cea48]
mov rax, qword [rcx + r8*8 + 0x1480]
jmp 0x1400d4e9a
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r8d, dword [0x1402cea48]
lea rcx, ds:[rbp - 0x60]
cmp rax, rcx
jne 0x1400d4efc
mov rdx, qword [rbp + 0x1b8]
mov ecx, r8d
call fcn.140149ba0
test eax, eax
js 0x1400d4efc
mov r8, qword ds:[rbp + 0x1b0]
test r8, r8
je 0x1400d4ed4
mov rcx, qword [0x1402cba10]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rax, rsi
mov rsi, qword [rsp + 0x328]
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1401e5e20
add rsp, 0x2e8
pop r15
pop r13
pop rbx
pop rbp
ret
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3