Function at 0x460a8c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x30], 0
je 0x460c79
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
jmp 0x460ad1
mov eax, dword [ebp - 4]
add dword [eax + 8], 0x1000
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
add eax, 4
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
call fcn.00402734
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0
push 0
push 0x460ca8
push 0x80000004
call sub.advapi32.dll_RegQueryValueExA_1
cmp eax, 0xea
je 0x460aad
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 4]
add eax, dword [edx + 4]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x1c]
test eax, eax
jle 0x460b4d
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [eax + 0xc], 0xee
je 0x460b4d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0xc]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
inc dword [ebp - 0xc]
dec dword [ebp - 0x28]
jne 0x460b22
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [eax + 0xc], 0xee
je 0x460b72
mov ecx, 0x460cb4
mov dl, 1
mov eax, dword [0x407b58]
call fcn.0040c938
call fcn.004043b4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0xc]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x20]
test eax, eax
jle 0x460bc6
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
cmp dword [eax + 4], 6
je 0x460bc6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x10]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
inc dword [ebp - 0xc]
dec dword [ebp - 0x28]
jne 0x460b9e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
cmp dword [eax + 4], 6
je 0x460be8
mov ecx, 0x460cf0
mov dl, 1
mov eax, dword [0x407b58]
call fcn.0040c938
call fcn.004043b4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x14]
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x24]
add eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov dword [ebp - 0x30], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x30]
mov dword [eax], edx
mov edx, dword [ebp - 0x2c]
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x20]
mov dword [eax + 0x28], ecx
mov ecx, dword [edx + 0x24]
mov dword [eax + 0x2c], ecx
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, 0x24
push eax
call sub.kernel32.dll_SystemTimeToFileTime
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x20], edx
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x24], edx
jmp 0x460ca2
mov dword [ebp - 0x20], 4
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
add eax, 0x34
push eax
lea eax, [ebp - 0x24]
push eax
push 0
push 0x460d2c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov esp, ebp
pop ebp
ret