Function at 0x452e20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov ebx, edx
mov esi, ecx
mov eax, dword [0x49f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x14]
push ecx
push edi
call fcn.00452a20
add esp, 8
mov edi, dword [edi]
test edi, edi
je 0x452e8a
mov dword [ebp - 0x48], ebx
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, 2
test eax, eax
je 0x452e91
push edi
call fcn.0044fb00
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004501b0
mov eax, ebx
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, 2
jmp 0x452e76
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
push ecx
push 0x20019
push 0
push 0x4995be
mov dword [ebp - 0x3c], eax
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x452ec2
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x452e6d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x452e6d
mov ebx, dword [ebp - 0x30]
sub esp, 0x30
lea eax, [ebp - 0x20]
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
xorps xmm0, xmm0
movups xmmword [esp + 0x14], xmm0
movups xmmword [esp + 4], xmm0
mov dword [esp], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test ebx, ebx
je 0x452f0a
push ebx
mov dword [ebp - 0x40], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, 2
cmp dword [ebp - 0x40], 0
jne 0x452eb2
jmp 0x452f13
mov ebx, 2
test eax, eax
jne 0x452eb2
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x452eb2
xor ecx, ecx
lea eax, [ebp - 0x34]
mov dword [eax], ecx
push eax
push ecx
push ecx
push 2
push str.ProgId
push 0x4995be
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x452eb2
mov eax, dword [ebp - 0x34]
shr eax, 1
lea ecx, [eax + 2]
lea ebx, [eax + eax]
add ebx, 4
xor eax, eax
dec eax
test ecx, ecx
cmovs ebx, eax
push ebx
call fcn.0044faf7
add esp, 4
push ebx
xor ecx, ecx
push ecx
push eax
mov ebx, eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x40], ebx
push ebx
xor eax, eax
push eax
push 2
push str.ProgId
push 0x4995be
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ebx, 2
test eax, eax
je 0x452fb3
push dword [ebp - 0x40]
call fcn.0044fb00
add esp, 4
jmp 0x452eb2
xor ecx, ecx
mov dword [ebp - 0x34], ecx
lea eax, [ebp - 0x34]
push eax
push ecx
push ecx
push 2
push str.Hash
push 0x4995be
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x452fa3
mov eax, dword [ebp - 0x34]
shr eax, 1
lea ebx, [eax + eax]
add ebx, 4
add eax, 2
mov eax, 0xffffffff
cmovs ebx, eax
push ebx
call fcn.0044faf7
add esp, 4
push ebx
xor ecx, ecx
push ecx
push eax
mov ebx, eax
mov dword [ebp - 0x44], eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x34]
push eax
push ebx
xor eax, eax
push eax
push 2
push str.Hash
push 0x4995be
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ebx, 2
test eax, eax
mov eax, dword [ebp - 0x44]
je 0x45303f
push eax
call fcn.0044fb00
add esp, 4
jmp 0x452fa3
sub esp, 0x20
movups xmm0, xmmword [ebp - 0x30]
movups xmmword [esp + 0x10], xmm0
mov eax, dword [ebp - 0x40]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 8], eax
mov dword [esp + 4], esi
lea esi, [ebp - 0x38]
mov dword [esp], esi
call fcn.00452aa0
add esp, 0x20
mov esi, dword [esi]
test esi, esi
je 0x453093
push 0
xor eax, eax
dec eax
push eax
push dword [ebp - 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CompareStringOrdinal]
xor ebx, ebx
cmp eax, 2
setne bl
push esi
call fcn.0044fb00
add esp, 4
mov eax, dword [ebp - 0x44]
jmp 0x453031