Function at 0x10145dd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102b1d53
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x10373f78]
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.10267270
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 0x101460bf
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 0x101460ad
cmp dword [ebp - 0x224], 4
jne 0x101460ad
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 0x101460ad
cmp dword [ebp - 0x224], 4
jne 0x101460ad
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 0x101460ad
cmp dword [ebp - 0x228], 1
jne 0x101460ad
mov eax, dword [ebp - 0x218]
cmp eax, 0xb
jae 0x1014670d
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 0x10145ff0
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.1004f390
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.10150f00
mov edx, dword [ebp - 0x68]
add esp, 8
mov byte [ebp - 0x219], al
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x10146061
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10146051
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10146703
push edx
push ecx
call fcn.1026505f
mov al, byte [ebp - 0x219]
add esp, 8
test al, al
je 0x101460ad
mov eax, dword [ebp - 0x224]
mov dword [edi + 0x40], eax
lea eax, [ebp - 0x220]
push eax
push 0x102bc9d0
push dword [ebp - 0x22c]
call fcn.101467e0
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 0x101460bf
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 0x101460e2
sub ecx, edx
sar ecx, 1
push ecx
push str.kernel32.dll
lea ecx, [ebp - 0x4c]
call fcn.1004f0f0
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0xc4]
call fcn.1012cb50
lea ecx, [ebp - 0x214]
mov byte [ebp - 4], 3
push ecx
push eax
call fcn.10150fa0
add esp, 8
mov byte [ebp - 0x219], al
lea ecx, [ebp - 0xc4]
call fcn.10083490
mov edx, dword [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x1014617b
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10146171
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10146708
push edx
push ecx
call fcn.1026505f
add esp, 8
cmp byte [ebp - 0x219], 0
je 0x101466e6
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 0x101461cd
push 6
push str.Debug_
lea ecx, [ebp - 0x34]
call fcn.1004f5e0
mov eax, dword [ebp - 0x218]
test al, 4
je 0x101461e6
push 8
push str.Patched_
lea ecx, [ebp - 0x34]
call fcn.1004f5e0
mov eax, dword [ebp - 0x218]
test al, 2
je 0x101461ff
push 0xb
push str.Prerelease_
lea ecx, [ebp - 0x34]
call fcn.1004f5e0
mov eax, dword [ebp - 0x218]
test al, 8
je 0x10146218
push 8
push str.Private_
lea ecx, [ebp - 0x34]
call fcn.1004f5e0
mov eax, dword [ebp - 0x218]
test al, 0x20
je 0x1014622b
push 8
push str.Special_
lea ecx, [ebp - 0x34]
call fcn.1004f5e0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x101462aa
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.1004f390
mov edx, dword [ebp - 0x20]
mov esi, 0x18
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x101462c1
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1014629e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10146712
push edx
push ecx
call fcn.1026505f
add esp, 8
jmp 0x101462c1
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 0x10146314
movq xmm0, qword [str.Windows_NT]
mov ax, word [0x102bc8d0]
mov dword [ebp - 0x54], 0xa
movq qword [ebp - 0x64], xmm0
mov word [ebp - 0x5c], ax
mov byte [ebp - 0x5a], 0
jmp 0x1014633f
mov eax, dword [str.Unknown]
mov dword [ebp - 0x64], eax
mov ax, word [0x102bc8d8]
mov word [ebp - 0x60], ax
mov al, byte [0x102bc8da]
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 0x10146373
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 0x10146379
mov eax, dword [ebp - 0x234]
push eax
lea eax, [ebp - 0x94]
push 0x102bc9d8
push eax
call fcn.1013cf90
add esp, 0xc
lea ecx, [edi + 0x1c]
push eax
call fcn.1005d390
mov edx, dword [ebp - 0x80]
cmp edx, 0x10
jb 0x101463ce
mov ecx, dword [ebp - 0x94]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x101463c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10146717
push edx
push ecx
call fcn.1026505f
add esp, 8
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
jne 0x101463df
mov edx, 0x1032cabf
jmp 0x101464ec
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.1004f5e0
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 0x1033be2c
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x218], esi
call fcn.1004f5e0
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 0x101464f7
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.1013cf90
add esp, 0x20
lea ecx, [edi + 4]
push eax
call fcn.1005d390
mov edx, dword [ebp - 0x80]
cmp edx, 0x10
jb 0x10146562
mov ecx, dword [ebp - 0x94]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10146558
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014671c
push edx
push ecx
call fcn.1026505f
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 0x101465d9
mov edx, dword [ebp - 0x20]
and eax, 0xfffffffb
mov dword [ebp - 0x220], eax
cmp edx, 0x10
jb 0x101465c7
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x101465b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014671c
push edx
push ecx
call fcn.1026505f
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 0x10146632
mov edx, dword [ebp - 0x68]
and eax, 0xfffffffd
mov dword [ebp - 0x220], eax
cmp edx, 0x10
jb 0x10146620
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10146610
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014671c
push edx
push ecx
call fcn.1026505f
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 0x10146670
mov edx, dword [ebp - 0x98]
cmp edx, 0x10
jb 0x10146670
mov ecx, dword [ebp - 0xac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10146666
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014671c
push edx
push ecx
call fcn.1026505f
add esp, 8
mov edx, dword [ebp - 0x50]
cmp edx, 0x10
jb 0x101466a4
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1014669a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10146721
push edx
push ecx
call fcn.1026505f
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 0x101466e6
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x101466dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10146721
push edx
push ecx
call fcn.1026505f
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.102649e4
mov esp, ebp
pop ebp
ret 4
call fcn.10275373
call fcn.10275373
call fcn.1026553b
call fcn.10275373
call fcn.10275373
call fcn.10275373
call fcn.10275373
int3