Function at 0x4d7180
Capabilities:
Get disk information
Hash data with md5
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x47c
mov eax, dword [0x5c4008]
xor eax, esp
mov dword [esp + 0x478], eax
push ebx
push esi
push edi
mov edi, ecx
mov ecx, 0x70a6a4
call fcn.0056b0a5
movaps xmm0, xmmword [0x5b4740]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x24], 0
push ebx
cpuid
mov esi, ebx
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 0x67452301
mov dword [esp + 0x30], 0xefcdab89
mov dword [esp + 0x34], 0x98badcfe
mov dword [esp + 0x38], 0x10325476
movups xmmword [esp + 0x8c], xmm0
pop ebx
lea ebx, [esp + 0x88]
mov dword [ebx], eax
mov dword [ebx + 4], esi
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
cmp dword [esp + 0x88], 1
jl 0x4d7252
mov eax, 1
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
lea ebx, [esp + 0x88]
mov dword [ebx], eax
mov dword [ebx + 4], esi
mov dword [ebx + 8], ecx
lea ecx, [esp + 0x20]
mov dword [ebx + 0xc], edx
lea edx, [esp + 0x94]
push 4
call fcn.004ff0b0
add esp, 4
lea ecx, [esp + 0x20]
mov edx, ebx
push 4
call fcn.004ff0b0
add esp, 4
push 0
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x4d7281
push 4
lea edx, [esp + 0x20]
lea ecx, [esp + 0x24]
call fcn.004ff0b0
add esp, 4
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4d7369
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x3e8
push eax
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x20]
push eax
push 0
push 0x5cbba4
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
je 0x4d732b
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x10]
push eax
push 0x101
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x4d732b
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x20]
push eax
push esi
push 0x5cbba4
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4d7369
lea ecx, [esp + 0x98]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d7343
sub ecx, edx
lea edx, [esp + 0x98]
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea ecx, [esp + 0x24]
call fcn.004ff0b0
add esp, 4
lea eax, [esp + 0x10]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftCryptography
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4d7449
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x3e8
push eax
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x20]
push eax
push 0
push str.MachineGuid
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
je 0x4d740b
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x10]
push eax
push 0x101
push 0
push str.SOFTWAREMicrosoftCryptography
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x4d740b
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x20]
push eax
push esi
push str.MachineGuid
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4d7449
lea ecx, [esp + 0x98]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d7423
sub ecx, edx
lea edx, [esp + 0x98]
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea ecx, [esp + 0x24]
call fcn.004ff0b0
add esp, 4
xor edx, edx
lea ecx, [esp + 0x20]
call fcn.004ff180
mov edx, edi
lea ecx, [esp + 0x20]
call fcn.004ff2b0
mov ecx, dword [esp + 0x484]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00551170
mov esp, ebp
pop ebp
ret