Function at 0x49df60
Capabilities:
Delete registry value
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1a3d
mov eax, dword fs:[0]
push eax
sub esp, 0xc48
mov eax, dword [0x522638]
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 eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0xc2c], edi
mov dword [ebp - 0xc44], eax
cmp dword [eax + 0x10], edi
je 0x49e2c3
mov bl, byte [ebp + 0xc]
mov edx, str.SOFTWAREAdobeAcrobat_Reader11.0TrustManagercTrustedSites
test bl, bl
jne 0x49dfb9
mov edx, str.SOFTWAREAdobeAcrobat_Reader11.0TrustManagercTrustedFolders
xor eax, eax
mov word [ebp - 0xc0c], ax
mov eax, edx
mov dword [ebp - 0xbf8], 7
mov dword [ebp - 0xbfc], edi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x49dfd7
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0xc0c]
call fcn.00405fe0
mov ecx, dword [0x52513c]
cmp byte [ecx + 0x45], 0
mov dword [ebp - 4], edi
je 0x49e031
mov edx, str.SOFTWAREAdobeAdobe_Acrobat11.0TrustManagercTrustedSites
test bl, bl
jne 0x49e010
mov edx, str.SOFTWAREAdobeAdobe_Acrobat11.0TrustManagercTrustedFolders
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x49e015
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0xc0c]
call fcn.00405fe0
mov eax, dword [ebp - 0xc0c]
mov ebx, 8
cmp dword [ebp - 0xbf8], ebx
jae 0x49e04a
lea eax, [ebp - 0xc0c]
lea edx, [ebp - 0xc30]
push edx
push 0xf003f
push edi
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49e2ac
mov dword [ebp - 0xc38], edi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call fcn.004b8020
add esp, 0xc
lea edx, [ebp - 0xc54]
push edx
mov edx, dword [ebp - 0xc38]
push 0
push 0
push 0
lea eax, [ebp - 0xc4c]
push eax
mov eax, dword [ebp - 0xc30]
lea ecx, [ebp - 0x218]
push ecx
push edx
push eax
mov dword [ebp - 0xc4c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x49e29f
lea ecx, [ebp - 0xc34]
push ecx
push 0xf003f
push eax
mov eax, dword [ebp - 0xc30]
lea edx, [ebp - 0x218]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49e28f
xor esi, esi
jmp 0x49e100
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x41e]
push edx
mov word [ebp - 0x420], cx
call fcn.004b8020
xor eax, eax
push 0x7ce
push eax
lea ecx, [ebp - 0xbee]
push ecx
mov dword [ebp - 0xc40], 0x104
mov word [ebp - 0xbf0], ax
call fcn.004b8020
add esp, 0x18
lea edx, [ebp - 0xc48]
push edx
lea eax, [ebp - 0xbf0]
push eax
lea ecx, [ebp - 0xc3c]
push ecx
mov ecx, dword [ebp - 0xc34]
push 0
lea edx, [ebp - 0xc40]
push edx
lea eax, [ebp - 0x420]
push eax
push esi
mov edi, 1
push ecx
mov dword [ebp - 0xc48], 0x7d0
mov dword [ebp - 0xc3c], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x49e277
cmp dword [ebp - 0xc3c], edi
jne 0x49e222
xor edx, edx
mov dword [ebp - 0xc18], eax
lea eax, [ebp - 0xbf0]
mov word [ebp - 0xc28], dx
mov dword [ebp - 0xc14], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x49e1c1
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0xbf0]
push eax
lea ecx, [ebp - 0xc28]
call fcn.00405fe0
or dword [ebp - 0xc2c], edi
mov eax, dword [ebp - 0xc28]
mov byte [ebp - 4], 1
cmp dword [ebp - 0xc14], ebx
jae 0x49e201
lea eax, [ebp - 0xc28]
mov ecx, dword [ebp - 0xc18]
push ecx
mov ecx, dword [ebp - 0xc44]
mov edx, dword [ecx + 0x10]
push eax
push edx
push 0
call fcn.00407190
test eax, eax
jne 0x49e222
mov bl, 1
jmp 0x49e224
xor bl, bl
test byte [ebp - 0xc2c], 1
mov dword [ebp - 4], 0
je 0x49e253
and dword [ebp - 0xc2c], 0xfffffffe
cmp dword [ebp - 0xc14], 8
jb 0x49e253
mov eax, dword [ebp - 0xc28]
push eax
call fcn.00406ca9
add esp, 4
test bl, bl
je 0x49e26b
mov edx, dword [ebp - 0xc34]
lea ecx, [ebp - 0x420]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
add esi, edi
mov ebx, 8
jmp 0x49e100
mov eax, dword [ebp - 0xc34]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add dword [ebp - 0xc38], edi
jmp 0x49e071
mov edi, 1
add dword [ebp - 0xc38], edi
jmp 0x49e071
mov ecx, dword [ebp - 0xc30]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xbf8], ebx
jb 0x49e2c3
mov edx, dword [ebp - 0xc0c]
push edx
call fcn.00406ca9
add esp, 4
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.00401306
mov esp, ebp
pop ebp
ret