Function at 0x14001b460
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x1400922d0]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov qword [rbp - 0x18], r9
mov r13, r8
mov r12, rdx
mov rdi, rcx
mov rcx, r9
call fcn.140008970
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xor esi, esi
mov ebx, esi
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x68], esi
mov qword [rsp + 0x70], rsi
mov rcx, qword [rdi + 0xc0]
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
setne byte [rsp + 0x40]
mov rax, qword [rdi + 0x10]
mov rdx, qword [rax + 0xe8]
mov rcx, qword [0x1400924d8]
test rdx, rdx
cmovne rcx, rdx
mov qword [rsp + 0x78], rsi
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r14d, 0x20019
mov r9d, r14d
xor r8d, r8d
mov rdx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001b520
mov eax, esi
mov rbx, qword [rsp + 0x78]
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x68], esi
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
test edx, edx
jns 0x14001b554
cmp dx, 2
je 0x14001b9d1
lfence
mov r8, qword [r12]
lea rcx, str.Error_while_accessing_list_of_extensions
call fcn.140045c24
jmp 0x14001b9cc
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x70], rsi
mov dword [rbp - 0x68], esi
mov qword [rbp - 0x60], rsi
cmp byte [rbp + 0x280], sil
jne 0x14001b5e2
mov rax, qword [rdi + 0x10]
mov rdx, qword [rax + 0xe8]
mov rcx, qword [0x1400924d8]
test rdx, rdx
cmovne rcx, rdx
mov qword [rbp - 0x80], rsi
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, r14d
xor r8d, r8d
mov rdx, qword [r13]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, eax
test eax, eax
jne 0x14001b5b8
mov ecx, esi
mov rax, qword [rbp - 0x80]
mov qword [rbp - 0x70], rax
mov dword [rbp - 0x68], esi
movzx edx, cx
or edx, 0x80070000
test ecx, ecx
cmovle edx, ecx
test edx, edx
jns 0x14001b5e2
lfence
mov r8, qword [r13]
lea rcx, str.Error_while_accessing_list_of_extension_types
call fcn.140045c88
jmp 0x14001b9bd
mov dword [rbp - 0x10], 0x105
call fcn.140002950
mov rcx, rax
test rax, rax
je 0x14001ba1d
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
mov r14d, esi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
lea rax, [rbp - 0xc]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x10]
lea r8, [rbp]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
or edi, 0xffffffff
cmp eax, 0x103
je 0x14001b99a
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x14001b6e1
lfence
lea r8, [0x14006d440]
mov rdx, r12
lea rcx, [rbp - 0x50]
call fcn.14001ba30
nop
lea r8, [rbp]
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.14001ba30
nop
mov r8, qword [rax]
mov edx, ebx
lea rcx, str.Error_while_enumerating_extensions_list
call fcn.140045c88
nop
mov rdx, qword [rbp - 0x58]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x14001b6b7
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x50]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x14001b95d
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14001b95d
cmp dword [rbp - 0xc], 1
je 0x14001b74c
lea r8, [0x14006d440]
mov rdx, r12
lea rcx, [rbp - 0x40]
call fcn.14001ba30
nop
lea r8, [rbp]
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.14001ba30
nop
mov r8, qword [rax]
mov edx, 0x8000ffff
lea rcx, str.Expected_only_strings_in_enabled_extensions_list
call fcn.140045c88
nop
mov rdx, qword [rbp - 0x48]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x14001b743
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x40]
jmp 0x14001b6bb
cmp byte [rbp + 0x280], 0
jne 0x14001b893
call fcn.140002950
mov rcx, rax
test rax, rax
je 0x14001ba0e
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x48], rbx
mov edx, 0x104
mov dword [rsp + 0x50], edx
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edx
or eax, ecx
jge 0x14001b7a2
lea rcx, [rsp + 0x48]
call fcn.140002d40
mov rbx, qword [rsp + 0x48]
lea r9, [rsp + 0x50]
mov r8, rbx
lea rdx, [rbp]
lea rcx, [rbp - 0x70]
call fcn.140027588
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
jns 0x14001b854
lfence
lea r8, [0x14006d440]
mov rdx, r13
lea rcx, [rbp - 0x30]
call fcn.14001ba30
nop
lea r8, [rbp]
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.14001ba30
nop
mov r8, qword [rax]
mov edx, edi
lea rcx, str.Could_not_query_type_for_extension.
call fcn.140045c24
nop
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x14001b82c
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x14001b84d
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x48]
jmp 0x14001b86d
lea rdx, str.Microsoft.VisualStudio.Sample
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
sete sil
or edi, 0xffffffff
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x14001b88a
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test sil, sil
jne 0x14001b94b
lea rdx, [rbp]
lea rcx, [rbp - 0x78]
call fcn.140002f00
nop
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x60]
call fcn.14001c444
mov ebx, eax
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
mov ecx, edi
lock xadd dword [rdx + 0x10], ecx
add ecx, edi
xor esi, esi
test ecx, ecx
jg 0x14001b8da
lfence
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
test ebx, ebx
jns 0x14001b94f
lfence
lea r8, [0x14006d440]
mov rdx, r12
lea rcx, [rbp - 0x20]
call fcn.14001ba30
nop
lea r8, [rbp]
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.14001ba30
nop
mov r8, qword [rax]
mov edx, ebx
lea rcx, str.Error_while_retrieving_enabled_extension_path
call fcn.140045c88
nop
nop dword [rax + rax]
mov rdx, qword [rbp - 0x28]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x14001b942
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x20]
jmp 0x14001b6bb
xor esi, esi
jmp 0x14001b95d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rbp - 0x18]
call fcn.140008cc0
inc r14d
mov dword [rbp - 0x10], 0x105
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
lea rax, [rbp - 0xc]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x10]
lea r8, [rbp]
mov edx, r14d
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x14001b63a
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x14001b9bd
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14001b9cc
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x60]
cmp byte [rsp + 0x40], sil
je 0x14001b9df
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
nop
test rbx, rbx
je 0x14001b9ed
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140001020
add rsp, 0x320
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.1400327c0
nop
jmp 0x14001ba1c
nop
mov ecx, 0x80004005
call fcn.1400327c0
int3