Function at 0x4173e1
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x334
push ebx
push edi
push dword [ebp + 0x24]
mov edi, ecx
push dword [ebp + 0x20]
lea ecx, [ebp - 0x230]
push dword [ebp + 0x1c]
call fcn.0041767f
lea eax, [ebp + 0x24]
push eax
push 9
xor ebx, ebx
push ebx
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41742a
xor eax, eax
inc eax
jmp 0x417679
push esi
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x41765c
mov eax, dword [ebp - 0x10]
cmp eax, ebx
jbe 0x417503
cmp dword [ebp + 0x14], 3
je 0x417503
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea esi, [eax - 1]
push ebx
push ebx
lea eax, [ebp - 0x20]
push eax
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x124]
push eax
push esi
push dword [ebp + 0x24]
mov dword [ebp - 8], 0x104
mov byte [ebp - 0x124], bl
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x4174eb
lea eax, [ebp - 0x230]
mov dword [0x46514c], eax
mov ecx, dword [edi + 0x14]
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
push 3
call fcn.00402338
add dword [0x465140], 1
adc dword [0x465144], ebx
cmp eax, 5
je 0x417647
cmp eax, 7
je 0x417647
cmp eax, 8
je 0x417647
cmp eax, ebx
je 0x417647
mov eax, dword [ebp - 0xc]
cmp eax, ebx
jne 0x4174f5
cmp esi, ebx
je 0x417503
dec esi
jmp 0x41746b
cmp eax, edi
jne 0x41763d
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x41766c
cmp dword [ebp + 0x14], 1
jne 0x41751d
cmp byte [ebp + 0x18], bl
je 0x41766c
dec eax
mov dword [ebp - 0x20], 0xfffffffe
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x124]
push eax
push dword [ebp - 4]
mov esi, 0x104
push dword [ebp + 0x24]
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x417630
cmp dword [ebp + 0x14], 1
je 0x4175b3
lea eax, [ebp - 0x230]
mov dword [0x46514c], eax
mov ecx, dword [edi + 0x14]
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
push 3
call fcn.00402338
add dword [0x465140], 1
adc dword [0x465144], ebx
cmp eax, 5
je 0x417647
cmp eax, 7
je 0x417647
cmp eax, 8
je 0x417647
cmp eax, ebx
je 0x417647
mov eax, dword [ebp - 0xc]
cmp eax, ebx
jne 0x41764b
cmp byte [ebp + 0x18], bl
je 0x417630
cmp byte [ebp - 0x228], bl
mov eax, 0x45aac4
jne 0x4175ca
mov eax, 0x4585d8
lea ecx, [ebp - 0x124]
push ecx
push eax
lea eax, [ebp - 0x228]
push eax
push str._s_s_s
lea eax, [ebp - 0x334]
push esi
push eax
call fcn.00409c5f
mov esi, dword [ebp + 0xc]
add esp, 0x18
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 0x20]
mov ecx, edi
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push dword [ebp + 8]
call fcn.004173e1
cmp eax, 5
je 0x417647
cmp eax, 7
je 0x417647
cmp eax, 8
je 0x417647
cmp eax, ebx
je 0x417647
cmp byte [esi], bl
jne 0x41765c
mov eax, dword [ebp + 0x10]
cmp dword [eax], ebx
jne 0x41765c
cmp dword [ebp - 4], ebx
je 0x41765c
dec dword [ebp - 4]
jmp 0x417528
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jmp 0x417503
mov esi, eax
jmp 0x41765f
cmp eax, edi
jne 0x417657
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
jmp 0x41765c
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor esi, esi
inc esi
push dword [ebp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x417678
push dword [ebp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop esi
pop edi
pop ebx
leave
ret 0x20