Function at 0x49b650
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e349d
mov eax, dword fs:[0]
push eax
sub esp, 0xc4c
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 - 0xc30], edi
mov dword [ebp - 0xc48], eax
cmp dword [eax + 0x10], edi
jne 0x49b69b
xor al, al
jmp 0x49b9ab
mov bl, byte [ebp + 0xc]
mov byte [ebp - 0xc29], 0
mov edx, str.SOFTWAREAdobeAcrobat_Reader11.0TrustManagercTrustedSites
test bl, bl
jne 0x49b6b3
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 0x49b6d1
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 0x49b72c
mov edx, str.SOFTWAREAdobeAdobe_Acrobat11.0TrustManagercTrustedSites
test bl, bl
jne 0x49b70a
mov edx, str.SOFTWAREAdobeAdobe_Acrobat11.0TrustManagercTrustedFolders
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x49b710
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0xc0c]
call fcn.00406030
cmp dword [ebp - 0xbf8], 8
mov eax, dword [ebp - 0xc0c]
jae 0x49b741
lea eax, [ebp - 0xc0c]
lea edx, [ebp - 0xc34]
push edx
push 0xf003f
push edi
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49b98d
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 - 0xc58]
push edx
mov edx, dword [ebp - 0xc38]
push 0
push 0
push 0
lea eax, [ebp - 0xc4c]
push eax
mov eax, dword [ebp - 0xc34]
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 0x49b980
lea ecx, [ebp - 0xc3c]
push ecx
push 0xf003f
push eax
mov eax, dword [ebp - 0xc34]
lea edx, [ebp - 0x218]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49b970
xor esi, esi
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 - 0xc50], 0x104
mov word [ebp - 0xbf0], ax
call fcn.004b7120
add esp, 0x18
lea edx, [ebp - 0xc44]
push edx
lea eax, [ebp - 0xbf0]
push eax
lea ecx, [ebp - 0xc40]
push ecx
mov ecx, dword [ebp - 0xc3c]
push 0
lea edx, [ebp - 0xc50]
push edx
lea eax, [ebp - 0x420]
push eax
push esi
mov edi, 1
push ecx
mov dword [ebp - 0xc44], 0x7d0
mov dword [ebp - 0xc40], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x49b958
cmp dword [ebp - 0xc40], edi
jne 0x49b915
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 0x49b8b3
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0xbf0]
push eax
lea ecx, [ebp - 0xc28]
call fcn.00406030
or dword [ebp - 0xc30], edi
cmp dword [ebp - 0xc14], 8
mov eax, dword [ebp - 0xc28]
mov byte [ebp - 4], 1
jae 0x49b8f4
lea eax, [ebp - 0xc28]
mov ecx, dword [ebp - 0xc18]
push ecx
mov ecx, dword [ebp - 0xc48]
mov edx, dword [ecx + 0x10]
push eax
push edx
push 0
call fcn.004071e0
test eax, eax
jne 0x49b915
mov bl, 1
jmp 0x49b917
xor bl, bl
test byte [ebp - 0xc30], 1
mov dword [ebp - 4], 0
je 0x49b946
and dword [ebp - 0xc30], 0xfffffffe
cmp dword [ebp - 0xc14], 8
jb 0x49b946
mov eax, dword [ebp - 0xc28]
push eax
call fcn.00406cf9
add esp, 4
test bl, bl
jne 0x49b951
add esi, edi
jmp 0x49b7f2
mov byte [ebp - 0xc29], 1
mov ecx, dword [ebp - 0xc3c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add dword [ebp - 0xc38], edi
jmp 0x49b768
mov edi, 1
add dword [ebp - 0xc38], edi
jmp 0x49b768
mov edx, dword [ebp - 0xc34]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xbf8], 8
jb 0x49b9a5
mov eax, dword [ebp - 0xc0c]
push eax
call fcn.00406cf9
add esp, 4
mov al, byte [ebp - 0xc29]
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