Function at 0x446040
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dccd6
mov eax, dword fs:[0]
push eax
sub esp, 0xa7c
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 ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x41e]
push ecx
mov dword [ebp - 0xa84], ebx
mov byte [ebp - 0xa71], 0
mov word [ebp - 0x420], ax
call fcn.004b7180
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x216]
push eax
mov word [ebp - 0x218], dx
call fcn.004b7180
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0xa36]
push edx
mov word [ebp - 0xa38], cx
call fcn.004b7180
add esp, 0x24
cmp dword [esi + 0x14], 8
mov edi, 0xa
mov dword [ebp - 0xa78], edi
jb 0x4460ea
mov eax, dword [esi]
jmp 0x4460ec
mov eax, esi
lea ecx, [ebp - 0xa78]
push ecx
lea edx, [ebp - 0x218]
push edx
push str.VersionMajor
push eax
call sub.msi.dll_MsiGetPropertyW
test eax, eax
jne 0x4464f1
push 0x206
push eax
lea ecx, [ebp - 0x626]
push ecx
mov dword [ebp - 0xa78], edi
mov word [ebp - 0x628], ax
call fcn.004b7180
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x446139
mov eax, dword [esi]
jmp 0x44613b
mov eax, esi
lea edx, [ebp - 0xa78]
push edx
lea ecx, [ebp - 0x628]
push ecx
push str.VersionMinor
push eax
call sub.msi.dll_MsiGetPropertyW
test eax, eax
je 0x44615f
xor al, al
jmp 0x4464f7
lea edx, [ebp - 0x628]
push edx
call fcn.004b7903
mov edi, eax
lea eax, [ebp - 0x218]
push eax
call fcn.004b7903
add esp, 8
push 5
push 0
push str.7760_
mov ecx, esi
mov dword [ebx + 0x5c], eax
mov dword [ebx + 0x60], edi
call fcn.0040a0c0
cmp eax, 0xffffffff
je 0x4461a0
mov dword [ebx + 0x54], 3
jmp 0x4461d9
push 5
push 0
push str.BA7E_
mov ecx, esi
call fcn.0040a0c0
cmp eax, 0xffffffff
je 0x4461be
mov dword [ebx + 0x54], 2
jmp 0x4461d9
push 5
push 0
push str.7AD7_
mov ecx, esi
call fcn.0040a0c0
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov dword [ebx + 0x54], ecx
mov edi, 8
mov dword [ebp - 0xa78], 0xa
cmp dword [esi + 0x14], edi
jb 0x4461f1
mov eax, dword [esi]
jmp 0x4461f3
mov eax, esi
lea edx, [ebp - 0xa78]
push edx
lea ecx, [ebp - 0x420]
push ecx
push str.VersionString
push eax
call sub.msi.dll_MsiGetPropertyW
test eax, eax
jne 0x4464f1
lea eax, [ebp - 0x420]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x446220
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x420]
push edx
lea ecx, [ebx + 0x38]
call fcn.00406040
mov dword [ebp - 0xa78], 0x104
cmp dword [esi + 0x14], edi
jb 0x446250
mov esi, dword [esi]
lea eax, [ebp - 0xa78]
push eax
lea ecx, [ebp - 0xa38]
push ecx
push str.InstalledProductName
push esi
call sub.msi.dll_MsiGetPropertyW
lea esi, [ebp - 0xa38]
test eax, eax
je 0x446278
mov esi, str.Adobe_Acrobat
mov eax, esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x446280
sub eax, edx
sar eax, 1
push eax
push esi
mov ecx, ebx
call fcn.00406040
xor eax, eax
xor edx, edx
xor bl, bl
mov dword [ebp - 0xa5c], 7
mov dword [ebp - 0xa60], eax
mov word [ebp - 0xa70], dx
push esi
lea ecx, [ebp - 0xa54]
mov dword [ebp - 4], eax
call fcn.00408780
mov eax, dword [ebp - 0xa40]
mov edx, dword [ebp - 0xa54]
mov byte [ebp - 4], 1
mov esi, edx
cmp eax, 8
jae 0x44635d
lea esi, [ebp - 0xa54]
mov ecx, esi
mov edi, dword [ebp - 0xa44]
cmp eax, 8
lea ecx, [ecx + edi*2]
mov eax, edx
jae 0x4462fd
lea eax, [ebp - 0xa54]
cmp eax, ecx
je 0x446318
push fcn.0040f424
push esi
push ecx
push eax
lea eax, [ebp - 0xa80]
push eax
call fcn.0040f3e0
add esp, 0x14
push 6
xor edi, edi
push edi
push str.reader
lea ecx, [ebp - 0xa54]
call fcn.0040a0c0
cmp eax, 0xffffffff
je 0x446334
mov bl, 1
call fcn.00445180
test eax, eax
je 0x446361
mov edx, str.SOFTWAREWow6432NodeAdobeAcrobat_Reader_
test bl, bl
jne 0x44634b
mov edx, str.SOFTWAREWow6432NodeAdobeAdobe_Acrobat_
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x446350
jmp 0x44637f
mov ecx, edx
jmp 0x4462e7
mov edx, str.SOFTWAREAdobeAcrobat_Reader_
test bl, bl
jne 0x44636f
mov edx, str.SOFTWAREAdobeAdobe_Acrobat_
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x446374
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0xa70]
call fcn.00406040
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4463a0
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0xa70]
call fcn.0040d610
push 2
push 0x4e817c
lea ecx, [ebp - 0xa70]
call fcn.0040d610
push 0xa
push str.Installer
lea ecx, [ebp - 0xa70]
call fcn.0040d610
mov eax, dword [ebp - 0xa70]
mov ebx, 8
mov dword [ebp - 0xa7c], edi
cmp dword [ebp - 0xa5c], ebx
jae 0x446405
lea eax, [ebp - 0xa70]
lea edx, [ebp - 0xa7c]
push edx
push 0x20019
push edi
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4464aa
push 0x208
lea eax, [ebp - 0x830]
push edi
push eax
call fcn.004b7180
add esp, 0xc
lea ecx, [ebp - 0xa80]
push ecx
mov ecx, dword [ebp - 0xa7c]
lea edx, [ebp - 0x830]
push edx
lea eax, [ebp - 0xa88]
push eax
push edi
push str.PATH
push ecx
mov dword [ebp - 0xa80], 0x206
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0xa7c]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
jne 0x4464a3
mov esi, dword [ebp - 0xa84]
lea eax, [ebp - 0x830]
push eax
lea ecx, [esi + 0x1c]
call fcn.004321e0
lea edx, [ebp - 0x830]
call fcn.004458f0
mov byte [esi + 0x58], al
mov byte [ebp - 0xa71], 1
cmp dword [ebp - 0xa40], ebx
jb 0x4464c1
mov ecx, dword [ebp - 0xa54]
push ecx
call fcn.00406d09
add esp, 4
xor edx, edx
mov dword [ebp - 0xa40], 7
mov dword [ebp - 0xa44], edi
mov word [ebp - 0xa54], dx
cmp dword [ebp - 0xa5c], ebx
jb 0x4464f1
mov eax, dword [ebp - 0xa70]
push eax
call fcn.00406d09
add esp, 4
mov al, byte [ebp - 0xa71]
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 8