Function at 0x10032110
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10089669
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push esi
push edi
mov eax, dword [0x100bc1b4]
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 0x10032199
push str.RtlGetNtVersionNumbers
push esi
call edi
test eax, eax
je 0x10032192
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 [0x100b2070], 0
je 0x1003225b
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetNativeSystemInfo
push str.kernel32.dll
call esi
push eax
call edi
test eax, eax
je 0x10032251
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 0x10032247
cmp ax, 6
je 0x10032247
cmp ax, 0xc
je 0x10032247
push str.IsWow64Process2
push 0x1008ff00
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
call esi
push eax
call edi
mov esi, eax
test esi, esi
je 0x1003223e
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 0x1003223e
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x14], cx
sete al
mov dword [0x100bdee0], eax
jmp 0x10032251
xor eax, eax
mov dword [0x100bdee0], eax
jmp 0x10032251
mov dword [0x100bdee0], 1
mov dword [0x100b2070], 0
mov eax, dword [0x100bdee0]
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 0x1003228d
push 0x20119
jmp 0x10032292
push 0x20019
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.WS2_32.dll_bind
call fcn.100222f0
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x18], 0
test eax, eax
jne 0x100322e9
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 0x10093d94
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test esi, esi
je 0x100322e2
push esi
call edi
xor esi, esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], 0
call fcn.1000b580
mov ecx, eax
test ecx, ecx
je 0x10032369
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, 0x10093da4
mov eax, 0x10093d9c
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.1000b450
add esp, 0x1c
mov byte [ebp - 4], 0
test esi, esi
je 0x1003234c
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.1000b090
int3