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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e19dd
mov eax, dword fs:[0]
push eax
sub esp, 0xc4c
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 - 0xc30], edi
mov dword [ebp - 0xc48], eax
cmp dword [eax + 0x10], edi
jne 0x49dc2b
xor al, al
jmp 0x49df3b
mov bl, byte [ebp + 0xc]
mov byte [ebp - 0xc29], 0
mov edx, str.SOFTWAREAdobeAcrobat_Reader11.0TrustManagercTrustedSites
test bl, bl
jne 0x49dc43
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 0x49dc61
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 0x49dcbc
mov edx, str.SOFTWAREAdobeAdobe_Acrobat11.0TrustManagercTrustedSites
test bl, bl
jne 0x49dc9a
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 0x49dca0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0xc0c]
call fcn.00405fe0
cmp dword [ebp - 0xbf8], 8
mov eax, dword [ebp - 0xc0c]
jae 0x49dcd1
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 0x49df1d
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 - 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 0x49df10
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 0x49df00
xor esi, esi
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 - 0xc50], 0x104
mov word [ebp - 0xbf0], ax
call fcn.004b8020
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 0x49dee8
cmp dword [ebp - 0xc40], edi
jne 0x49dea5
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 0x49de43
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0xbf0]
push eax
lea ecx, [ebp - 0xc28]
call fcn.00405fe0
or dword [ebp - 0xc30], edi
cmp dword [ebp - 0xc14], 8
mov eax, dword [ebp - 0xc28]
mov byte [ebp - 4], 1
jae 0x49de84
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.00407190
test eax, eax
jne 0x49dea5
mov bl, 1
jmp 0x49dea7
xor bl, bl
test byte [ebp - 0xc30], 1
mov dword [ebp - 4], 0
je 0x49ded6
and dword [ebp - 0xc30], 0xfffffffe
cmp dword [ebp - 0xc14], 8
jb 0x49ded6
mov eax, dword [ebp - 0xc28]
push eax
call fcn.00406ca9
add esp, 4
test bl, bl
jne 0x49dee1
add esi, edi
jmp 0x49dd82
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 0x49dcf8
mov edi, 1
add dword [ebp - 0xc38], edi
jmp 0x49dcf8
mov edx, dword [ebp - 0xc34]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xbf8], 8
jb 0x49df35
mov eax, dword [ebp - 0xc0c]
push eax
call fcn.00406ca9
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