Function at 0x14001d670
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x118]
sub rsp, 0x200
mov qword [rbp + 0xe0], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov r12d, r9d
mov r14, r8
mov r13, rdx
mov r15, rcx
mov ecx, 2
call fcn.1400a82f0
mov qword [rbp - 0x58], rax
xor esi, esi
mov word [rax], si
lea ecx, [rsi + 2]
call fcn.1400a82f0
mov qword [rbp - 0x30], rax
mov word [rax], si
lea ecx, [rsi + 2]
call fcn.1400a82f0
mov qword [rbp], rax
mov word [rax], si
lea ecx, [rsi + 2]
call fcn.1400a82f0
mov qword [rbp + 0x10], rax
mov word [rax], si
lea ecx, [rsi + 2]
call fcn.1400a82f0
mov qword [rbp + 0x28], rax
mov word [rax], si
cmp r12d, 0xffffffff
jne 0x14001d8cc
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 8], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x18], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x28], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x10], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x20], 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]
test r14, r14
cmovne rcx, r14
call fcn.1400a8238
mov qword [rbp - 0x70], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x68], rax
lea rcx, [0x1400d1428]
test r14, r14
cmovne rcx, r14
call fcn.1400a8238
mov qword [rbp - 0x60], rax
lea r9, [rbp - 0x78]
lea r8, [rbp - 0x70]
mov rdx, r13
lea rcx, [rbp + 0x20]
call fcn.140009060
mov rbx, rax
lea r9, [rbp - 0x68]
lea r8, [rbp - 0x60]
mov rdx, r13
lea rcx, [rbp + 0x18]
call fcn.140009060
nop
movzx ecx, byte [rbp + 0x140]
mov dword [rsp + 0x80], r12d
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x70], rsi
lea rdx, [rbp - 8]
mov qword [rsp + 0x68], rdx
mov dword [rsp + 0x60], ecx
mov qword [rsp + 0x58], rsi
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
xor r9d, r9d
or r8d, r12d
xor edx, edx
mov rcx, r15
call fcn.140004870
mov r12d, eax
mov rcx, qword [rbp + 0x18]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x20]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x60]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x68]
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 - 0x20]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x10]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x28]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x18]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 8]
call fcn.1400a82b0
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
mov rdx, r14
mov rcx, r13
call fcn.1400075c0
test eax, eax
jne 0x14001e457
mov edi, esi
mov dword [rbp + 0x138], esi
lea ecx, [rax + 2]
call fcn.1400a82f0
mov qword [rbp - 0x60], rax
mov word [rax], si
mov ecx, 2
call fcn.1400a82f0
mov qword [rbp - 0x80], rax
mov word [rax], si
mov ecx, 2
call fcn.1400a82f0
mov qword [rbp - 0x70], rax
mov word [rax], si
mov ecx, 2
call fcn.1400a82f0
mov qword [rbp - 0x78], rax
mov word [rax], si
mov ecx, 2
call fcn.1400a82f0
mov qword [rbp - 0x50], rax
mov word [rax], si
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rsi
lea r8, [rbp - 0x30]
xor edx, edx
mov rcx, qword [rbp + 8]
call fcn.1400136a0
test eax, eax
jne 0x14001e3e0
nop
lea r8, [rbp - 0x30]
lea rdx, str.CLSID_
lea rcx, [rbp + 0xb8]
call fcn.1400161f0
mov rbx, qword [rbp - 0x80]
mov rcx, qword [rax]
call fcn.1400a8238
mov qword [rbp - 0x80], rax
mov rcx, rbx
call fcn.1400a82b0
mov rcx, qword [rbp + 0xb8]
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 - 0x68]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000000
call fcn.1400075c0
test eax, eax
jne 0x14001da1f
mov rbx, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x30]
call fcn.1400a8238
mov qword [rbp - 0x70], rax
mov rcx, rbx
call fcn.1400a82b0
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1400d1428]
mov rcx, qword [rbp - 0x68]
call fcn.1400138b0
jmp 0x14001dacf
mov rbx, qword [rbp - 0x30]
mov ecx, dword [0x1401252dc]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
lea rcx, [rbp - 0x68]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rbp + 8]
call fcn.1400075c0
test eax, eax
jne 0x14001e2e8
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1400d1428]
mov rcx, qword [rbp - 0x68]
call fcn.1400138b0
test eax, eax
je 0x14001dab6
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rbx, qword [rbp - 0x48]
test rbx, rbx
je 0x14001e32f
mov rdi, qword [rbp - 0x40]
cmp rbx, rdi
je 0x14001e315
nop
mov rcx, qword [rbx]
call fcn.1400a82b0
add rbx, 8
cmp rbx, rdi
jne 0x14001daa0
jmp 0x14001e311
mov rbx, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x30]
call fcn.1400a8238
mov qword [rbp - 0x60], rax
mov rcx, rbx
call fcn.1400a82b0
mov rcx, qword [rbp - 0x68]
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 0x14001dafe
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x80], rax
mov rcx, rbx
call fcn.1400a82b0
lea r8, [rbp - 0x70]
lea rdx, str.CLSID_
lea rcx, [rbp + 0x88]
call fcn.1400161f0
lea r8, [0x1400d2970]
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.140022b00
xor r9d, r9d
mov r8d, 0x7fffffff
mov rdx, qword [rax]
lea rcx, [rbp - 0x80]
call fcn.140002620
mov rcx, qword [rbp + 0xd0]
call fcn.1400a82b0
mov rcx, qword [rbp + 0x88]
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 - 0x68]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000000
call fcn.1400075c0
test eax, eax
jne 0x14001e2c3
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.CodeBase
mov rcx, qword [rbp - 0x68]
call fcn.1400138b0
test eax, eax
jne 0x14001dc59
lea rdx, str.file:___
mov rcx, qword [rbp - 0x80]
call fcn.1400ab1b0
test rax, rax
jne 0x14001dc1b
mov rax, qword [rbp - 0x80]
add rax, 0x10
lea rcx, [0x1400d1428]
cmovne rcx, rax
call fcn.1400a8238
mov rbx, rax
mov rdi, qword [rbp - 0x80]
mov rcx, rax
call fcn.1400a8238
mov qword [rbp - 0x80], rax
mov rcx, rdi
call fcn.1400a82b0
mov rcx, rbx
call fcn.1400a82b0
lea rdx, [rbp - 0x50]
mov rcx, qword [rbp - 0x80]
call fcn.140008100
xor r9d, r9d
lea r8, [rbp - 0x50]
mov rdx, r15
lea rcx, [rbp + 0x78]
call fcn.1400058f0
mov rbx, qword [rbp - 0x78]
mov rcx, qword [rax]
call fcn.1400a8238
mov qword [rbp - 0x78], rax
mov rcx, rbx
call fcn.1400a82b0
mov rcx, qword [rbp + 0x78]
jmp 0x14001dcc2
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1400d1428]
mov rcx, qword [rbp - 0x68]
call fcn.1400138b0
test eax, eax
jne 0x14001e28b
lea rdx, [rbp - 0x50]
mov rcx, qword [rbp - 0x80]
call fcn.140008100
xor r9d, r9d
lea r8, [rbp - 0x50]
mov rdx, r15
lea rcx, [rbp + 0x98]
call fcn.1400058f0
mov rbx, qword [rbp - 0x78]
mov rcx, qword [rax]
call fcn.1400a8238
mov qword [rbp - 0x78], rax
mov rcx, rbx
call fcn.1400a82b0
mov rcx, qword [rbp + 0x98]
call fcn.1400a82b0
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r9, [rbp + 0x10]
lea r8, [rbp]
mov rdx, qword [rbp - 0x78]
mov rcx, r15
call fcn.1400058e0
mov esi, eax
lea rcx, str.CLSID_
call fcn.1400a8238
mov rbx, rax
mov qword [rbp + 0xd8], rax
lea r8, [rbp - 0x70]
lea rdx, [rbp + 0xd8]
lea rcx, [rbp + 0xa8]
call fcn.14001d560
mov rdi, qword [rbp - 0x80]
mov rcx, qword [rax]
call fcn.1400a8238
mov qword [rbp - 0x80], rax
mov rcx, rdi
call fcn.1400a82b0
mov rcx, qword [rbp + 0xa8]
call fcn.1400a82b0
mov rcx, rbx
call fcn.1400a82b0
lea r8, [rbp - 0x70]
lea rdx, str.HKCRCLSID_
lea rcx, [rbp + 0x18]
call fcn.1400161f0
nop
mov rbx, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x70]
call fcn.1400a8238
mov qword [rbp - 0x58], rax
mov rcx, rbx
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 - 0x68]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000000
call fcn.1400075c0
test eax, eax
jne 0x14001ddfe
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1400d1428]
mov rcx, qword [rbp - 0x68]
call fcn.1400138b0
test eax, eax
jne 0x14001ddf4
mov rcx, qword [rbp - 0x80]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x14001ddd0
test rax, rax
je 0x14001ddf4
mov rbx, qword [rbp - 0x58]
call fcn.1400a8238
mov qword [rbp - 0x58], rax
mov rcx, rbx
call fcn.1400a82b0
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [0x1400d1428]
test r14, r14
cmovne rcx, r14
call fcn.1400a8238
mov qword [rbp - 0x28], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x18], rax
lea rcx, [0x1400d1428]
test r14, r14
cmovne rcx, r14
call fcn.1400a8238
mov qword [rbp - 8], rax
lea r9, [rbp - 0x30]
lea r8, [rbp - 0x28]
mov rdx, r13
lea rcx, [rbp + 0x80]
call fcn.140009060
mov rbx, rax
lea r9, [rbp - 0x18]
lea r8, [rbp - 8]
mov rdx, r13
lea rcx, [rbp + 0xc8]
call fcn.140009060
nop
lea rcx, [rbp + 0xb0]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp + 0x28]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x20], rcx
mov r9, rbx
mov r8, rax
lea rdx, [rbp - 0x58]
mov rcx, r15
call fcn.140004500
movzx ebx, al
mov rcx, qword [rbp + 0xc8]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x80]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 8]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x18]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x28]
call fcn.1400a82b0
test bl, bl
je 0x14001e204
cmp r12d, 0xffffffff
jne 0x14001e0ca
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp + 0x38], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp + 0x68], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp + 0x48], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp + 0x30], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp + 0x58], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp + 0x60], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp + 0x50], rax
lea rcx, [0x1400d1428]
test r14, r14
cmovne rcx, r14
call fcn.1400a8238
mov qword [rbp + 0x70], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x20], rax
lea rcx, [0x1400d1428]
test r14, r14
cmovne rcx, r14
call fcn.1400a8238
mov qword [rbp - 0x10], rax
lea r9, [rbp + 0x50]
lea r8, [rbp + 0x70]
mov rdx, r13
lea rcx, [rbp + 0xa0]
call fcn.140009060
mov rbx, rax
lea r9, [rbp - 0x20]
lea r8, [rbp - 0x10]
mov rdx, r13
lea rcx, [rbp + 0x90]
call fcn.140009060
nop
movzx edi, byte [rbp + 0x140]
mov dword [rsp + 0x80], r12d
xor r8d, r8d
mov qword [rsp + 0x78], r8
mov qword [rsp + 0x70], r8
lea rdx, [rbp + 0x38]
mov qword [rsp + 0x68], rdx
mov dword [rsp + 0x60], edi
mov qword [rsp + 0x58], r8
lea rcx, [rbp + 0x68]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp + 0x48]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp + 0x58]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp + 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
xor r9d, r9d
or r8d, r12d
xor edx, edx
mov rcx, r15
call fcn.140004870
mov r12d, eax
mov rcx, qword [rbp + 0x90]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0xa0]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x10]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x20]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x70]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x50]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x60]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x58]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x30]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x48]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x68]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x38]
call fcn.1400a82b0
jmp 0x14001e0d1
movzx edi, byte [rbp + 0x140]
mov rcx, qword [rbp - 0x60]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14001e0e0
mov rbx, qword [rbp - 0x58]
test rax, rax
jne 0x14001e110
cmp word [rbx], 0x7b
jne 0x14001e121
mov rcx, qword [rbp + 0x10]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x14001e101
test rax, rax
je 0x14001e121
call fcn.1400a8238
mov qword [rbp - 0x58], rax
mov rcx, rbx
call fcn.1400a82b0
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp + 0x20], rax
lea rcx, [0x1400d1428]
test r14, r14
cmovne rcx, r14
call fcn.1400a8238
mov qword [rbp + 0x40], rax
lea r9, [rbp - 0x30]
lea r8, [rbp + 0x40]
mov rdx, r13
lea rcx, [rbp + 0xc0]
call fcn.140009060
nop
movzx ecx, dil
mov dword [rsp + 0x80], 0xffffffff
xor edx, edx
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x70], rdx
lea rdx, [rbp + 0x20]
mov qword [rsp + 0x68], rdx
mov dword [rsp + 0x60], ecx
mov rcx, qword [rbp + 0xb0]
mov qword [rsp + 0x58], rcx
lea rcx, [rbp + 0x18]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp + 0x28]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 3
mov r8d, r12d
mov edx, esi
mov rcx, r15
call fcn.140004870
nop
mov rcx, qword [rbp + 0xc0]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x40]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x20]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x18]
call fcn.1400a82b0
nop
mov rbx, qword [rbp - 0x48]
test rbx, rbx
je 0x14001e24d
mov rdi, qword [rbp - 0x40]
cmp rbx, rdi
je 0x14001e235
mov rcx, qword [rbx]
call fcn.1400a82b0
invalid
invalid