Function at 0x10023b20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10083ed9
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push esi
push edi
mov eax, dword [0x100ae254]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 0
push str.ntdll.dll
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x10023ba9
push str.RtlGetNtVersionNumbers
push esi
call edi
test eax, eax
je 0x10023ba2
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x20]
push ecx
call eax
movzx eax, word [ebp - 0x10]
mov dword [ebp - 0x10], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [0x100ad038], 0
je 0x10023c6b
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetNativeSystemInfo
push 0x10089d20
call esi
push eax
call edi
test eax, eax
je 0x10023c61
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x5c]
push ecx
movups xmmword [ebp - 0x5c], xmm0
movups xmmword [ebp - 0x4c], xmm0
call eax
mov ax, word [ebp - 0x5c]
cmp ax, 9
je 0x10023c57
cmp ax, 6
je 0x10023c57
cmp ax, 0xc
je 0x10023c57
push str.IsWow64Process2
push 0x10089fbc
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
call esi
push eax
call edi
mov esi, eax
test esi, esi
je 0x10023c4e
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x10023c4e
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x14], cx
sete al
mov dword [0x100af990], eax
jmp 0x10023c61
xor eax, eax
mov dword [0x100af990], eax
jmp 0x10023c61
mov dword [0x100af990], 1
mov dword [0x100ad038], 0
mov eax, dword [0x100af990]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x38]
test eax, eax
je 0x10023c9d
push 0x20119
jmp 0x10023ca2
push 0x20019
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.WS2_32.dll_bind
call fcn.10018190
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x18], 0
test eax, eax
jne 0x10023cf9
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 4
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0
push 0x1008d0a4
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test esi, esi
je 0x10023cf2
push esi
call edi
xor esi, esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], 0
call fcn.10008b70
mov ecx, eax
test ecx, ecx
je 0x10023d79
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword [ebp + 8]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 0
mov edx, 0x1008d0b4
mov eax, 0x1008d0ac
mov dword [ebp - 0x28], 1
cmove eax, edx
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push str._d__d__d__d__s
push ecx
call fcn.10008430
add esp, 0x1c
mov byte [ebp - 4], 0
test esi, esi
je 0x10023d5c
push esi
call edi
mov dword [ebp - 0x38], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10007a30
int3