Function at 0x14002a2b0
Capabilities:
Get installed programs
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x690
mov rax, qword [0x1400d2478]
xor rax, rsp
mov qword [rsp + 0x680], rax
mov rbx, rcx
lea rcx, [rsp + 0x72]
xor esi, esi
xor edx, edx
mov r8d, 0x40e
mov word [rsp + 0x70], si
call fcn.1400719a0
lea rdx, [rsp + 0x60]
test rdx, rdx
je 0x14002a3ec
lea rax, [rsp + 0x58]
lea rdx, str.SOFTWAREPanda_SoftwareSetup
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002a3ec
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
lea rdx, str.Codigo
xor r8d, r8d
mov dword [rsp + 0x50], 0x410
mov dword [rsp + 0x60], 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x60]
mov edi, eax
test eax, eax
jne 0x14002a39c
cmp edx, 0x410
jbe 0x14002a388
mov edi, 0xea
jmp 0x14002a39c
cmp ecx, 1
je 0x14002a39c
cmp ecx, 2
je 0x14002a39c
cmp ecx, 7
je 0x14002a3a5
mov edi, 0x545
cmp ecx, 7
jne 0x14002a3d9
test edi, edi
jne 0x14002a3d9
test edx, edx
je 0x14002a3d9
shr edx, 1
mov edi, 0x545
mov ecx, esi
mov dword [rsp + 0x50], edx
dec edx
je 0x14002a3d9
lea rax, [rsp + 0x70]
nop
cmp si, word [rax]
jne 0x14002a3cb
cmp si, word [rax + 2]
je 0x14002a3d7
inc ecx
add rax, 2
cmp ecx, edx
jb 0x14002a3c0
jmp 0x14002a3d9
mov edi, esi
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x14002a4ec
lea rax, [rsp + 0x60]
test rax, rax
je 0x14002a6cf
lea rax, [rsp + 0x58]
lea rdx, str.SOFTWAREPanda_SoftwareSetup
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002a6cf
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
lea rdx, str.ProductCodeMSI
xor r8d, r8d
mov dword [rsp + 0x50], 0x410
mov dword [rsp + 0x60], 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x60]
mov edi, eax
test eax, eax
jne 0x14002a498
cmp edx, 0x410
jbe 0x14002a484
mov edi, 0xea
jmp 0x14002a498
cmp ecx, 1
je 0x14002a498
cmp ecx, 2
je 0x14002a498
cmp ecx, 7
je 0x14002a4a1
mov edi, 0x545
cmp ecx, 7
jne 0x14002a4d9
test edi, edi
jne 0x14002a4d9
test edx, edx
je 0x14002a4d9
shr edx, 1
mov edi, 0x545
mov ecx, esi
mov dword [rsp + 0x50], edx
dec edx
je 0x14002a4d9
lea rax, [rsp + 0x70]
nop dword [rax + rax]
cmp si, word [rax]
jne 0x14002a4cb
cmp si, word [rax + 2]
je 0x14002a4d7
inc ecx
add rax, 2
cmp ecx, edx
jb 0x14002a4c0
jmp 0x14002a4d9
mov edi, esi
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x14002a6cf
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionUninstall
mov r8d, 0x33
mov rcx, rbx
call fcn.140001870
lea rdx, [0x1400ad338]
mov rcx, rbx
call fcn.140011dd0
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x70]
lea rdx, [rsp + 0x70]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, rbx
call fcn.14000a130
cmp qword [rbx + 0x20], 8
jb 0x14002a53f
mov rdx, qword [rbx + 8]
jmp 0x14002a543
lea rdx, [rbx + 8]
lea rax, [rsp + 0x60]
test rax, rax
je 0x14002a6cf
lea rax, [rsp + 0x58]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002a6cf
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
lea rdx, str.LogFile
xor r8d, r8d
mov dword [rsp + 0x50], 0x410
mov dword [rsp + 0x60], 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [rsp + 0x50]
mov edi, eax
mov eax, dword [rsp + 0x60]
test edi, edi
jne 0x14002a5e8
cmp edx, 0x410
jbe 0x14002a5d4
mov edi, 0xea
jmp 0x14002a5e8
cmp eax, 1
je 0x14002a5e8
cmp eax, 2
je 0x14002a5e8
cmp eax, 7
je 0x14002a5f1
mov edi, 0x545
cmp eax, 7
jne 0x14002a629
test edi, edi
jne 0x14002a629
test edx, edx
je 0x14002a629
shr edx, 1
mov edi, 0x545
mov ecx, esi
mov dword [rsp + 0x50], edx
dec edx
je 0x14002a629
lea rax, [rsp + 0x70]
nop dword [rax + rax]
cmp si, word [rax]
jne 0x14002a61b
cmp si, word [rax + 2]
je 0x14002a627
inc ecx
add rax, 2
cmp ecx, edx
jb 0x14002a610
jmp 0x14002a629
mov edi, esi
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x14002a6cf
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
lea r9, [rsp + 0x480]
lea r8d, [rdi + 3]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], 0x100
call fcn.140064fb8
lea r9, [rsp + 0x480]
lea r8, [rsp + 0x60]
lea rcx, [rsp + 0x70]
mov edx, 0x208
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call fcn.140066450
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x70]
lea rdx, [rsp + 0x70]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, rbx
call fcn.140001870
lea rdx, [0x1400ad338]
mov rcx, rbx
call fcn.140011dd0
mov al, 1
jmp 0x14002a6e3
lea rdx, [0x1400ad318]
xor r8d, r8d
mov rcx, rbx
call fcn.140001870
xor al, al
mov rcx, qword [rsp + 0x680]
xor rcx, rsp
call fcn.140064b70
lea r11, [rsp + 0x690]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret