Function at 0x14005af00
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
push r14
sub rsp, 0x8d8
mov rax, qword [0x140325af8]
xor rax, rsp
mov qword [rsp + 0x8b0], rax
mov r14, qword [rsp + 0x920]
mov rsi, r8
mov dword [rsp + 0x50], r9d
mov r10, rdx
mov qword [rsp + 0x60], r8
mov rbp, rcx
mov qword [rsp + 0x58], rcx
mov ebx, 0xc000000d
mov dword [rsp + 0x68], 0x800
test r14, r14
je 0x14005b095
mov qword [r11 + 0x20], rdi
lea rax, [rsp + 0x70]
mov qword [r11 - 0x30], r13
mov rdx, rcx
xor r13d, r13d
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
mov qword [r14], r13
xor r8d, r8d
mov rcx, r10
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
je 0x14005afdb
call fcn.1400159c0
mov dword [rsp + 0x40], edi
lea rcx, str.Failed_to_open__ws__x
mov qword [rsp + 0x38], rbp
lea r8, str.d:jenkinsworkspace_n_mbcommon_srcmbcommon_fileverify.cpp
mov qword [rsp + 0x30], rcx
lea rbp, str.MbCommonSigVerify
mov r10, qword [rax]
lea rdx, str.FindCertBy
mov qword [rsp + 0x28], rbp
mov r9d, 0x5ca
mov rcx, rax
mov dword [rsp + 0x20], 5
call qword [r10 + 0x20]
jmp 0x14005b085
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rdx, str.Blob
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x8d0], r12
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14005b072
mov r9d, dword [rsp + 0x68]
lea rax, [rsp + 0xb0]
mov r8d, r13d
mov qword [rsp + 0x8c0], r15
nop
cmp dword [rax], 0x20
je 0x14005b0b4
mov ecx, dword [rax + 8]
lea rdx, [rsp + 0xb0]
add rax, 0xc
add rdx, r9
add rax, rcx
cmp rax, rdx
ja 0x14005b06a
lea rcx, [rsp + 0xb0]
cmp rax, rcx
jb 0x14005b06a
inc r8d
cmp r8d, 0xf
jl 0x14005b030
mov ebx, 0xc000000d
mov r15, qword [rsp + 0x8c0]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r12, qword [rsp + 0x8d0]
mov rdi, qword [rsp + 0x918]
mov r13, qword [rsp + 0x8c8]
mov eax, ebx
mov rcx, qword [rsp + 0x8b0]
xor rcx, rsp
call fcn.1401d9c30
add rsp, 0x8d8
pop r14
pop rsi
pop rbp
pop rbx
ret
mov ebx, dword [rax + 8]
lea r15, [rax + 0xc]
test ebx, ebx
je 0x14005b065
lea rax, [rsp + 0xb0]
cmp r15, rax
jb 0x14005b065
sub r9d, r15d
lea eax, [rsp + 0xb0]
add eax, r9d
cmp ebx, eax
ja 0x14005b065
mov ecx, 0x80
call fcn.1401ecd00
mov r12, rax
test rax, rax
je 0x14005b3e8
xor edx, edx
mov r8d, 0x80
mov rcx, rax
call fcn.1401dbcd0
mov ecx, 0x568
call fcn.1401ecd00
mov rdi, rax
test rax, rax
je 0x14005b3d6
call fcn.1400159c0
mov qword [rsp + 0x38], rdi
lea rcx, str.Base_Certificate__p
mov qword [rsp + 0x30], rcx
lea rbp, str.MbCommonSigVerify
mov qword [rsp + 0x28], rbp
lea r8, str.d:jenkinsworkspace_n_mbcommon_srcmbcommon_fileverify.cpp
mov r10, qword [rax]
lea rdx, str.FindCertBy
mov r9d, 0x5f4
mov dword [rsp + 0x20], 5
mov rcx, rax
call qword [r10 + 0x20]
xor eax, eax
xor edx, edx
mov r8d, 0x568
mov qword [rsp + 0x78], rax
mov rcx, rdi
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rax
call fcn.1401dbcd0
lea rax, [rsp + 0x78]
mov dword [r12 + 0xc], ebx
lea rdx, [0x1400600e0]
mov qword [r12 + 0x40], rax
mov rcx, r12
mov qword [r12], r15
mov dword [r12 + 8], ebx
mov qword [r12 + 0x20], rdi
mov qword [r12 + 0x68], r13
mov qword [r12 + 0x70], r13
mov qword [r12 + 0x78], r13
call fcn.14005dd00
mov ebx, eax
call fcn.1400159c0
mov rcx, qword [rsp + 0x58]
lea r8, str.d:jenkinsworkspace_n_mbcommon_srcmbcommon_fileverify.cpp
mov dword [rsp + 0x40], ebx
lea rdx, str.FindCertBy
mov qword [rsp + 0x38], rcx
mov r9d, 0x601
mov r10, qword [rax]
lea rcx, str.Parsed__ws____x
mov qword [rsp + 0x30], rcx
mov rcx, rax
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], 5
call qword [r10 + 0x20]
test ebx, ebx
jne 0x14005b39a
mov eax, dword [rsp + 0x50]
cmp eax, 1
jne 0x14005b29f
lea rdx, [rsi + 0x288]
lea rcx, [rdi + 0x2b8]
call fcn.14005d9f0
test al, al
je 0x14005b39a
call fcn.1400159c0
lea rcx, str.Found_Cert__
mov r9d, 0x609
mov r10, qword [rax]
lea r8, str.d:jenkinsworkspace_n_mbcommon_srcmbcommon_fileverify.cpp
mov qword [rsp + 0x30], rcx
lea rdx, str.FindCertBy
mov qword [rsp + 0x28], rbp
mov rcx, rax
mov dword [rsp + 0x20], 3
call qword [r10 + 0x20]
mov rcx, r12
mov qword [r14], rdi
call fcn.1401e539c
jmp 0x14005b06a
cmp eax, 3
jne 0x14005b2d3
lea rdx, [rsi + 0x288]
lea rcx, [rdi + 0x2b8]
call fcn.14005d9f0
test al, al
je 0x14005b39a
call fcn.1400159c0
lea rcx, str.Found_intermediate_Cert__
mov r9d, 0x615
jmp 0x14005b265
cmp eax, 2
jne 0x14005b39f
movzx eax, word [rsi + 0x250]
cmp ax, 3
jb 0x14005b34f
call fcn.1400159c0
movzx ecx, byte [rdi + 0x254]
mov r9d, 0x624
movzx edx, byte [rdi + 0x253]
movzx r8d, byte [rdi + 0x252]
mov r10, qword [rax]
mov dword [rsp + 0x48], ecx
lea rcx, str.Looking_for_Serial:__2.2x_2.2x_2.2x
mov dword [rsp + 0x40], edx
lea rdx, str.FindCertBy
mov dword [rsp + 0x38], r8d
lea r8, str.d:jenkinsworkspace_n_mbcommon_srcmbcommon_fileverify.cpp
mov qword [rsp + 0x30], rcx
mov rcx, rax
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], 5
call qword [r10 + 0x20]
movzx eax, word [rsi + 0x250]
cmp word [rdi + 0x250], ax
jne 0x14005b39a
mov rdx, qword [rsp + 0x60]
lea rcx, [rdi + 0x252]
add rdx, 0x252
movzx r8d, ax
movzx esi, ax
call fcn.1401db770
test eax, eax
jne 0x14005b37e
mov r13d, esi
cmp r13d, esi
jne 0x14005b39a
call fcn.1400159c0
lea rcx, str.Found_Cert_by_serial__
mov r9d, 0x62b
jmp 0x14005b265
mov ebx, 0xc000000d
cmp qword [r14], rdi
je 0x14005b3bd
test ebx, ebx
jne 0x14005b3c1
mov rcx, rdi
call fcn.14005da70
mov rcx, r12
call fcn.1401e539c
jmp 0x14005b06a
test ebx, ebx
je 0x14005b3db
mov rcx, rdi
call fcn.14005da70
mov rcx, r12
call fcn.1401e539c
jmp 0x14005b06a
mov ebx, 0xc000009a
mov rcx, r12
call fcn.1401e539c
jmp 0x14005b06a
mov ebx, 0xc000009a
jmp 0x14005b06a