Function at 0x40569f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov eax, 0x10428
lea ebp, [esp - 0x103a8]
call fcn.00410ca0
mov eax, dword [0x41b9e4]
push ebx
xor ebx, ebx
xor eax, ebp
push esi
push 0x400
mov dword [ebp + 0x103a4], eax
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x210], ebx
mov dword [edi + 0x218], ebx
call fcn.00408c76
pop ecx
mov dword [edi + 0x214], eax
mov esi, 0x104
push esi
lea eax, [ebp + 0x1029c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push ebx
push ebx
lea eax, [ebp + 0x10198]
push eax
lea eax, [ebp + 0x10094]
push eax
lea eax, [ebp + 0x1029c]
push eax
call fcn.00409085
push ebx
push str...Include_
lea eax, [ebp + 0x10198]
push eax
lea eax, [ebp + 0x10094]
push eax
lea eax, [ebp + 0xff90]
push eax
call fcn.0040a4e9
push esi
lea eax, [ebp + 0xff90]
push eax
lea eax, [ebp + 0x1029c]
push eax
call fcn.0040a579
add esp, 0x34
lea esi, [ebp + 0x1029c]
call fcn.0040660a
test al, al
mov esi, str.Include
jne 0x405796
push 0x104
lea eax, [ebp + 0x10198]
push esi
push eax
call fcn.0040a630
push ebx
push ebx
lea eax, [ebp + 0x10198]
push eax
lea eax, [ebp + 0x10094]
push eax
lea eax, [ebp + 0x1029c]
push eax
call fcn.0040a4e9
add esp, 0x20
push 0x105
call fcn.00408c76
mov ecx, dword [edi + 0x218]
mov edx, dword [edi + 0x214]
mov dword [edx + ecx*4], eax
mov eax, dword [edi + 0x218]
mov ecx, dword [edi + 0x214]
mov ecx, dword [ecx + eax*4]
inc eax
mov dword [edi + 0x218], eax
lea eax, [ebp + 0x1029c]
push eax
push ecx
call fcn.00408f00
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
push 0x20019
push ebx
push str.SoftwareAutoIt_v3AutoIt
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4058f2
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push ebx
push esi
push dword [ebp - 0x80]
mov dword [ebp - 0x7c], 0xffff
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4058e9
mov eax, dword [ebp - 0x7c]
mov byte [ebp + eax - 0x74], bl
mov byte [ebp + eax - 0x73], bl
mov byte [ebp + 0x1029c], bl
lea esi, [ebp - 0x74]
mov al, byte [esi]
cmp al, bl
mov byte [ebp - 0x78], al
mov byte [ebp - 0x77], bl
je 0x405855
cmp al, 0x3b
je 0x405855
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x1029c]
push eax
call fcn.00408f10
pop ecx
pop ecx
jmp 0x4058e3
lea eax, [ebp + 0x1029c]
push eax
call fcn.00408e10
test eax, eax
pop ecx
je 0x405893
lea eax, [ebp + 0x1029c]
push eax
call fcn.00408e10
pop ecx
lea ecx, [ebp + 0x1029c]
dec ecx
cmp byte [eax + ecx], 0x5c
je 0x405893
lea eax, [ebp + 0x1029c]
push 0x418ce4
push eax
call fcn.00408f10
pop ecx
pop ecx
push 0x105
call fcn.00408c76
mov ecx, dword [edi + 0x218]
mov edx, dword [edi + 0x214]
mov dword [edx + ecx*4], eax
mov eax, dword [edi + 0x218]
mov ecx, dword [edi + 0x214]
mov ecx, dword [ecx + eax*4]
inc eax
mov dword [edi + 0x218], eax
lea eax, [ebp + 0x1029c]
mov dword [esp], 0x104
push eax
push ecx
call fcn.0040a770
add esp, 0xc
cmp byte [esi], bl
mov byte [ebp + 0x1029c], bl
je 0x4058e9
inc esi
jmp 0x40582e
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x103a4]
pop esi
xor ecx, ebp
mov eax, edi
pop ebx
call fcn.00411ba7
add ebp, 0x103a8
leave
ret