Function at 0x100188f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10077d58
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.1004a2e0
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 0x10018a65
push str.GetNativeSystemInfo
push 0x1007eb74
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10018a5b
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 0x10018a51
cmp ax, 6
je 0x10018a51
cmp ax, 0xc
je 0x10018a51
push str.IsWow64Process2
push 0x1007ec28
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 0x10018a48
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 0x10018a48
xor eax, eax
mov ecx, 0xaa64
cmp word [ebp - 0x814], cx
sete al
mov dword [0x100a1570], eax
jmp 0x10018a5b
xor eax, eax
mov dword [0x100a1570], eax
jmp 0x10018a5b
mov dword [0x100a1570], 1
mov dword [0x1009e134], 0
cmp dword [0x100a1570], 0
je 0x10018a7f
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 0x10018b3d
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 0x10018b3d
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 0x10018b02
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.1000d990
lea ecx, [ebp + 0x10]
call fcn.100046e0
lea ecx, [ebp + 0x28]
call fcn.100046e0
lea ecx, [ebp + 0x40]
call fcn.100046e0
jmp 0x10018c42
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 0x10018bae
mov ecx, dword [ebp + 0x10]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10018ba1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018c5f
push edx
push ecx
call fcn.100282eb
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 0x10018bfb
mov ecx, dword [ebp + 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10018bee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018c64
push edx
push ecx
call fcn.100282eb
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 0x10018c42
mov ecx, dword [ebp + 0x40]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10018c38
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018c69
push edx
push ecx
call fcn.100282eb
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.1002865c
mov esp, ebp
pop ebp
ret
call fcn.1004d799
call fcn.1004d799
call fcn.1004d799
int3