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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e340d
mov eax, dword fs:[0]
push eax
sub esp, 0xc4c
mov eax, dword [0x5246a8]
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 0x49b73b
xor al, al
jmp 0x49ba4b
mov bl, byte [ebp + 0xc]
mov byte [ebp - 0xc29], 0
mov edx, str.SOFTWAREAdobeAcrobat_Reader11.0TrustManagercTrustedSites
test bl, bl
jne 0x49b753
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 0x49b771
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0xc0c]
call fcn.00406040
mov ecx, dword [0x527178]
cmp byte [ecx + 0x49], 0
mov dword [ebp - 4], edi
je 0x49b7cc
mov edx, str.SOFTWAREAdobeAdobe_Acrobat11.0TrustManagercTrustedSites
test bl, bl
jne 0x49b7aa
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 0x49b7b0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0xc0c]
call fcn.00406040
cmp dword [ebp - 0xbf8], 8
mov eax, dword [ebp - 0xc0c]
jae 0x49b7e1
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 0x49ba2d
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.004b7180
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 0x49ba20
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 0x49ba10
xor esi, esi
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x41e]
push edx
mov word [ebp - 0x420], cx
call fcn.004b7180
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.004b7180
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 0x49b9f8
cmp dword [ebp - 0xc40], edi
jne 0x49b9b5
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 0x49b953
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0xbf0]
push eax
lea ecx, [ebp - 0xc28]
call fcn.00406040
or dword [ebp - 0xc30], edi
cmp dword [ebp - 0xc14], 8
mov eax, dword [ebp - 0xc28]
mov byte [ebp - 4], 1
jae 0x49b994
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.004071f0
test eax, eax
jne 0x49b9b5
mov bl, 1
jmp 0x49b9b7
xor bl, bl
test byte [ebp - 0xc30], 1
mov dword [ebp - 4], 0
je 0x49b9e6
and dword [ebp - 0xc30], 0xfffffffe
cmp dword [ebp - 0xc14], 8
jb 0x49b9e6
mov eax, dword [ebp - 0xc28]
push eax
call fcn.00406d09
add esp, 4
test bl, bl
jne 0x49b9f1
add esi, edi
jmp 0x49b892
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 0x49b808
mov edi, 1
add dword [ebp - 0xc38], edi
jmp 0x49b808
mov edx, dword [ebp - 0xc34]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xbf8], 8
jb 0x49ba45
mov eax, dword [ebp - 0xc0c]
push eax
call fcn.00406d09
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