Function at 0x10016d50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10192a86
mov eax, dword fs:[0]
push eax
sub esp, 0x4c4
mov eax, dword [0x101fd000]
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 - 0x494], esi
push 0x400
lea eax, [ebp - 0x490]
mov dword [ebp - 0x494], esi
push 0
push eax
mov dword [ebp - 0x494], 1
mov dword [ebp - 0x4b4], 0
call fcn.101695f0
push 0x80
lea eax, [ebp - 0x90]
mov dword [ebp - 0x498], 0x400
push 0
push eax
call fcn.101695f0
xorps xmm0, xmm0
mov dword [ebp - 0x4a0], 0
movups xmmword [ebp - 0x4b0], xmm0
add esp, 0x18
mov dword [ebp - 0x49c], 0xf
mov byte [ebp - 0x4b0], 0
lea eax, [ebp - 0x4b4]
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 0x1001702b
lea eax, [ebp - 0x498]
push eax
lea eax, [ebp - 0x490]
push eax
lea eax, [ebp - 0x494]
push eax
push 0
push 0x101dae94
push dword [ebp - 0x4b4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1001702b
lea eax, [ebp - 0x490]
push eax
lea ecx, [ebp - 0x4b0]
call fcn.1000d340
lea eax, [ebp - 0x498]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x494]
push eax
push 0
push str.CurrentBuild
push dword [ebp - 0x4b4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x4b4]
test eax, eax
jne 0x10016f8c
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x101daeb0
lea edx, [ebp - 0x4b0]
lea ecx, [ebp - 0x4cc]
call fcn.1001a1b0
add esp, 4
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.1000d340
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 - 0x4b8]
cmp ecx, 0xf
jbe 0x10016f34
mov edx, dword [ebp - 0x4cc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10016f2a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017078
push ecx
push edx
call fcn.10165540
add esp, 8
mov dword [ebp - 0x4bc], 0
mov dword [ebp - 0x4b8], 0xf
mov byte [ebp - 0x4cc], 0
mov ecx, dword [ebp - 0x49c]
cmp ecx, 0xf
jbe 0x1001705c
mov edx, dword [ebp - 0x4b0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10017052
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017078
jmp 0x10017052
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x101daeb0
lea edx, [ebp - 0x4b0]
lea ecx, [ebp - 0x4cc]
call fcn.1001a1b0
add esp, 4
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 2
push ecx
mov ecx, eax
call fcn.1000d340
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 - 0x4b8]
cmp ecx, 0xf
jbe 0x10016f34
mov edx, dword [ebp - 0x4cc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10016f2a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017078
jmp 0x10016f2a
xorps xmm0, xmm0
mov ecx, esi
push 0
movups xmmword [esi], xmm0
push 0x101daa4c
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.1000dcd0
jmp 0x10016f4f
push ecx
push edx
call fcn.10165540
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.1016550f
mov esp, ebp
pop ebp
ret
call fcn.1016cb5f
int3