Function at 0x180004400
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x180062020]
xor rax, rsp
mov qword [rbp + 0x70], rax
movzx r13d, r9b
mov r12, r8
mov rsi, rdx
mov ebx, 0x1f
cmp qword [rdx + 0x10], 0
je 0x1800047ae
xor edi, edi
mov qword [rbp - 0x40], rdi
cmp qword [rdx + 0x18], 8
jb 0x180004454
mov rdx, qword [rdx]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x109
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
je 0x1800044b3
mov rcx, qword [0x180064be8]
cmp dword [rcx], edi
je 0x1800047ae
cmp qword [rsi + 0x18], 8
jb 0x180004492
mov rsi, qword [rsi]
mov dword [rsp + 0x20], eax
mov r9, rsi
lea r8, str.Opening_registry_key__s_failed_with_error__d
lea rdx, str._OEMUninstall__::_CInstalledProducts::_GetUninstallKeys____
xor ecx, ecx
call fcn.180002d40
jmp 0x1800047ae
lea rax, [rbp - 0x40]
mov qword [rbp - 0x68], rax
mov byte [rbp - 0x60], 1
mov dword [rbp - 0x30], edi
mov dword [rbp - 0x48], edi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov ebx, eax
test eax, eax
je 0x180004548
mov rax, qword [0x180064be8]
cmp dword [rax], 0
je 0x18000479f
cmp qword [rsi + 0x18], 8
jb 0x180004527
mov rsi, qword [rsi]
mov dword [rsp + 0x20], ebx
mov r9, rsi
lea r8, str.Querying_info_for_registry_key__s_failed_with_error__d
lea rdx, str._OEMUninstall__::_CInstalledProducts::_GetUninstallKeys____
xor ecx, ecx
call fcn.180002d40
jmp 0x18000479f
mov ecx, dword [rbp - 0x48]
inc ecx
mov r15d, 2
mov eax, r15d
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.180018e28
mov rcx, rax
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x38]
mov qword [rbp - 0x58], rax
mov byte [rbp - 0x50], 1
mov r14d, edi
cmp dword [rbp - 0x30], edi
jle 0x180004797
movabs rbx, 0x1af286bca1af286
nop word [rax + rax]
mov eax, dword [rbp - 0x48]
inc eax
mov dword [rbp - 0x2c], eax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x2c]
mov r8, rcx
mov edx, r14d
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x18000460f
mov rcx, qword [0x180064be8]
cmp dword [rcx], 0
je 0x180004786
mov r9, rsi
cmp qword [rsi + 0x18], 8
jb 0x1800045f1
mov r9, qword [rsi]
mov dword [rsp + 0x20], eax
lea r8, str.Enumkey_for_registry_key__s_failed_with_error__d
lea rdx, str._OEMUninstall__::_CInstalledProducts::_GetUninstallKeys____
xor ecx, ecx
call fcn.180002d40
jmp 0x180004786
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movaps xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], rax
movd eax, xmm0
test r13b, r13b
cmovne eax, r15d
mov dword [rbp + 0x40], eax
mov qword [rsp + 0x70], rdi
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], 7
mov rdx, qword [rbp - 0x38]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x180004662
lea rcx, [rsp + 0x70]
call fcn.180008000
mov rdx, qword [rbp + 0x60]
cmp rdx, 8
jb 0x1800046b7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800046b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800047d7
call fcn.180018490
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rbp + 0x48], xmm0
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [rbp + 0x58], xmm1
lea r8, [rbp - 0x20]
mov rdx, qword [rbp - 0x40]
call fcn.180003780
test eax, eax
jne 0x18000477d
mov r15, qword [r12]
cmp qword [r12 + 8], rbx
je 0x1800047dd
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], rdi
mov ecx, 0x98
call fcn.18001899c
mov rdi, rax
mov qword [rsp + 0x68], rax
lea rbx, [rax + 0x10]
mov qword [rbp - 0x70], rbx
lea rdx, [rbp - 0x20]
mov rcx, rbx
call fcn.180007d10
nop
lea rcx, [rbx + 0x20]
lea rdx, [rbp]
call fcn.180007d10
nop
lea rcx, [rbx + 0x40]
lea rdx, [rbp + 0x20]
call fcn.180007d10
nop
mov eax, dword [rbp + 0x40]
mov dword [rbx + 0x60], eax
lea rcx, [rbx + 0x68]
lea rdx, [rbp + 0x48]
call fcn.180007d10
nop
inc qword [r12 + 8]
mov rax, qword [r15 + 8]
mov qword [rdi], r15
mov qword [rdi + 8], rax
mov qword [rsp + 0x68], 0
mov qword [r15 + 8], rdi
mov qword [rax], rdi
xor edi, edi
movabs rbx, 0x1af286bca1af286
lea r15d, [rdi + 2]
lea rcx, [rbp - 0x20]
call fcn.1800047f0
inc r14d
mov rcx, qword [rbp - 0x38]
cmp r14d, dword [rbp - 0x30]
jl 0x1800045a0
mov ebx, edi
call fcn.180018490
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1800047ae
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.180018470
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180029184
nop
lea rcx, str.list_too_long
call fcn.180017774
int3