Function at 0x140009db0
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xf8]
sub rsp, 0x1c0
mov qword [rbp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov r12d, r9d
mov r15, r8
mov qword [rsp + 0x78], r8
mov ecx, 2
call fcn.1400a82f0
mov r13, rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
xor r14d, r14d
mov word [rax], r14w
lea ecx, [r14 + 2]
call fcn.1400a82f0
mov rbx, rax
mov qword [rbp - 0x28], rax
mov word [rax], r14w
lea ecx, [r14 + 2]
call fcn.1400a82f0
mov qword [rbp + 0x28], rax
mov word [rax], r14w
lea ecx, [r14 + 2]
call fcn.1400a82f0
mov qword [rbp - 0x10], rax
mov word [rax], r14w
lea ecx, [r14 + 2]
call fcn.1400a82f0
mov rdi, rax
mov qword [rbp - 0x58], rax
mov word [rax], r14w
cmp r12d, 0xffffffff
jne 0x14000a046
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov r12, rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov r13, rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x78], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x60], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x68], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x38], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov rdi, rax
mov qword [rsp + 0x58], rax
lea rcx, [0x1400d1428]
test r15, r15
cmovne rcx, r15
call fcn.1400a8238
mov rsi, rax
mov qword [rsp + 0x50], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov r14, rax
mov qword [rsp + 0x48], rax
lea rcx, [0x1400d1428]
test r15, r15
cmovne rcx, r15
call fcn.1400a8238
mov r15, rax
mov qword [rsp + 0x40], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x50]
mov rdx, qword [rbp + 0x108]
lea rcx, [rsp + 0x60]
call fcn.140009060
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x40]
mov rdx, qword [rbp + 0x108]
lea rcx, [rbp - 0x80]
call fcn.140009060
mov qword [rsp + 0x58], rax
mov ecx, dword [0x140126180]
test cl, 1
jne 0x140009f8a
or ecx, 1
mov dword [0x140126180], ecx
mov ecx, 2
call fcn.1400a82f0
mov qword [0x140126178], rax
xor ecx, ecx
mov word [rax], cx
lea rcx, [0x1400cead0]
call fcn.1400a8ffc
mov rax, qword [0x140126178]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx]
call fcn.1400a8238
mov qword [0x140126178], rax
mov rcx, qword [rsp + 0x50]
call fcn.1400a82b0
xor ecx, ecx
mov dword [rbp + 0x118], ecx
mov rcx, qword [rbp - 0x80]
call fcn.1400a82b0
nop
mov rcx, qword [rsp + 0x60]
call fcn.1400a82b0
nop
mov rcx, r15
call fcn.1400a82b0
nop
mov rcx, r14
call fcn.1400a82b0
nop
mov rcx, rsi
call fcn.1400a82b0
nop
mov rcx, rdi
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x38]
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 - 0x78]
call fcn.1400a82b0
nop
mov rcx, r13
call fcn.1400a82b0
nop
mov rcx, r12
call fcn.1400a82b0
mov rdi, qword [rbp - 0x58]
mov r12d, dword [rbp + 0x118]
mov r15, qword [rsp + 0x78]
mov r13, qword [rsp + 0x68]
xor r14d, r14d
mov ecx, dword [0x1401252dc]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
mov rdx, r15
mov rcx, qword [rbp + 0x108]
call fcn.1400075c0
test eax, eax
jne 0x14000a8dc
mov dword [rbp - 0x80], r14d
lea ecx, [rax + 2]
call fcn.1400a82f0
mov qword [rsp + 0x40], rax
mov word [rax], r14w
mov ecx, 2
call fcn.1400a82f0
mov qword [rsp + 0x48], rax
mov word [rax], r14w
mov ecx, 2
call fcn.1400a82f0
mov rsi, rax
mov qword [rsp + 0x58], rax
mov word [rax], r14w
mov ecx, 2
call fcn.1400a82f0
mov r14, rax
mov qword [rbp - 8], rax
xor eax, eax
mov word [r14], ax
xorps xmm0, xmm0
movdqu xmmword [rbp], xmm0
mov qword [rbp + 0x10], rax
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, qword [rbp - 0x50]
call fcn.1400136a0
test eax, eax
jne 0x14000a8aa
nop word [rax + rax]
mov ecx, dword [0x1401252dc]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, qword [rsp + 0x40]
cmp eax, 0x200
lea rcx, str.Wow6432Node_
je 0x14000a126
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rsp + 0x40], rax
mov rcx, rbx
call fcn.1400a82b0
lea r8, [rsp + 0x48]
lea rdx, str.CLSID_
lea rcx, [rbp - 0x60]
call fcn.1400161f0
lea r8, [0x1400d2970]
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.140022b00
xor r9d, r9d
mov r8d, 0x7fffffff
mov rdx, qword [rax]
lea rcx, [rsp + 0x40]
call fcn.140002620
mov rcx, qword [rbp - 0x78]
call fcn.1400a82b0
mov rcx, qword [rbp - 0x60]
call fcn.1400a82b0
lea r8, [rsp + 0x48]
lea rdx, str.HKCRCLSID_
lea rcx, [rbp - 0x68]
call fcn.1400161f0
mov rbx, rdi
mov rcx, qword [rax]
call fcn.1400a8238
mov rdi, rax
mov qword [rbp - 0x58], rax
mov rcx, rbx
call fcn.1400a82b0
mov rcx, qword [rbp - 0x68]
call fcn.1400a82b0
mov rbx, qword [rsp + 0x40]
mov ecx, dword [0x1401252dc]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000000
call fcn.1400075c0
test eax, eax
jne 0x14000a7fd
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1400d1428]
mov rcx, qword [rsp + 0x50]
call fcn.1400138b0
test eax, eax
jne 0x14000a7f1
lea rdx, [rbp - 8]
mov rcx, qword [rsp + 0x40]
call fcn.140008100
xor r9d, r9d
lea r8, [rbp - 8]
mov rdx, qword [rbp + 0x100]
lea rcx, [rbp - 0x38]
call fcn.1400058f0
mov rcx, qword [rax]
call fcn.1400a8238
mov qword [rsp + 0x58], rax
mov rcx, rsi
call fcn.1400a82b0
mov rcx, qword [rbp - 0x38]
call fcn.1400a82b0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.CLSID_
call fcn.1400a8238
mov rbx, rax
mov qword [rsp + 0x60], rax
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x48]
call fcn.14001d560
mov rdi, qword [rsp + 0x40]
mov rcx, qword [rax]
call fcn.1400a8238
mov qword [rsp + 0x40], rax
mov rcx, rdi
call fcn.1400a82b0
mov rcx, qword [rbp + 0x48]
call fcn.1400a82b0
mov rcx, rbx
call fcn.1400a82b0
mov rcx, qword [rsp + 0x48]
call fcn.1400a8238
mov rdi, rax
mov qword [rsp + 0x70], rax
mov rcx, r13
call fcn.1400a82b0
mov rbx, qword [rsp + 0x40]
mov ecx, dword [0x1401252dc]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000000
call fcn.1400075c0
test eax, eax
jne 0x14000a37c
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1400d1428]
mov rcx, qword [rsp + 0x50]
call fcn.1400138b0
test eax, eax
jne 0x14000a371
mov rcx, qword [rsp + 0x40]
or rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14000a350
test rax, rax
je 0x14000a371
call fcn.1400a8238
mov qword [rsp + 0x70], rax
mov rcx, rdi
call fcn.1400a82b0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [0x1400d1428]
test r15, r15
cmovne rcx, r15
call fcn.1400a8238
mov rsi, rax
mov qword [rsp + 0x60], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov rdi, rax
mov qword [rsp + 0x68], rax
lea rcx, [0x1400d1428]
test r15, r15
cmovne rcx, r15
call fcn.1400a8238
mov rbx, rax
mov qword [rbp - 0x40], rax
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x60]
mov rdx, qword [rbp + 0x108]
lea rcx, [rbp + 0x18]
call fcn.140009060
mov r14, rax
lea r9, [rsp + 0x68]
lea r8, [rbp - 0x40]
mov rdx, qword [rbp + 0x108]
lea rcx, [rbp + 0x38]
call fcn.140009060
nop
lea rcx, [rbp + 0x58]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x20], rcx
mov r9, r14
mov r8, rax
lea rdx, [rsp + 0x70]
mov rcx, qword [rbp + 0x100]
call fcn.140004500
movzx r15d, al
mov rcx, qword [rbp + 0x38]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x18]
call fcn.1400a82b0
nop
mov rcx, rbx
call fcn.1400a82b0
nop
mov rcx, rdi
call fcn.1400a82b0
nop
mov rcx, rsi
call fcn.1400a82b0
mov r13, qword [rsp + 0x70]
mov qword [rsp + 0x68], r13
mov r14, qword [rsp + 0x58]
test r15b, r15b
je 0x14000a790
cmp r12d, 0xffffffff
jne 0x14000a665
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov r15, rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov r12, rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov r13, rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x48], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x20], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x18], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov rbx, rax
mov qword [rbp - 0x40], rax
lea rcx, [0x1400d1428]
mov r14, qword [rsp + 0x78]
test r14, r14
cmovne rcx, r14
call fcn.1400a8238
mov rdi, rax
mov qword [rsp + 0x60], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov rsi, rax
mov qword [rbp - 0x70], rax
lea rcx, [0x1400d1428]
test r14, r14
cmovne rcx, r14
call fcn.1400a8238
mov r14, rax
mov qword [rbp - 0x30], rax
lea r9, [rbp - 0x40]
lea r8, [rsp + 0x60]
mov rdx, qword [rbp + 0x108]
lea rcx, [rbp + 0x40]
call fcn.140009060
nop
lea r9, [rbp - 0x70]
lea r8, [rbp - 0x30]
mov rdx, qword [rbp + 0x108]
lea rcx, [rbp + 0x30]
call fcn.140009060
mov qword [rbp - 0x30], rax
mov ecx, dword [0x140126180]
test cl, 1
jne 0x14000a5b5
or ecx, 1
mov dword [0x140126180], ecx
mov ecx, 2
call fcn.1400a82f0
mov qword [0x140126178], rax
xor ecx, ecx
mov word [rax], cx
lea rcx, [0x1400cead0]
call fcn.1400a8ffc
mov rax, qword [0x140126178]
mov qword [rbp - 0x70], rax
mov rcx, qword [rbp - 0x30]
mov rcx, qword [rcx]
call fcn.1400a8238
mov qword [0x140126178], rax
mov rcx, qword [rbp - 0x70]
call fcn.1400a82b0
xor ecx, ecx
mov dword [rbp + 0x118], ecx
mov rcx, qword [rbp + 0x30]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x40]
call fcn.1400a82b0
nop
mov rcx, r14
call fcn.1400a82b0
nop
mov rcx, rsi
call fcn.1400a82b0
nop
mov rcx, rdi
call fcn.1400a82b0
nop
mov rcx, rbx
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x18]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x20]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x48]
call fcn.1400a82b0
nop
mov rcx, r13
call fcn.1400a82b0
nop
mov rcx, r12
call fcn.1400a82b0
nop
mov rcx, r15
call fcn.1400a82b0
mov r14, qword [rsp + 0x58]
mov r12d, dword [rbp + 0x118]
mov r13, qword [rsp + 0x68]
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov rdi, rax
mov qword [rbp - 0x20], rax
lea rcx, [0x1400d1428]
mov rax, qword [rsp + 0x78]
test rax, rax
cmovne rcx, rax
call fcn.1400a8238
mov rsi, rax
mov qword [rbp - 0x48], rax
lea r9, [rsp + 0x48]
lea r8, [rbp - 0x48]
mov rdx, qword [rbp + 0x108]
lea rcx, [rbp + 0x20]
call fcn.140009060
mov rbx, rax
mov ecx, dword [0x140126180]
test cl, 1
jne 0x14000a6e9
or ecx, 1
mov dword [0x140126180], ecx
mov ecx, 2
call fcn.1400a82f0
mov qword [0x140126178], rax
xor ecx, ecx
mov word [rax], cx
lea rcx, [0x1400cead0]
call fcn.1400a8ffc
cmp r12d, 0xffffffff
je 0x14000a755
mov ecx, 2
call fcn.1400a82f0
mov r15, rax
xor eax, eax
mov word [r15], ax
mov rcx, qword [rbx]
call fcn.1400a8238
mov rbx, rax
mov qword [rbp - 0x18], rax
mov rcx, r15
call fcn.1400a82b0
cmp dword [0x14012591c], 1
jne 0x14000a72b
lea rcx, str.System
jmp 0x14000a747
mov rcx, qword [0x140125920]
test rcx, rcx
je 0x14000a740
add rcx, 0x210
jmp 0x14000a747
lea rcx, str.Local_System
mov r8, rbx
mov rdx, r14
call fcn.140045300
nop
jmp 0x14000a76b
mov rbx, qword [0x140126178]
mov rcx, r13
call fcn.1400a8238
mov qword [0x140126178], rax
mov rcx, rbx
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x20]
call fcn.1400a82b0
nop
mov rcx, rsi
call fcn.1400a82b0
nop
mov rcx, rdi
call fcn.1400a82b0
nop
mov rsi, qword [rbp]
test rsi, rsi
je 0x14000a7be
mov rbx, rsi
mov rdi, qword [rbp + 8]
cmp rsi, rdi
je 0x14000a7b6
mov rcx, qword [rbx]
call fcn.1400a82b0
add rbx, 8
cmp rbx, rdi
jne 0x14000a7a5
mov rcx, rsi
call fcn.1400a7cb8
mov rcx, qword [rbp - 8]
call fcn.1400a82b0
nop
mov rcx, r14
call fcn.1400a82b0
nop
mov rcx, qword [rsp + 0x48]
call fcn.1400a82b0
nop
mov rcx, qword [rsp + 0x40]
call fcn.1400a82b0
mov rdi, qword [rbp - 0x58]
mov r15, qword [rsp + 0x78]
jmp 0x14000a824
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, r14
call fcn.1400a82b0
nop
mov rcx, rsi
call fcn.1400a82b0
nop
mov rcx, qword [rsp + 0x48]
call fcn.1400a82b0
nop
mov rcx, qword [rsp + 0x40]
call fcn.1400a82b0
mov ebx, dword [rbp - 0x80]
inc ebx
mov dword [rbp - 0x80], ebx
mov ecx, 2
call fcn.1400a82f0
mov qword [rsp + 0x40], rax
xor r13d, r13d
mov word [rax], r13w
lea ecx, [r13 + 2]
call fcn.1400a82f0
mov qword [rsp + 0x48], rax
mov word [rax], r13w
lea ecx, [r13 + 2]
call fcn.1400a82f0
mov rsi, rax
mov qword [rsp + 0x58], rax
mov word [rax], r13w
lea ecx, [r13 + 2]
call fcn.1400a82f0
mov r14, rax
mov qword [rbp - 8], rax
mov word [rax], r13w
xorps xmm0, xmm0
movdqu xmmword [rbp], xmm0
mov qword [rbp + 0x10], r13
lea r8, [rsp + 0x48]
mov edx, ebx
mov rcx, qword [rbp - 0x50]
call fcn.1400136a0
test eax, eax
mov r13, qword [rsp + 0x68]
je 0x14000a100
mov rbx, qword [rbp - 0x28]
mov rcx, r14
call fcn.1400a82b0
nop
mov rcx, rsi
call fcn.1400a82b0
nop
mov rcx, qword [rsp + 0x48]
call fcn.1400a82b0
nop
mov rcx, qword [rsp + 0x40]
call fcn.1400a82b0
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, rdi
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x10]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x28]
call fcn.1400a82b0
nop
mov rcx, rbx
call fcn.1400a82b0
nop
mov rcx, qword [rsp + 0x68]
call fcn.1400a82b0
mov eax, r12d
mov rbx, qword [rsp + 0x210]
add rsp, 0x1c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret