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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x63d284]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x10], 0
push esi
push edi
lea edi, [ebx + 0x10]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
jne 0x4d605f
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0056cd75
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x14], 0
call fcn.004e04e0
cmp eax, 0x40
mov edx, 0x2011f
lea eax, [esp + 0x14]
mov ecx, 0x2001f
push eax
cmove ecx, edx
push ecx
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_Assistant
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4d6490
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
push str.ExecutablesToExclude
push dword [esp + 0x28]
call esi
test eax, eax
jne 0x4d6411
push dword [esp + 0xc]
call fcn.00591cad
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
test edi, edi
je 0x4d6486
push dword [esp + 0xc]
push 0
push edi
call fcn.00573610
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push edi
push 0
push 0
push str.ExecutablesToExclude
push dword [esp + 0x28]
call esi
test eax, eax
jne 0x4d6409
mov eax, dword [esp + 0xc]
xor esi, esi
inc eax
mov dword [esp + 0x28], esi
test eax, 0xfffffffe
jbe 0x4d6365
lea ebx, [edi + esi*2]
mov dword [esp + 0x2c], 0
mov edi, ebx
mov dword [esp + 0x40], 7
mov edx, 0xa
lea ecx, [edi + 2]
nop dword [eax]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x4d6140
sub edi, ecx
sar edi, 1
cmp edi, 7
ja 0x4d6182
lea esi, [edi + edi]
mov dword [esp + 0x3c], edi
push esi
lea eax, [esp + 0x30]
push ebx
push eax
call fcn.00572f50
add esp, 0xc
xor eax, eax
mov word [esp + esi + 0x2c], ax
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x2c]
jmp 0x4d623d
cmp edi, 0x7ffffffe
ja 0x4d64cc
mov esi, edi
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x4d61ab
mov esi, SysReAllocString
mov eax, 0xfffffffe
mov dword [esp + 0x20], esi
jmp 0x4d61cc
cmp esi, 0xa
cmovb esi, edx
mov dword [esp + 0x20], esi
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x4d64c7
add eax, eax
cmp eax, 0x1000
jb 0x4d61f3
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x4d64c7
push ecx
call fcn.00591cad
add esp, 4
test eax, eax
je 0x4d64b3
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x4d620e
test eax, eax
je 0x4d620c
push eax
call fcn.00591cad
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4d64a4
jmp 0x4d620e
xor ebx, ebx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x40], esi
lea esi, [edi + edi]
push esi
mov dword [esp + 0x40], edi
lea eax, [edx + ecx*2]
push eax
push ebx
call fcn.005729d0
mov edx, dword [esp + 0x2c]
add esp, 0xc
xor eax, eax
mov dword [esp + 0x2c], ebx
mov word [esi + ebx], ax
mov eax, dword [esp + 0x18]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4d624b
mov ecx, dword [eax]
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x2c]
cmp edx, 8
cmovae eax, ebx
cmp edi, dword [esi]
jne 0x4d6287
mov esi, edi
test esi, esi
je 0x4d62e6
sub eax, ecx
mov dword [esp + 0x20], eax
nop dword [eax]
mov ax, word [eax + ecx]
cmp ax, word [ecx]
jne 0x4d6287
add ecx, 2
sub esi, 1
je 0x4d62e6
mov eax, dword [esp + 0x20]
jmp 0x4d6270
test edi, edi
je 0x4d632d
mov esi, dword [esp + 0x28]
inc esi
add esi, edi
mov dword [esp + 0x28], esi
cmp edx, 8
jb 0x4d62ce
lea edx, [edx*2 + 2]
mov eax, ebx
cmp edx, 0x1000
jb 0x4d62c4
mov ebx, dword [ebx - 4]
add edx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d64c2
push edx
push ebx
call fcn.0056c61e
add esp, 8
mov eax, dword [esp + 0xc]
inc eax
shr eax, 1
cmp esi, eax
jae 0x4d6361
mov edi, dword [esp + 0x10]
jmp 0x4d6120
cmp edx, 8
jb 0x4d6405
lea edx, [edx*2 + 2]
mov eax, ebx
cmp edx, 0x1000
jb 0x4d6314
mov ebx, dword [ebx - 4]
add edx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d64c2
push edx
push ebx
call fcn.0056c61e
mov edi, dword [esp + 0x18]
add esp, 8
push edi
call fcn.0057e74c
jmp 0x4d6483
cmp edx, 8
jb 0x4d6361
lea edx, [edx*2 + 2]
mov eax, ebx
cmp edx, 0x1000
jb 0x4d6357
mov ebx, dword [ebx - 4]
add edx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d64c2
push edx
push ebx
call fcn.0056c61e
add esp, 8
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, 2
mov eax, dword [esp + 0x1c]
lea ecx, [ecx + 1]
mov esi, dword [eax]
shr ecx, 1
inc esi
add esi, ecx
xor ecx, ecx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0056ca71
lea ecx, [esi + esi]
mov edi, eax
push ecx
push 0
push edi
call fcn.00573610
add esp, 0x10
cmp dword [ebx + 0x14], 8
jb 0x4d63a8
mov ebx, dword [ebx]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
inc eax
push eax
push ebx
push esi
push edi
call fcn.0059203a
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
inc eax
shr eax, 1
mov ecx, dword [ebx]
sub esi, ecx
push eax
push dword [esp + 0x24]
inc ecx
dec esi
push esi
lea eax, [edi + ecx*2]
push eax
call fcn.0059203a
mov ecx, dword [ebx]
add esp, 0x20
mov eax, dword [esp + 0xc]
lea eax, [eax + ecx*2]
add eax, 2
push eax
push edi
push 7
push 0
push str.ExecutablesToExclude
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
call fcn.0056ca7a
add esp, 4
mov edi, dword [esp + 0x10]
push edi
call fcn.0057e74c
jmp 0x4d6483
cmp eax, 2
jne 0x4d6486
mov edi, dword [edi]
xor ecx, ecx
add edi, eax
mov edx, 2
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0056ca71
lea ebx, [edi + edi]
mov esi, eax
push ebx
push 0
push esi
call fcn.00573610
mov ecx, dword [esp + 0x28]
add esp, 0x10
cmp dword [ecx + 0x14], 8
jb 0x4d644f
mov ecx, dword [ecx]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
inc eax
push eax
push ecx
push edi
push esi
call fcn.0059203a
add esp, 0x10
xor eax, eax
mov word [ebx + esi - 2], ax
push ebx
push esi
push 7
push eax
push str.ExecutablesToExclude
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
call fcn.0056ca7a
add esp, 4
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x44]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0056cd75
mov esp, ebp
pop ebp
ret
push 0x638780
lea eax, [esp + 0x2b]
push eax
call fcn.0057359b
push 0x638780
lea eax, [esp + 0x2a]
push eax
call fcn.0057359b
call fcn.0057da80
call fcn.00407b84
call fcn.0040791f
int3