Function at 0x140010bb0
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, 0x8c8
movaps xmmword [rsp + 0x8b0], xmm6
mov edi, r8d
mov r13, rdx
mov rax, qword [0x140045010]
xor rax, rsp
mov qword [rsp + 0x8a8], rax
lea rdx, [rsp + 0x690]
call fcn.1400012d0
test eax, eax
je 0x140010db7
lea rbp, [rsp + 0x88]
mov qword [rsp + 0x20], rbp
lea rdx, [rsp + 0x690]
mov rcx, 0xffffffff80000002
xor r8d, r8d
mov r9d, 0x20119
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140010d24
mov ebx, eax
mov eax, dword [0x1400480b8]
mov ecx, dword [0x140045e5c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400111f1
lea rcx, [0x140047ea8]
lea rdx, str.Could_not_open_key.____ld_
mov r8d, ebx
call fcn.140011750
mov qword [rsp + 0x20], rbp
lea rdx, [0x14003dab0]
mov rcx, 0xffffffff80000002
xor r8d, r8d
mov r9d, 0x20119
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140010cd0
mov ebx, eax
mov eax, dword [0x1400480b8]
mov ecx, dword [0x140045e5c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140011232
lea rcx, [0x140047ea8]
lea rdx, str.Could_not_open_fallback_key.____ld_
mov r8d, ebx
call fcn.140011750
jmp 0x140010db7
test edi, edi
je 0x140010d24
mov eax, dword [0x1400480b8]
mov ecx, dword [0x140045e5c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400112b4
lea rcx, [0x140047ea8]
lea rdx, str.Fallback_key_present__skipping_VerifyCertificateTrustForFile_check_and_the_certificate_attribute_registry_matching_check.
call fcn.140011750
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 1
jmp 0x140010db9
lea rax, [rsp + 0x84]
mov dword [rax], 0
mov rcx, qword [rsp + 0x88]
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 0x140010de7
mov edi, eax
mov eax, dword [0x1400480b8]
mov ecx, dword [0x140045e5c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140011273
lea rcx, [0x140047ea8]
lea rdx, str.Could_not_query_info_key.____ld_
mov r8d, edi
call fcn.140011750
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov rcx, qword [rsp + 0x8a8]
xor rcx, rsp
call fcn.140023af0
mov eax, esi
movaps xmm6, xmmword [rsp + 0x8b0]
add rsp, 0x8c8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp dword [rsp + 0x84], 0
je 0x140010da9
xorps xmm6, xmm6
lea r14, [rsp + 0x490]
lea rbp, [rsp + 0x90]
lea rsi, [rsp + 0x74]
mov rdi, qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor r12d, r12d
mov dword [rsp + 0x80], 0xff
mov rcx, qword [rsp + 0x88]
movups xmmword [rsp + 0x30], xmm6
movups xmmword [rsp + 0x20], xmm6
mov edx, r12d
mov r8, r14
lea r9, [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400111b3
mov rcx, qword [rsp + 0x88]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov rdx, r14
xor r8d, r8d
mov r9d, 0x20119
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140010eb6
mov ebx, eax
mov eax, dword [0x1400480b8]
mov ecx, dword [0x140045e5c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14001106e
lea rcx, [0x140047ea8]
lea rdx, str.Could_not_open_subkey.____ld_
mov r8d, ebx
call fcn.140011750
jmp 0x140011058
mov dword [rsp + 0x74], 0x200
mov r8d, 0x200
lea rbx, [rsp + 0x290]
mov rcx, rbx
xor edx, edx
call fcn.140015b80
mov r8d, 0x200
mov rcx, rbp
xor edx, edx
call fcn.140015b80
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rbx
lea rdx, str.name
xor r8d, r8d
xor r9d, r9d
call rdi
test eax, eax
je 0x140010f42
mov ebx, eax
mov eax, dword [0x1400480b8]
mov ecx, dword [0x140045e5c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400110af
lea rcx, [0x140047ea8]
lea rdx, str.Could_not_obtain_name_from_registry.____ld_
jmp 0x140011045
mov dword [rsp + 0x74], 0x200
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rbp
lea rdx, str.issuer
xor r8d, r8d
xor r9d, r9d
call rdi
test eax, eax
je 0x140010fa6
mov ebx, eax
mov eax, dword [0x1400480b8]
mov ecx, dword [0x140045e5c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400110f0
lea rcx, [0x140047ea8]
lea rdx, str.Could_not_obtain_issuer_from_registry.____ld_
jmp 0x140011045
lea rax, [rsp + 0x290]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbp
mov rcx, r13
lea rdx, [rsp + 0x60]
call fcn.140012bd0
test eax, eax
je 0x140011000
mov ebx, eax
mov eax, dword [0x1400480b8]
mov ecx, dword [0x140045e5c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140011131
lea rcx, [0x140047ea8]
lea rdx, str.Error_on_certificate_check.____ld_
jmp 0x140011045
mov rcx, r13
call fcn.140013400
test eax, eax
je 0x140010d0c
mov ebx, eax
mov eax, dword [0x1400480b8]
mov ecx, dword [0x140045e5c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140011172
lea rcx, [0x140047ea8]
lea rdx, str.Error_on_certificate_trust_check.____ld_
mov r8d, ebx
call fcn.140011750
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc r12d
cmp r12d, dword [rsp + 0x84]
jb 0x140010e13
jmp 0x140010da9
lea rcx, [0x1400480b8]
call fcn.140013ae0
cmp dword [0x1400480b8], 0xffffffff
jne 0x140010e9b
mov qword [0x140047ea8], 0
lea rcx, [0x14000acf0]
call fcn.140013c98
lea rcx, [0x1400480b8]
call fcn.140013b48
jmp 0x140010e9b
lea rcx, [0x1400480b8]
call fcn.140013ae0
cmp dword [0x1400480b8], 0xffffffff
jne 0x140010f2f
mov qword [0x140047ea8], 0
lea rcx, [0x14000acf0]
call fcn.140013c98
lea rcx, [0x1400480b8]
call fcn.140013b48
jmp 0x140010f2f
lea rcx, [0x1400480b8]
call fcn.140013ae0
cmp dword [0x1400480b8], 0xffffffff
jne 0x140010f93
mov qword [0x140047ea8], 0
lea rcx, [0x14000acf0]
call fcn.140013c98
lea rcx, [0x1400480b8]
call fcn.140013b48
jmp 0x140010f93
lea rcx, [0x1400480b8]
call fcn.140013ae0
cmp dword [0x1400480b8], 0xffffffff
jne 0x140010ff0
mov qword [0x140047ea8], 0
lea rcx, [0x14000acf0]
call fcn.140013c98
lea rcx, [0x1400480b8]
call fcn.140013b48
jmp 0x140010ff0
lea rcx, [0x1400480b8]
call fcn.140013ae0
cmp dword [0x1400480b8], 0xffffffff
jne 0x140011037
mov qword [0x140047ea8], 0
lea rcx, [0x14000acf0]
call fcn.140013c98
lea rcx, [0x1400480b8]
call fcn.140013b48
jmp 0x140011037
mov r15d, eax
mov eax, dword [0x1400480b8]
mov ecx, dword [0x140045e5c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400112f5
lea rcx, [0x140047ea8]
lea rdx, str.Could_not_enum_certs.____ld_
mov r8d, r15d
jmp 0x140010da4
lea rcx, [0x1400480b8]
call fcn.140013ae0
cmp dword [0x1400480b8], 0xffffffff
jne 0x140010c52
mov qword [0x140047ea8], 0
lea rcx, [0x14000acf0]
call fcn.140013c98
lea rcx, [0x1400480b8]
call fcn.140013b48
jmp 0x140010c52
lea rcx, [0x1400480b8]
call fcn.140013ae0
cmp dword [0x1400480b8], 0xffffffff
jne 0x140010cb5
mov qword [0x140047ea8], 0
lea rcx, [0x14000acf0]
call fcn.140013c98
lea rcx, [0x1400480b8]
call fcn.140013b48
jmp 0x140010cb5
lea rcx, [0x1400480b8]
call fcn.140013ae0
cmp dword [0x1400480b8], 0xffffffff
jne 0x140010d93
mov qword [0x140047ea8], 0
lea rcx, [0x14000acf0]
call fcn.140013c98
lea rcx, [0x1400480b8]
call fcn.140013b48
jmp 0x140010d93
lea rcx, [0x1400480b8]
call fcn.140013ae0
cmp dword [0x1400480b8], 0xffffffff
jne 0x140010cf9
mov qword [0x140047ea8], 0
lea rcx, [0x14000acf0]
call fcn.140013c98
lea rcx, [0x1400480b8]
call fcn.140013b48
jmp 0x140010cf9
lea rcx, [0x1400480b8]
call fcn.140013ae0
cmp dword [0x1400480b8], 0xffffffff
jne 0x1400111db
mov qword [0x140047ea8], 0
lea rcx, [0x14000acf0]
call fcn.140013c98
lea rcx, [0x1400480b8]
call fcn.140013b48
jmp 0x1400111db