Function at 0x479240
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6af8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x284
mov dword [ebp - 0x40], 0x200
push 0x5f4060
call fcn.00478a80
add esp, 4
push str.03000200_0400_0500_0006_000700080009
push 0x5f4060
call fcn.0057ad68
add esp, 8
test eax, eax
je 0x4792e0
push str.12345678_1234_5678_90AB_CDDEEFAABBCC
push 0x5f4060
call fcn.0057ad68
add esp, 8
test eax, eax
je 0x4792e0
push str.00000000_0000_0000_0000_000000000000
push 0x5f4060
call fcn.0057ad68
add esp, 8
test eax, eax
je 0x4792e0
push str.FFFFFFFF_FFFF_FFFF_FFFF_FFFFFFFFFFFF
push 0x5f4060
call fcn.0057ad68
add esp, 8
test eax, eax
je 0x4792e0
push 0x5f4060
call fcn.0057aeca
add esp, 4
cmp eax, 0x24
je 0x47946f
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x50], esp
push str.SOFTWAREMicrosoftCryptography
call fcn.00415e70
lea eax, [ebp - 0x1c]
push eax
call fcn.0044d000
add esp, 0x1c
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
call fcn.0041afa0
push eax
lea ecx, [ebp - 0x90]
call fcn.00415e70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.004185a0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x54], esp
push str.MachineGuid
call fcn.00415e70
lea edx, [ebp - 0x28]
push edx
call fcn.0044d000
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x24]
call fcn.0041afa0
push eax
lea ecx, [ebp - 0x78]
call fcn.00415e70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.004185a0
lea ecx, [ebp - 0x10]
push ecx
push 0x101
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x58], esp
lea edx, [ebp - 0x90]
push edx
call fcn.00415d10
lea eax, [ebp - 0x34]
push eax
call fcn.0044cae0
add esp, 0x1c
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x30]
call fcn.0041afa0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0x34]
call fcn.004185a0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x5c], esp
lea edx, [ebp - 0x78]
push edx
call fcn.00415d10
lea eax, [ebp - 0x4c]
push eax
call fcn.0044cae0
add esp, 0x1c
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x3c]
call fcn.0041afa0
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x48], edx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x290]
push ecx
lea edx, [ebp - 0x60]
push edx
push 0
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x4c]
call fcn.004185a0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x290]
push eax
call fcn.0058779c
add esp, 4
push eax
push str._wsX
push 0x5f4060
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x78]
call fcn.00419200
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.00419200
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret