Function at 0x140027720
Capabilities:
Get thread local storage value
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x310]
sub rsp, 0x420
mov qword [rbp + 0xc0], 0xfffffffffffffffe
mov qword [rsp + 0x470], rbx
mov rax, qword [0x1401222f0]
xor rax, rsp
mov qword [rbp + 0x300], rax
mov r15, rdx
mov qword [rbp + 0x38], rdx
mov r12, rcx
mov qword [rbp + 0x98], rcx
mov qword [rbp + 0xd0], rdx
xor ebx, ebx
mov r13d, ebx
mov dword [rbp - 0x48], ebx
lea ecx, [rbx + 2]
call fcn.1400a82f0
mov qword [rbp - 0x68], rax
mov word [rax], bx
lea ecx, [rbx + 2]
call fcn.1400a82f0
mov rdi, rax
mov qword [rbp + 0x70], rax
mov word [rax], bx
lea ecx, [rbx + 2]
call fcn.1400a82f0
mov rsi, rax
mov qword [rbp + 0x78], rax
mov word [rax], bx
lea ecx, [rbx + 2]
call fcn.1400a82f0
mov qword [rbp - 0x18], rax
mov word [rax], bx
lea ecx, [rbx + 2]
call fcn.1400a82f0
mov qword [rbp + 0x20], rax
mov word [rax], bx
lea ecx, [rbx + 2]
call fcn.1400a82f0
mov qword [rbp + 0x18], rax
mov word [rax], bx
lea ecx, [rbx + 2]
call fcn.1400a82f0
mov r14, rax
mov qword [rbp + 0xd8], rax
mov word [rax], bx
lea ecx, [rbx + 2]
call fcn.1400a82f0
mov qword [rbp - 0x58], rax
mov word [rax], bx
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp], 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 - 0x30], 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 - 0x28], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x80], rax
lea r9, [rbp - 0x28]
mov r8, r15
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0x28]
call fcn.140009060
mov rbx, rax
lea r9, [rbp - 0x80]
mov r8, r15
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0x10]
call fcn.140009060
nop
mov dword [rsp + 0x80], 0xffffffff
xor edx, edx
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x70], rdx
lea rcx, [rbp]
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x60], 1
mov qword [rsp + 0x58], rdx
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
xor r9d, r9d
or r8d, 0xffffffff
mov rcx, r12
call fcn.140004870
mov dword [rbp - 0x60], eax
mov rcx, qword [rbp + 0x10]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x28]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x80]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x28]
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 - 0x30]
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]
call fcn.1400a82b0
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [r15]
mov rcx, qword [0x140119a10]
call fcn.1400075c0
test eax, eax
jne 0x140028016
lea ecx, [rax + 2]
call fcn.1400a82f0
mov qword [rbp - 0x70], rax
xor ecx, ecx
mov word [rax], cx
lea r8, [rbp - 0x70]
xor edx, edx
mov rcx, qword [rbp + 8]
call fcn.1400136a0
test eax, eax
jne 0x140028001
mov edi, dword [rbp - 0x60]
xor esi, esi
nop dword [rax]
nop dword [rax + rax]
mov rbx, qword [rbp - 0x70]
mov ecx, dword [0x1401252dc]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
lea rcx, [rbp - 8]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140027fda
mov dword [rbp - 0x78], esi
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.LibraryPath
mov rcx, qword [rbp - 8]
call fcn.1400138b0
test eax, eax
jne 0x140027fd0
mov rcx, qword [rbp - 0x58]
call fcn.1400a8238
mov qword [rbp + 0x10], rax
mov ecx, 2
call fcn.1400a82f0
mov qword [rbp + 0x48], rax
mov word [rax], si
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], rsi
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp - 0x58]
call fcn.140008100
xor r9d, r9d
lea r8, [rbp + 0x48]
mov rdx, r12
lea rcx, [rbp + 0xa0]
call fcn.1400058f0
mov rbx, qword [rbp - 0x68]
mov rcx, qword [rax]
call fcn.1400a8238
mov qword [rbp - 0x68], rax
mov rcx, rbx
call fcn.1400a82b0
mov rcx, qword [rbp + 0xa0]
call fcn.1400a82b0
lea r9, [rbp + 0x20]
lea r8, [rbp - 0x18]
mov rdx, qword [rbp - 0x68]
mov rcx, r12
call fcn.1400058e0
mov dword [rbp - 0x60], eax
mov rcx, qword [rbp - 0x70]
call fcn.1400a8238
mov qword [rbp - 0x80], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.DisplayString
mov rcx, qword [rbp - 8]
call fcn.1400138b0
test eax, eax
jne 0x140027c04
mov rcx, qword [rbp - 0x80]
cmp word [rcx], 0x40
jne 0x140027c04
call fcn.1400a8238
mov r13, rax
mov qword [rbp + 0xc8], rax
mov r15d, esi
mov edx, 0x2c
mov rcx, rax
call fcn.1400a9720
test rax, rax
je 0x140027b64
mov edx, 0x2c
mov rcx, r13
call fcn.1400a9720
mov word [rax], si
lea rcx, [rax + 2]
call fcn.1400ab1a4
cdq
mov r15d, eax
xor r15d, edx
sub r15d, edx
lea rdx, [r13 + 2]
lea rcx, [rbp + 0x90]
call fcn.140013270
mov rcx, qword [rax]
call fcn.1400a8238
mov rbx, rax
mov rcx, r13
call fcn.1400a82b0
mov rcx, qword [rbp + 0x90]
call fcn.1400a82b0
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov r12, rax
test rax, rax
je 0x140027bed
mov r9d, 0x104
lea r8, [rbp + 0xf0]
mov edx, r15d
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x140027be3
mov r15, qword [rbp - 0x80]
lea rcx, [rbp + 0xf0]
call fcn.1400a8238
mov qword [rbp - 0x80], rax
mov rcx, r15
call fcn.1400a82b0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
mov rcx, rbx
call fcn.1400a82b0
mov r15, qword [rbp + 0x38]
mov r12, qword [rbp + 0x98]
mov r13d, dword [rbp - 0x48]
mov dword [rbp - 0x78], 4
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Enabled
mov rcx, qword [rbp - 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rbp - 0x78], reloc.OLEAUT32.dll_SafeArrayGetDim
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ProviderId
mov rcx, qword [rbp - 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140027f74
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp], rax
lea r9, [rbp - 0x70]
mov r8, r15
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0xa8]
call fcn.140009060
mov rbx, rax
lea r9, [rbp]
mov r8, r15
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0x80]
call fcn.140009060
nop
lea rcx, [rbp + 0x68]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp + 0x18]
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, r12
call fcn.140004500
movzx ebx, al
mov rcx, qword [rbp + 0x80]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0xa8]
call fcn.1400a82b0
nop
mov rcx, qword [rbp]
call fcn.1400a82b0
test bl, bl
je 0x140027f74
cmp edi, 0xffffffff
jne 0x140027eb4
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp + 0x30], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp + 0x40], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x28], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x50], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x40], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x30], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x20], rax
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp - 0x10], rax
lea r9, [rbp - 0x20]
mov r8, r15
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0xb0]
call fcn.140009060
mov rbx, rax
lea r9, [rbp - 0x10]
mov r8, r15
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0xb8]
call fcn.140009060
nop
mov dword [rsp + 0x80], edi
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x70], rsi
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x68], rcx
mov ecx, dword [rbp - 0x38]
mov dword [rsp + 0x60], ecx
mov qword [rsp + 0x58], rsi
lea rcx, [rbp + 0x40]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
xor r9d, r9d
or r8d, edi
xor edx, edx
mov rcx, r12
call fcn.140004870
mov edi, eax
mov rcx, qword [rbp + 0xb8]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0xb0]
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 - 0x30]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x40]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x50]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x28]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x40]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x30]
call fcn.1400a82b0
lea rcx, [0x1400d1428]
call fcn.1400a8238
mov qword [rbp + 0x28], rax
lea r9, [rbp - 0x70]
mov r8, r15
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0x88]
call fcn.140009060
nop
mov dword [rsp + 0x80], 0xffffffff
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x70], rsi
lea rcx, [rbp + 0x28]
mov qword [rsp + 0x68], rcx
mov ecx, dword [rbp - 0x38]
mov dword [rsp + 0x60], ecx
mov rcx, qword [rbp + 0x68]
mov qword [rsp + 0x58], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp + 0x18]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x20]
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 - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
mov r8d, edi
mov edx, dword [rbp - 0x60]
mov rcx, r12
call fcn.140004870
nop
mov rcx, qword [rbp + 0x88]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x28]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x80]
call fcn.1400a82b0
nop
mov rbx, qword [rbp + 0x50]
test rbx, rbx
je 0x140027fb9
mov r15, qword [rbp + 0x58]
cmp rbx, r15
je 0x140027fa5
mov rcx, qword [rbx]
call fcn.1400a82b0
add rbx, 8
cmp rbx, r15
jne 0x140027f90
mov rbx, qword [rbp + 0x50]
mov rcx, rbx
call fcn.1400a7cb8
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], rsi
mov rcx, qword [rbp + 0x48]
call fcn.1400a82b0
nop
mov rcx, qword [rbp + 0x10]
call fcn.1400a82b0
mov r15, qword [rbp + 0x38]
mov rcx, qword [rbp - 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc r13d
mov dword [rbp - 0x48], r13d
lea r8, [rbp - 0x70]
mov edx, r13d
mov rcx, qword [rbp + 8]
call fcn.1400136a0
test eax, eax
je 0x1400279f0
mov rdi, qword [rbp + 0x70]
mov rsi, qword [rbp + 0x78]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rbp - 0x70]
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x58]
call fcn.1400a82b0
nop
mov rcx, r14
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 - 0x18]
call fcn.1400a82b0
nop
mov rcx, rsi
call fcn.1400a82b0
nop
mov rcx, rdi
call fcn.1400a82b0
nop
mov rcx, qword [rbp - 0x68]
call fcn.1400a82b0
nop
mov rcx, qword [r15]
call fcn.1400a82b0
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.1400ab140
mov rbx, qword [rsp + 0x470]
add rsp, 0x420
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret