Function at 0x4f44a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x17c
mov eax, dword [0x531304]
xor eax, ebp
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14c], 0
mov eax, dword [ebp + 8]
push eax
call fcn.00415fa8
add esp, 4
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
add edx, 0x100
push edx
call fcn.00415d52
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add eax, 8
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0xd
cmp dword [ebp - 0x1c], 0
je 0x4f47dc
call fcn.004f4370
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4f47d0
mov dword [ebp - 0x17c], 0x80
lea edx, [ebp - 0x10]
push edx
push 0x101
push 0
push str.SoftwareMicrosoftCryptography
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4f47c6
lea eax, [ebp - 0x17c]
push eax
lea ecx, [ebp - 0x148]
push ecx
push 0
push 0
push str.MachineGuid
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4f47bc
mov eax, dword [ebp - 4]
mov dword [eax], 0
mov ecx, dword [ebp - 4]
add ecx, 4
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov dword [edx], 4
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ecx], 1
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov dword [eax], 1
mov ecx, dword [ebp - 4]
add ecx, 4
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov dword [edx], 4
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ecx], 1
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov dword [eax], 2
mov ecx, dword [ebp - 4]
add ecx, 4
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
add ecx, 4
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00415910
add esp, 0xc
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x18]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0041916c
add esp, 8
mov edx, dword [ebp - 0x14]
push edx
call fcn.00415fa8
add esp, 4
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 0x178], edx
mov eax, dword [ebp - 0x178]
mov word [eax], 0x2d
mov ecx, dword [ebp - 0x178]
add ecx, 2
mov dword [ebp - 0x178], ecx
lea edx, [ebp - 0x148]
push edx
mov eax, dword [ebp - 0x178]
push eax
call fcn.0041916c
add esp, 8
lea ecx, [ebp - 0x148]
push ecx
call fcn.00415fa8
add esp, 4
mov edx, dword [ebp - 0x178]
lea eax, [edx + eax*2]
mov dword [ebp - 0x178], eax
lea ecx, [ebp - 0xc8]
push ecx
call fcn.004e4390
add esp, 4
mov edx, dword [ebp - 0x178]
sub edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0xc]
push eax
lea ecx, [ebp - 0xc8]
push ecx
call fcn.004e5240
add esp, 0xc
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0xc8]
push eax
call fcn.004e5340
add esp, 8
lea ecx, [ebp - 0x174]
push ecx
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x178]
sub eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004e40e0
add esp, 0x10
mov edx, dword [ebp - 0x1c]
mov dword [edx], 1
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
mov dword [edx], 2
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 4
mov dword [ebp - 0x178], ecx
push 8
lea edx, [ebp - 0x174]
push edx
push 0x20
lea eax, [ebp - 0x16c]
push eax
call fcn.004f6180
add esp, 0x10
mov ecx, dword [ebp - 0x178]
push ecx
lea edx, [ebp - 0x16c]
push edx
call fcn.004f4150
add esp, 8
mov eax, dword [ebp - 0x178]
push eax
call fcn.00415e20
add esp, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
add eax, 4
push eax
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004f41f0
add esp, 0x10
mov eax, dword [ebp + 0xc]
mov dword [eax], 1
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
add edx, 4
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov dword [ebp - 0x14c], 1
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00415c75
add esp, 4
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.004158f4
mov esp, ebp
pop ebp
ret