Function at 0x1400178a0
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
mov eax, 0x20670
call fcn.140030df0
sub rsp, rax
xor edi, edi
lea rax, [0x140097088]
mov ecx, 0x800
mov qword [0x1400bfb58], rax
lea rax, [0x140097088]
mov byte [0x1400bfb30], 0
mov byte [0x1400bfb31], 0
mov byte [0x1400bfb32], 0
mov qword [0x1400bfb38], rdi
mov qword [0x1400bfb78], rax
mov qword [0x1400bfb40], rdi
mov dword [0x1400bfb48], edi
mov qword [0x1400bfb50], rdi
mov qword [0x1400bfb60], rdi
mov qword [0x1400bfb68], rdi
mov qword [0x1400bfb70], rdi
mov qword [0x1400bfb80], rdi
mov qword [0x1400bfb88], rdi
mov qword [0x1400bfb90], rdi
mov dword [0x1400bfba0], edi
mov qword [0x1400bfba8], rdi
call fcn.140017e04
lea rdx, [rsp + 0x30]
mov r8d, 0x104
xor ecx, ecx
mov qword [0x1400bfb98], rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea r8, [rsp + 0x240]
lea rdx, [rsp + 0x450]
lea rcx, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
call fcn.1400198dc
lea rdx, str.Include
lea rcx, [rsp + 0x240]
mov r8d, 0x104
call fcn.14001996c
lea r8, [rsp + 0x240]
lea rdx, [rsp + 0x450]
lea rcx, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
call fcn.1400199ac
mov ecx, 0x20a
call fcn.140017e04
mov edx, dword [0x1400bfba0]
mov rcx, qword [0x1400bfb98]
mov qword [rcx + rdx*8], rax
mov edx, dword [0x1400bfba0]
mov rax, qword [0x1400bfb98]
mov rcx, qword [rax + rdx*8]
inc edx
mov dword [0x1400bfba0], edx
lea rdx, [rsp + 0x30]
call fcn.140018120
lea r11, [rsp + 0x20690]
lea rdx, str.SoftwareAutoIt_v3AutoIt
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140017a78
mov rcx, qword [rsp + 0x20690]
lea rax, [rsp + 0x20680]
lea rdx, str.Include
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x660]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20680], 0x1fffe
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140031d00
mov rcx, qword [rsp + 0x20690]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [0x1400bfb30]
add rsp, 0x20670
pop rdi
ret
mov ecx, dword [rsp + 0x20680]
mov qword [rsp + 0x20698], rbx
mov word [rsp + 0x30], di
shr ecx, 1
lea rbx, [rsp + 0x660]
lea eax, [rcx + 1]
mov word [rsp + rcx*2 + 0x660], di
mov dword [rsp + 0x20680], ecx
mov word [rsp + rax*2 + 0x660], di
movzx eax, word [rbx]
mov word [rsp + 0x2068a], di
mov word [rsp + 0x20688], ax
test ax, ax
je 0x140031d6e
cmp ax, 0x3b
je 0x140031d6e
lea rdx, [rsp + 0x20688]
lea rcx, [rsp + 0x30]
call fcn.1400180f4
add rbx, 2
jmp 0x140031d38
lea rcx, [rsp + 0x30]
call fcn.140018b2c
test rax, rax
je 0x140031da0
lea rcx, [rsp + 0x30]
call fcn.140018b2c
cmp word [rsp + rax*2 + 0x2e], 0x5c
je 0x140031da0
lea rdx, [0x140096c8c]
lea rcx, [rsp + 0x30]
call fcn.1400180f4
mov ecx, 0x20a
call fcn.140017e04
mov edx, dword [0x1400bfba0]
mov rcx, qword [0x1400bfb98]
mov qword [rcx + rdx*8], rax
mov edx, dword [0x1400bfba0]
mov rax, qword [0x1400bfb98]
mov rcx, qword [rax + rdx*8]
inc edx
mov r8d, 0x104
mov dword [0x1400bfba0], edx
lea rdx, [rsp + 0x30]
call fcn.140018b48
mov word [rsp + 0x30], di
cmp word [rbx], di
jne 0x140031d68
mov rbx, qword [rsp + 0x20698]
jmp 0x140017a6a