Function at 0x40721b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1890
call fcn.005fec20
mov eax, dword [0x708c34]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, 0x20119
cmp dword [0x716864], 0
mov dword [ebp - 0x188c], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x1890], eax
mov eax, 0x20019
cmovne eax, ecx
mov dword [ebp - 0x1878], 0x3e8
lea ecx, [ebp - 0x187c]
xor edi, edi
push ecx
push eax
push edi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40729c
push eax
push str.ComputeHashForDigsby
push str._s___Failed_to_open_product_registry_key__Error0x_.8x
call fcn.00449974
add esp, 0xc
xor eax, eax
jmp 0x407472
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x1884]
push eax
lea eax, [ebp - 0x1880]
mov dword [ebp - 0x1884], 4
push eax
lea eax, [ebp - 0x1888]
mov dword [ebp - 0x1880], edi
push eax
push edi
push str.InstallDate
push dword [ebp - 0x187c]
call esi
test eax, eax
je 0x4072f4
push eax
push str.ComputeHashForDigsby
push str._s___Failed_to_query__InstallDate_registry_value__Error0x_.8x
call fcn.00449974
add esp, 0xc
xor eax, eax
jmp 0x407471
push ebx
push dword [ebp - 0x1880]
mov ebx, str.ComputeHashForDigsby
push ebx
push str._s___Found_install_date_0x_.8x
call fcn.00449974
add esp, 0xc
lea eax, [ebp - 0x1878]
push eax
lea eax, [ebp - 0x4ec]
push eax
lea eax, [ebp - 0x1888]
push eax
push edi
push str.DigitalProductId
push dword [ebp - 0x187c]
call esi
test eax, eax
je 0x407341
push eax
push ebx
push str._s___Failed_to_query__DigitalProductId_registry_value__Error0x_.8x
jmp 0x407427
push dword [ebp - 0x187c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x1878]
push dword [ebp - 0x1878]
push ebx
push str._s___Successfully_read_all_the_registry_values__productid_size__0x_.8x___d_
call fcn.00449974
mov ebx, dword [ebp - 0x1878]
lea eax, [ebp - 0x4ec]
push ebx
push eax
lea eax, [ebp - 0x1874]
push eax
call fcn.006269d0
push dword [ebp - 0x1880]
lea edi, [ebp - 0x1874]
push 0x679428
add edi, ebx
push 0x1388
push edi
call fcn.00445d6d
push edi
mov esi, eax
mov edi, str.ComputeHashForDigsby
push esi
push edi
push str._s_Date_string_length_is__d___s
call fcn.00449974
add ebx, esi
mov esi, dword [ebp - 0x188c]
push esi
call fcn.00631510
add esp, 0x40
push eax
lea eax, [ebp - 0x1874]
add eax, ebx
push esi
push eax
call fcn.006269d0
push esi
call fcn.00631510
add ebx, eax
push ebx
push ebx
push edi
push str._s_Hash_string_creation_completed__length_is__d__0x_.8x_
call fcn.00449974
mov esi, dword [ebp - 0x1890]
lea eax, [ebp - 0x1874]
push ebx
push eax
push esi
call fcn.006269d0
push 0x100
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x1874]
push ebx
push eax
call fcn.00449127
add esp, 0x3c
test eax, eax
jne 0x407433
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str._s___Failed_to_compute_the_SHA1_hash__Error0x_.8x
call fcn.00449974
add esp, 0xc
xor eax, eax
jmp 0x407470
lea eax, [ebp - 0x104]
push eax
push eax
call fcn.00631510
pop ecx
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.00631510
pop ecx
push eax
push edi
push str._s__Final_hash__d__0x_.8x____data_is__n_n__s
call fcn.00449974
push 0x14
lea eax, [ebp - 0x104]
push eax
push esi
call fcn.006269d0
xor eax, eax
add esp, 0x20
inc eax
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.005fe955
leave
ret