Function at 0x1400f1d10
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rdi
push r13
push r15
sub rsp, 0xb0
mov rax, qword [0x1404953c0]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov r15, qword [rsp + 0x100]
mov rbp, r9
mov dword [rsp + 0x50], edx
mov rdi, r8
mov dword [rsp + 0x54], 0x800
mov r13, rcx
mov ebx, 0xc000000d
test r9, r9
jne 0x1400f1d5f
mov eax, ebx
jmp 0x1400f1f36
mov ecx, 0x800
mov qword [rsp + 0xe8], rsi
call fcn.1402d33e8
mov rsi, rax
test rax, rax
jne 0x1400f1d83
mov eax, 0xc000009a
jmp 0x1400f1f2e
mov qword [rsp + 0xa0], r14
call fcn.14001d6f0
mov qword [rsp + 0x38], r13
lea rcx, str.SearchForCert_Looking_in__ws
mov qword [rsp + 0x30], rcx
lea r14, str.MbCommonSigVerify
mov qword [rsp + 0x28], r14
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonFileVerify.cpp
mov r10, qword [rax]
lea rdx, str.SearchForCert
mov r9d, 0x6bd
mov dword [rsp + 0x20], 5
mov rcx, rax
call qword [r10 + 0x20]
lea rax, [rsp + 0x58]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r13
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400f1e48
call fcn.14001d6f0
mov dword [rsp + 0x40], ebx
lea rcx, str.Failed_to_open__ws____x
mov qword [rsp + 0x38], r13
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonFileVerify.cpp
mov qword [rsp + 0x30], rcx
lea rdx, str.SearchForCert
mov r10, qword [rax]
mov r9d, 0x6c3
mov qword [rsp + 0x28], r14
mov rcx, rax
mov dword [rsp + 0x20], 5
call qword [r10 + 0x20]
mov rcx, rsi
call fcn.1402c5d84
jmp 0x1400f1f24
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
lea rdx, str.Blob
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 0xea
jne 0x1400f1ec6
mov rcx, rsi
call fcn.1402c5d84
mov ecx, dword [rsp + 0x54]
call fcn.1402d33e8
mov rcx, qword [rsp + 0x58]
mov rsi, rax
test rax, rax
jne 0x1400f1ea4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xc000009a
jmp 0x1400f1f26
lea rax, [rsp + 0x54]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, str.Blob
xor r8d, r8d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400f1f11
mov r8d, dword [rsp + 0x54]
mov rcx, rsi
xor edx, edx
mov qword [rsp + 0xa8], r12
nop dword [rax]
cmp dword [rcx], 0x20
je 0x1400f1f55
mov eax, dword [rcx + 8]
add rax, 0xc
add rcx, rax
lea rax, [rsi + r8]
cmp rcx, rax
ja 0x1400f1f09
cmp rcx, rsi
jb 0x1400f1f09
inc edx
cmp edx, 0xf
jl 0x1400f1ee0
mov ebx, 0xc000000d
mov r12, qword [rsp + 0xa8]
mov rcx, rsi
call fcn.1402c5d84
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov r14, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1402b5c00
add rsp, 0xb0
pop r15
pop r13
pop rdi
pop rbp
pop rbx
ret
mov r12d, dword [rcx + 8]
lea rbx, [rcx + 0xc]
test r12d, r12d
je 0x1400f1f04
cmp rbx, rsi
jb 0x1400f1f04
mov eax, esi
sub eax, ebx
add eax, r8d
cmp r12d, eax
ja 0x1400f1f04
mov ecx, 0x80
call fcn.1402d33e8
mov r14, rax
test rax, rax
je 0x1400f21dc
xorps xmm0, xmm0
mov ecx, 0x568
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
movups xmmword [rax + 0x70], xmm0
call fcn.1402d33e8
mov rdi, rax
test rax, rax
je 0x1400f21ca
call fcn.14001d6f0
mov qword [rsp + 0x38], rdi
lea rcx, str.Allocate_Search_Certificate__p
mov qword [rsp + 0x30], rcx
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonFileVerify.cpp
lea rcx, str.MbCommonSigVerify
mov r9d, 0x6fb
mov r10, qword [rax]
lea rdx, str.SearchForCert
mov qword [rsp + 0x28], rcx
mov rcx, rax
mov dword [rsp + 0x20], 5
call qword [r10 + 0x20]
xorps xmm0, xmm0
xor edx, edx
mov r8d, 0x568
mov rcx, rdi
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
call fcn.140306610
lea rax, [rsp + 0x60]
mov dword [r14 + 0xc], r12d
mov qword [r14 + 0x40], rax
mov qword [r14], rbx
mov dword [r14 + 8], r12d
mov qword [r14 + 0x20], rdi
call fcn.14001d6f0
mov qword [rsp + 0x38], r13
lea rcx, str.Parsing_cert_at__ws
mov qword [rsp + 0x30], rcx
lea r12, str.MbCommonSigVerify
mov qword [rsp + 0x28], r12
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonFileVerify.cpp
mov r10, qword [rax]
lea rdx, str.SearchForCert
mov r9d, 0x703
mov dword [rsp + 0x20], 5
mov rcx, rax
call qword [r10 + 0x20]
lea rdx, [0x1400f6f40]
mov rcx, r14
call fcn.1400f4a80
mov ebx, eax
call fcn.14001d6f0
mov dword [rsp + 0x38], ebx
lea rcx, str.Parser_returns__x
mov qword [rsp + 0x30], rcx
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonFileVerify.cpp
mov qword [rsp + 0x28], r12
lea rdx, str.SearchForCert
mov r10, qword [rax]
mov r9d, 0x705
mov rcx, rax
mov dword [rsp + 0x20], 5
call qword [r10 + 0x20]
mov eax, dword [rsp + 0x50]
cmp eax, 1
jne 0x1400f2143
mov rdx, rdi
lea rcx, str.Searching_for_Root:
call fcn.1400fe7f0
lea rcx, [rbp + 0x288]
lea rdx, [rdi + 0x2b8]
call fcn.1400f44a0
test al, al
je 0x1400f2129
lea rcx, [rdi + 0x288]
lea rdx, [rdi + 0x2b8]
call fcn.1400f44a0
test al, al
jne 0x1400f21b4
mov ebx, 0xc000000d
mov rcx, rdi
call fcn.1400f4800
mov rcx, r14
call fcn.1402c5d84
jmp 0x1400f1f09
cmp eax, 3
jne 0x1400f217c
test ebx, ebx
jne 0x1400f212e
lea rcx, [rbp + 0x288]
lea rdx, [rdi + 0x2b8]
call fcn.1400f44a0
test al, al
je 0x1400f2129
lea rcx, [rdi + 0x288]
lea rdx, [rdi + 0x2b8]
call fcn.1400f44a0
test al, al
je 0x1400f21b4
jmp 0x1400f2129
test ebx, ebx
jne 0x1400f2129
movzx eax, word [rbp + 0x250]
cmp word [rdi + 0x250], ax
jne 0x1400f2129
mov r8d, eax
lea rdx, [rbp + 0x252]
lea rcx, [rdi + 0x252]
mov ebx, eax
call fcn.140306510
test eax, eax
je 0x1400f21b4
test ebx, ebx
jne 0x1400f2129
test r15, r15
je 0x1400f21be
mov qword [r15], rdi
xor edi, edi
xor ebx, ebx
test rdi, rdi
je 0x1400f21cf
jmp 0x1400f212e
mov ebx, 0xc000009a
mov rcx, r14
call fcn.1402c5d84
jmp 0x1400f1f09
mov ebx, 0xc000009a
jmp 0x1400f1f09