Function at 0x4621d0
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x590255
push eax
mov eax, 0x1240
mov dword fs:[0], esp
call fcn.0056acc0
mov ecx, dword [ebp + 8]
xor al, al
mov byte [ebp - 0xd], al
test ecx, ecx
push ebx
mov eax, 0x592544
mov dword [ebp - 0x3c], 0
push esi
cmovne eax, ecx
mov dword [ebp - 0x38], 0
push edi
mov dword [ebp - 0x34], 0x4000000
mov dword [ebp - 0x40], eax
cmp byte [ebp + 0xc], 0
mov eax, 0x20119
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov ecx, 0xf013f
cmovne eax, ecx
mov dword [ebp - 4], 0
xor ebx, ebx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x30], ebx
lea ecx, [ebp + 8]
mov dword [ebp + 8], 0
push ecx
push eax
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
push dword [ebx + 0x5b201c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x462412
lea eax, [ebp - 0x24]
mov dword [ebp - 0x2c], 0x104
push eax
lea eax, [ebp - 0x124c]
mov dword [ebp - 0x24], 0x1000
push eax
lea eax, [ebp - 0x28]
xor esi, esi
push eax
push esi
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], esi
push eax
lea eax, [ebp - 0x24c]
push eax
push esi
push dword [ebp + 8]
call edi
test eax, eax
jne 0x462409
cmp dword [ebp - 0x28], 1
jne 0x4622ca
lea ecx, [ebp - 0x40]
call fcn.00459840
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.0057966c
add esp, 8
test eax, eax
je 0x46230d
xor eax, eax
mov dword [ebp - 0x2c], 0x104
mov word [ebp - 0x124c], ax
inc esi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x1000
push eax
lea eax, [ebp - 0x124c]
push eax
lea eax, [ebp - 0x28]
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24c]
push eax
push esi
push dword [ebp + 8]
call edi
test eax, eax
je 0x4622a8
jmp 0x462409
mov al, byte [ebp + 0x10]
xor esi, esi
test al, al
je 0x46231e
test esi, esi
je 0x4623b1
lea eax, [ebp - 0x124c]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov word [ebp - 0x13], 0
mov byte [ebp - 0x11], 4
mov dword [ebp - 0x1c], eax
mov ebx, dword [esi*4 + 0x6272ac]
push 4
push 0
push 0
push eax
mov byte [ebp - 4], 1
mov byte [ebp - 0x14], 1
call fcn.0046d250
mov edi, eax
push edi
call fcn.0056aceb
push 0
push edi
push eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x124c]
push eax
call fcn.0046d250
mov edi, dword [ebp - 0x20]
push ebx
push edi
call fcn.00468820
add esp, 0x2c
test eax, eax
jne 0x4623bd
push edi
mov byte [ebp - 4], al
call fcn.0056acf4
mov al, byte [ebp + 0x10]
add esp, 4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0x4000000
inc esi
cmp esi, 0xf
jb 0x462312
jmp 0x462400
cmp byte [ebp + 0xc], 0
mov byte [ebp - 0xd], 1
je 0x4623d7
lea eax, [ebp - 0x24c]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push edi
mov byte [ebp - 4], 0
call fcn.0056acf4
add esp, 4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0x4000000
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov ebx, dword [ebp - 0x30]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x44]
add ebx, 4
mov dword [ebp - 0x30], ebx
cmp ebx, 8
jb 0x462245
cmp byte [ebp - 0x34], 0
je 0x462435
push dword [ebp - 0x40]
call fcn.0056acf4
add esp, 4
cmp byte [ebp - 0x33], 0
je 0x462446
push dword [ebp - 0x3c]
call fcn.0056acf4
add esp, 4
cmp byte [ebp - 0x32], 0
je 0x462457
push dword [ebp - 0x38]
call fcn.0056acf4
add esp, 4
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret