Function at 0x6781f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70c8d6
mov eax, dword fs:[0]
push eax
mov eax, 0x1470
call fcn.0067e170
mov eax, dword [0x82f084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x1470]
push 3
push 0x74d4c8
mov dword [ebp - 0x1460], 0
mov dword [ebp - 0x145c], 0xf
mov byte [ebp - 0x1470], 0
call fcn.00430160
mov dword [ebp - 0x1448], 0
mov dword [ebp - 0x1444], 0xf
mov byte [ebp - 0x1458], 0
mov dword [ebp - 0x1430], 0
mov dword [ebp - 0x142c], 0xf
mov byte [ebp - 0x1440], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1418], 0
mov dword [ebp - 0x1414], 0xf
mov byte [ebp - 0x1428], 0
push 3
push 0x74d4c8
lea ecx, [ebp - 0x1470]
mov byte [ebp - 4], 1
call fcn.00430160
push 0x1000
lea eax, [ebp - 0x1410]
mov dword [ebp - 0x147c], 1
push 0
push eax
xor bl, bl
mov dword [ebp - 0x1474], 0
call fcn.00690450
add esp, 0xc
mov dword [ebp - 0x1478], 0x400
lea eax, [ebp - 0x1474]
push eax
push 0x101
push 0
push str.SOFTWAREMicrosoftCryptography
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x678404
lea eax, [ebp - 0x1478]
push eax
lea eax, [ebp - 0x1410]
push eax
lea eax, [ebp - 0x147c]
push eax
push 0
push str.MachineGuid
push dword [ebp - 0x1474]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x6783ae
mov eax, dword [ebp - 0x1478]
dec eax
cmp eax, 0x3fe
ja 0x6783ae
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.00690450
push 0x400
lea eax, [ebp - 0x1410]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.006a9389
lea ecx, [ebp - 0x410]
add esp, 0x18
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x678390
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
lea ecx, [ebp - 0x1458]
call fcn.00430160
mov bl, 1
push dword [ebp - 0x1474]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x678404
lea eax, [ebp - 0x1440]
push eax
call fcn.00677b30
add esp, 4
test al, al
je 0x678404
lea eax, [ebp - 0x1428]
push eax
lea eax, [ebp - 0x1470]
push eax
push esi
call fcn.00679e00
lea eax, [ebp - 0x1428]
push eax
push dword [0x82f008]
push dword [0x82f004]
call fcn.00677fb0
add esp, 0x18
mov bl, al
jmp 0x678406
xor bl, bl
mov edx, dword [ebp - 0x1414]
cmp edx, 0x10
jb 0x678440
mov ecx, dword [ebp - 0x1428]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x678436
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x678554
push edx
push ecx
call fcn.0067d8e3
add esp, 8
mov edx, dword [ebp - 0x142c]
mov dword [ebp - 0x1418], 0
mov dword [ebp - 0x1414], 0xf
mov byte [ebp - 0x1428], 0
cmp edx, 0x10
jb 0x678495
mov ecx, dword [ebp - 0x1440]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x67848b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x678554
push edx
push ecx
call fcn.0067d8e3
add esp, 8
mov edx, dword [ebp - 0x1444]
mov dword [ebp - 0x1430], 0
mov dword [ebp - 0x142c], 0xf
mov byte [ebp - 0x1440], 0
cmp edx, 0x10
jb 0x6784e6
mov ecx, dword [ebp - 0x1458]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6784dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x678554
push edx
push ecx
call fcn.0067d8e3
add esp, 8
mov edx, dword [ebp - 0x145c]
mov dword [ebp - 0x1448], 0
mov dword [ebp - 0x1444], 0xf
mov byte [ebp - 0x1458], 0
cmp edx, 0x10
jb 0x678537
mov ecx, dword [ebp - 0x1470]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x67852d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x678554
push edx
push ecx
call fcn.0067d8e3
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0067d651
mov esp, ebp
pop ebp
ret
call fcn.00692c65
int3