Function at 0x479c70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff021
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x53d058]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x38], edi
lea eax, [ebp - 0x34]
mov dword [ebp - 0x38], edi
push eax
push 0x20119
push 0
push str.SOFTWAREMicrosoftCryptography
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x34], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, eax
mov dword [ebp - 0x3c], ecx
test ecx, ecx
je 0x479cd9
mov eax, 0x53ed5c
xor esi, esi
jmp 0x479ce6
mov esi, dword [ebp - 0x34]
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov eax, 0x53ece0
mov dword [ebp - 0x30], esi
mov dword [ebp - 4], 0
mov eax, dword [eax + 4]
cmp eax, dword [0x53ece4]
jne 0x479f00
test ecx, ecx
jne 0x479f00
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ecx
push eax
push ecx
push ecx
push 2
push str.MachineGuid
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x479d7b
push str.get_machine_guid
mov edx, 4
lea ecx, [ebp - 0xe4]
call fcn.0040fef0
add esp, 4
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 2
mov cl, byte [eax + 0x48]
test cl, cl
je 0x479f48
push str.RegGetValue_for_size_failed_err
push eax
call fcn.00414f60
mov eax, dword [ebp - 0x3c]
add esp, 8
mov cl, byte [eax + 0x48]
test cl, cl
je 0x479f48
push dword [ebp - 0x38]
mov ecx, eax
call fcn.00443780
jmp 0x479f48
mov eax, dword [ebp - 0x14]
test al, 1
je 0x479dd7
push str.get_machine_guid
mov edx, 4
lea ecx, [ebp - 0xe4]
call fcn.0040fef0
add esp, 4
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 3
mov cl, byte [eax + 0x48]
test cl, cl
je 0x479f48
push str.unexpected_size
push eax
call fcn.00414f60
mov eax, dword [ebp - 0x38]
add esp, 8
mov cl, byte [eax + 0x48]
test cl, cl
je 0x479f48
push dword [ebp - 0x14]
mov ecx, eax
call fcn.00413060
jmp 0x479f48
xor ecx, ecx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], cx
push ecx
shr eax, 1
lea ecx, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 4
call fcn.0040b7b0
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x14]
push ecx
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push 0
push 2
push str.MachineGuid
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x479ea4
push str.get_machine_guid
mov edx, 4
lea ecx, [ebp - 0xe4]
call fcn.0040fef0
add esp, 4
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 5
mov cl, byte [eax + 0x48]
test cl, cl
je 0x479e73
push str.RegGetValue_failed_err
push eax
call fcn.00414f60
mov eax, dword [ebp - 0x38]
add esp, 8
mov cl, byte [eax + 0x48]
test cl, cl
je 0x479e73
push dword [ebp - 0x3c]
mov ecx, eax
call fcn.00443780
lea ecx, [ebp - 0xe4]
call fcn.0040fdc0
xor eax, eax
mov dword [edi], 0
mov dword [edi + 0x10], 0
lea ecx, [ebp - 0x2c]
mov dword [edi + 0x14], 7
mov word [edi], ax
call fcn.004033a0
jmp 0x479f6c
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
shr eax, 1
push 0
dec eax
push eax
call fcn.0040b7b0
lea ecx, [ebp - 0x2c]
call fcn.0040b980
movups xmm0, xmmword [ebp - 0x2c]
mov dword [edi], 0
lea ecx, [ebp - 0x2c]
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
mov word [ebp - 0x2c], ax
movq xmm0, qword [ebp - 0x1c]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
call fcn.004033a0
jmp 0x479f6c
push str.get_machine_guid
mov edx, 4
lea ecx, [ebp - 0xe4]
call fcn.0040fef0
add esp, 4
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 1
mov cl, byte [eax + 0x48]
test cl, cl
je 0x479f48
push str.reg_open_HKEY_LOCAL_MACHINESOFTWAREMicrosoftCryptography_err
push eax
call fcn.00414f60
mov eax, dword [ebp - 0x38]
add esp, 8
mov cl, byte [eax + 0x48]
test cl, cl
je 0x479f48
push dword [ebp - 0x3c]
mov ecx, eax
call fcn.004131e0
lea ecx, [ebp - 0xe4]
call fcn.0040fdc0
mov dword [edi], 0
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
test esi, esi
je 0x479f77
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049852a
mov esp, ebp
pop ebp
ret