Function at 0x4dbd30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5792c9
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x5edd38]
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 - 0x34], eax
mov dword [ebp - 0x60], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
mov dword [ebp - 4], 0
xor eax, eax
mov byte [ebp - 0x3c], 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 0x4dbf06
mov ebx, dword [ebp - 0x40]
lea eax, [ecx + ecx*2]
shl eax, 3
mov dword [ebp - 0x38], 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 0x4dbffb
mov edi, dword [ebp - 0x38]
add edi, ebx
mov ebx, dword [ebp - 0x34]
lea ecx, [ebp - 0x5c]
xor eax, eax
mov byte [ebp - 4], 2
mov word [ebp - 0x5c], ax
or ebx, 1
lea eax, [edi + 0x10]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x34], eax
mov eax, dword [eax]
inc eax
mov dword [ebp - 0x48], 7
push eax
mov dword [ebp - 0x40], ebx
call fcn.00410200
cmp dword [edi + 0x14], 8
jb 0x4dbe2e
mov edi, dword [edi]
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x5c]
push dword [eax]
push edi
call fcn.0040ddb0
push 1
push 0x591b34
lea ecx, [ebp - 0x5c]
call fcn.0040ddb0
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.0040ddb0
mov edx, dword [ebp - 0x48]
and ebx, 0xfffffffe
mov dword [ebp - 0x34], ebx
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x4dbeae
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 3
cmp edx, 0x1000
jb 0x4dbea0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4dc000
push edx
push ecx
call fcn.00409f25
add esp, 8
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x44]
inc dword [ebp - 0x30]
add dword [ebp - 0x38], 0x18
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 0x4dbdd3
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4dbf06
lea ecx, [ebx - 1]
cmp ebx, ecx
jb 0x4dbff6
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 0x4dbf77
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 0x4dbf77
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 ebx, dword [ebp - 0x3c]
test eax, eax
push dword [ebp - 0x2c]
mov ecx, 1
movzx ebx, bl
cmove ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4dbf7a
mov ebx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4dbfb4
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 4
cmp edx, 0x1000
jb 0x4dbfaa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4dc000
push edx
push ecx
call fcn.00409f25
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push esi
mov dword [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
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.00401682
mov esp, ebp
pop ebp
ret 4
call fcn.004790f0
call fcn.0049a310
call fcn.0054223b
int3