Function at 0x140018710
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
mov eax, 0x20670
call fcn.140031e20
sub rsp, rax
xor edi, edi
lea rax, [0x14009b1a0]
mov ecx, 0x800
mov qword [0x1400c3da0], rax
lea rax, [0x14009b1a0]
mov byte [0x1400c3d70], 0
mov byte [0x1400c3d71], 0
mov byte [0x1400c3d72], 0
mov byte [0x1400c3d73], 0
mov qword [0x1400c3dc0], rax
mov qword [0x1400c3d78], rdx
mov qword [0x1400c3d80], rdi
mov qword [0x1400c3d88], rdi
mov dword [0x1400c3d90], edi
mov qword [0x1400c3d98], rdi
mov qword [0x1400c3da8], rdi
mov qword [0x1400c3db0], rdi
mov qword [0x1400c3db8], rdi
mov qword [0x1400c3dc8], rdi
mov qword [0x1400c3dd0], rdi
mov qword [0x1400c3dd8], rdi
mov dword [0x1400c3de8], edi
mov qword [0x1400c3df0], rdi
mov dword [0x1400c3df8], 0x66
call fcn.140018cc8
lea rdx, [rsp + 0x30]
mov r8d, 0x104
xor ecx, ecx
mov qword [0x1400c3de0], 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.14001a7ac
lea rdx, str.Include
lea rcx, [rsp + 0x240]
mov r8d, 0x104
call fcn.14001a83c
lea r8, [rsp + 0x240]
lea rdx, [rsp + 0x450]
lea rcx, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
call fcn.14001a87c
mov ecx, 0x20a
call fcn.140018cc8
mov edx, dword [0x1400c3de8]
mov rcx, qword [0x1400c3de0]
mov qword [rcx + rdx*8], rax
mov edx, dword [0x1400c3de8]
mov rax, qword [0x1400c3de0]
mov rcx, qword [rax + rdx*8]
inc edx
mov dword [0x1400c3de8], edx
lea rdx, [rsp + 0x30]
call fcn.140019150
lea r11, [rsp + 0x20688]
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
je 0x140033300
lea rax, [0x1400c3d70]
add rsp, 0x20670
pop rdi
ret
mov rcx, qword [rsp + 0x20688]
lea rax, [rsp + 0x20690]
lea rdx, str.Include
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x660]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20690], 0x1fffe
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140033442
mov ecx, dword [rsp + 0x20690]
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 + 0x20690], ecx
mov word [rsp + rax*2 + 0x660], di
movzx eax, word [rbx]
mov word [rsp + 0x20682], di
mov word [rsp + 0x20680], ax
test ax, ax
je 0x1400333b6
cmp ax, 0x3b
je 0x1400333b6
lea rdx, [rsp + 0x20680]
lea rcx, [rsp + 0x30]
call fcn.140019124
add rbx, 2
jmp 0x140033380
lea rcx, [rsp + 0x30]
call fcn.140019b5c
test rax, rax
je 0x1400333e8
lea rcx, [rsp + 0x30]
call fcn.140019b5c
cmp word [rsp + rax*2 + 0x2e], 0x5c
je 0x1400333e8
lea rdx, [0x14009ad4c]
lea rcx, [rsp + 0x30]
call fcn.140019124
mov ecx, 0x20a
call fcn.140018cc8
mov edx, dword [0x1400c3de8]
mov rcx, qword [0x1400c3de0]
mov qword [rcx + rdx*8], rax
mov edx, dword [0x1400c3de8]
mov rax, qword [0x1400c3de0]
mov rcx, qword [rax + rdx*8]
inc edx
mov r8d, 0x104
mov dword [0x1400c3de8], edx
lea rdx, [rsp + 0x30]
call fcn.140019b78
mov word [rsp + 0x30], di
cmp word [rbx], di
jne 0x1400333b0
mov rbx, qword [rsp + 0x20698]
mov rcx, qword [rsp + 0x20688]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x1400188ae