Function at 0x4cd4e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x561279
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x44], edi
xor eax, eax
lea esi, [edi + 0x1c]
mov dword [ebp - 0x40], eax
push esi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x64], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
mov dword [ebp - 4], 0
xor eax, eax
mov byte [ebp - 0x38], 0
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [edi + 0x14]
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 1
mov eax, dword [eax]
sub ecx, eax
mov dword [ebp - 0x40], eax
mov eax, 0x2aaaaaab
imul ecx
mov ecx, dword [ebp - 0x30]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jae 0x4cd6c1
mov ebx, dword [ebp - 0x40]
lea eax, [ecx + ecx*2]
shl eax, 3
mov dword [ebp - 0x34], eax
sub edi, ebx
mov eax, 0x2aaaaaab
imul edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
jbe 0x4cd76a
mov edi, dword [ebp - 0x34]
add edi, ebx
mov ebx, dword [ebp - 0x3c]
xor eax, eax
mov word [ebp - 0x5c], ax
or ebx, 1
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov ecx, dword [edi + 0x10]
mov byte [ebp - 4], 2
mov dword [ebp - 0x40], ebx
lea eax, [ecx + 1]
cmp eax, 7
jbe 0x4cd5e9
mov byte [ebp - 0x60], 0
lea ecx, [ebp - 0x5c]
push dword [ebp - 0x60]
push eax
call fcn.00410ae0
mov dword [ebp - 0x4c], 0
mov ecx, dword [edi + 0x10]
cmp dword [edi + 0x14], 8
jb 0x4cd5f1
mov edi, dword [edi]
push ecx
push edi
lea ecx, [ebp - 0x5c]
call fcn.0040cd80
push 1
push 0x573168
lea ecx, [ebp - 0x5c]
call fcn.0040cd80
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
push dword [ebp - 0x4c]
cmovae eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x28]
push eax
call fcn.0040cd80
and ebx, 0xfffffffe
mov dword [ebp - 0x3c], ebx
mov edx, dword [ebp - 0x48]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x4cd665
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4cd65b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cd774
push edx
push ecx
call fcn.004097e6
add esp, 8
mov eax, dword [ebp - 0x44]
inc dword [ebp - 0x30]
add dword [ebp - 0x34], 0x18
mov byte [ebp - 4], 1
mov edi, dword [eax + 4]
mov ecx, edi
mov ebx, dword [eax]
sub ecx, ebx
mov eax, 0x2aaaaaab
imul ecx
mov ecx, dword [ebp - 0x30]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jb 0x4cd583
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4cd6c1
lea ecx, [ebx - 1]
cmp ebx, ecx
jb 0x4cd76f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmovae eax, dword [ebp - 0x28]
xor edx, edx
mov word [eax + ecx*2], dx
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], 0
test ebx, ebx
je 0x4cd733
push 0
lea eax, [ebp - 0x2c]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SOFTWAREAdobeAcrobat_ReaderDCPrivileged
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4cd733
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
add eax, eax
push eax
push ecx
push 1
push 0
push str.tHostWhiteList
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x38]
test eax, eax
push dword [ebp - 0x2c]
movzx ecx, cl
mov edx, 1
cmove ecx, edx
mov dword [ebp - 0x38], ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x28]
call fcn.00408e50
push esi
mov dword [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040154f
mov esp, ebp
pop ebp
ret 4
call fcn.00491500
call fcn.00472980
call fcn.0052cae1
int3