Function at 0x1002aa40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006f416
mov eax, dword fs:[0]
push eax
sub esp, 0x484
mov eax, dword [0x1008f180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x454], esi
push 0x400
lea eax, [ebp - 0x450]
mov dword [ebp - 0x454], esi
push 0
push eax
mov dword [ebp - 0x454], 1
mov dword [ebp - 0x474], 0
call fcn.1004f4a0
push 0x40
lea eax, [ebp - 0x50]
mov dword [ebp - 0x470], 0x400
push 0
push eax
call fcn.1004f4a0
xorps xmm0, xmm0
mov dword [ebp - 0x45c], 0
movups xmmword [ebp - 0x46c], xmm0
add esp, 0x18
mov dword [ebp - 0x458], 0xf
mov byte [ebp - 0x46c], 0
lea eax, [ebp - 0x474]
mov dword [ebp - 4], 0
push eax
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1002ad6c
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x454]
push eax
push 0
push str.ProductName
push dword [ebp - 0x474]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1002ad6c
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x46c]
call fcn.10016430
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x454]
push eax
push 0
push str.CurrentBuild
push dword [ebp - 0x474]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x474]
test eax, eax
jne 0x1002aca0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x45c]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x1002adb9
cmp dword [ebp - 0x458], 0xf
lea eax, [ebp - 0x46c]
push 1
cmova eax, dword [ebp - 0x46c]
push 0x1007dd14
push ecx
push eax
push ecx
push dword [ebp - 0x454]
lea ecx, [ebp - 0x48c]
call fcn.10020f10
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x48c]
call fcn.10016430
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x478]
cmp ecx, 0xf
jbe 0x1002ac48
mov edx, dword [ebp - 0x48c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002ac3e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002adbe
push ecx
push edx
call fcn.1004d752
add esp, 8
mov dword [ebp - 0x47c], 0
mov dword [ebp - 0x478], 0xf
mov byte [ebp - 0x48c], 0
mov ecx, dword [ebp - 0x458]
cmp ecx, 0xf
jbe 0x1002ad9d
mov edx, dword [ebp - 0x46c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002ad93
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002adbe
jmp 0x1002ad93
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x45c]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x1002adc3
cmp dword [ebp - 0x458], 0xf
lea eax, [ebp - 0x46c]
push 1
cmova eax, dword [ebp - 0x46c]
push 0x1007dd14
push ecx
push eax
push ecx
push dword [ebp - 0x454]
lea ecx, [ebp - 0x48c]
call fcn.10020f10
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x48c]
call fcn.10016430
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x478]
cmp ecx, 0xf
jbe 0x1002ac48
mov edx, dword [ebp - 0x48c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002ac3e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002adbe
jmp 0x1002ac3e
xorps xmm0, xmm0
mov ecx, esi
push 0
movups xmmword [esi], xmm0
push 0x1007d807
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.10016bc0
jmp 0x1002ac63
push ecx
push edx
call fcn.1004d752
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004d713
mov esp, ebp
pop ebp
ret
call fcn.1000d840
call fcn.1005260f
call fcn.1000d840
int3