Function at 0xc571eb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1003c
call fcn.00c81b90
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x1c]
push ebx
xor ebx, ebx
mov dword [0xd17294], eax
push esi
mov eax, 0xcdf968
mov word [0xd17290], bx
push edi
mov byte [0xd17292], bl
mov dword [0xd17298], ebx
mov dword [0xd1729c], ebx
mov dword [0xd172a0], ebx
mov dword [0xd172a4], ebx
mov dword [0xd172a8], eax
mov dword [0xd172ac], ebx
mov dword [0xd172b0], ebx
mov dword [0xd172b4], ebx
mov dword [0xd172b8], 0xcdfb88
mov dword [0xd172bc], ebx
mov dword [0xd172c0], ebx
mov dword [0xd172c4], ebx
mov dword [0xd172c8], eax
mov dword [0xd172cc], ebx
mov dword [0xd172d0], ebx
mov dword [0xd172d4], ebx
mov dword [0xd172dc], ebx
mov dword [0xd172e0], 0xcdf918
mov dword [0xd172e4], ebx
mov dword [0xd172e8], ebx
mov dword [0xd172ec], ebx
mov dword [0xd172f0], 0x66
call fcn.00c577c7
lea ecx, [esp + 0x28]
call fcn.00c54864
lea edx, [esp + 0x28]
mov ecx, edx
call fcn.00c7074f
push str.Include_
lea ecx, [esp + 0x2c]
call fcn.00c57e0b
lea eax, [esp + 0x28]
mov ecx, 0xd172c8
push eax
call fcn.00c53f84
lea ecx, [esp + 0x18]
call fcn.00c577c7
lea ecx, [esp + 0x18]
call fcn.00c57eec
lea eax, [esp + 0x10]
xor esi, esi
push eax
push 1
push esi
push str.SoftwareAutoIt_v3AutoIt
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0xc8ecda
lea ecx, [esp + 0x18]
call fcn.00c55a64
lea ecx, [esp + 0x28]
call fcn.00c55a64
pop edi
pop esi
mov eax, 0xd17290
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x14]
push eax
push esi
push esi
push esi
push 0xcf2eb8
push dword [esp + 0x24]
call edi
test eax, eax
jne 0xc8ed6c
mov eax, dword [esp + 0x14]
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00c70ff6
pop ecx
push eax
lea ecx, [esp + 0x3c]
call fcn.00c5538e
mov esi, dword [esp + 0x38]
lea eax, [esp + 0x14]
push eax
push esi
xor eax, eax
push eax
push eax
push 0xcf2eb8
push dword [esp + 0x24]
call edi
test eax, eax
jne 0xc8ed54
mov eax, dword [esp + 0x14]
xor ecx, ecx
shr eax, 1
mov dword [esp + 0x14], eax
push esi
mov word [esi + eax*2], cx
lea ecx, [esp + 0x1c]
call fcn.00c57d2c
mov bl, 1
mov eax, dword [esp + 0x3c]
dec dword [eax]
jne 0xc8ed6a
push eax
call fcn.00c7106c
pop ecx
push esi
call fcn.00c7106c
pop ecx
xor esi, esi
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0xc57316
xor eax, eax
xor edi, edi
mov word [esp + 0x48], ax
push esi
lea ecx, [esp + 0x1c]
call fcn.00c57b52
push esi
lea ecx, [esp + 0x1c]
mov ax, word [eax]
mov word [esp + 0x14], ax
xor eax, eax
mov word [esp + 0x16], ax
call fcn.00c57b52
cmp word [eax], di
je 0xc8edd2
push esi
lea ecx, [esp + 0x1c]
call fcn.00c57b52
cmp word [eax], 0x3b
je 0xc8edd2
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00c72fcd
pop ecx
pop ecx
jmp 0xc8ee45
lea eax, [esp + 0x48]
push eax
call fcn.00c72e3c
pop ecx
test eax, eax
je 0xc8ee05
lea eax, [esp + 0x48]
push eax
call fcn.00c72e3c
pop ecx
cmp word [esp + eax*2 + 0x46], 0x5c
je 0xc8ee05
lea eax, [esp + 0x48]
push 0xcdfac0
push eax
call fcn.00c72fcd
pop ecx
pop ecx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x3c]
call fcn.00c57f41
lea eax, [esp + 0x38]
mov ecx, 0xd172c8
push eax
call fcn.00c53f84
lea ecx, [esp + 0x38]
call fcn.00c55a64
xor eax, eax
lea ecx, [esp + 0x18]
push esi
mov word [esp + 0x4c], ax
call fcn.00c57b52
cmp word [eax], di
je 0xc57316
inc esi
jmp 0xc8ed87