Function at 0x424624
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe8
mov ebx, 0x463b28
mov esi, 0x463b24
cmp byte [0x463b4c], 0
je 0x42480b
mov eax, dword [esi]
mov dword [esp], eax
jmp 0x424660
add dword [esi], 0x1000
mov eax, dword [esi]
mov dword [esp], eax
mov eax, 0x463b20
mov edx, dword [esi]
call fcn.00402ed4
push esp
mov eax, dword [0x463b20]
push eax
push 0
push 0
push 0x4248ec
push 0x80000004
call sub.advapi32.dll_RegQueryValueExA
cmp eax, 0xea
je 0x424649
mov eax, dword [0x463b20]
mov eax, dword [eax + 0x18]
add eax, dword [0x463b20]
mov dword [ebx], eax
mov eax, dword [0x463b20]
mov eax, dword [eax + 0x1c]
test eax, eax
jle 0x4246b3
mov ecx, dword [ebx]
cmp dword [ecx + 0xc], 0xee
je 0x4246b3
mov edx, dword [ebx]
mov edx, dword [edx]
add edx, dword [ebx]
mov dword [ebx], edx
dec eax
jne 0x42469d
mov eax, dword [ebx]
cmp dword [eax + 0xc], 0xee
je 0x4246d4
mov ecx, 0x4248f8
mov dl, 1
mov eax, dword [0x408174]
call fcn.0040cb80
call fcn.00404b84
cmp dword [0x463b30], 0
jge 0x424711
mov eax, dword [ebx]
mov eax, dword [eax + 0x28]
mov dword [0x463b30], eax
mov eax, dword [0x463b30]
add eax, eax
add eax, eax
add eax, eax
call fcn.00402ea0
mov dword [0x463b34], eax
mov eax, dword [0x463b30]
add eax, eax
add eax, eax
add eax, eax
call fcn.00402ea0
mov dword [0x463b38], eax
mov eax, dword [ebx]
mov eax, dword [eax + 8]
add eax, dword [ebx]
mov dword [0x463b2c], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
test eax, eax
jle 0x424749
mov ecx, dword [0x463b2c]
cmp dword [ecx + 4], 6
je 0x424749
mov edx, dword [0x463b2c]
mov edx, dword [edx]
add edx, dword [0x463b2c]
mov dword [0x463b2c], edx
dec eax
jne 0x424726
mov eax, dword [0x463b2c]
cmp dword [eax + 4], 6
je 0x42476a
mov ecx, 0x424934
mov dl, 1
mov eax, dword [0x408174]
call fcn.0040cb80
call fcn.00404b84
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
add ecx, dword [ebx]
mov eax, dword [0x463b30]
dec eax
test eax, eax
jl 0x4247c7
inc eax
xor edx, edx
mov ebx, dword [ecx]
add ebx, ecx
mov ecx, ebx
mov ebx, dword [0x463b38]
mov esi, dword [0x463b34]
mov edi, dword [esi + edx*8]
mov dword [ebx + edx*8], edi
mov edi, dword [esi + edx*8 + 4]
mov dword [ebx + edx*8 + 4], edi
mov esi, dword [0x463b34]
mov edi, dword [0x463b2c]
mov edi, dword [edi + 0x24]
mov ebx, ecx
add edi, ebx
mov ebp, dword [edi]
mov dword [esi + edx*8], ebp
mov ebp, dword [edi + 4]
mov dword [esi + edx*8 + 4], ebp
mov esi, dword [ecx]
add esi, ebx
mov ecx, esi
inc edx
dec eax
jne 0x42477e
mov eax, dword [0x463b3c]
mov dword [0x463b44], eax
mov eax, dword [0x463b40]
mov dword [0x463b48], eax
lea eax, [esp + 4]
push eax
mov eax, dword [0x463b20]
add eax, 0x24
push eax
call sub.KERNEL32.DLL_SystemTimeToFileTime
mov eax, dword [esp + 4]
mov dword [0x463b3c], eax
mov eax, dword [esp + 8]
mov dword [0x463b40], eax
jmp 0x4248e4
cmp byte [0x463b4d], 0
jne 0x4248bb
lea eax, [esp + 0xc]
push eax
push 0xf003f
push 0
push 0x424970
push 0x80000006
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x42484d
mov ecx, 0x42498c
mov dl, 1
mov eax, dword [0x408174]
call fcn.0040cb80
call fcn.00404b84
mov dword [esp + 0x10], 4
lea eax, [esp + 0x10]
push eax
push 0x463b50
lea eax, [esp + 0x1c]
push eax
push 0
push 0x4249b4
mov eax, dword [esp + 0x20]
push eax
call sub.advapi32.dll_RegQueryValueExA
mov eax, dword [esp + 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
push 0x463b54
push 0x20019
push 0
push 0x4249c4
push 0x80000006
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4248b4
mov ecx, 0x4249e0
mov dl, 1
mov eax, dword [0x408174]
call fcn.0040cb80
call fcn.00404b84
mov byte [0x463b4d], 1
mov dword [esp + 0x10], 4
lea eax, [esp + 0x10]
push eax
push 0x463b50
lea eax, [esp + 0x1c]
push eax
push 0
push 0x4249b4
mov eax, dword [0x463b54]
push eax
call sub.advapi32.dll_RegQueryValueExA
add esp, 0x18
pop ebp
pop edi
pop esi
pop ebx
ret