Function at 0x1400495e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r14
sub rsp, 0x8c8
mov rax, qword [0x1402b9ae8]
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 0x140049be7
test r14, r14
je 0x140049be7
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 0x1400496f9
call fcn.140004b70
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.14018e2d0
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 0x14004977e
mov r9d, dword [rsp + 0x60]
lea rdx, [rsp + 0xa0]
mov r8d, r12d
cmp dword [rdx], 0x20
je 0x140049798
mov eax, dword [rdx + 8]
lea rcx, [rsp + 0xa0]
add rdx, 0xc
add rcx, r9
add rdx, rax
cmp rdx, rcx
ja 0x14004977e
lea rax, [rsp + 0xa0]
cmp rdx, rax
jb 0x14004977e
inc r8d
cmp r8d, 0xf
jl 0x140049744
mov edi, 0xc000000d
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r13, qword [rsp + 0x8b8]
mov eax, edi
jmp 0x1400496c4
mov edi, dword [rdx + 8]
lea rbp, [rdx + 0xc]
test edi, edi
je 0x140049779
lea rax, [rsp + 0xa0]
cmp rbp, rax
jb 0x140049779
sub r9d, ebp
lea eax, [rsp + 0xa0]
add eax, r9d
cmp edi, eax
ja 0x140049779
mov ecx, 0x80
call fcn.14019e5e8
mov r13, rax
test rax, rax
je 0x140049bdd
xor edx, edx
mov r8d, 0x80
mov rcx, rax
call fcn.140190db0
mov ecx, 0x568
call fcn.14019e5e8
mov rbx, rax
test rax, rax
je 0x140049bcb
call fcn.140004b70
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.140190db0
lea rax, [rsp + 0x70]
mov dword [r13 + 0xc], edi
lea rdx, [0x14004ee60]
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.14004ca90
mov edi, eax
call fcn.140004b70
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 0x140049b8f
mov eax, dword [rsp + 0x50]
cmp eax, 1
jne 0x140049a04
mov rdx, qword [rsi + 0x2b0]
mov rcx, qword [rbx + 0x2e0]
call fcn.14004c6d0
test al, al
je 0x140049b8f
mov rdx, qword [rsi + 0x288]
mov rcx, qword [rbx + 0x2b8]
call fcn.14004c6d0
test al, al
je 0x140049b8f
mov rdx, qword [rsi + 0x290]
mov rcx, qword [rbx + 0x2c0]
call fcn.14004c6d0
test al, al
je 0x140049b8f
mov rdx, qword [rsi + 0x298]
mov rcx, qword [rbx + 0x2c8]
call fcn.14004c6d0
test al, al
je 0x140049b8f
mov rdx, qword [rsi + 0x2a0]
mov rcx, qword [rbx + 0x2d0]
call fcn.14004c6d0
test al, al
je 0x140049b8f
mov rdx, qword [rsi + 0x2a8]
mov rcx, qword [rbx + 0x2d8]
call fcn.14004c6d0
test al, al
je 0x140049b8f
call fcn.140004b70
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.140199854
jmp 0x14004977e
cmp eax, 3
jne 0x140049ac6
mov rdx, qword [rsi + 0x2b0]
mov rcx, qword [rbx + 0x2e0]
call fcn.14004c6d0
test al, al
je 0x140049b8f
mov rdx, qword [rsi + 0x288]
mov rcx, qword [rbx + 0x2b8]
call fcn.14004c6d0
test al, al
je 0x140049b8f
mov rdx, qword [rsi + 0x290]
mov rcx, qword [rbx + 0x2c0]
call fcn.14004c6d0
test al, al
je 0x140049b8f
mov rdx, qword [rsi + 0x298]
mov rcx, qword [rbx + 0x2c8]
call fcn.14004c6d0
test al, al
je 0x140049b8f
mov rdx, qword [rsi + 0x2a0]
mov rcx, qword [rbx + 0x2d0]
call fcn.14004c6d0
test al, al
je 0x140049b8f
mov rdx, qword [rsi + 0x2a8]
mov rcx, qword [rbx + 0x2d8]
call fcn.14004c6d0
test al, al
je 0x140049b8f
call fcn.140004b70
lea rcx, str.Found_intermediate_Cert__
mov r9d, 0x616
jmp 0x1400499ca
cmp eax, 2
jne 0x140049b94
movzx eax, word [rsi + 0x250]
lea rcx, [rbx + 0x252]
cmp ax, 3
jb 0x140049b50
call fcn.140004b70
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 0x140049b8f
movzx r8d, ax
lea rdx, [rsi + 0x252]
movzx ebp, ax
call fcn.140190f50
test eax, eax
jne 0x140049b73
mov r12d, ebp
cmp r12d, ebp
jne 0x140049b8f
call fcn.140004b70
lea rcx, str.Found_Cert_by_serial__
mov r9d, 0x62c
jmp 0x1400499ca
mov edi, 0xc000000d
cmp qword [r14], rbx
je 0x140049bb2
test edi, edi
jne 0x140049bb6
mov rcx, rbx
call fcn.14004c800
mov rcx, r13
call fcn.140199854
jmp 0x14004977e
test edi, edi
je 0x140049bd0
mov rcx, rbx
call fcn.14004c800
mov rcx, r13
call fcn.140199854
jmp 0x14004977e
mov edi, 0xc000009a
mov rcx, r13
call fcn.140199854
jmp 0x14004977e
mov edi, 0xc000009a
jmp 0x14004977e
mov eax, edi
jmp 0x1400496dc