Function at 0x4528d0
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 [0x4a0088]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x14]
push ecx
push edi
call fcn.004524d0
add esp, 8
mov edi, dword [edi]
test edi, edi
je 0x45293a
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 0x452941
push edi
call fcn.0044f120
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044f7d0
mov eax, ebx
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, 2
jmp 0x452926
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
push ecx
push 0x20019
push 0
push 0x49aba8
mov dword [ebp - 0x3c], eax
push eax
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
je 0x452972
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x45291d
push eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x45291d
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 0x4529ba
push ebx
mov dword [ebp - 0x40], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov ebx, 2
cmp dword [ebp - 0x40], 0
jne 0x452962
jmp 0x4529c3
mov ebx, 2
test eax, eax
jne 0x452962
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.kernel32.dll_FileTimeToSystemTime]
test eax, eax
je 0x452962
xor ecx, ecx
lea eax, [ebp - 0x34]
mov dword [eax], ecx
push eax
push ecx
push ecx
push 2
push str.ProgId
push 0x49aba8
push dword [ebp - 0x3c]
call dword [sym.imp.advapi32.dll_RegGetValueW]
test eax, eax
jne 0x452962
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.0044f9c3
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 0x49aba8
push dword [ebp - 0x3c]
call dword [sym.imp.advapi32.dll_RegGetValueW]
mov ebx, 2
test eax, eax
je 0x452a63
push dword [ebp - 0x40]
call fcn.0044f120
add esp, 4
jmp 0x452962
xor ecx, ecx
mov dword [ebp - 0x34], ecx
lea eax, [ebp - 0x34]
push eax
push ecx
push ecx
push 2
push str.Hash
push 0x49aba8
push dword [ebp - 0x3c]
call dword [sym.imp.advapi32.dll_RegGetValueW]
test eax, eax
jne 0x452a53
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.0044f9c3
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 0x49aba8
push dword [ebp - 0x3c]
call dword [sym.imp.advapi32.dll_RegGetValueW]
mov ebx, 2
test eax, eax
mov eax, dword [ebp - 0x44]
je 0x452aef
push eax
call fcn.0044f120
add esp, 4
jmp 0x452a53
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.00452550
add esp, 0x20
mov esi, dword [esi]
test esi, esi
je 0x452b43
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.0044f120
add esp, 4
mov eax, dword [ebp - 0x44]
jmp 0x452ae1