Function at 0x42aa50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f7d3
mov eax, dword fs:[0]
push eax
sub esp, 0xa50
mov eax, dword [0x55b1c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xa5c], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0xa1c], ebx
mov dword [ebp - 0xa44], 0
call fcn.00421ae0
mov ecx, eax
test ecx, ecx
je 0x42adb0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
push str.20160102123456
mov ecx, ebx
mov dword [ebp - 4], 1
call fcn.00408870
test al, al
jne 0x42aadb
push 0xe
push str.20160102123456
mov ecx, ebx
call fcn.0040a770
push 0x200
lea eax, [ebp - 0x210]
mov dword [ebp - 0xa44], 1
push 0
push eax
call fcn.004803b0
xor ebx, ebx
add esp, 0xc
mov dword [ebp - 0xa50], ebx
mov dword [ebp - 0xa4c], ebx
mov dword [ebp - 0xa48], ebx
mov eax, dword [0x5642e4]
mov dword [ebp - 4], 2
test al, 1
jne 0x42ab2d
or eax, 1
mov dword [0x5642e0], ebx
mov dword [0x5642e4], eax
mov byte [ebp - 0xa11], 0
lea eax, [ebp - 0xa40]
mov byte [ebp - 4], 3
push eax
call fcn.00449387
lea eax, [ebp - 0xa40]
mov dword [ebp - 0xa58], eax
lea eax, [ebp - 0xa11]
mov dword [ebp - 0xa54], eax
lea eax, [ebp - 0xa58]
push eax
push 0x4288f0
push 0x5642e0
call fcn.00449dc9
add esp, 0x10
test eax, eax
je 0x42ad90
lea eax, [ebp - 0xa40]
mov byte [ebp - 4], 5
push eax
call fcn.004493c1
add esp, 4
mov byte [ebp - 4], 2
lea eax, [ebp - 0xa18]
mov dword [ebp - 0xa18], 0
push eax
push 0x20219
push 0
push 0x5642e8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42ac81
mov ebx, dword [ebp - 0xa18]
lea eax, [ebp - 0xa18]
push eax
lea eax, [ebp - 0xa10]
mov dword [ebp - 0xa50], ebx
push eax
lea eax, [ebp - 0xa38]
mov dword [ebp - 0xa4c], 0x200
push eax
push 0
push str.InstallDate
push ebx
mov dword [ebp - 0xa18], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42ac81
mov eax, dword [ebp - 0xa38]
cmp eax, 1
je 0x42ac1b
cmp eax, 2
jne 0x42ac81
mov eax, dword [ebp - 0xa18]
test eax, eax
je 0x42ac38
test al, 1
jne 0x42ac81
shr eax, 1
cmp word [ebp + eax*2 - 0xa12], 0
je 0x42ac41
jmp 0x42ac81
xor eax, eax
mov word [ebp - 0xa10], ax
lea ecx, [ebp - 0x210]
mov edx, 0xff
lea esi, [ebp - 0xa10]
mov eax, ecx
sub esi, eax
lea eax, [edx + 0x7ffffeff]
test eax, eax
je 0x42ac74
movzx eax, word [esi + ecx]
test ax, ax
je 0x42ac74
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x42ac56
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
push str.0000_00_00_00:00:00
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, esi
je 0x42accd
test ebx, ebx
je 0x42acaa
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0xa1c]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00455dea
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xa20]
mov dword [ebp - 0xa34], 0
push eax
lea eax, [ebp - 0xa24]
mov dword [ebp - 0xa30], 0
push eax
lea eax, [ebp - 0xa28]
mov dword [ebp - 0xa2c], 0
push eax
lea eax, [ebp - 0xa2c]
mov dword [ebp - 0xa28], 0
push eax
lea eax, [ebp - 0xa30]
mov dword [ebp - 0xa24], 0
push eax
lea eax, [ebp - 0xa34]
mov dword [ebp - 0xa20], 0
push eax
lea eax, [ebp - 0x210]
push str._04d__02d__02d__02d:_02d:_02d
push eax
call fcn.0040ae40
push dword [ebp - 0xa20]
mov esi, dword [ebp - 0xa1c]
push dword [ebp - 0xa24]
push dword [ebp - 0xa28]
push dword [ebp - 0xa2c]
push dword [ebp - 0xa30]
push dword [ebp - 0xa34]
push str._04d_02d_02d_02d_02d_02d
push esi
call fcn.00408d20
add esp, 0x40
test ebx, ebx
je 0x42acb0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42acb0
lea eax, [ebp - 0xa40]
mov byte [ebp - 4], 6
push eax
call fcn.00449403
add esp, 4
mov byte [ebp - 4], 4
test al, al
jne 0x42adba
call fcn.00449ec0
push 0x80004005
call fcn.00403cd0
sub esp, 8
lea eax, [ebp - 0xa40]
mov ecx, esp
push eax
call fcn.004057f0
call fcn.004064f0
int3