Function at 0x418fa1
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.00419249
lea eax, [ebp - 4]
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 0x418fea
xor eax, eax
inc eax
jmp 0x419243
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 - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x419226
mov eax, dword [ebp - 0x10]
cmp eax, ebx
jbe 0x4190c6
cmp dword [ebp + 0x14], 3
je 0x4190c6
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea esi, [eax - 1]
mov dword [ebp + 0x24], ebx
push ebx
push ebx
lea eax, [ebp - 0x20]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x124]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0xc], 0x104
mov byte [ebp - 0x124], bl
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x4190b6
lea eax, [ebp - 0x230]
mov dword [0x46322c], eax
mov ecx, dword [edi + 0x14]
lea eax, [ebp + 0x24]
push eax
push dword [ebp + 8]
push 3
call fcn.004057b1
add dword [0x463220], 1
adc dword [0x463224], ebx
cmp eax, 5
je 0x419215
cmp eax, 7
je 0x419215
cmp eax, 8
je 0x419215
cmp eax, ebx
je 0x419215
mov eax, dword [ebp + 0x24]
cmp eax, edi
je 0x4190c0
cmp eax, ebx
jne 0x41920b
cmp esi, ebx
je 0x4190c6
dec esi
jmp 0x41902e
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x419236
cmp dword [ebp + 0x14], 1
jne 0x4190e0
cmp byte [ebp + 0x18], bl
je 0x419236
dec eax
mov dword [ebp - 0x20], 0xfffffffe
mov dword [ebp - 8], eax
mov dword [ebp + 0x24], ebx
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x124]
push eax
push dword [ebp - 8]
mov esi, 0x104
push dword [ebp - 4]
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x4191fe
cmp dword [ebp + 0x14], 1
je 0x419181
lea eax, [ebp - 0x230]
mov dword [0x46322c], eax
mov ecx, dword [edi + 0x14]
lea eax, [ebp + 0x24]
push eax
push dword [ebp + 8]
push 3
call fcn.004057b1
add dword [0x463220], 1
adc dword [0x463224], ebx
cmp eax, 5
je 0x419215
cmp eax, 7
je 0x419215
cmp eax, 8
je 0x419215
cmp eax, ebx
je 0x419215
mov eax, dword [ebp + 0x24]
cmp eax, edi
je 0x419219
cmp eax, ebx
jne 0x419221
cmp byte [ebp + 0x18], bl
je 0x4191fe
cmp byte [ebp - 0x228], bl
mov eax, 0x458b44
jne 0x419198
mov eax, 0x4565d8
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.0040a9c1
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.00418fa1
cmp eax, 5
je 0x419215
cmp eax, 7
je 0x419215
cmp eax, 8
je 0x419215
cmp eax, ebx
je 0x419215
cmp byte [esi], bl
jne 0x419226
mov eax, dword [ebp + 0x10]
cmp dword [eax], ebx
jne 0x419226
cmp dword [ebp - 8], ebx
je 0x419226
dec dword [ebp - 8]
jmp 0x4190ee
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jmp 0x4190c6
mov esi, eax
jmp 0x419229
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
jmp 0x419226
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor esi, esi
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x419242
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop esi
pop edi
pop ebx
leave
ret 0x20