Function at 0x1400d6130
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r14
sub rsp, 0x8c8
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rsp + 0x8a0], rax
mov r14, qword [rsp + 0x910]
mov rsi, r8
mov dword [rsp + 0x50], r9d
mov rax, rdx
mov qword [rsp + 0x58], rcx
mov rbp, rcx
mov dword [rsp + 0x60], 0x800
mov edi, 0xc000000d
test r8, r8
je 0x1400d6737
test r14, r14
je 0x1400d6737
mov qword [r11 + 0x20], rbx
lea rcx, [rsp + 0x68]
mov qword [r11 - 0x28], r12
mov r9d, 0x20019
mov qword [rsp + 0x20], rcx
xor r12d, r12d
mov rcx, rax
mov qword [r14], r12
xor r8d, r8d
mov qword [r11 - 0x38], r15
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
je 0x1400d6249
call fcn.140024740
mov dword [rsp + 0x40], ebx
lea rcx, str.Failed_to_open__ws__x
mov qword [rsp + 0x38], rbp
lea r15, str.MbCommonSigVerify
mov qword [rsp + 0x30], rcx
lea r8, str.d:jenkinsworkspace_n_mbcommon_srcmbcommon_fileverify.cpp
mov r10, qword [rax]
lea rdx, str.FindCertBy
mov qword [rsp + 0x28], r15
mov r9d, 0x5cb
mov rcx, rax
mov dword [rsp + 0x20], 5
call qword [r10 + 0x20]
mov eax, edi
mov r12, qword [rsp + 0x8c0]
mov rbx, qword [rsp + 0x908]
mov r15, qword [rsp + 0x8b0]
mov rcx, qword [rsp + 0x8a0]
xor rcx, rsp
call fcn.140282c10
add rsp, 0x8c8
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rdx, str.Blob
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x8b8], r13
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400d62ce
mov r9d, dword [rsp + 0x60]
lea rdx, [rsp + 0xa0]
mov r8d, r12d
cmp dword [rdx], 0x20
je 0x1400d62e8
mov eax, dword [rdx + 8]
lea rcx, [rsp + 0xa0]
add rdx, 0xc
add rcx, r9
add rdx, rax
cmp rdx, rcx
ja 0x1400d62ce
lea rax, [rsp + 0xa0]
cmp rdx, rax
jb 0x1400d62ce
inc r8d
cmp r8d, 0xf
jl 0x1400d6294
mov edi, 0xc000000d
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r13, qword [rsp + 0x8b8]
mov eax, edi
jmp 0x1400d6214
mov edi, dword [rdx + 8]
lea rbp, [rdx + 0xc]
test edi, edi
je 0x1400d62c9
lea rax, [rsp + 0xa0]
cmp rbp, rax
jb 0x1400d62c9
sub r9d, ebp
lea eax, [rsp + 0xa0]
add eax, r9d
cmp edi, eax
ja 0x1400d62c9
mov ecx, 0x80
call fcn.14029981c
mov r13, rax
test rax, rax
je 0x1400d672d
xor edx, edx
mov r8d, 0x80
mov rcx, rax
call fcn.140286140
mov ecx, 0x568
call fcn.14029981c
mov rbx, rax
test rax, rax
je 0x1400d671b
call fcn.140024740
mov qword [rsp + 0x38], rbx
lea rcx, str.Base_Certificate__p
mov qword [rsp + 0x30], rcx
lea r15, str.MbCommonSigVerify
mov qword [rsp + 0x28], r15
lea r8, str.d:jenkinsworkspace_n_mbcommon_srcmbcommon_fileverify.cpp
mov r10, qword [rax]
lea rdx, str.FindCertBy
mov r9d, 0x5f5
mov dword [rsp + 0x20], 5
mov rcx, rax
call qword [r10 + 0x20]
xor eax, eax
xor edx, edx
mov r8d, 0x568
mov qword [rsp + 0x70], rax
mov rcx, rbx
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rax
call fcn.140286140
lea rax, [rsp + 0x70]
mov dword [r13 + 0xc], edi
lea rdx, [0x1400db9c0]
mov qword [r13 + 0x40], rax
mov rcx, r13
mov qword [r13], rbp
mov dword [r13 + 8], edi
mov qword [r13 + 0x20], rbx
mov qword [r13 + 0x68], r12
mov qword [r13 + 0x70], r12
mov qword [r13 + 0x78], r12
call fcn.1400d95f0
mov edi, eax
call fcn.140024740
mov rcx, qword [rsp + 0x58]
lea r8, str.d:jenkinsworkspace_n_mbcommon_srcmbcommon_fileverify.cpp
mov dword [rsp + 0x40], edi
lea rdx, str.FindCertBy
mov qword [rsp + 0x38], rcx
mov r9d, 0x602
mov r10, qword [rax]
lea rcx, str.Parsed__ws____x
mov qword [rsp + 0x30], rcx
mov rcx, rax
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 5
call qword [r10 + 0x20]
test edi, edi
jne 0x1400d66df
mov eax, dword [rsp + 0x50]
cmp eax, 1
jne 0x1400d6554
mov rdx, qword [rsi + 0x2b0]
mov rcx, qword [rbx + 0x2e0]
call fcn.1400d9230
test al, al
je 0x1400d66df
mov rdx, qword [rsi + 0x288]
mov rcx, qword [rbx + 0x2b8]
call fcn.1400d9230
test al, al
je 0x1400d66df
mov rdx, qword [rsi + 0x290]
mov rcx, qword [rbx + 0x2c0]
call fcn.1400d9230
test al, al
je 0x1400d66df
mov rdx, qword [rsi + 0x298]
mov rcx, qword [rbx + 0x2c8]
call fcn.1400d9230
test al, al
je 0x1400d66df
mov rdx, qword [rsi + 0x2a0]
mov rcx, qword [rbx + 0x2d0]
call fcn.1400d9230
test al, al
je 0x1400d66df
mov rdx, qword [rsi + 0x2a8]
mov rcx, qword [rbx + 0x2d8]
call fcn.1400d9230
test al, al
je 0x1400d66df
call fcn.140024740
lea rcx, str.Found_Cert__
mov r9d, 0x60a
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], r15
mov rcx, rax
mov dword [rsp + 0x20], 3
call qword [r10 + 0x20]
mov rcx, r13
mov qword [r14], rbx
call fcn.14028eb9c
jmp 0x1400d62ce
cmp eax, 3
jne 0x1400d6616
mov rdx, qword [rsi + 0x2b0]
mov rcx, qword [rbx + 0x2e0]
call fcn.1400d9230
test al, al
je 0x1400d66df
mov rdx, qword [rsi + 0x288]
mov rcx, qword [rbx + 0x2b8]
call fcn.1400d9230
test al, al
je 0x1400d66df
mov rdx, qword [rsi + 0x290]
mov rcx, qword [rbx + 0x2c0]
call fcn.1400d9230
test al, al
je 0x1400d66df
mov rdx, qword [rsi + 0x298]
mov rcx, qword [rbx + 0x2c8]
call fcn.1400d9230
test al, al
je 0x1400d66df
mov rdx, qword [rsi + 0x2a0]
mov rcx, qword [rbx + 0x2d0]
call fcn.1400d9230
test al, al
je 0x1400d66df
mov rdx, qword [rsi + 0x2a8]
mov rcx, qword [rbx + 0x2d8]
call fcn.1400d9230
test al, al
je 0x1400d66df
call fcn.140024740
lea rcx, str.Found_intermediate_Cert__
mov r9d, 0x616
jmp 0x1400d651a
cmp eax, 2
jne 0x1400d66e4
movzx eax, word [rsi + 0x250]
lea rcx, [rbx + 0x252]
cmp ax, 3
jb 0x1400d66a0
call fcn.140024740
movzx ecx, byte [rbx + 0x254]
mov r9d, 0x625
movzx edx, byte [rbx + 0x253]
movzx r8d, byte [rbx + 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], r15
mov dword [rsp + 0x20], 5
call qword [r10 + 0x20]
movzx eax, word [rsi + 0x250]
lea rcx, [rbx + 0x252]
cmp word [rbx + 0x250], ax
jne 0x1400d66df
movzx r8d, ax
lea rdx, [rsi + 0x252]
movzx ebp, ax
call fcn.140285fc0
test eax, eax
jne 0x1400d66c3
mov r12d, ebp
cmp r12d, ebp
jne 0x1400d66df
call fcn.140024740
lea rcx, str.Found_Cert_by_serial__
mov r9d, 0x62c
jmp 0x1400d651a
mov edi, 0xc000000d
cmp qword [r14], rbx
je 0x1400d6702
test edi, edi
jne 0x1400d6706
mov rcx, rbx
call fcn.1400d9360
mov rcx, r13
call fcn.14028eb9c
jmp 0x1400d62ce
test edi, edi
je 0x1400d6720
mov rcx, rbx
call fcn.1400d9360
mov rcx, r13
call fcn.14028eb9c
jmp 0x1400d62ce
mov edi, 0xc000009a
mov rcx, r13
call fcn.14028eb9c
jmp 0x1400d62ce
mov edi, 0xc000009a
jmp 0x1400d62ce
mov eax, edi
jmp 0x1400d622c