Function at 0x1400178c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
mov eax, 0x20670
call fcn.140030eb0
sub rsp, rax
xor edi, edi
lea rax, [0x140096098]
mov ecx, 0x800
mov qword [0x1400bdb58], rax
lea rax, [0x140096098]
mov byte [0x1400bdb30], 0
mov byte [0x1400bdb31], 0
mov byte [0x1400bdb32], 0
mov qword [0x1400bdb38], rdi
mov qword [0x1400bdb78], rax
mov qword [0x1400bdb40], rdi
mov dword [0x1400bdb48], edi
mov qword [0x1400bdb50], rdi
mov qword [0x1400bdb60], rdi
mov qword [0x1400bdb68], rdi
mov qword [0x1400bdb70], rdi
mov qword [0x1400bdb80], rdi
mov qword [0x1400bdb88], rdi
mov qword [0x1400bdb90], rdi
mov dword [0x1400bdba0], edi
mov qword [0x1400bdba8], rdi
call fcn.140017e24
lea rdx, [rsp + 0x30]
mov r8d, 0x104
xor ecx, ecx
mov qword [0x1400bdb98], 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.1400198fc
lea rdx, str.Include
lea rcx, [rsp + 0x240]
mov r8d, 0x104
call fcn.14001998c
lea r8, [rsp + 0x240]
lea rdx, [rsp + 0x450]
lea rcx, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
call fcn.1400199cc
mov ecx, 0x20a
call fcn.140017e24
mov edx, dword [0x1400bdba0]
mov rcx, qword [0x1400bdb98]
mov qword [rcx + rdx*8], rax
mov edx, dword [0x1400bdba0]
mov rax, qword [0x1400bdb98]
mov rcx, qword [rax + rdx*8]
inc edx
mov dword [0x1400bdba0], edx
lea rdx, [rsp + 0x30]
call fcn.140018140
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 0x140017a98
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 0x140031da0
mov rcx, qword [rsp + 0x20690]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [0x1400bdb30]
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 0x140031e0e
cmp ax, 0x3b
je 0x140031e0e
lea rdx, [rsp + 0x20688]
lea rcx, [rsp + 0x30]
call fcn.140018114
add rbx, 2
jmp 0x140031dd8
lea rcx, [rsp + 0x30]
call fcn.140018b4c
test rax, rax
je 0x140031e40
lea rcx, [rsp + 0x30]
call fcn.140018b4c
cmp word [rsp + rax*2 + 0x2e], 0x5c
je 0x140031e40
lea rdx, [0x140095c9c]
lea rcx, [rsp + 0x30]
call fcn.140018114
mov ecx, 0x20a
call fcn.140017e24
mov edx, dword [0x1400bdba0]
mov rcx, qword [0x1400bdb98]
mov qword [rcx + rdx*8], rax
mov edx, dword [0x1400bdba0]
mov rax, qword [0x1400bdb98]
mov rcx, qword [rax + rdx*8]
inc edx
mov r8d, 0x104
mov dword [0x1400bdba0], edx
lea rdx, [rsp + 0x30]
call fcn.140018b68
mov word [rsp + 0x30], di
cmp word [rbx], di
jne 0x140031e08
mov rbx, qword [rsp + 0x20698]
jmp 0x140017a8a