Function at 0x10018be0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100780c8
mov eax, dword fs:[0]
push eax
sub esp, 0x844
mov eax, dword [0x1009f1f4]
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, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x818], edi
mov dword [ebp - 0x850], eax
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], 2
push 0
push eax
call fcn.1004a5f0
add esp, 0xc
mov dword [ebp - 0x818], 1
cmp dword [0x1009e134], 0
mov esi, 0x20019
mov dword [ebp - 0x820], 0x800
mov dword [ebp - 0x848], 0
je 0x10018d55
push str.GetNativeSystemInfo
push 0x1007ebd4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10018d4b
xorps xmm0, xmm0
mov dword [ebp - 0x824], 0
lea ecx, [ebp - 0x844]
push ecx
movups xmmword [ebp - 0x844], xmm0
movups xmmword [ebp - 0x834], xmm0
call eax
mov ax, word [ebp - 0x844]
cmp ax, 9
je 0x10018d41
cmp ax, 6
je 0x10018d41
cmp ax, 0xc
je 0x10018d41
push str.IsWow64Process2
push 0x1007ec88
mov dword [ebp - 0x81c], 0
mov dword [ebp - 0x814], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x84c], eax
test eax, eax
je 0x10018d38
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x81c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x84c]
test eax, eax
je 0x10018d38
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x814], cx
sete al
mov dword [0x100a1570], eax
jmp 0x10018d4b
xor eax, eax
mov dword [0x100a1570], eax
jmp 0x10018d4b
mov dword [0x100a1570], 1
mov dword [0x1009e134], 0
cmp dword [0x100a1570], 0
je 0x10018d6f
cmp dword [ebp + 0x58], 0
mov esi, 0x20219
mov eax, 0x20119
cmovne esi, eax
cmp dword [ebp + 0x24], 8
lea ecx, [ebp - 0x848]
push ecx
push esi
lea eax, [ebp + 0x10]
cmovae eax, dword [ebp + 0x10]
push 0
push eax
push dword [ebp - 0x850]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10018e2d
cmp dword [ebp + 0x3c], 8
lea ecx, [ebp - 0x820]
push ecx
lea ecx, [ebp - 0x810]
push ecx
lea ecx, [ebp - 0x818]
push ecx
lea eax, [ebp + 0x28]
cmovae eax, dword [ebp + 0x28]
push 0
push eax
push dword [ebp - 0x848]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x848]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10018e2d
xor eax, eax
mov dword [edi + 0x10], esi
lea ecx, [ebp - 0x810]
mov dword [edi + 0x14], 7
mov word [edi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10018df2
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000dc70
lea ecx, [ebp + 0x10]
call fcn.10004700
lea ecx, [ebp + 0x28]
call fcn.10004700
lea ecx, [ebp + 0x40]
call fcn.10004700
jmp 0x10018f32
movups xmm0, xmmword [ebp + 0x40]
mov edx, dword [ebp + 0x24]
xor ecx, ecx
mov dword [edi + 0x10], 0
mov eax, 7
mov dword [edi + 0x14], 0
mov word [ebp + 0x40], cx
movups xmmword [edi], xmm0
movq xmm0, qword [ebp + 0x50]
movq qword [edi + 0x10], xmm0
mov dword [ebp + 0x50], 0
mov dword [ebp + 0x54], eax
cmp edx, 8
jb 0x10018e9e
mov ecx, dword [ebp + 0x10]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10018e91
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018f4f
push edx
push ecx
call fcn.100285db
mov eax, dword [ebp + 0x54]
add esp, 8
mov edx, dword [ebp + 0x3c]
xor ecx, ecx
mov dword [ebp + 0x20], 0
mov dword [ebp + 0x24], 7
mov word [ebp + 0x10], cx
cmp edx, 8
jb 0x10018eeb
mov ecx, dword [ebp + 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10018ede
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018f54
push edx
push ecx
call fcn.100285db
mov eax, dword [ebp + 0x54]
add esp, 8
xor ecx, ecx
mov dword [ebp + 0x38], 0
mov dword [ebp + 0x3c], 7
mov word [ebp + 0x28], cx
cmp eax, 8
jb 0x10018f32
mov ecx, dword [ebp + 0x40]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10018f28
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018f59
push edx
push ecx
call fcn.100285db
add esp, 8
mov eax, edi
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.1002894c
mov esp, ebp
pop ebp
ret
call fcn.1004daa9
call fcn.1004daa9
call fcn.1004daa9
int3