Function at 0x648ed8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
cmp byte [0x1435284], 0
je 0x64912a
mov eax, dword [0x143525c]
mov dword [ebp - 4], eax
jmp 0x648f19
add dword [0x143525c], 0x1000
mov eax, dword [0x143525c]
mov dword [ebp - 4], eax
mov eax, 0x1435258
mov edx, dword [0x143525c]
call fcn.0040285c
lea eax, [ebp - 4]
push eax
mov eax, dword [0x1435258]
push eax
push 0
push 0
push 0x64920c
push 0x80000004
call sub.advapi32.dll_RegQueryValueExA_1
cmp eax, 0xea
je 0x648ef7
mov eax, dword [0x1435258]
mov eax, dword [eax + 0x18]
add eax, dword [0x1435258]
mov dword [0x1435260], eax
mov eax, dword [0x1435258]
mov eax, dword [eax + 0x1c]
test eax, eax
jle 0x648f8e
mov dword [ebp - 0x2c], eax
mov dword [ebp - 8], 1
mov eax, dword [0x1435260]
cmp dword [eax + 0xc], 0xee
je 0x648f8e
mov eax, dword [0x1435260]
mov eax, dword [eax]
add eax, dword [0x1435260]
mov dword [0x1435260], eax
inc dword [ebp - 8]
dec dword [ebp - 0x2c]
jne 0x648f66
mov eax, dword [0x1435260]
cmp dword [eax + 0xc], 0xee
je 0x648fb2
mov ecx, 0x649218
mov dl, 1
mov eax, dword [0x409230]
call fcn.0040f388
call fcn.00404c28
cmp dword [0x1435268], 0
jge 0x648fec
mov eax, dword [0x1435260]
mov eax, dword [eax + 0x28]
mov dword [0x1435268], eax
mov eax, dword [0x1435268]
shl eax, 3
call fcn.0040281c
mov dword [0x143526c], eax
mov eax, dword [0x1435268]
shl eax, 3
call fcn.0040281c
mov dword [0x1435270], eax
mov eax, dword [0x1435260]
mov eax, dword [eax + 8]
add eax, dword [0x1435260]
mov dword [0x1435264], eax
mov eax, dword [0x1435260]
mov eax, dword [eax + 0x20]
test eax, eax
jle 0x64903a
mov dword [ebp - 0x2c], eax
mov dword [ebp - 8], 1
mov eax, dword [0x1435264]
cmp dword [eax + 4], 6
je 0x64903a
mov eax, dword [0x1435264]
mov eax, dword [eax]
add eax, dword [0x1435264]
mov dword [0x1435264], eax
inc dword [ebp - 8]
dec dword [ebp - 0x2c]
jne 0x649015
mov eax, dword [0x1435264]
cmp dword [eax + 4], 6
je 0x64905b
mov ecx, 0x649254
mov dl, 1
mov eax, dword [0x409230]
call fcn.0040f388
call fcn.00404c28
mov eax, dword [0x1435260]
mov eax, dword [eax + 4]
add eax, dword [0x1435260]
mov dword [ebp - 0x10], eax
mov eax, dword [0x1435268]
dec eax
test eax, eax
jl 0x6490e9
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [0x1435270]
mov edx, dword [ebp - 8]
mov ecx, dword [0x143526c]
mov ebx, dword [ebp - 8]
mov esi, dword [ecx + ebx*8]
mov dword [eax + edx*8], esi
mov esi, dword [ecx + ebx*8 + 4]
mov dword [eax + edx*8 + 4], esi
mov eax, dword [0x1435264]
mov eax, dword [eax + 0x24]
add eax, dword [ebp - 0xc]
mov edx, dword [eax]
mov dword [ebp - 0x38], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x34], edx
mov eax, dword [0x143526c]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x38]
mov dword [eax + edx*8], ecx
mov ecx, dword [ebp - 0x34]
mov dword [eax + edx*8 + 4], ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
inc dword [ebp - 8]
dec dword [ebp - 0x2c]
jne 0x649081
mov eax, dword [0x1435274]
mov dword [0x143527c], eax
mov eax, dword [0x1435278]
mov dword [0x1435280], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [0x1435258]
add eax, 0x24
push eax
call sub.kernel32.dll_SystemTimeToFileTime
mov eax, dword [ebp - 0x18]
mov dword [0x1435274], eax
mov eax, dword [ebp - 0x14]
mov dword [0x1435278], eax
jmp 0x649204
cmp byte [0x1435285], 0
jne 0x6491de
lea eax, [ebp - 0x1c]
push eax
push 0xf003f
push 0
push 0x649290
push 0x80000006
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x649170
mov ecx, 0x6492ac
mov dl, 1
mov eax, dword [0x409230]
call fcn.0040f388
call fcn.00404c28
mov dword [ebp - 0x24], 4
lea eax, [ebp - 0x24]
push eax
push 0x1435288
lea eax, [ebp - 0x28]
push eax
push 0
push 0x6492d4
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
push 0x143528c
push 0x20019
push 0
push 0x6492e4
push 0x80000006
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x6491d7
mov ecx, 0x649300
mov dl, 1
mov eax, dword [0x409230]
call fcn.0040f388
call fcn.00404c28
mov byte [0x1435285], 1
mov dword [ebp - 0x24], 4
lea eax, [ebp - 0x24]
push eax
push 0x1435288
lea eax, [ebp - 0x28]
push eax
push 0
push 0x6492d4
mov eax, dword [0x143528c]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret