Function at 0x678210
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70c906
mov eax, dword fs:[0]
push eax
mov eax, 0x1470
call fcn.0067e1a0
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.00690480
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 0x678424
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 0x6783ce
mov eax, dword [ebp - 0x1478]
dec eax
cmp eax, 0x3fe
ja 0x6783ce
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.00690480
push 0x400
lea eax, [ebp - 0x1410]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.006a93b9
lea ecx, [ebp - 0x410]
add esp, 0x18
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x6783b0
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 0x678424
lea eax, [ebp - 0x1440]
push eax
call fcn.00677b50
add esp, 4
test al, al
je 0x678424
lea eax, [ebp - 0x1428]
push eax
lea eax, [ebp - 0x1470]
push eax
push esi
call fcn.00679e20
lea eax, [ebp - 0x1428]
push eax
push dword [0x82f008]
push dword [0x82f004]
call fcn.00677fd0
add esp, 0x18
mov bl, al
jmp 0x678426
xor bl, bl
mov edx, dword [ebp - 0x1414]
cmp edx, 0x10
jb 0x678460
mov ecx, dword [ebp - 0x1428]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x678456
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x678574
push edx
push ecx
call fcn.0067d913
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 0x6784b5
mov ecx, dword [ebp - 0x1440]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6784ab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x678574
push edx
push ecx
call fcn.0067d913
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 0x678506
mov ecx, dword [ebp - 0x1458]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6784fc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x678574
push edx
push ecx
call fcn.0067d913
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 0x678557
mov ecx, dword [ebp - 0x1470]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x67854d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x678574
push edx
push ecx
call fcn.0067d913
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.0067d681
mov esp, ebp
pop ebp
ret
call fcn.00692c95
int3