Function at 0x557710
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c7d73
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x78efc4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x218], 0
push 0x100
mov dword [edi + 0x34], eax
lea eax, [ebp - 0x1cc]
push 0
push eax
mov dword [ebp - 0x1e0], 0x11c
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x1d8], 0
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x1d0], 0
call fcn.00679eb0
add esp, 0xc
mov dword [ebp - 0xc8], 0x10000
xor eax, eax
mov dword [ebp - 0xcc], eax
push 1
push 0x80
push eax
push eax
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
push 0x80
lea eax, [ebp - 0x1e0]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
mov byte [ebp - 0x230], 0
sete al
mov byte [edi + 0x44], al
xor eax, eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x22c]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5579ff
mov esi, dword [ebp - 0x22c]
mov dword [ebp - 0x238], esi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x228]
mov dword [ebp - 0x218], 4
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push str.CurrentMajorVersionNumber
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5579ed
cmp dword [ebp - 0x224], 4
jne 0x5579ed
mov eax, dword [ebp - 0x228]
mov dword [edi + 0x38], eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x228], 4
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push str.CurrentMinorVersionNumber
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5579ed
cmp dword [ebp - 0x224], 4
jne 0x5579ed
mov eax, dword [ebp - 0x218]
mov dword [edi + 0x3c], eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x218], 0xa
push eax
lea eax, [ebp - 0x228]
push eax
push 0
push str.CurrentBuildNumber
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5579ed
cmp dword [ebp - 0x228], 1
jne 0x5579ed
mov eax, dword [ebp - 0x218]
cmp eax, 0xb
jae 0x55804d
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x7c], 0
mov byte [ebp + eax - 0x1c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x557930
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.0044daa0
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.005627f0
mov edx, dword [ebp - 0x68]
add esp, 8
mov byte [ebp - 0x219], al
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x5579a1
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x557991
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x558043
push edx
push ecx
call fcn.006779b1
mov al, byte [ebp - 0x219]
add esp, 8
test al, al
je 0x5579ed
mov eax, dword [ebp - 0x224]
mov dword [edi + 0x40], eax
lea eax, [ebp - 0x220]
push eax
push 0x6d2a20
push dword [ebp - 0x22c]
call fcn.00558120
mov ecx, dword [ebp - 0x230]
add esp, 0xc
test al, al
movzx ecx, cl
mov eax, dword [ebp - 0x220]
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], ecx
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x5579ff
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, str.kernel32.dll
mov dword [ebp - 0x4c], 0
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x557a22
sub ecx, edx
sar ecx, 1
push ecx
push str.kernel32.dll
lea ecx, [ebp - 0x4c]
call fcn.0044d800
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0xc4]
call fcn.0053e440
lea ecx, [ebp - 0x214]
mov byte [ebp - 4], 3
push ecx
push eax
call fcn.00562890
add esp, 8
mov byte [ebp - 0x219], al
lea ecx, [ebp - 0xc4]
call fcn.005340c0
mov edx, dword [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x557abb
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x557ab1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x558048
push edx
push ecx
call fcn.006779b1
add esp, 8
cmp byte [ebp - 0x219], 0
je 0x558026
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov dword [ebp - 4], 4
test al, 1
je 0x557b0d
push 6
push str.Debug_
lea ecx, [ebp - 0x34]
call fcn.00465320
mov eax, dword [ebp - 0x218]
test al, 4
je 0x557b26
push 8
push str.Patched_
lea ecx, [ebp - 0x34]
call fcn.00465320
mov eax, dword [ebp - 0x218]
test al, 2
je 0x557b3f
push 0xb
push str.Prerelease_
lea ecx, [ebp - 0x34]
call fcn.00465320
mov eax, dword [ebp - 0x218]
test al, 8
je 0x557b58
push 8
push str.Private_
lea ecx, [ebp - 0x34]
call fcn.00465320
mov eax, dword [ebp - 0x218]
test al, 0x20
je 0x557b6b
push 8
push str.Special_
lea ecx, [ebp - 0x34]
call fcn.00465320
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x557bea
lea ecx, [eax - 1]
mov dword [ebp - 0x4c], 0
cmp eax, ecx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
cmovb ecx, eax
mov byte [ebp - 0x4c], 0
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
push ecx
cmovae eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x4c]
push eax
call fcn.0044daa0
mov edx, dword [ebp - 0x20]
mov esi, 0x18
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x557c01
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x557bde
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x558052
push edx
push ecx
call fcn.006779b1
add esp, 8
jmp 0x557c01
movups xmm0, xmmword [ebp - 0x34]
mov esi, 8
movups xmmword [ebp - 0x4c], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [ebp - 0x3c], xmm0
mov eax, dword [ebp - 0x1f4]
or esi, 0x20
and eax, 0x40004
mov dword [ebp - 4], 7
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x218], esi
cmp eax, 0x40004
jne 0x557c54
movq xmm0, qword [str.Windows_NT]
mov ax, word [0x6d2920]
mov dword [ebp - 0x54], 0xa
movq qword [ebp - 0x64], xmm0
mov word [ebp - 0x5c], ax
mov byte [ebp - 0x5a], 0
jmp 0x557c7f
mov eax, dword [str.Unknown]
mov dword [ebp - 0x64], eax
mov ax, word [0x6d2928]
mov word [ebp - 0x60], ax
mov al, byte [0x6d292a]
mov dword [ebp - 0x54], 7
mov byte [ebp - 0x5e], al
mov byte [ebp - 0x5d], 0
mov dword [ebp - 0x220], esi
cmp byte [ebp - 0x230], 0
mov byte [ebp - 4], 8
jne 0x557cb3
mov ecx, dword [ebp - 0x20c]
mov eax, ecx
shr eax, 0x10
mov dword [edi + 0x38], eax
movzx eax, cx
mov ecx, dword [ebp - 0x208]
mov dword [edi + 0x3c], eax
mov eax, ecx
shr eax, 0x10
mov dword [edi + 0x40], eax
movzx eax, cx
jmp 0x557cb9
mov eax, dword [ebp - 0x234]
push eax
lea eax, [ebp - 0x94]
push 0x6d2a28
push eax
call fcn.0054e860
add esp, 0xc
lea ecx, [edi + 0x1c]
push eax
call fcn.0044d220
mov edx, dword [ebp - 0x80]
cmp edx, 0x10
jb 0x557d0e
mov ecx, dword [ebp - 0x94]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x557d04
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x558057
push edx
push ecx
call fcn.006779b1
add esp, 8
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
jne 0x557d1f
mov edx, 0x742c18
jmp 0x557e2c
mov dword [ebp - 0xac], 0
mov eax, 0x2820
mov dword [ebp - 0x98], 0xf
mov dword [ebp - 0x9c], 2
mov word [ebp - 0xac], ax
mov byte [ebp - 0xaa], 0
or esi, 1
mov byte [ebp - 4], 9
cmp dword [ebp - 0x38], 0x10
lea eax, [ebp - 0x4c]
push ecx
cmovae eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0xac]
push eax
mov dword [ebp - 0x218], esi
call fcn.00465320
mov dword [ebp - 0x7c], 0
or esi, 0x40
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x7c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x6c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 1
or esi, 2
mov dword [ebp - 4], 0xa
push 0x74a7b0
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x218], esi
call fcn.00465320
mov dword [ebp - 0x34], 0
or esi, 0x80
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x34], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x24], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
or esi, 4
mov dword [ebp - 4], 0xb
cmp dword [ebp - 0x20], 0x10
lea edx, [ebp - 0x34]
mov dword [ebp - 0x220], esi
cmovae edx, dword [ebp - 0x34]
mov dword [ebp - 0x218], esi
cmp dword [edi + 0x30], 0x10
lea ecx, [edi + 0x1c]
jb 0x557e37
mov ecx, dword [ecx]
cmp dword [ebp - 0x50], 0x10
lea eax, [ebp - 0x64]
push edx
cmovae eax, dword [ebp - 0x64]
push ecx
push dword [edi + 0x40]
push dword [edi + 0x3c]
push dword [edi + 0x38]
push eax
lea eax, [ebp - 0x94]
push str._s__u._u._u._s_s
push eax
call fcn.0054e860
add esp, 0x20
lea ecx, [edi + 4]
push eax
call fcn.0044d220
mov edx, dword [ebp - 0x80]
cmp edx, 0x10
jb 0x557ea2
mov ecx, dword [ebp - 0x94]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x557e98
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x55805c
push edx
push ecx
call fcn.006779b1
add esp, 8
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
test al, 4
je 0x557f19
mov edx, dword [ebp - 0x20]
and eax, 0xfffffffb
mov dword [ebp - 0x220], eax
cmp edx, 0x10
jb 0x557f07
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x557ef7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x55805c
push edx
push ecx
call fcn.006779b1
mov eax, dword [ebp - 0x220]
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
test al, 2
je 0x557f72
mov edx, dword [ebp - 0x68]
and eax, 0xfffffffd
mov dword [ebp - 0x220], eax
cmp edx, 0x10
jb 0x557f60
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x557f50
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x55805c
push edx
push ecx
call fcn.006779b1
mov eax, dword [ebp - 0x220]
add esp, 8
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
test al, 1
je 0x557fb0
mov edx, dword [ebp - 0x98]
cmp edx, 0x10
jb 0x557fb0
mov ecx, dword [ebp - 0xac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x557fa6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x55805c
push edx
push ecx
call fcn.006779b1
add esp, 8
mov edx, dword [ebp - 0x50]
cmp edx, 0x10
jb 0x557fe4
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x557fda
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x558061
push edx
push ecx
call fcn.006779b1
add esp, 8
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
cmp edx, 0x10
jb 0x558026
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x55801c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x558061
push edx
push ecx
call fcn.006779b1
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006773ff
mov esp, ebp
pop ebp
ret 4
call fcn.00682da2
call fcn.00682da2
call fcn.00677d69
call fcn.00682da2
call fcn.00682da2
call fcn.00682da2
call fcn.00682da2
int3