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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e34fd
mov eax, dword fs:[0]
push eax
sub esp, 0xc48
mov eax, dword [0x5256a8]
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 0x49bd33
mov bl, byte [ebp + 0xc]
mov edx, str.SOFTWAREAdobeAcrobat_Reader11.0TrustManagercTrustedSites
test bl, bl
jne 0x49ba29
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 0x49ba47
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0xc0c]
call fcn.00406030
mov ecx, dword [0x528178]
cmp byte [ecx + 0x49], 0
mov dword [ebp - 4], edi
je 0x49baa1
mov edx, str.SOFTWAREAdobeAdobe_Acrobat11.0TrustManagercTrustedSites
test bl, bl
jne 0x49ba80
mov edx, str.SOFTWAREAdobeAdobe_Acrobat11.0TrustManagercTrustedFolders
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x49ba85
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0xc0c]
call fcn.00406030
mov eax, dword [ebp - 0xc0c]
mov ebx, 8
cmp dword [ebp - 0xbf8], ebx
jae 0x49baba
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 0x49bd1c
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.004b7120
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 0x49bd0f
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 0x49bcff
xor esi, esi
jmp 0x49bb70
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x41e]
push edx
mov word [ebp - 0x420], cx
call fcn.004b7120
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.004b7120
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 0x49bce7
cmp dword [ebp - 0xc3c], edi
jne 0x49bc92
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 0x49bc31
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0xbf0]
push eax
lea ecx, [ebp - 0xc28]
call fcn.00406030
or dword [ebp - 0xc2c], edi
mov eax, dword [ebp - 0xc28]
mov byte [ebp - 4], 1
cmp dword [ebp - 0xc14], ebx
jae 0x49bc71
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.004071e0
test eax, eax
jne 0x49bc92
mov bl, 1
jmp 0x49bc94
xor bl, bl
test byte [ebp - 0xc2c], 1
mov dword [ebp - 4], 0
je 0x49bcc3
and dword [ebp - 0xc2c], 0xfffffffe
cmp dword [ebp - 0xc14], 8
jb 0x49bcc3
mov eax, dword [ebp - 0xc28]
push eax
call fcn.00406cf9
add esp, 4
test bl, bl
je 0x49bcdb
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 0x49bb70
mov eax, dword [ebp - 0xc34]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add dword [ebp - 0xc38], edi
jmp 0x49bae1
mov edi, 1
add dword [ebp - 0xc38], edi
jmp 0x49bae1
mov ecx, dword [ebp - 0xc30]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xbf8], ebx
jb 0x49bd33
mov edx, dword [ebp - 0xc0c]
push edx
call fcn.00406cf9
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