Function at 0x14008c3d0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rsi, r9
mov rbx, r8
mov r15, rdx
lea rax, str.CEnrollmentSignatureRegistry::Get
mov qword [rsp + 0x30], rax
lea r14, [0x14031b830]
mov qword [rsp + 0x28], r14
xor edi, edi
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 3]
lea r8, [0x1404675c0]
lea edx, [rdi + 0x32]
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vista_sharedenrollmentsignatureregistry.cpp
call fcn.140039f30
mov r8, rbx
lea rdx, [rbp - 0x49]
call fcn.14008c2b0
nop
mov rdx, qword [rax]
mov qword [rbp - 1], rdi
mov qword [rbp + 7], 7
mov word [rbp - 0x11], di
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x14008c470
lea rcx, [rbp - 0x11]
call fcn.14003b160
nop
mov rdx, qword [rbp - 0x49]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008c4a9
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
cmp qword [rbp - 1], 0
jne 0x14008c4e8
lea rax, str.CEnrollmentSignatureRegistry::Get__No_Registry_Info
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
mov r9d, 3
lea r8, [0x1404675c0]
lea edx, [r9 + 0x35]
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vista_sharedenrollmentsignatureregistry.cpp
call fcn.140039f30
jmp 0x14008c6e9
lea r9, str.EnrollmentVersion
mov r8, r15
lea rdx, [rbp - 0x41]
call fcn.14008bcc0
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rdx, qword [rbp - 0x11]
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8, qword [rax]
mov rcx, 0xffffffff80000002
call fcn.140057230
mov dword [rsi], eax
mov rdx, qword [rbp - 0x41]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008c545
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
mov eax, dword [rsi]
cmp eax, 5
jne 0x14008c6ab
lea r12, [0x14031b7bc]
mov r9, r12
mov r8, r15
lea rdx, [rbp - 0x39]
call fcn.14008bcc0
mov r14, qword [rax]
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rdx, qword [rbp - 0x11]
mov qword [rbp - 0x21], rdi
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x14008c5d9
mov dword [rbp - 0x15], edi
mov dword [rbp - 0x19], 0x200
lea rax, [rsi + 4]
lea rdx, [rbp - 0x19]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x15]
xor r8d, r8d
mov rdx, r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rdx, qword [rbp - 0x39]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008c5fd
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
mov qword [rbp + 0xf], rdi
lea r9, str.EnrollmentDate
mov r8, r15
lea rdx, [rbp - 0x31]
call fcn.14008bcc0
nop
lea r8, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae r8, qword [rbp - 0x11]
mov qword [rsp + 0x20], r12
mov r9, qword [rax]
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0xf]
call fcn.140056fc0
nop
mov rdx, qword [rbp - 0x31]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008c660
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
mov rax, qword [rbp + 0xf]
movups xmm0, xmmword [rax]
movups xmmword [rsi + 0x204], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsi + 0x214], xmm1
movsd xmm0, qword [rax + 0x20]
movsd qword [rsi + 0x224], xmm0
lea rdx, [rax - 0x18]
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14008c6a4
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
mov eax, 1
jmp 0x14008c6e7
test eax, eax
je 0x14008c6e9
lea rax, str.CEnrollmentSignatureRegistry::Get__failed_incompatible_version
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
mov r9d, 3
lea r8, [0x1404675c0]
lea edx, [r9 + 0x4a]
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vista_sharedenrollmentsignatureregistry.cpp
call fcn.140039f30
mov eax, 2
mov edi, eax
lea rcx, [rbp - 0x11]
call fcn.14003b0f0
mov eax, edi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140202880
add rsp, 0xb0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret