Function at 0x5cdf40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x692912
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x74e694]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movq xmm0, qword [str.EnableLUA]
movzx eax, byte [0x6a4aa4]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 9
movq qword [ebp - 0x40], xmm0
mov byte [ebp - 0x38], al
mov byte [ebp - 0x37], 0
push 0x40
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
call fcn.00448c50
movups xmm0, xmmword [str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem]
mov ecx, eax
mov dword [ebp - 0x14], 0x3f
mov dword [ebp - 0x18], 0x39
xor edi, edi
push edi
push edi
movups xmmword [ecx], xmm0
xor esi, esi
movups xmm0, xmmword [0x6a4ab8]
push 0xffffffffffffffff
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [0x6a4ac8]
movups xmmword [ecx + 0x20], xmm0
movq xmm0, qword [0x6a4ad8]
movq qword [ecx + 0x30], xmm0
movzx eax, byte [0x6a4ae0]
mov byte [ecx + 0x38], al
lea eax, [ebp - 0x28]
mov byte [ecx + 0x39], 0
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x28], ecx
cmovae eax, ecx
push eax
push edi
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x5ce03a
mov edi, eax
add eax, eax
push eax
push esi
call fcn.0066a672
add esp, 8
mov esi, eax
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push edi
cmovae ecx, dword [ebp - 0x28]
push esi
push 0xffffffffffffffff
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x44]
push eax
push 0x20019
push 0
push esi
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x5ce086
test esi, esi
je 0x5ce07f
push esi
call fcn.0066a657
add esp, 4
xor edi, edi
jmp 0x5ce122
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
jbe 0x5ce0b9
mov edi, eax
add eax, eax
push eax
push esi
call fcn.0066a672
add esp, 8
mov esi, eax
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push edi
cmovae eax, dword [ebp - 0x40]
push esi
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x48], 0
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x4c], 4
push eax
push 0
push 0
push esi
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x44]
test eax, eax
je 0x5ce10c
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x5ce072
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x48]
test esi, esi
je 0x5ce122
push esi
call fcn.0066a657
add esp, 4
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x5ce152
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5ce148
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5ce1b4
push edx
push ecx
call fcn.00663ac7
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x5ce194
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5ce18a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5ce1b4
push edx
push ecx
call fcn.00663ac7
add esp, 8
test edi, edi
setne 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.00663ada
mov esp, ebp
pop ebp
ret
call fcn.0066a5fb
int3