Function at 0x14002fb90
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x1a0
mov r14d, r9d
mov r15, r8
mov r13, rdx
mov rsi, rcx
mov ecx, 2
call fcn.140059d40
mov qword [rbp - 0x18], rax
xor edi, edi
mov word [rax], di
lea ecx, [rdi + 2]
call fcn.140059d40
mov qword [rbp + 0x30], rax
mov word [rax], di
lea ecx, [rdi + 2]
call fcn.140059d40
mov qword [rbp + 0x28], rax
mov word [rax], di
cmp r14d, 0xffffffff
jne 0x14002fe3f
mov qword [rbp - 0x38], rdi
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x38], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x40], rdi
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x40], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x80], rdi
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x80], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x48], rdi
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x48], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x78], rdi
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x78], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x70], rdi
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x70], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x68], rdi
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x68], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x60], rdi
lea rbx, [0x14007a7c4]
test r15, r15
cmovne rbx, r15
mov rcx, rbx
call fcn.140059d48
mov qword [rbp - 0x60], rax
xor ecx, ecx
call fcn.140059d2c
nop
lea r9, [rbp - 0x68]
lea r8, [rbp - 0x60]
mov rdx, r13
lea rcx, [rbp - 0x30]
call fcn.14001f610
mov rdi, rax
xor r14d, r14d
mov qword [rbp - 0x58], r14
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x58], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x50], r14
mov rcx, rbx
call fcn.140059d48
mov qword [rbp - 0x50], rax
xor ecx, ecx
call fcn.140059d2c
nop
lea r9, [rbp - 0x58]
lea r8, [rbp - 0x50]
mov rdx, r13
lea rcx, [rbp - 0x28]
call fcn.14001f610
nop
movzx ecx, byte [rbp + 0xf0]
mov dword [rsp + 0x80], 0xffffffff
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], r14
lea rdx, [rbp - 0x38]
mov qword [rsp + 0x68], rdx
mov dword [rsp + 0x60], ecx
mov qword [rsp + 0x58], r14
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor edx, edx
lea r8d, [r14 - 1]
mov rcx, rsi
call fcn.140014980
mov r14d, eax
mov rcx, qword [rbp - 0x28]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x50]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x58]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x30]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x60]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x68]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x70]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x78]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x48]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x80]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x40]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x38]
call fcn.140059d2c
xor edi, edi
mov ecx, dword [0x1400a555c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
mov rdx, r15
mov rcx, r13
call fcn.14001d250
test eax, eax
jne 0x14003079f
mov r12d, edi
lea ecx, [rax + 2]
call fcn.140059d40
mov qword [rbp - 0x70], rax
mov word [rax], di
mov ecx, 2
call fcn.140059d40
mov qword [rbp - 0x58], rax
mov word [rax], di
mov ecx, 2
call fcn.140059d40
mov qword [rbp - 0x78], rax
mov word [rax], di
mov ecx, 2
call fcn.140059d40
mov qword [rbp - 0x68], rax
mov word [rax], di
mov ecx, 2
call fcn.140059d40
mov qword [rbp - 0x60], rax
mov word [rax], di
xor edx, edx
lea r8, [rbp - 0x70]
mov rcx, qword [rbp - 0x20]
call fcn.14002d2c0
test eax, eax
jne 0x140030763
mov ecx, dword [0x1400a555c]
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, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x20]
call fcn.14001d250
test eax, eax
jne 0x1400306d2
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140089cb0]
mov rcx, qword [rbp - 0x50]
call fcn.14002d4d0
mov rcx, qword [rbp - 0x50]
test eax, eax
je 0x14002ff46
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400306d2
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x1400a555c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, qword [rbp - 0x78]
cmp eax, 0x200
lea rcx, str.Wow6432Node_
je 0x14002ff71
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x78], rax
mov rcx, rbx
call fcn.140059d2c
lea rcx, str.CLSID_
call fcn.140059d48
mov rbx, rax
xor ecx, ecx
call fcn.140059d2c
lea rcx, [0x14007a7c4]
test rbx, rbx
cmovne rcx, rbx
call fcn.140059d48
mov qword [rbp - 0x80], rax
xor ecx, ecx
call fcn.140059d2c
mov rdx, qword [rbp - 0x58]
lea rcx, [rbp - 0x80]
call fcn.140014250
mov rcx, rbx
call fcn.140059d2c
lea rcx, [0x1400834d8]
call fcn.140059d48
mov rbx, rax
xor ecx, ecx
call fcn.140059d2c
mov rdi, qword [rbp - 0x80]
lea rcx, [0x14007a7c4]
test rdi, rdi
cmovne rcx, rdi
call fcn.140059d48
mov qword [rbp - 0x80], rax
xor ecx, ecx
call fcn.140059d2c
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.140014250
mov rcx, rbx
call fcn.140059d2c
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x78]
call fcn.140014250
mov rcx, qword [rbp - 0x80]
call fcn.140059d2c
mov rcx, rdi
call fcn.140059d2c
lea rcx, str.HKCRCLSID_
call fcn.140059d48
mov rbx, rax
xor ecx, ecx
call fcn.140059d2c
lea rcx, [0x14007a7c4]
test rbx, rbx
cmovne rcx, rbx
call fcn.140059d48
mov qword [rbp - 0x80], rax
xor ecx, ecx
call fcn.140059d2c
mov rdx, qword [rbp - 0x58]
lea rcx, [rbp - 0x80]
call fcn.140014250
mov rcx, rbx
call fcn.140059d2c
mov rdi, qword [rbp - 0x80]
mov rbx, qword [rbp - 0x60]
lea rcx, [0x14007a7c4]
test rdi, rdi
cmovne rcx, rdi
call fcn.140059d48
mov qword [rbp - 0x60], rax
mov rcx, rbx
call fcn.140059d2c
mov rcx, rdi
call fcn.140059d2c
mov ecx, dword [0x1400a555c]
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, qword [rbp - 0x78]
mov rcx, 0xffffffff80000000
call fcn.14001d250
test eax, eax
je 0x140030119
mov rcx, qword [rbp - 0x60]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x68]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x78]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x58]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x70]
call fcn.140059d2c
xor edi, edi
jmp 0x140030703
mov rbx, qword [rbp - 0x78]
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x78], rax
mov rcx, rbx
call fcn.140059d2c
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14007a7c4]
mov rcx, qword [rbp - 0x50]
call fcn.14002d4d0
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x78]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140030170
test rax, rax
je 0x1400300e1
mov ecx, 2
call fcn.140059d40
mov qword [rbp + 0x38], rax
xor edi, edi
mov word [rax], di
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], rdi
lea rdx, [rbp + 0x38]
mov rcx, qword [rbp - 0x78]
call fcn.14001e420
xor r9d, r9d
lea r8, [rbp + 0x38]
mov rdx, rsi
lea rcx, [rbp + 0x58]
call fcn.140018960
mov rdx, qword [rax]
mov rbx, qword [rbp - 0x68]
lea rcx, [0x14007a7c4]
test rdx, rdx
cmovne rcx, rdx
call fcn.140059d48
mov qword [rbp - 0x68], rax
mov rcx, rbx
call fcn.140059d2c
mov rcx, qword [rbp + 0x58]
call fcn.140059d2c
lea r9, [rbp + 0x30]
lea r8, [rbp - 0x18]
mov rdx, qword [rbp - 0x68]
mov rcx, rsi
call fcn.1400185f0
mov r15d, eax
mov qword [rbp - 0x80], rdi
lea rsi, [0x14007a7c4]
mov rax, qword [rbp + 0xe0]
test rax, rax
cmovne rsi, rax
mov rcx, rsi
call fcn.140059d48
mov qword [rbp - 0x80], rax
xor ecx, ecx
call fcn.140059d2c
nop
lea r9, [rbp - 0x70]
lea r8, [rbp - 0x80]
mov rdx, r13
lea rcx, [rbp + 0x68]
call fcn.14001f610
mov rbx, rax
mov qword [rbp - 0x40], rdi
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x40], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x38], rdi
mov rcx, rsi
call fcn.140059d48
mov qword [rbp - 0x38], rax
xor ecx, ecx
call fcn.140059d2c
nop
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x38]
mov rdx, r13
lea rcx, [rbp + 0x60]
call fcn.14001f610
nop
lea rcx, [rbp + 0x80]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp + 0x28]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x68]
mov qword [rsp + 0x20], rcx
mov r9, rbx
mov r8, rax
lea rdx, [rbp - 0x70]
mov rcx, qword [rbp + 0xd0]
call fcn.140014330
movzx ebx, al
mov rcx, qword [rbp + 0x60]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x38]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x40]
call fcn.140059d2c
nop
mov rcx, qword [rbp + 0x68]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x80]
call fcn.140059d2c
test bl, bl
je 0x14003064c
cmp r14d, 0xffffffff
jne 0x140030546
mov qword [rbp - 0x80], rdi
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x80], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x30], rdi
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x30], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp + 0x20], rdi
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp + 0x20], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp + 0x18], rdi
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp + 0x18], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp + 0x10], rdi
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp + 0x10], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp + 8], rdi
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp + 8], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp], rdi
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 8], rdi
mov rcx, rsi
call fcn.140059d48
mov qword [rbp - 8], rax
xor ecx, ecx
call fcn.140059d2c
nop
lea r9, [rbp]
lea r8, [rbp - 8]
mov rdx, r13
lea rcx, [rbp + 0x78]
call fcn.14001f610
mov rbx, rax
mov qword [rbp - 0x10], rdi
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x10], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x48], rdi
mov rcx, rsi
call fcn.140059d48
mov qword [rbp - 0x48], rax
xor ecx, ecx
call fcn.140059d2c
nop
lea r9, [rbp - 0x10]
lea r8, [rbp - 0x48]
mov rdx, r13
lea rcx, [rbp + 0x70]
call fcn.14001f610
nop
movzx edi, byte [rbp + 0xf0]
mov dword [rsp + 0x80], r14d
xor edx, edx
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x70], rdx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x60], edi
mov qword [rsp + 0x58], rdx
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp + 0x20]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x18]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp + 8]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, r14d
mov rcx, qword [rbp + 0xd0]
call fcn.140014980
mov r14d, eax
mov rcx, qword [rbp + 0x70]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x48]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x10]
call fcn.140059d2c
nop
mov rcx, qword [rbp + 0x78]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 8]
call fcn.140059d2c
nop
mov rcx, qword [rbp]
call fcn.140059d2c
nop
mov rcx, qword [rbp + 8]
call fcn.140059d2c
nop
mov rcx, qword [rbp + 0x10]
call fcn.140059d2c
nop
mov rcx, qword [rbp + 0x18]
call fcn.140059d2c
nop
mov rcx, qword [rbp + 0x20]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x30]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x80]
call fcn.140059d2c
jmp 0x14003054d
movzx edi, byte [rbp + 0xf0]
mov qword [rbp - 0x80], 0
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x80], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov rbx, qword [rbp + 0x80]
mov qword [rbp - 0x28], 0
mov rcx, rsi
call fcn.140059d48
mov qword [rbp - 0x28], rax
xor ecx, ecx
call fcn.140059d2c
nop
lea r9, [rbp - 0x70]
lea r8, [rbp - 0x28]
mov rdx, r13
lea rcx, [rbp + 0x88]
call fcn.14001f610
nop
mov dword [rsp + 0x80], 0xffffffff
xor ecx, ecx
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x70], rcx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x60], edi
mov qword [rsp + 0x58], rbx
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp + 0x28]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x68]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 3
mov r8d, r14d
mov edx, r15d
mov rsi, qword [rbp + 0xd0]
mov rcx, rsi
call fcn.140014980
nop
mov rcx, qword [rbp + 0x88]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x28]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x80]
call fcn.140059d2c
xor edi, edi
jmp 0x140030653
mov rsi, qword [rbp + 0xd0]
mov rbx, qword [rbp + 0x40]
test rbx, rbx
je 0x1400306c8
mov rdi, qword [rbp + 0x48]
cmp rbx, rdi
je 0x14003067a
mov rcx, qword [rbx]
call fcn.140059d2c
add rbx, 8
cmp rbx, rdi
jne 0x140030665
mov rbx, qword [rbp + 0x40]
mov rax, qword [rbp + 0x50]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400306b2
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400307da
mov rcx, rbx
call fcn.14004bd8c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x40], xmm0
xor edi, edi
mov qword [rbp + 0x50], rdi
mov rcx, qword [rbp + 0x38]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x60]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x68]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x78]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x58]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x70]
call fcn.140059d2c
inc r12d
mov ecx, 2
call fcn.140059d40
mov qword [rbp - 0x70], rax
mov word [rax], di
mov ecx, 2
call fcn.140059d40
mov qword [rbp - 0x58], rax
mov word [rax], di
mov ecx, 2
call fcn.140059d40
mov qword [rbp - 0x78], rax
mov word [rax], di
mov ecx, 2
call fcn.140059d40
mov qword [rbp - 0x68], rax
mov word [rax], di
mov ecx, 2
call fcn.140059d40
mov qword [rbp - 0x60], rax
mov word [rax], di
mov edx, r12d
jmp 0x14002feca
mov rcx, qword [rbp - 0x60]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x68]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x78]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x58]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x70]
call fcn.140059d2c
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rbp + 0x28]
call fcn.140059d2c
nop
mov rcx, qword [rbp + 0x30]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x18]
call fcn.140059d2c
mov eax, r14d
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14005a178
nop