Function at 0x4ae350
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a42fc
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x58]
mov esi, dword [ebp + 0xc]
xorps xmm0, xmm0
push 0x20019
push str.SYSTEMCurrentControlSetControlTerminal_ServerClusterSettings
push 0x80000002
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], esi
mov byte [ebp - 0xb1], 0
movq qword [ebp - 0x58], xmm0
mov dword [ebp - 0x50], 0
call fcn.0040dd20
cmp dword [ebp - 0x58], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
je 0x4ae3ef
lea eax, [ebp - 0x14]
push eax
push str.UvhdEnabled
lea ecx, [ebp - 0x58]
call fcn.0040bbd0
test eax, eax
jne 0x4ae3ef
cmp dword [ebp - 0x14], eax
setne byte [ebp - 0xb1]
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.0040c880
cmp byte [ebp - 0xb1], 0
je 0x4aea6c
push 0xe
xor eax, eax
mov dword [ebp - 0x6c], 0
push str.bSupportRDSUPD
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
call fcn.00409db0
push 0x39
xor eax, eax
mov dword [ebp - 4], 1
push str.SoftwarePoliciesAdobeAcrobat_ReaderDCFeatureLockDown
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
call fcn.00409db0
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 2
push ecx
xor edi, edi
mov byte [ebp - 0xb1], 0
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
push 0x20019
cmovae eax, dword [ebp - 0x64]
push edi
push eax
push 0x80000002
mov dword [ebp - 0xb0], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4ae4f3
cmp dword [ebp - 0x68], 8
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 4
push ecx
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x1c], 4
cmovae eax, dword [ebp - 0x7c]
push edi
push eax
push dword [ebp - 0xb0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4ae4e7
cmp dword [ebp - 0x14], 4
jne 0x4ae4e7
cmp dword [ebp - 0x1c], 4
jne 0x4ae4e7
mov edi, dword [ebp - 0x18]
mov byte [ebp - 0xb1], 1
push dword [ebp - 0xb0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x50]
mov byte [ebp - 4], 3
cmp eax, 8
jb 0x4ae50c
inc eax
lea ecx, [ebp - 0x64]
push eax
push dword [ebp - 0x64]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 4], 4
cmp eax, 8
jb 0x4ae53c
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov word [ebp - 0x7c], ax
cmp byte [ebp - 0xb1], al
je 0x4ae559
test edi, edi
je 0x4aea6c
mov ecx, esi
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ae570
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x34]
call fcn.00409db0
xor eax, eax
mov dword [ebp - 4], 5
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 6
push eax
push dword [ebp - 0xbc]
call fcn.00433a80
add esp, 8
test al, al
jne 0x4ae5e8
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xb0]
mov byte [ebp - 0xb1], 0
jmp 0x4aea34
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
mov edi, dword [ebp - 0x24]
cmovae eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], edi
cmp word [eax + edi*2 - 2], 0x5c
jne 0x4ae679
lea eax, [edi - 1]
push eax
push 0
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x34]
call fcn.00410b80
mov esi, eax
lea eax, [ebp - 0x34]
cmp eax, esi
je 0x4ae66b
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 9
cmp eax, 8
jb 0x4ae635
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.0040a5e0
mov dword [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
movups xmm0, xmmword [esi]
mov byte [ebp - 4], 6
movups xmmword [ebp - 0x34], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x24], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x7c]
call fcn.0040a580
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x18], edi
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x4c]
mov esi, dword [ebp - 0x3c]
cmp ecx, 8
mov dword [ebp - 0xc0], ecx
mov ecx, dword [ebp - 0x4c]
cmovae eax, ecx
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0x14], esi
cmp word [eax + esi*2 - 2], 0x5c
jne 0x4ae728
lea eax, [esi - 1]
push eax
push 0
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00410b80
mov esi, eax
lea eax, [ebp - 0x4c]
cmp eax, esi
je 0x4ae702
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 0xa
cmp eax, 8
jb 0x4ae6da
inc eax
lea ecx, [ebp - 0x4c]
push eax
push dword [ebp - 0x4c]
call fcn.0040a5e0
movups xmm0, xmmword [esi]
xor eax, eax
mov byte [ebp - 4], 6
movups xmmword [ebp - 0x4c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x3c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x7c]
call fcn.0040a580
mov eax, dword [ebp - 0x38]
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0xb0], eax
push dword [ebp - 0xb8]
lea ecx, [ebp - 0x4c]
call fcn.0045e90a
test eax, eax
jne 0x4ae752
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xb0]
mov byte [ebp - 0xb1], 1
jmp 0x4aea34
mov eax, 1
lea ecx, [edi*2 - 2]
lea edx, [esi*2 - 2]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xb8], edx
cmp esi, eax
jb 0x4ae7e8
cmp edi, eax
jb 0x4ae7e8
lfence
cmp dword [ebp - 0xc0], 8
lea edi, [ebp - 0x4c]
lea eax, [ebp - 0x34]
cmovae edi, dword [ebp - 0xb0]
add edi, edx
cmp dword [ebp - 0x20], 8
cmovae eax, dword [ebp - 0x34]
movzx eax, word [ecx + eax]
push eax
call fcn.005797a5
movzx ecx, word [edi]
mov esi, eax
push ecx
call fcn.005797a5
add esp, 8
cmp eax, esi
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
jne 0x4ae7e8
mov edx, dword [ebp - 0xb8]
inc eax
mov ecx, dword [ebp - 0xbc]
sub edx, 2
mov edi, dword [ebp - 0x18]
sub ecx, 2
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0xbc], ecx
test eax, eax
jne 0x4ae774
lea edi, [eax - 1]
test edi, edi
jne 0x4ae807
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xb0]
mov byte [ebp - 0xb1], 0
jmp 0x4aea34
push 0xffffffffffffffff
sub esi, edi
lea eax, [ebp - 0x7c]
inc esi
lea ecx, [ebp - 0x4c]
push esi
push eax
call fcn.00410b80
push 0x5c45d0
push 4
push 0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xf
call fcn.0042ef80
test eax, eax
jne 0x4ae853
push 0xffffffffffffffff
push 4
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x34]
call fcn.00410b80
push eax
lea ecx, [ebp - 0x34]
call fcn.00410e40
lea ecx, [ebp - 0x64]
call fcn.0040a580
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0xb1]
cmovae ecx, dword [ebp - 0x34]
push edx
lea eax, [ecx + eax*2]
lea ecx, [edi + edi]
sub eax, ecx
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x34]
cmovae ecx, dword [ebp - 0x34]
push eax
push ecx
lea ecx, [ebp - 0xac]
call fcn.004a6bd0
cmp dword [ebp - 0x98], 8
lea eax, [ebp - 0xac]
push 0
cmovae eax, dword [ebp - 0xac]
push 0x2000000
push 3
push 0
push 7
push 0
push eax
mov byte [ebp - 4], 0x10
call dword [sym.imp.KERNEL32.dll_CreateFileW]
xor esi, esi
mov dword [ebp - 0xbc], eax
xor edi, edi
mov dword [ebp - 0xb8], esi
test eax, eax
je 0x4ae8f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 0xbc]
mov dword [ebp - 0x14], eax
cmp edi, 0xffffffff
jne 0x4ae8e2
xor edi, edi
jmp 0x4ae8f2
mov esi, edi
mov dword [ebp - 0xb8], esi
call fcn.00413e80
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
jne 0x4ae909
mov byte [ebp - 0xb1], 0
jmp 0x4aea00
xor eax, eax
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 7
mov word [ebp - 0x94], ax
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 0x15
push eax
push esi
call fcn.00433a80
add esp, 8
test al, al
je 0x4ae9c0
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.004a6c10
add esp, 0xc
lea ecx, [ebp - 0x94]
push eax
call fcn.00410e40
lea ecx, [ebp - 0x64]
call fcn.0040a580
push dword [ebp - 0x84]
lea eax, [ebp - 0xd8]
push 0
push eax
lea ecx, [ebp - 0x4c]
call fcn.00410b80
cmp dword [ebp - 0x80], 8
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x1a
cmovae ecx, dword [ebp - 0x94]
cmp dword [eax + 0x14], 8
jb 0x4ae99e
mov eax, dword [eax]
push ecx
push eax
call fcn.0040d741
add esp, 8
lea ecx, [ebp - 0xd8]
mov edi, eax
call fcn.0040a580
mov byte [ebp - 0xb1], 1
test edi, edi
je 0x4ae9c7
mov byte [ebp - 0xb1], 0
mov eax, dword [ebp - 0x80]
mov byte [ebp - 4], 0x1f
cmp eax, 8
jb 0x4ae9e6
inc eax
lea ecx, [ebp - 0x94]
push eax
push dword [ebp - 0x94]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 7
mov word [ebp - 0x94], ax
mov byte [ebp - 4], 0x20
test esi, esi
je 0x4aea1b
cmp esi, 0xffffffff
je 0x4aea1b
call fcn.00413e80
push esi
call fcn.00415030
add esp, 4
lea ecx, [ebp - 0xac]
call fcn.0040a580
lea ecx, [ebp - 0x7c]
call fcn.0040a580
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x4c]
mov byte [ebp - 4], 0x21
cmp eax, 8
jb 0x4aea48
inc eax
push eax
push ecx
lea ecx, [ebp - 0x4c]
call fcn.0040a5e0
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 4], 0x22
cmp ecx, 8
jb 0x4aea64
inc ecx
push ecx
push dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
call fcn.0040a5e0
mov al, byte [ebp - 0xb1]
jmp 0x4aea6e
xor al, al
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.004016cd
mov esp, ebp
pop ebp
ret