Function at 0x678991b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6793b826
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x67ad7034]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x234]
push eax
push 0x20019
push 0
push 0x67abd9f4
push 0x80000001
mov dword [ebp - 0x218], edi
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x264], 0
push 3
push 0x67abd9f0
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0xf
mov byte [ebp - 0x264], 0
mov byte [ebp - 4], 1
call fcn.677d7ac0
mov dword [ebp - 0x24c], 0
push 2
push 0x67abda48
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0xf
mov byte [ebp - 0x24c], 0
mov byte [ebp - 4], 3
call fcn.677d7ac0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x264]
cmp dword [ebp - 0x250], 0x10
lea ecx, [ebp - 0x230]
push dword [ebp - 0x254]
cmovae eax, dword [ebp - 0x264]
mov esi, dword [ebp - 0x234]
push eax
call fcn.677d7ac0
cmp dword [ebp - 0x238], 0x10
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x218], 0x200
push ecx
push 0
lea eax, [ebp - 0x24c]
cmovae eax, dword [ebp - 0x24c]
push 0
push eax
push esi
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x6789933c
lea ecx, [ebp - 0x214]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x67899320
sub ecx, edx
lea eax, [ebp - 0x214]
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.677d7ac0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x238]
cmp edx, 0x10
jb 0x67899376
mov ecx, dword [ebp - 0x24c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6789936c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x678993c1
push edx
push ecx
call fcn.67934867
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x250]
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0xf
mov byte [ebp - 0x24c], 0
cmp edx, 0x10
jb 0x678993d1
mov ecx, dword [ebp - 0x264]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x678993c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x678993c7
call dword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.67934867
add esp, 8
mov edx, dword [ebp - 0x21c]
lea esi, [ebp - 0x230]
mov ecx, dword [ebp - 0x230]
mov eax, dword [ebp - 0x220]
cmp edx, 0x10
jb 0x678993f4
add eax, ecx
mov esi, ecx
jmp 0x678993fc
add eax, esi
lea esi, [ebp - 0x230]
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov byte [ebp - 4], 1
cmp esi, eax
je 0x67899432
sub eax, esi
mov ecx, edi
push eax
push esi
call fcn.677d7ac0
mov edx, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x230]
cmp edx, 0x10
jb 0x67899462
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x67899458
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x67899458
call dword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.67934867
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.679343f5
mov esp, ebp
pop ebp
ret 4