Function at 0x45dccd
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x5b38f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
lea ebx, [esi + 0x10]
mov dword [ebp - 0x24], ebx
cmp dword [ebx], edi
jne 0x45dcf6
xor al, al
jmp 0x45df0c
mov dword [ebp - 0x28], edi
call fcn.00457f29
cmp eax, 0x40
mov edx, 0x2011f
lea eax, [ebp - 0x28]
mov ecx, 0x2001f
push eax
cmove ecx, edx
push ecx
push edi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_Assistant
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45df0a
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], edi
push eax
push edi
push edi
push edi
push str.ExecutablesToExclude
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45de8f
push dword [ebp - 0x20]
call fcn.00529d80
mov edi, eax
pop ecx
test edi, edi
je 0x45df01
push dword [ebp - 0x20]
xor ebx, ebx
push ebx
push edi
call fcn.005278d0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push edi
push ebx
push ebx
push str.ExecutablesToExclude
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45de70
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + 1]
test eax, 0xfffffffe
jbe 0x45dddb
lea eax, [edi + ebx*2]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00408718
push esi
lea ecx, [ebp - 0x1c]
call fcn.004107a9
lea ecx, [ebp - 0x1c]
push 0
push 1
test eax, eax
je 0x45de88
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x45de7b
inc eax
add ebx, eax
call fcn.00403236
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + 1]
shr eax, 1
cmp ebx, eax
jb 0x45dd98
mov ebx, dword [ebp - 0x24]
inc ecx
shr ecx, 1
push 2
pop edx
mov eax, dword [ebx]
inc eax
add eax, ecx
xor ecx, ecx
mov dword [ebp - 0x2c], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0050a92a
mov ecx, eax
mov eax, dword [ebp - 0x2c]
add eax, eax
mov dword [ebp - 0x24], ecx
push eax
push 0
push ecx
call fcn.005278d0
mov eax, dword [ebx]
add esp, 0x10
cmp dword [esi + 0x14], 8
jb 0x45de1d
mov esi, dword [esi]
inc eax
push eax
push esi
mov esi, dword [ebp - 0x2c]
push esi
push dword [ebp - 0x24]
call fcn.005299d1
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebx]
inc eax
shr eax, 1
sub esi, ecx
push eax
push edi
dec esi
inc ecx
push esi
mov esi, dword [ebp - 0x24]
lea eax, [esi + ecx*2]
push eax
call fcn.005299d1
mov ecx, dword [ebx]
add esp, 0x20
mov eax, dword [ebp - 0x20]
lea eax, [eax + ecx*2]
add eax, 2
push eax
push esi
push 7
push 0
push str.ExecutablesToExclude
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
call fcn.00529e12
pop ecx
push edi
call fcn.0052558c
jmp 0x45df00
call fcn.00403236
mov ecx, dword [ebp - 0x20]
jmp 0x45dddb
call fcn.00403236
jmp 0x45de70
push 2
pop edx
cmp eax, edx
jne 0x45df01
mov eax, dword [ebx]
xor ecx, ecx
add eax, edx
mov dword [ebp - 0x24], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0050a92a
mov edi, eax
mov eax, dword [ebp - 0x24]
add eax, eax
push eax
push 0
push edi
mov dword [ebp - 0x2c], eax
call fcn.005278d0
mov eax, dword [ebx]
add esp, 0x10
cmp dword [esi + 0x14], 8
jb 0x45dece
mov esi, dword [esi]
inc eax
push eax
push esi
push dword [ebp - 0x24]
push edi
call fcn.005299d1
mov eax, dword [ebp - 0x2c]
add esp, 0x10
xor ecx, ecx
push eax
push edi
push 7
push ecx
push str.ExecutablesToExclude
mov word [eax + edi - 2], cx
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
call fcn.00529e12
pop ecx
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052b1ec
mov esp, ebp
pop ebp
ret 4