Function at 0x4dc420
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d7030
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x634254]
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.00465f8d
cmp eax, 6
jl 0x4dc73e
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.005a1c68
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4dc760
movups xmm0, xmmword [str.EnableLUA]
mov ax, word [0x614370]
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 0x4dc500
sub esi, ecx
sar esi, 1
cmp esi, 7
ja 0x4dc54e
mov dword [ebp - 0x90], esi
lea eax, [ebp - 0x88]
add esi, esi
push esi
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00570780
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0xa0], ax
mov edi, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0xa0]
jmp 0x4dc613
cmp esi, 0x7ffffffe
ja 0x4dc771
mov edi, esi
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x4dc573
mov edi, SysReAllocString
mov eax, 0xfffffffe
jmp 0x4dc594
mov eax, 0xa
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x4dc75b
add eax, eax
cmp eax, 0x1000
jb 0x4dc5bd
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4dc75b
push ecx
call fcn.005a1c68
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4dc776
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x4dc5dc
test eax, eax
je 0x4dc5da
push eax
call fcn.005a1c68
add esp, 4
mov dword [ebp - 0xbc], eax
test eax, eax
je 0x4dc787
jmp 0x4dc5e2
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.00570780
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 0x4dc69f
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 0x4dc69f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x8c]
cmp edx, 8
jb 0x4dc6df
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4dc6d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4dc798
push edx
push ecx
call fcn.0056d0c8
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 0x4dc738
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4dc72e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4dc798
push edx
push ecx
call fcn.0056d0c8
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.0056d855
mov esp, ebp
pop ebp
ret
call fcn.00407541
push 0x630328
lea eax, [ebp - 0xbd]
push eax
call fcn.0057134b
call fcn.004072dc
push 0x630328
lea eax, [ebp - 0xbe]
push eax
call fcn.0057134b
push 0x630328
lea eax, [ebp - 0xbf]
push eax
call fcn.0057134b
call fcn.0057b201
int3