Function at 0x140010c30
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x8d8
movaps xmmword [rsp + 0x8c0], xmm6
mov edi, r8d
mov rsi, rdx
mov rax, qword [0x140049030]
xor rax, rsp
mov qword [rsp + 0x8b8], rax
lea rdx, [rsp + 0x6a0]
call fcn.140001270
test eax, eax
je 0x140010e37
lea r14, [rsp + 0x98]
mov qword [rsp + 0x20], r14
lea rdx, [rsp + 0x6a0]
mov rcx, 0xffffffff80000002
xor r8d, r8d
mov r9d, 0x20119
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140010da4
mov ebx, eax
mov eax, dword [0x14004c1c8]
mov ecx, dword [0x140049f80]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400112e1
lea rcx, [0x14004bfb8]
lea rdx, str.Could_not_open_key.____ld_
mov r8d, ebx
call fcn.1400118e0
mov qword [rsp + 0x20], r14
lea rdx, [0x140041358]
mov rcx, 0xffffffff80000002
xor r8d, r8d
mov r9d, 0x20119
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140010d50
mov ebx, eax
mov eax, dword [0x14004c1c8]
mov ecx, dword [0x140049f80]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140011322
lea rcx, [0x14004bfb8]
lea rdx, str.Could_not_open_fallback_key.____ld_
mov r8d, ebx
call fcn.1400118e0
jmp 0x140010e37
test edi, edi
je 0x140010da4
mov eax, dword [0x14004c1c8]
mov ecx, dword [0x140049f80]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400113a4
lea rcx, [0x14004bfb8]
lea rdx, str.Fallback_key_present__skipping_VerifyCertificateTrustForFile_check_and_the_certificate_attribute_registry_matching_check.
call fcn.1400118e0
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 1
jmp 0x140010e39
lea rax, [rsp + 0x94]
mov dword [rax], 0
mov rcx, qword [rsp + 0x98]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x58], 0
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x140010e67
mov edi, eax
mov eax, dword [0x14004c1c8]
mov ecx, dword [0x140049f80]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140011363
lea rcx, [0x14004bfb8]
lea rdx, str.Could_not_query_info_key.____ld_
mov r8d, edi
call fcn.1400118e0
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov rcx, qword [rsp + 0x8b8]
xor rcx, rsp
call fcn.140026460
mov eax, esi
movaps xmm6, xmmword [rsp + 0x8c0]
add rsp, 0x8d8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x68], rsi
cmp dword [rsp + 0x94], 0
je 0x140010e29
xorps xmm6, xmm6
lea rdi, [rsp + 0x4a0]
lea rbx, [rsp + 0x90]
mov r14, qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov rsi, qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea r13, [rsp + 0xa0]
lea rbp, [rsp + 0x84]
xor r12d, r12d
mov dword [rsp + 0x90], 0xff
mov rcx, qword [rsp + 0x98]
movups xmmword [rsp + 0x30], xmm6
movups xmmword [rsp + 0x20], xmm6
mov edx, r12d
mov r8, rdi
mov r9, rbx
call r14
test eax, eax
jne 0x1400112a3
mov rcx, qword [rsp + 0x98]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov rdx, rdi
xor r8d, r8d
mov r9d, 0x20119
call rsi
test eax, eax
je 0x140010f45
mov r15d, eax
mov eax, dword [0x14004c1c8]
mov ecx, dword [0x140049f80]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14001115e
lea rcx, [0x14004bfb8]
lea rdx, str.Could_not_open_subkey.____ld_
mov r8d, r15d
call fcn.1400118e0
jmp 0x14001107e
mov rsi, rbx
mov rbx, r14
mov dword [rsp + 0x84], 0x200
mov r8d, 0x200
lea r15, [rsp + 0x2a0]
mov rcx, r15
xor edx, edx
call fcn.1400155d0
mov r8d, 0x200
mov r14, r13
mov rcx, r13
xor edx, edx
call fcn.1400155d0
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], r15
lea rdx, str.name
xor r8d, r8d
xor r9d, r9d
mov rdi, qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call rdi
test eax, eax
je 0x140010fe5
mov r15d, eax
mov eax, dword [0x14004c1c8]
mov ecx, dword [0x140049f80]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14001119f
lea rcx, [0x14004bfb8]
lea rdx, str.Could_not_obtain_name_from_registry.____ld_
jmp 0x14001104b
mov dword [rsp + 0x84], 0x200
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], r14
lea rdx, str.issuer
xor r8d, r8d
xor r9d, r9d
call rdi
test eax, eax
je 0x140011094
mov r15d, eax
mov eax, dword [0x14004c1c8]
mov ecx, dword [0x140049f80]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400111e0
lea rcx, [0x14004bfb8]
lea rdx, str.Could_not_obtain_issuer_from_registry.____ld_
mov r8d, r15d
call fcn.1400118e0
mov r14, rbx
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, rsi
mov rsi, qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea rbp, [rsp + 0x84]
lea rdi, [rsp + 0x4a0]
inc r12d
cmp r12d, dword [rsp + 0x94]
jb 0x140010eaa
jmp 0x140010e29
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], r14
mov r14, qword [rsp + 0x68]
mov rcx, r14
lea rdx, [rsp + 0x70]
call fcn.140012da0
test eax, eax
je 0x1400110f7
mov r15d, eax
mov eax, dword [0x14004c1c8]
mov ecx, dword [0x140049f80]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
mov r14, rbx
jg 0x140011221
lea rcx, [0x14004bfb8]
lea rdx, str.Error_on_certificate_check.____ld_
jmp 0x140011140
mov rcx, r14
call fcn.1400135d0
test eax, eax
je 0x140010d8c
mov r15d, eax
mov r14, rbx
mov eax, dword [0x14004c1c8]
mov ecx, dword [0x140049f80]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140011262
lea rcx, [0x14004bfb8]
lea rdx, str.Error_on_certificate_trust_check.____ld_
mov r8d, r15d
call fcn.1400118e0
mov rbx, rsi
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140011067
lea rcx, [0x14004c1c8]
call fcn.140013b60
cmp dword [0x14004c1c8], 0xffffffff
jne 0x140010f2a
mov qword [0x14004bfb8], 0
lea rcx, [0x14000ada0]
call fcn.140013cf8
lea rcx, [0x14004c1c8]
call fcn.140013bc8
jmp 0x140010f2a
lea rcx, [0x14004c1c8]
call fcn.140013b60
cmp dword [0x14004c1c8], 0xffffffff
jne 0x140010fd5
mov qword [0x14004bfb8], 0
lea rcx, [0x14000ada0]
call fcn.140013cf8
lea rcx, [0x14004c1c8]
call fcn.140013bc8
jmp 0x140010fd5
lea rcx, [0x14004c1c8]
call fcn.140013b60
cmp dword [0x14004c1c8], 0xffffffff
jne 0x14001103d
mov qword [0x14004bfb8], 0
lea rcx, [0x14000ada0]
call fcn.140013cf8
lea rcx, [0x14004c1c8]
call fcn.140013bc8
jmp 0x14001103d
lea rcx, [0x14004c1c8]
call fcn.140013b60
cmp dword [0x14004c1c8], 0xffffffff
jne 0x1400110e7
mov qword [0x14004bfb8], 0
lea rcx, [0x14000ada0]
call fcn.140013cf8
lea rcx, [0x14004c1c8]
call fcn.140013bc8
jmp 0x1400110e7
lea rcx, [0x14004c1c8]
call fcn.140013b60
cmp dword [0x14004c1c8], 0xffffffff
jne 0x140011132
mov qword [0x14004bfb8], 0
lea rcx, [0x14000ada0]
call fcn.140013cf8
lea rcx, [0x14004c1c8]
call fcn.140013bc8
jmp 0x140011132
mov r15d, eax
mov eax, dword [0x14004c1c8]
mov ecx, dword [0x140049f80]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400113e5
lea rcx, [0x14004bfb8]
lea rdx, str.Could_not_enum_certs.____ld_
mov r8d, r15d
jmp 0x140010e24
lea rcx, [0x14004c1c8]
call fcn.140013b60
cmp dword [0x14004c1c8], 0xffffffff
jne 0x140010cd2
mov qword [0x14004bfb8], 0
lea rcx, [0x14000ada0]
call fcn.140013cf8
lea rcx, [0x14004c1c8]
call fcn.140013bc8
jmp 0x140010cd2
lea rcx, [0x14004c1c8]
call fcn.140013b60
cmp dword [0x14004c1c8], 0xffffffff
jne 0x140010d35
mov qword [0x14004bfb8], 0
lea rcx, [0x14000ada0]
call fcn.140013cf8
lea rcx, [0x14004c1c8]
call fcn.140013bc8
jmp 0x140010d35
lea rcx, [0x14004c1c8]
call fcn.140013b60
cmp dword [0x14004c1c8], 0xffffffff
jne 0x140010e13
mov qword [0x14004bfb8], 0
lea rcx, [0x14000ada0]
call fcn.140013cf8
lea rcx, [0x14004c1c8]
call fcn.140013bc8
jmp 0x140010e13
lea rcx, [0x14004c1c8]
call fcn.140013b60
cmp dword [0x14004c1c8], 0xffffffff
jne 0x140010d79
mov qword [0x14004bfb8], 0
lea rcx, [0x14000ada0]
call fcn.140013cf8
lea rcx, [0x14004c1c8]
call fcn.140013bc8
jmp 0x140010d79
lea rcx, [0x14004c1c8]
call fcn.140013b60
cmp dword [0x14004c1c8], 0xffffffff
jne 0x1400112cb
mov qword [0x14004bfb8], 0
lea rcx, [0x14000ada0]
call fcn.140013cf8
lea rcx, [0x14004c1c8]
call fcn.140013bc8
jmp 0x1400112cb