Function at 0x140069410
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], rsi
push rbp
push r14
push r15
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x140193440]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov esi, edx
mov byte [rbp + 0xd0], 0
mov r14, rcx
xor edx, edx
lea rcx, [rbp + 0xd1]
mov r8d, 0x103
call fcn.140136540
lea rax, [rsp + 0x70]
xor r15d, r15d
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x64], r15d
lea rdx, str.SOFTWAREMicrosoftWIMMountMounted_Images
mov dword [rsp + 0x60], r15d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140069499
xor eax, eax
jmp 0x1400696c7
mov rcx, qword [rsp + 0x70]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x58], rax
lea r8, [rsp + 0x68]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x318], rbx
mov qword [rsp + 0x50], rax
lea rdx, [rbp + 0xd0]
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x320], rdi
mov qword [rsp + 0x48], rax
xor r9d, r9d
lea rax, [rbp - 0x80]
mov dword [rsp + 0x68], 0x104
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x74]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov ebx, r15d
lea rdi, [0x1401e5970]
cmp dword [rsp + 0x60], ebx
jbe 0x140069697
nop word [rax + rax]
mov rcx, qword [rsp + 0x70]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x64]
mov qword [rsp + 0x30], r15
lea r8, [rbp - 0x68]
mov qword [rsp + 0x28], r15
mov edx, ebx
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x64], 0x28
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x140069683
lea rax, [rbp - 0x68]
mov edx, 0x104
lea r9, str.SOFTWAREMicrosoftWIMMountMounted_Images_sWIM_Path
mov qword [rsp + 0x20], rax
mov r8, 0xffffffffffffffff
lea rcx, [rbp - 0x40]
call fcn.140004fd0
mov r9, rdi
mov byte [rbp + 0xc3], r15b
mov r8d, 1
mov dword [rsp + 0x20], 0x104
lea rdx, [rbp - 0x40]
mov rcx, 0xffffffff80000002
call fcn.140067930
test eax, eax
je 0x1400695d2
mov rdx, r14
mov rcx, rdi
call fcn.140107d64
test eax, eax
jne 0x140069683
lea rax, [rbp - 0x68]
mov edx, 0x104
lea r9, str.SOFTWAREMicrosoftWIMMountMounted_Images_sImage_Index
mov qword [rsp + 0x20], rax
mov r8, 0xffffffffffffffff
lea rcx, [rbp - 0x40]
call fcn.140004fd0
lea r9, [rsp + 0x6c]
mov byte [rbp + 0xc3], r15b
mov r8d, 4
mov dword [rsp + 0x20], 4
lea rdx, [rbp - 0x40]
mov rcx, 0xffffffff80000002
call fcn.140067930
test eax, eax
je 0x14006962b
cmp dword [rsp + 0x6c], esi
jne 0x140069683
lea rax, [rbp - 0x68]
mov byte [0x1401e5970], r15b
lea r9, str.SOFTWAREMicrosoftWIMMountMounted_Images_sMount_Path
mov qword [rsp + 0x20], rax
mov edx, 0x104
lea rcx, [rbp - 0x40]
mov r8, 0xffffffffffffffff
call fcn.140004fd0
mov r9, rdi
mov byte [rbp + 0xc3], r15b
mov r8d, 1
mov dword [rsp + 0x20], 0x104
lea rdx, [rbp - 0x40]
mov rcx, 0xffffffff80000002
call fcn.140067930
test eax, eax
jne 0x140069691
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x140069530
jmp 0x140069697
cmp ebx, dword [rsp + 0x60]
jb 0x14006969e
mov byte [0x1401e5970], r15b
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [0x1401e5970], r15b
mov rbx, qword [rsp + 0x318]
cmove rdi, r15
mov rax, rdi
mov rdi, qword [rsp + 0x320]
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.1400b2a30
mov rsi, qword [rsp + 0x328]
add rsp, 0x2f0
pop r15
pop r14
pop rbp
ret