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

Disassembly:
mov eax, 0x460ed4
call fcn.0042c2e0
sub esp, 0x44
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x10]
call fcn.0043c566
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0043c566
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x14]
imul eax, eax, 0x5c
mov byte [ebp - 4], 1
mov eax, dword [eax + ecx + 0x50]
shl eax, 0x1f
sar eax, 0x1f
test al, al
je 0x4276dd
mov ecx, esi
call fcn.00427557
lea eax, [esi + 0x2c]
lea ecx, [ebp - 0x10]
push eax
call fcn.0043c7aa
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call fcn.00427057
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0043ca89
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.0043c6b1
lea eax, [esi + 0x30]
lea ecx, [ebp - 0x10]
push eax
call fcn.0043ca89
lea eax, [esi + 0x28]
lea ecx, [ebp - 0x10]
push eax
call fcn.0043ca89
mov ebx, dword [ebp + 8]
push dword [ebp - 0x10]
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0x5c]
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x14]
imul eax, eax, 0x5c
lea eax, [eax + ecx + 0x40]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0043c576
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x14]
imul eax, eax, 0x5c
mov byte [ebp - 4], 3
lea ecx, [eax + ecx + 0x40]
call fcn.0043c63c
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x14]
imul eax, eax, 0x5c
or dword [eax + ecx + 0x50], 2
lea eax, [eax + ecx + 0x50]
mov ecx, esi
lea eax, [ebp + 8]
push eax
call fcn.004271ae
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.0043c7aa
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.0043c6b1
mov eax, dword [ebp - 0x14]
mov edi, 0x47a7c8
cmp dword [eax - 8], 0
je 0x42780a
lea eax, [esi + 0x34]
lea ecx, [ebp - 0x10]
push eax
call fcn.0043c7aa
lea eax, [esi + 0x38]
lea ecx, [ebp - 0x10]
push eax
call fcn.0043ca89
push edi
lea ecx, [ebp - 0x10]
call fcn.0043ca4d
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00429079
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.0043ca89
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.0043c6b1
push edi
lea ecx, [ebp - 0x10]
call fcn.0043ca4d
lea eax, [esi + 0x28]
lea ecx, [ebp - 0x10]
push eax
call fcn.0043ca89
mov eax, dword [ebx]
push dword [ebp - 0x10]
mov ecx, ebx
call dword [eax + 0x5c]
lea ecx, [ebp - 0x18]
call fcn.0043c566
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x14]
imul eax, eax, 0x5c
and dword [ebp - 0x24], 0
add eax, ecx
mov byte [ebp - 4], 6
mov ecx, dword [eax + 0x10]
test ecx, ecx
mov dword [ebp - 0x44], ecx
jbe 0x427b3d
mov eax, dword [eax + 0x14]
inc eax
test ecx, ecx
mov dword [ebp - 0x38], eax
jbe 0x427b3d
jmp 0x427847
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x30], eax
call fcn.0043caa1
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
lea ecx, [ebp - 0x30]
push ecx
push eax
mov eax, dword [esi + 0x24]
push dword [ebp - 0x24]
imul eax, eax, 0x5c
mov ecx, dword [esi + 0x14]
push dword [eax + ecx + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
mov dword [ebp - 0x28], eax
jne 0x427c78
push dword [ebp - 0x30]
lea ecx, [ebp - 0x18]
call fcn.0043caf0
mov eax, dword [ebp - 0x18]
cmp dword [eax - 8], 0
je 0x427b2e
push edi
lea ecx, [ebp - 0x10]
call fcn.0043c7f9
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x10]
push eax
call fcn.0043ca89
push edi
lea ecx, [ebp - 0x10]
call fcn.0043ca4d
lea eax, [ebp - 0x18]
mov ecx, dword [esi + 0x14]
push eax
mov eax, dword [esi + 0x24]
imul eax, eax, 0x5c
lea ecx, [eax + ecx + 0x40]
call fcn.0043c7aa
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x14]
imul eax, eax, 0x5c
or dword [eax + ecx + 0x50], 2
lea eax, [eax + ecx + 0x50]
mov ecx, esi
lea eax, [ebp - 0x3c]
push eax
call fcn.004271ae
lea ecx, [ebp - 0x3c]
call fcn.0043c6b1
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x14]
imul eax, eax, 0x5c
add ecx, eax
mov eax, dword [ecx + 0x48]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x20]
push eax
push 0
call fcn.0042697e
test eax, eax
jl 0x427b18
lea eax, [esi + 0x38]
lea ecx, [ebp - 0x10]
push eax
call fcn.0043ca89
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x14]
imul eax, eax, 0x5c
mov eax, dword [eax + ecx + 0x4c]
dec eax
je 0x427ac3
sub eax, 3
jne 0x42796a
push str.dword:
lea ecx, [ebp - 0x10]
call fcn.0043ca4d
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
push eax
lea eax, [ebp - 0x14]
push 0x47adb0
push eax
call fcn.0043ac69
add esp, 0xc
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x10]
push eax
call fcn.0043ca89
push 0x47adac
lea ecx, [ebp - 0x10]
call fcn.0043ca4d
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x14]
imul eax, eax, 0x5c
cmp dword [eax + ecx + 0x4c], 3
je 0x4279cb
push 0x47ada8
lea ecx, [ebp - 0x10]
call fcn.0043ca4d
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x14]
imul eax, eax, 0x5c
push dword [eax + ecx + 0x4c]
lea eax, [ebp - 0x14]
push 0x47adb0
push eax
call fcn.0043ac69
add esp, 0xc
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x10]
push eax
call fcn.0043ca89
push 0x47ada4
lea ecx, [ebp - 0x10]
call fcn.0043ca4d
push str.:vlsdah_
lea ecx, [ebp - 0x10]
call fcn.0043ca4d
cmp dword [ebp - 0x28], 0
jbe 0x427b18
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 0x4e
jle 0x427a17
push esi
lea ecx, [ebp - 0x10]
call fcn.0043ca89
lea eax, [esi + 0x28]
lea ecx, [ebp - 0x10]
push eax
call fcn.0043ca89
mov eax, dword [ebx]
push dword [ebp - 0x10]
mov ecx, ebx
call dword [eax + 0x5c]
push 0x47ada0
lea ecx, [ebp - 0x10]
call fcn.0043c7f9
mov eax, dword [ebp - 0x20]
mov dword [ebp + 8], 1
movzx eax, byte [eax]
push eax
lea eax, [ebp - 0x14]
push 0x47ad9c
push eax
call fcn.0043ac69
add esp, 0xc
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x10]
push eax
call fcn.0043ca89
cmp dword [ebp - 0x28], 1
jbe 0x427b18
push 0x47ad98
lea ecx, [ebp - 0x10]
call fcn.0043ca4d
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 0x4e
jle 0x427a8e
push esi
lea ecx, [ebp - 0x10]
call fcn.0043ca89
lea eax, [esi + 0x28]
lea ecx, [ebp - 0x10]
push eax
call fcn.0043ca89
mov eax, dword [ebx]
push dword [ebp - 0x10]
mov ecx, ebx
call dword [eax + 0x5c]
push 0x47ada0
lea ecx, [ebp - 0x10]
call fcn.0043c7f9
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
inc dword [ebp + 8]
movzx eax, byte [eax + ecx]
push eax
lea eax, [ebp - 0x14]
push 0x47ad9c
push eax
call fcn.0043ac69
add esp, 0xc
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x10]
push eax
call fcn.0043ca89
mov eax, dword [ebp - 0x28]
cmp dword [ebp + 8], eax
jb 0x427a4c
jmp 0x427b18
push edi
lea ecx, [ebp - 0x10]
call fcn.0043ca4d
push dword [ebp - 0x20]
lea ecx, [ebp - 0x34]
call fcn.0043c71f
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00429079
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.0043ca89
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.0043c6b1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.0043c6b1
push edi
lea ecx, [ebp - 0x10]
call fcn.0043ca4d
lea eax, [esi + 0x28]
lea ecx, [ebp - 0x10]
push eax
call fcn.0043ca89
mov eax, dword [ebx]
push dword [ebp - 0x10]
mov ecx, ebx
call dword [eax + 0x5c]
inc dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x44]
jb 0x427844
lea eax, [esi + 0x28]
lea ecx, [ebp - 0x10]
push eax
call fcn.0043c7aa
mov eax, dword [ebx]
push dword [ebp - 0x10]
mov ecx, ebx
call dword [eax + 0x5c]
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x14]
imul eax, eax, 0x5c
mov eax, dword [eax + ecx + 4]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x34], eax
call fcn.0043c566
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x14]
imul eax, eax, 0x5c
and dword [ebp + 8], 0
cmp dword [ebp - 0x34], 0
mov edi, dword [eax + ecx + 0x30]
mov byte [ebp - 4], 9
jbe 0x427bf4
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x14]
imul eax, eax, 0x5c
mov eax, dword [eax + ecx + 8]
lea ecx, [ebp - 0x1c]
inc eax
push eax
mov dword [ebp - 0x48], eax
call fcn.0043caa1
lea ecx, [ebp - 0x50]
push ecx
xor ecx, ecx
push ecx
push ecx
push ecx
lea ecx, [ebp - 0x48]
push ecx
push eax
push dword [ebp + 8]
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x28], eax
call fcn.0043caf0
cmp dword [ebp - 0x28], 0
jne 0x427c6c
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.00426e2c
push ebx
mov ecx, esi
call fcn.00427695
mov ecx, esi
call fcn.00426e85
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x34]
jb 0x427b86
lea eax, [ebp - 0x2c]
mov ecx, dword [esi + 0x14]
push eax
mov eax, dword [esi + 0x24]
imul eax, eax, 0x5c
lea ecx, [eax + ecx + 0x40]
call fcn.0043c7aa
lea eax, [ebp + 8]
mov ecx, esi
push eax
call fcn.004271ae
lea ecx, [ebp + 8]
call fcn.0043c6b1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.0043c6b1
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0043c6b1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0043c6b1
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0043c6b1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0043c6b1
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.0043c6b1
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0043c6b1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0043c6b1
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0043c6b1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0043c6b1
mov eax, dword [ebp - 0x28]
jmp 0x427c5b