Function at 0x676580
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70aa96
mov eax, dword fs:[0]
push eax
mov eax, 0x1470
call fcn.0067c520
mov eax, dword [0x82d084]
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 0x74c4c8
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 0x74c4c8
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.0068e800
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 0x676794
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 0x67673e
mov eax, dword [ebp - 0x1478]
dec eax
cmp eax, 0x3fe
ja 0x67673e
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.0068e800
push 0x400
lea eax, [ebp - 0x1410]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.006a7739
lea ecx, [ebp - 0x410]
add esp, 0x18
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x676720
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 0x676794
lea eax, [ebp - 0x1440]
push eax
call fcn.00675ec0
add esp, 4
test al, al
je 0x676794
lea eax, [ebp - 0x1428]
push eax
lea eax, [ebp - 0x1470]
push eax
push esi
call fcn.00678190
lea eax, [ebp - 0x1428]
push eax
push dword [0x82d008]
push dword [0x82d004]
call fcn.00676340
add esp, 0x18
mov bl, al
jmp 0x676796
xor bl, bl
mov edx, dword [ebp - 0x1414]
cmp edx, 0x10
jb 0x6767d0
mov ecx, dword [ebp - 0x1428]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6767c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6768e4
push edx
push ecx
call fcn.0067bc93
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 0x676825
mov ecx, dword [ebp - 0x1440]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x67681b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6768e4
push edx
push ecx
call fcn.0067bc93
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 0x676876
mov ecx, dword [ebp - 0x1458]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x67686c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6768e4
push edx
push ecx
call fcn.0067bc93
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 0x6768c7
mov ecx, dword [ebp - 0x1470]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6768bd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6768e4
push edx
push ecx
call fcn.0067bc93
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.0067ba01
mov esp, ebp
pop ebp
ret
call fcn.00691015
int3