Function at 0x4e1290
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dbd00
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x63d284]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
call fcn.00462e8e
cmp eax, 6
jl 0x4e15ae
mov ecx, 0x1d
mov dword [ebp - 0xb8], 0
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem_
mov dword [ebp - 0xa8], 0
lea edi, [ebp - 0x88]
mov dword [ebp - 0xa4], 7
rep movsd dword es:[edi], dword [esi]
xor eax, eax
push 0x20
mov word [ebp - 0xb8], ax
movsw word es:[edi], word [esi]
call fcn.00591cad
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4e15d0
movups xmm0, xmmword [str.EnableLUA]
mov ax, word [0x61c578]
mov dword [ebp - 0xa8], 9
movups xmmword [ecx], xmm0
mov word [ecx + 0x10], ax
xor eax, eax
mov dword [ebp - 0xa4], 0xf
mov word [ecx + 0x12], ax
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 4], eax
lea esi, [ebp - 0x88]
mov dword [ebp - 0xa0], eax
lea ecx, [esi + 2]
mov dword [ebp - 0x8c], 7
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4e1370
sub esi, ecx
sar esi, 1
cmp esi, 7
ja 0x4e13be
mov dword [ebp - 0x90], esi
lea eax, [ebp - 0x88]
add esi, esi
push esi
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.005729d0
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0xa0], ax
mov edi, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0xa0]
jmp 0x4e1483
cmp esi, 0x7ffffffe
ja 0x4e15e1
mov edi, esi
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x4e13e3
mov edi, SysReAllocString
mov eax, 0xfffffffe
jmp 0x4e1404
mov eax, 0xa
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x4e15cb
add eax, eax
cmp eax, 0x1000
jb 0x4e142d
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4e15cb
push ecx
call fcn.00591cad
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4e15e6
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x4e144c
test eax, eax
je 0x4e144a
push eax
call fcn.00591cad
add esp, 4
mov dword [ebp - 0xbc], eax
test eax, eax
je 0x4e15f7
jmp 0x4e1452
xor eax, eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0x90], esi
lea ecx, [ebp - 0x88]
add esi, esi
mov dword [ebp - 0x8c], edi
push esi
push ecx
push eax
call fcn.005729d0
mov ecx, dword [ebp - 0xbc]
add esp, 0xc
xor eax, eax
mov dword [ebp - 0xa0], ecx
mov word [esi + ecx], ax
cmp edi, 8
mov dword [ebp - 0xc4], 0
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xbc], 0
cmovae eax, ecx
lea ecx, [ebp - 0xbc]
push ecx
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4e150f
cmp dword [ebp - 0xa4], 8
lea ecx, [ebp - 0xc8]
mov esi, dword [ebp - 0xbc]
lea eax, [ebp - 0xb8]
cmovae eax, dword [ebp - 0xb8]
push ecx
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xc8], 4
push ecx
lea ecx, [ebp - 0xcc]
push ecx
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test esi, esi
je 0x4e150f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x8c]
cmp edx, 8
jb 0x4e154f
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e1545
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e1608
push edx
push ecx
call fcn.0056c61e
add esp, 8
mov edx, dword [ebp - 0xa4]
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
cmp edx, 8
jb 0x4e15a8
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e159e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e1608
push edx
push ecx
call fcn.0056c61e
add esp, 8
mov esi, dword [ebp - 0xc4]
mov eax, esi
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.0056cd75
mov esp, ebp
pop ebp
ret
call fcn.00407b84
push 0x638780
lea eax, [ebp - 0xbd]
push eax
call fcn.0057359b
call fcn.0040791f
push 0x638780
lea eax, [ebp - 0xbe]
push eax
call fcn.0057359b
push 0x638780
lea eax, [ebp - 0xbf]
push eax
call fcn.0057359b
call fcn.0057da80
int3