Function at 0x419ba3
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.00419e50
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 0x419bec
xor eax, eax
inc eax
jmp 0x419e4b
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 0x419e2d
mov eax, dword [ebp - 0x18]
cmp eax, ebx
mov esi, dword [0x464108]
jbe 0x419cdc
cmp dword [ebp + 0x14], 3
je 0x419cdc
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 0x419cb9
lea eax, [ebp - 0x82c]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
cmp byte [ecx], 0x6c
jne 0x419c93
mov ecx, dword [ecx + 0x14]
lea eax, [ebp + 0x24]
push eax
push dword [ebp + 8]
push 2
call fcn.00402cee
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x14]
cmp dword [ebp + 0x24], ecx
je 0x419c75
jmp 0x419ca1
lea eax, [ebp + 0x24]
push eax
push dword [ebp + 8]
push 3
call fcn.00402cee
add dword [esi + 8], 1
adc dword [esi + 0xc], ebx
cmp eax, 1
je 0x419cb2
cmp eax, 6
jne 0x419cc3
mov eax, dword [ebp + 0x24]
cmp eax, ebx
jne 0x419cca
cmp edi, ebx
je 0x419cdc
dec edi
jmp 0x419c34
mov esi, eax
jmp 0x419e30
cmp eax, dword [ebp - 4]
jne 0x419cd7
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
jmp 0x419cdc
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x419e3d
cmp dword [ebp + 0x14], 1
jne 0x419cf6
cmp byte [ebp + 0x18], bl
je 0x419e3d
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 0x419e0e
cmp dword [ebp + 0x14], 1
je 0x419d95
lea eax, [ebp - 0x82c]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
cmp byte [ecx], 0x6c
jne 0x419d67
mov ecx, dword [ecx + 0x14]
lea eax, [ebp + 0x24]
push eax
push dword [ebp + 8]
push 2
call fcn.00402cee
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x14]
cmp dword [ebp + 0x24], ecx
je 0x419d49
jmp 0x419d75
lea eax, [ebp + 0x24]
push eax
push dword [ebp + 8]
push 3
call fcn.00402cee
add dword [esi + 8], 1
adc dword [esi + 0xc], ebx
cmp eax, 1
je 0x419d8a
cmp eax, 6
jne 0x419cc3
mov eax, dword [ebp + 0x24]
cmp eax, ebx
jne 0x419e1b
cmp byte [ebp + 0x18], bl
je 0x419e0e
cmp byte [ebp - 0x824], bl
mov eax, 0x45bac8
jne 0x419dac
mov eax, 0x4595d8
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.0040a513
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.00419ba3
cmp eax, 1
je 0x419e03
cmp eax, 6
jne 0x419cc3
cmp byte [edi], bl
jne 0x419e2d
mov eax, dword [ebp + 0x10]
cmp dword [eax], ebx
jne 0x419e2d
cmp dword [ebp - 0xc], ebx
je 0x419e2d
dec dword [ebp - 0xc]
jmp 0x419d01
cmp eax, dword [ebp - 4]
jne 0x419e28
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
jmp 0x419e2d
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 0x419e49
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