Function at 0x1400157b0
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xe8]
sub rsp, 0x1d0
mov qword [rbp + 0xb8], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov r14d, r9d
mov rsi, r8
mov r12, rdx
mov r13, rcx
mov ecx, 2
call fcn.1400a82f0
mov qword [rbp - 0x30], rax
xor edi, edi
mov word [rax], di
lea ecx, [rdi + 2]
call fcn.1400a82f0
mov qword [rbp - 0x10], rax
mov word [rax], di
lea ecx, [rdi + 2]
call fcn.1400a82f0
mov qword [rbp - 8], rax
mov word [rax], di
cmp r14d, 0xffffffff
jne 0x1400159ee
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x38], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x48], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x40], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x50], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x80], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x78], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x70], rax
lea rcx, [0x1400d1428]
test rsi, rsi
cmovne rcx, rsi
call fcn.1400a8238
mov qword [rbp - 0x60], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x68], rax
lea rcx, [0x1400d1428]
test rsi, rsi
cmovne rcx, rsi
call fcn.1400a8238
mov qword [rbp - 0x58], rax
lea r9, [rbp - 0x70]
lea r8, [rbp - 0x60]
mov rdx, r12
lea rcx, [rbp - 0x20]
call fcn.140009060
mov rbx, rax
lea r9, [rbp - 0x68]
lea r8, [rbp - 0x58]
mov rdx, r12
lea rcx, [rbp - 0x28]
call fcn.140009060
nop
movzx ecx, byte [rbp + 0x110]
mov dword [rsp + 0x80], r14d
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x70], rdi
lea rdx, [rbp - 0x38]
mov qword [rsp + 0x68], rdx
mov dword [rsp + 0x60], ecx
mov qword [rsp + 0x58], rdi
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
xor r9d, r9d
or r8d, r14d
xor edx, edx
mov rcx, r13
call fcn.140004870
mov r14d, eax
mov rcx, qword [rbp - 0x28]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x20]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x58]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x68]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x60]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x70]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x78]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x80]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x50]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x40]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x48]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x38]
call fcn.1400a82b0
mov ecx, dword [0x1401252dc]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
mov rdx, rsi
mov rcx, r12
call fcn.1400075c0
test eax, eax
jne 0x1400161a9
mov r15d, edi
lea ecx, [rax + 2]
call fcn.1400a82f0
mov qword [rbp - 0x78], rax
mov word [rax], di
mov ecx, 2
call fcn.1400a82f0
mov qword [rbp - 0x68], rax
mov word [rax], di
mov ecx, 2
call fcn.1400a82f0
mov qword [rbp - 0x80], rax
mov word [rax], di
mov ecx, 2
call fcn.1400a82f0
mov qword [rbp - 0x70], rax
mov word [rax], di
mov ecx, 2
call fcn.1400a82f0
mov qword [rbp - 0x60], rax
mov word [rax], di
lea r8, [rbp - 0x78]
xor edx, edx
mov rcx, qword [rbp - 0x18]
call fcn.1400136a0
test eax, eax
jne 0x14001616d
nop
mov rbx, qword [rbp - 0x78]
mov ecx, dword [0x1401252dc]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rbp - 0x18]
call fcn.1400075c0
test eax, eax
jne 0x1400160cc
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1400d7b98]
mov rcx, qword [rbp - 0x58]
call fcn.1400138b0
mov rcx, qword [rbp - 0x58]
test eax, eax
je 0x140015afa
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400160cc
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x1401252dc]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, qword [rbp - 0x80]
cmp eax, 0x200
lea rcx, str.Wow6432Node_
je 0x140015b25
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x80], rax
mov rcx, rbx
call fcn.1400a82b0
lea r8, [rbp - 0x68]
lea rdx, str.CLSID_
lea rcx, [rbp + 0x68]
call fcn.1400161f0
lea r8, [0x1400d2970]
mov rdx, rax
lea rcx, [rbp + 0xa8]
call fcn.140022b00
xor r9d, r9d
mov r8d, 0x7fffffff
mov rdx, qword [rax]
lea rcx, [rbp - 0x80]
call fcn.140002620
mov rcx, qword [rbp + 0xa8]
call fcn.1400a82b0
mov rcx, qword [rbp + 0x68]
call fcn.1400a82b0
lea r8, [rbp - 0x68]
lea rdx, str.HKCRCLSID_
lea rcx, [rbp + 0xb0]
call fcn.1400161f0
mov rbx, qword [rbp - 0x60]
mov rcx, qword [rax]
call fcn.1400a8238
mov qword [rbp - 0x60], rax
mov rcx, rbx
call fcn.1400a82b0
mov rcx, qword [rbp + 0xb0]
call fcn.1400a82b0
mov rbx, qword [rbp - 0x80]
mov ecx, dword [0x1401252dc]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000000
call fcn.1400075c0
test eax, eax
jne 0x1400160cc
mov rbx, qword [rbp - 0x80]
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x80], rax
mov rcx, rbx
call fcn.1400a82b0
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1400d1428]
mov rcx, qword [rbp - 0x58]
call fcn.1400138b0
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x80]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140015c50
test rax, rax
je 0x1400160cc
mov ecx, 2
call fcn.1400a82f0
mov qword [rbp + 0x48], rax
mov word [rax], di
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], rdi
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp - 0x80]
call fcn.140008100
xor r9d, r9d
lea r8, [rbp + 0x48]
mov rdx, r13
lea rcx, [rbp + 0x80]
call fcn.1400058f0
mov rbx, qword [rbp - 0x70]
mov rcx, qword [rax]
call fcn.1400a8238
mov qword [rbp - 0x70], rax
mov rcx, rbx
call fcn.1400a82b0
mov rcx, qword [rbp + 0x80]
call fcn.1400a82b0
lea r9, [rbp - 0x10]
lea r8, [rbp - 0x30]
mov rdx, qword [rbp - 0x70]
mov rcx, r13
call fcn.1400058e0
mov edi, eax
lea rcx, [0x1400d1428]
test rsi, rsi
cmovne rcx, rsi
call fcn.1400a8238
mov qword [rbp - 0x40], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x48], rax
lea rcx, [0x1400d1428]
test rsi, rsi
cmovne rcx, rsi
call fcn.1400a8238
mov qword [rbp - 0x38], rax
lea r9, [rbp - 0x78]
lea r8, [rbp - 0x40]
mov rdx, r12
lea rcx, [rbp + 0x90]
call fcn.140009060
mov rbx, rax
lea r9, [rbp - 0x48]
lea r8, [rbp - 0x38]
mov rdx, r12
lea rcx, [rbp + 0xa0]
call fcn.140009060
nop
lea rcx, [rbp + 0x88]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 8]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x20], rcx
mov r9, rbx
mov r8, rax
lea rdx, [rbp - 0x78]
mov rcx, r13
call fcn.140004500
movzx ebx, al
mov rcx, qword [rbp + 0xa0]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x90]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x38]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x48]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x40]
call fcn.1400a82b0
test bl, bl
je 0x140016081
cmp r14d, 0xffffffff
jne 0x140015f9b
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp + 0x20], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp + 8], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp + 0x28], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp + 0x38], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp + 0x18], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp + 0x40], rax
lea rcx, [0x1400d1428]
test rsi, rsi
cmovne rcx, rsi
call fcn.1400a8238
mov qword [rbp + 0x30], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp + 0x10], rax
lea rcx, [0x1400d1428]
test rsi, rsi
cmovne rcx, rsi
call fcn.1400a8238
mov qword [rbp - 0x50], rax
lea r9, [rbp + 0x40]
lea r8, [rbp + 0x30]
mov rdx, r12
lea rcx, [rbp + 0x78]
call fcn.140009060
mov rbx, rax
lea r9, [rbp + 0x10]
lea r8, [rbp - 0x50]
mov rdx, r12
lea rcx, [rbp + 0x70]
call fcn.140009060
nop
movzx ecx, byte [rbp + 0x110]
mov dword [rsp + 0x80], r14d
xor r8d, r8d
mov qword [rsp + 0x78], r8
mov qword [rsp + 0x70], r8
lea rdx, [rbp + 0x20]
mov qword [rsp + 0x68], rdx
mov dword [rsp + 0x60], ecx
mov qword [rsp + 0x58], r8
lea rcx, [rbp + 8]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp + 0x28]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x38]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp + 0x18]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
xor r9d, r9d
or r8d, r14d
xor edx, edx
mov rcx, r13
call fcn.140004870
mov r14d, eax
mov rcx, qword [rbp + 0x70]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x78]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x50]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x10]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x30]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x40]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x18]
call fcn.1400a82b0
nop
mov rcx, qword [rbp]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x38]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x28]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 8]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x20]
call fcn.1400a82b0
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x28], rax
lea rcx, [0x1400d1428]
test rsi, rsi
cmovne rcx, rsi
call fcn.1400a8238
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x78]
lea r8, [rbp - 0x20]
mov rdx, r12
lea rcx, [rbp + 0x98]
call fcn.140009060
nop
movzx ecx, byte [rbp + 0x110]
mov dword [rsp + 0x80], 0xffffffff
xor edx, edx
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x70], rdx
lea rdx, [rbp - 0x28]
mov qword [rsp + 0x68], rdx
mov dword [rsp + 0x60], ecx
mov rcx, qword [rbp + 0x88]
mov qword [rsp + 0x58], rcx
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp - 8]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 3
mov r8d, r14d
mov edx, edi
mov rcx, r13
call fcn.140004870
nop
mov rcx, qword [rbp + 0x98]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x20]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x28]
call fcn.1400a82b0
nop
mov rbx, qword [rbp + 0x50]
test rbx, rbx
je 0x1400160c0
mov rdi, qword [rbp + 0x58]
cmp rbx, rdi
je 0x1400160a8
mov rcx, qword [rbx]
call fcn.1400a82b0
add rbx, 8
cmp rbx, rdi
jne 0x140016093
mov rbx, qword [rbp + 0x50]
mov rcx, rbx
call fcn.1400a7cb8
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x50], xmm0
xor edi, edi
mov qword [rbp + 0x60], rdi
jmp 0x1400160c2
xor edi, edi
mov rcx, qword [rbp + 0x48]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x60]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x70]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x80]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x68]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x78]
call fcn.1400a82b0
inc r15d
mov ecx, 2
call fcn.1400a82f0
mov qword [rbp - 0x78], rax
mov word [rax], di
mov ecx, 2
call fcn.1400a82f0
mov qword [rbp - 0x68], rax
mov word [rax], di
mov ecx, 2
call fcn.1400a82f0
mov qword [rbp - 0x80], rax
mov word [rax], di
mov ecx, 2
call fcn.1400a82f0
mov qword [rbp - 0x70], rax
mov word [rax], di
mov ecx, 2
call fcn.1400a82f0
mov qword [rbp - 0x60], rax
mov word [rax], di
lea r8, [rbp - 0x78]
mov edx, r15d
mov rcx, qword [rbp - 0x18]
call fcn.1400136a0
test eax, eax
je 0x140015a90
mov rcx, qword [rbp - 0x60]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x70]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x80]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x68]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x78]
call fcn.1400a82b0
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rbp - 8]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x10]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x30]
call fcn.1400a82b0
mov eax, r14d
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret