Function at 0x44f6e0
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 [0x4a1088]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x14]
push ecx
push edi
call fcn.0044f2e0
add esp, 8
mov edi, dword [edi]
test edi, edi
je 0x44f74a
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 0x44f751
push edi
call fcn.004484c0
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00448b70
mov eax, ebx
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, 2
jmp 0x44f736
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
push ecx
push 0x20019
push 0
push 0x49bacc
mov dword [ebp - 0x3c], eax
push eax
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
je 0x44f782
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x44f72d
push eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x44f72d
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 0x44f7ca
push ebx
mov dword [ebp - 0x40], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov ebx, 2
cmp dword [ebp - 0x40], 0
jne 0x44f772
jmp 0x44f7d3
mov ebx, 2
test eax, eax
jne 0x44f772
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.kernel32.dll_FileTimeToSystemTime]
test eax, eax
je 0x44f772
xor ecx, ecx
lea eax, [ebp - 0x34]
mov dword [eax], ecx
push eax
push ecx
push ecx
push 2
push str.ProgId
push 0x49bacc
push dword [ebp - 0x3c]
call dword [sym.imp.advapi32.dll_RegGetValueW]
test eax, eax
jne 0x44f772
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.00448d63
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 0x49bacc
push dword [ebp - 0x3c]
call dword [sym.imp.advapi32.dll_RegGetValueW]
mov ebx, 2
test eax, eax
je 0x44f873
push dword [ebp - 0x40]
call fcn.004484c0
add esp, 4
jmp 0x44f772
xor ecx, ecx
mov dword [ebp - 0x34], ecx
lea eax, [ebp - 0x34]
push eax
push ecx
push ecx
push 2
push str.Hash
push 0x49bacc
push dword [ebp - 0x3c]
call dword [sym.imp.advapi32.dll_RegGetValueW]
test eax, eax
jne 0x44f863
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.00448d63
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 0x49bacc
push dword [ebp - 0x3c]
call dword [sym.imp.advapi32.dll_RegGetValueW]
mov ebx, 2
test eax, eax
mov eax, dword [ebp - 0x44]
je 0x44f8ff
push eax
call fcn.004484c0
add esp, 4
jmp 0x44f863
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.0044f360
add esp, 0x20
mov esi, dword [esi]
test esi, esi
je 0x44f953
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.004484c0
add esp, 4
mov eax, dword [ebp - 0x44]
jmp 0x44f8f1