Function at 0x46ede0
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 0x46efcd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
jmp 0x46ee25
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.00402b70
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0
push 0
push 0x46effc
push 0x80000004
call sub.advapi32.dll_RegQueryValueExA_1
cmp eax, 0xea
je 0x46ee01
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 0x46eea1
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 0x46eea1
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 0x46ee76
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [eax + 0xc], 0xee
je 0x46eec6
mov ecx, 0x46f008
mov dl, 1
mov eax, dword [0x408bc8]
call fcn.0040de04
call fcn.004049b4
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 0x46ef1a
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 0x46ef1a
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 0x46eef2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
cmp dword [eax + 4], 6
je 0x46ef3c
mov ecx, 0x46f044
mov dl, 1
mov eax, dword [0x408bc8]
call fcn.0040de04
call fcn.004049b4
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 0x46eff6
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 0x46f080
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov esp, ebp
pop ebp
ret