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

Disassembly:
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x86f0
call fcn.14006a4c0
sub rsp, rax
mov qword [rsp + 0x2b8], 0xfffffffffffffffe
mov qword [rsp + 0x8728], rbx
mov qword [rsp + 0x8730], rsi
mov rax, qword [0x1400dc010]
xor rax, rsp
mov qword [rsp + 0x86e0], rax
mov r15, rcx
mov qword [rsp + 0xe0], rcx
mov byte [rsp + 0x60], 0
call fcn.14000d980
mov rcx, rax
test rax, rax
je 0x140063c7d
mov rax, qword [rax]
call qword [rax + 0x18]
mov qword [rsp + 0x2c0], rax
add rax, 0x18
mov qword [rsp + 0x68], rax
mov rdi, qword [r15]
mov qword [rsp + 0x168], rdi
xor r13d, r13d
mov ebx, r13d
mov qword [rsp + 0xc0], rbx
movzx ecx, word [rdi]
test cx, cx
je 0x1400632b3
mov word [rsp + 0x80], cx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_iswspace]
test eax, eax
je 0x14006329a
test rbx, rbx
jne 0x1400632a5
mov rbx, rdi
jmp 0x14006329d
mov rbx, r13
mov qword [rsp + 0xc0], rbx
add rdi, 2
mov qword [rsp + 0x168], rdi
jmp 0x140063276
test rbx, rbx
je 0x14006331b
mov rax, qword [r15]
mov qword [rsp + 0x230], rax
sub rbx, rax
sar rbx, 1
mov dword [rsp + 0xf8], ebx
test ebx, ebx
js 0x140063c88
mov ecx, 1
sub ecx, dword [rax - 8]
mov dword [rsp + 0xfc], ecx
mov eax, dword [rax - 0xc]
sub eax, ebx
mov dword [rsp + 0x100], eax
or eax, ecx
jge 0x140063301
mov edx, ebx
mov rcx, r15
call fcn.14000d100
mov rax, qword [r15]
cmp ebx, dword [rax - 0xc]
jg 0x140063c92
mov dword [rax - 0x10], ebx
movsxd rcx, ebx
mov rax, qword [r15]
mov word [rax + rcx*2], r13w
mov qword [rsp + 0x238], r15
mov rbx, qword [r15]
mov qword [rsp + 0xc8], rbx
nop
movzx ecx, word [rbx]
mov word [rsp + 0x88], cx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_iswspace]
test eax, eax
je 0x140063353
add rbx, 2
mov qword [rsp + 0xc8], rbx
jmp 0x140063330
mov r9, qword [r15]
mov qword [rsp + 0x240], r9
cmp rbx, r9
je 0x14006344c
mov qword [rsp + 0x248], r9
sub rbx, r9
sar rbx, 1
mov dword [rsp + 0x104], ebx
mov edx, dword [r9 - 0x10]
mov dword [rsp + 0x108], edx
test edx, edx
js 0x140063c9c
mov ecx, 1
sub ecx, dword [r9 - 8]
mov dword [rsp + 0x10c], ecx
mov eax, dword [r9 - 0xc]
sub eax, edx
mov dword [rsp + 0x110], eax
or eax, ecx
jge 0x1400633bb
mov rcx, r15
call fcn.14000d100
mov r9, qword [r15]
movsxd rax, ebx
lea rdx, [r9 + rax*2]
mov qword [rsp + 0xc8], rdx
mov ecx, dword [r9 - 0x10]
mov dword [rsp + 0x114], ecx
mov edi, ecx
sub edi, ebx
mov dword [rsp + 0x118], edi
mov dword [rsp + 0x11c], ecx
lea eax, [rdi + 1]
movsxd r8, eax
add r8, r8
mov qword [rsp + 0x250], r8
je 0x14006342a
test rdx, rdx
jne 0x140063410
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x16
jmp 0x140063cb2
lea eax, [rcx + 1]
movsxd rcx, eax
add rcx, rcx
cmp rcx, r8
jb 0x140063ca6
mov rcx, r9
call sub.VCRUNTIME140.dll_memmove
test edi, edi
js 0x140063cc2
mov rax, qword [r15]
cmp edi, dword [rax - 0xc]
jg 0x140063cc2
mov dword [rax - 0x10], edi
movsxd rcx, edi
mov rax, qword [r15]
mov word [rax + rcx*2], r13w
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
lea rcx, [rsp + 0xb8]
call fcn.14000c6f0
nop
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
mov rdx, qword [rsp + 0xb8]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140063589
lea rax, [rsp + 0x170]
mov qword [rsp + 0x258], rax
lea rax, [rsp + 0x178]
mov qword [rsp + 0x260], rax
lea rdx, [0x140099090]
lea rcx, [rsp + 0x170]
call fcn.14000c6f0
mov rbx, rax
lea rdx, str.CommonUtils_checkIfApplicationInstalled_enable_to_open_Registry_file
lea rcx, [rsp + 0x178]
call fcn.14000c6f0
nop
mov r14, 0xffffffffffffffff
mov r8d, r14d
mov rdx, rbx
mov rcx, rax
call fcn.14005c670
nop
mov rcx, qword [rsp + 0xb8]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x180], rcx
mov eax, r14d
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x140063526
mov rdx, qword [rsp + 0x180]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x68]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x188], rcx
mov eax, r14d
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x140063556
mov rdx, qword [rsp + 0x188]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rax, qword [r15]
sub rax, 0x18
mov qword [rsp + 0x190], rax
lock xadd dword [rax + 0x10], r14d
sub r14d, 1
jg 0x140063582
mov rdx, qword [rsp + 0x190]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor al, al
jmp 0x140063c50
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x4d0]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0xa0], 0x104
mov dword [rsp + 0x70], r13d
lea rdx, str.DisplayName
lea rcx, [rsp + 0xf0]
call fcn.14000c6f0
nop
lea rdx, str.Publisher
lea rcx, [rsp + 0x1d8]
call fcn.14000c6f0
nop
lea rax, [rsp + 0x198]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x120]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x124]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x128]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x12c]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x130]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x134]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x4d0]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [rsp + 0xa8], eax
test eax, eax
jne 0x140063ae8
mov eax, dword [rsp + 0x70]
mov r14, 0xffffffffffffffff
test eax, eax
je 0x140063a00
mov r12d, r13d
mov dword [rsp + 0xb0], r13d
nop dword [rax + rax]
cmp r12d, eax
jae 0x140063a00
mov dword [rsp + 0xa4], 0xff
lea rax, [rsp + 0x198]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0xa4]
lea r8, [rsp + 0x2d0]
mov edx, r12d
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
mov dword [rsp + 0xa8], eax
test eax, eax
jne 0x140063a7a
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rsp + 0x2d0]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140063730
inc r12d
mov dword [rsp + 0xb0], r12d
mov eax, dword [rsp + 0x70]
jmp 0x140063690
mov dword [rsp + 0xac], 0x7ffe
lea rax, [rsp + 0xac]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x6e0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x138]
xor r8d, r8d
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
mov dword [rsp + 0x13c], eax
lea rax, [rsp + 0x6e0]
mov rcx, r14
nop word [rax + rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x140063790
mov r8d, ecx
lea rdx, [rsp + 0x6e0]
lea rcx, [rsp + 0x68]
call fcn.14000d160
test edi, edi
jne 0x140063a10
mov rbx, qword [rsp + 0x68]
mov rsi, rbx
mov qword [rsp + 0x1a0], rbx
mov rdi, r13
mov qword [rsp + 0xd0], r13
movzx ecx, word [rsi]
test cx, cx
je 0x14006381c
mov word [rsp + 0x90], cx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_iswspace]
test eax, eax
je 0x1400637fe
test rdi, rdi
jne 0x140063809
mov rdi, rsi
mov qword [rsp + 0xd0], rsi
jmp 0x140063809
mov rdi, r13
mov qword [rsp + 0xd0], r13
add rsi, 2
mov qword [rsp + 0x1a0], rsi
mov rbx, qword [rsp + 0x68]
jmp 0x1400637d2
test rdi, rdi
je 0x140063890
sub rdi, rbx
sar rdi, 1
mov dword [rsp + 0x140], edi
test edi, edi
js 0x140063ccd
lea rax, [rbx - 0x18]
mov qword [rsp + 0x268], rax
mov ecx, 1
sub ecx, dword [rax + 0x10]
mov dword [rsp + 0x144], ecx
mov eax, dword [rax + 0xc]
sub eax, edi
mov dword [rsp + 0x148], eax
or eax, ecx
jge 0x140063872
mov edx, edi
lea rcx, [rsp + 0x68]
call fcn.14000d100
mov rbx, qword [rsp + 0x68]
cmp edi, dword [rbx - 0xc]
jg 0x140063cd7
mov dword [rbx - 0x10], edi
movsxd rcx, edi
mov rax, qword [rsp + 0x68]
mov word [rax + rcx*2], r13w
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0xd8], rbx
nop dword [rax + rax]
movzx ecx, word [rbx]
mov word [rsp + 0x98], cx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_iswspace]
test eax, eax
je 0x1400638c3
add rbx, 2
mov qword [rsp + 0xd8], rbx
jmp 0x1400638a0
mov rax, qword [rsp + 0x68]
cmp rbx, rax
je 0x1400639ca
sub rbx, rax
sar rbx, 1
mov dword [rsp + 0x14c], ebx
mov edx, dword [rax - 0x10]
mov dword [rsp + 0x150], edx
test edx, edx
js 0x140063ce1
lea rcx, [rax - 0x18]
mov qword [rsp + 0x270], rcx
mov r8d, 1
sub r8d, dword [rcx + 0x10]
mov dword [rsp + 0x154], r8d
mov ecx, dword [rcx + 0xc]
sub ecx, edx
mov dword [rsp + 0x158], ecx
or ecx, r8d
jge 0x14006392e
lea rcx, [rsp + 0x68]
call fcn.14000d100
mov rax, qword [rsp + 0x68]
movsxd rcx, ebx
lea r9, [rax + rcx*2]
mov qword [rsp + 0xd8], r9
mov edx, dword [rax - 0x10]
mov dword [rsp + 0x164], edx
mov edi, edx
sub edi, ebx
mov dword [rsp + 0x15c], edi
mov dword [rsp + 0x160], edx
lea ecx, [rdi + 1]
movsxd r8, ecx
add r8, r8
mov qword [rsp + 0x278], r8
je 0x1400639a4
test r9, r9
jne 0x140063982
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x16
jmp 0x140063cf7
lea ecx, [rdx + 1]
movsxd rdx, ecx
add rdx, rdx
cmp rdx, r8
jb 0x140063ceb
mov rdx, r9
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [rsp + 0x68]
test edi, edi
js 0x140063d11
cmp edi, dword [rax - 0xc]
jg 0x140063d11
mov dword [rax - 0x10], edi
movsxd rcx, edi
mov rax, qword [rsp + 0x68]
mov word [rax + rcx*2], r13w
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x140063d07
mov rcx, qword [r15]
mov qword [rsp + 0x280], rcx
sub rax, rcx
movzx r8d, word [rcx]
movzx edx, word [rcx + rax]
sub r8d, edx
jne 0x1400639f6
add rcx, 2
test edx, edx
jne 0x1400639e1
test r8d, r8d
jne 0x140063a6a
mov byte [rsp + 0x60], 1
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140063b55
lea rax, [rsp + 0x1a8]
mov qword [rsp + 0x288], rax
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x290], rax
lea rdx, [0x140098d49]
lea rcx, [rsp + 0x1a8]
call fcn.14000c6f0
mov rbx, rax
lea rdx, str.Error_in_Display_key
lea rcx, [rsp + 0x1b0]
call fcn.14000c6f0
nop
mov r8d, edi
mov rdx, rbx
mov rcx, rax
call fcn.14005c670
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140063ad4
lea rax, [rsp + 0x1b8]
mov qword [rsp + 0x298], rax
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0x2a0], rax
lea rdx, [0x140098d49]
lea rcx, [rsp + 0x1b8]
call fcn.14000c6f0
mov rbx, rax
lea rdx, str.Error_in_Enumeration_the_subkeys_retCode
lea rcx, [rsp + 0x1c0]
call fcn.14000c6f0
nop
mov r8d, edi
mov rdx, rbx
mov rcx, rax
call fcn.14005c670
inc r12d
mov dword [rsp + 0xb0], r12d
mov eax, dword [rsp + 0x70]
jmp 0x140063690
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x1c8]
mov qword [rsp + 0x2a8], rax
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x2b0], rax
lea rdx, [0x140099090]
lea rcx, [rsp + 0x1c8]
call fcn.14000c6f0
mov rbx, rax
lea rdx, str.Utils_checkIfApplicationInstalled_enable_to_open_Registry_file
lea rcx, [rsp + 0x1d0]
call fcn.14000c6f0
nop
mov r14, 0xffffffffffffffff
mov r8d, r14d
mov rdx, rbx
mov rcx, rax
call fcn.14005c670
nop
mov rcx, qword [rsp + 0x1d8]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x1e0], rcx
mov eax, r14d
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x140063b88
mov rdx, qword [rsp + 0x1e0]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0xf0]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x1e8], rcx
mov eax, r14d
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x140063bbb
mov rdx, qword [rsp + 0x1e8]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0xb8]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x1f0], rcx
mov eax, r14d
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x140063bee
mov rdx, qword [rsp + 0x1f0]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x68]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x1f8], rcx
mov eax, r14d
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x140063c1e
mov rdx, qword [rsp + 0x1f8]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x140063c2f
mov rdx, qword [r15]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], r14d
sub r14d, 1
jg 0x140063c4b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
movzx eax, byte [rsp + 0x60]
mov rcx, qword [rsp + 0x86e0]
xor rcx, rsp
call fcn.1400691f0
lea r11, [rsp + 0x86f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov ecx, 0x80004005
call fcn.14000dd90
nop
mov ecx, 0x80070057
call fcn.14000dd90
mov ecx, 0x80070057
call fcn.14000dd90
mov ecx, 0x80070057
call fcn.14000dd90
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
mov ecx, 0x80070057
call fcn.14000dd90
mov ecx, 0x80070057
call fcn.14000dd90
nop
mov ecx, 0x80070057
call fcn.14000dd90
mov ecx, 0x80070057
call fcn.14000dd90
mov ecx, 0x80070057
call fcn.14000dd90
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
mov ecx, 0x80070057
call fcn.14000dd90
mov ecx, 0x80004005
call fcn.14000dd90
mov ecx, 0x80070057
call fcn.14000dd90
int3