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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc2c
push ebx
push dword [ebp + 0x24]
mov dword [ebp - 4], ecx
push dword [ebp + 0x20]
lea ecx, [ebp - 0x82c]
push dword [ebp + 0x1c]
call fcn.0041a19c
lea eax, [ebp - 8]
push eax
push 9
xor ebx, ebx
push ebx
lea eax, [ebp - 0x824]
push eax
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x419f38
xor eax, eax
inc eax
jmp 0x41a197
push esi
push edi
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x41a179
mov eax, dword [ebp - 0x18]
cmp eax, ebx
mov esi, dword [0x465108]
jbe 0x41a028
cmp dword [ebp + 0x14], 3
je 0x41a028
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
lea edi, [eax - 1]
push ebx
push ebx
lea eax, [ebp - 0x24]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x424]
push eax
push edi
push dword [ebp - 8]
mov dword [ebp - 0x10], 0x400
mov byte [ebp - 0x424], bl
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x41a005
lea eax, [ebp - 0x82c]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
cmp byte [ecx], 0x6c
jne 0x419fdf
mov ecx, dword [ecx + 0x14]
lea eax, [ebp + 0x24]
push eax
push dword [ebp + 8]
push 2
call fcn.00402cc4
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x14]
cmp dword [ebp + 0x24], ecx
je 0x419fc1
jmp 0x419fed
lea eax, [ebp + 0x24]
push eax
push dword [ebp + 8]
push 3
call fcn.00402cc4
add dword [esi + 8], 1
adc dword [esi + 0xc], ebx
cmp eax, 1
je 0x419ffe
cmp eax, 6
jne 0x41a00f
mov eax, dword [ebp + 0x24]
cmp eax, ebx
jne 0x41a016
cmp edi, ebx
je 0x41a028
dec edi
jmp 0x419f80
mov esi, eax
jmp 0x41a17c
cmp eax, dword [ebp - 4]
jne 0x41a023
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
jmp 0x41a028
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x41a189
cmp dword [ebp + 0x14], 1
jne 0x41a042
cmp byte [ebp + 0x18], bl
je 0x41a189
dec eax
mov dword [ebp - 0x24], 0xfffffffe
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x424]
push eax
push dword [ebp - 0xc]
mov edi, 0x400
push dword [ebp - 8]
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x41a15a
cmp dword [ebp + 0x14], 1
je 0x41a0e1
lea eax, [ebp - 0x82c]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
cmp byte [ecx], 0x6c
jne 0x41a0b3
mov ecx, dword [ecx + 0x14]
lea eax, [ebp + 0x24]
push eax
push dword [ebp + 8]
push 2
call fcn.00402cc4
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x14]
cmp dword [ebp + 0x24], ecx
je 0x41a095
jmp 0x41a0c1
lea eax, [ebp + 0x24]
push eax
push dword [ebp + 8]
push 3
call fcn.00402cc4
add dword [esi + 8], 1
adc dword [esi + 0xc], ebx
cmp eax, 1
je 0x41a0d6
cmp eax, 6
jne 0x41a00f
mov eax, dword [ebp + 0x24]
cmp eax, ebx
jne 0x41a167
cmp byte [ebp + 0x18], bl
je 0x41a15a
cmp byte [ebp - 0x824], bl
mov eax, 0x45cae8
jne 0x41a0f8
mov eax, 0x45a5d8
lea ecx, [ebp - 0x424]
push ecx
push eax
lea eax, [ebp - 0x824]
push eax
push str._s_s_s
lea eax, [ebp - 0xc2c]
push edi
push eax
call fcn.0040a6d3
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
add esp, 0x18
lea eax, [ebp - 0xc2c]
push eax
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push dword [ebp + 8]
call fcn.00419eef
cmp eax, 1
je 0x41a14f
cmp eax, 6
jne 0x41a00f
cmp byte [edi], bl
jne 0x41a179
mov eax, dword [ebp + 0x10]
cmp dword [eax], ebx
jne 0x41a179
cmp dword [ebp - 0xc], ebx
je 0x41a179
dec dword [ebp - 0xc]
jmp 0x41a04d
cmp eax, dword [ebp - 4]
jne 0x41a174
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
jmp 0x41a179
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor esi, esi
inc esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x41a195
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0x20