Function at 0x480fb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55cfc6
mov eax, dword fs:[0]
push eax
sub esp, 0xa78
mov eax, dword [0x5c7cec]
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 edi, dword [ebp + 0xc]
lea eax, [ebp - 0x830]
mov ebx, dword [ebp + 8]
push 0x208
push 0
push eax
mov dword [ebp - 0xa84], edi
mov byte [ebp - 0xa79], 0
call fcn.005290f0
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.005290f0
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.005290f0
add esp, 0x24
mov dword [ebp - 0xa3c], 0xa
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x481041
mov eax, dword [ebx]
lea ecx, [ebp - 0xa3c]
push ecx
lea ecx, [ebp - 0x420]
push ecx
push str.VersionMajor
push eax
call sub.msi.dll_MsiGetPropertyW
test eax, eax
jne 0x4815eb
push 0x208
push eax
lea eax, [ebp - 0x628]
mov dword [ebp - 0xa3c], 0xa
push eax
call fcn.005290f0
add esp, 0xc
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x48108b
mov eax, dword [ebx]
lea ecx, [ebp - 0xa3c]
push ecx
lea ecx, [ebp - 0x628]
push ecx
push str.VersionMinor
push eax
call sub.msi.dll_MsiGetPropertyW
test eax, eax
je 0x4810af
xor al, al
jmp 0x4815f1
lea eax, [ebp - 0x628]
push eax
call fcn.00535374
mov esi, eax
lea eax, [ebp - 0x420]
push eax
mov dword [ebp - 0xa80], esi
call fcn.00535374
add esp, 8
mov dword [ebp - 0xa78], eax
cmp esi, 9
jb 0x481177
cmp eax, 0xb
jne 0x481177
lea ecx, [ebp - 0x420]
mov esi, 0x56c198
mov eax, ecx
mov edx, 0x104
sub esi, eax
nop
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x48111e
movzx eax, word [esi + ecx]
test ax, ax
je 0x48111e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x481100
test edx, edx
lea eax, [ecx - 2]
mov esi, 0x56c2f0
mov edx, 0x104
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x628]
mov eax, ecx
sub esi, eax
nop
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x48115e
movzx eax, word [esi + ecx]
test ax, ax
je 0x48115e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x481140
mov esi, dword [ebp - 0xa80]
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0xa78]
mov dword [edi + 0x50], eax
mov eax, ebx
mov dword [edi + 0x54], esi
cmp dword [ebx + 0x14], 8
jb 0x481187
mov eax, dword [ebx]
push 5
push 0x56c2f4
push 0
push dword [ebx + 0x10]
push eax
call fcn.0040f0b0
add esp, 0x14
cmp eax, 0xffffffff
je 0x4811aa
mov dword [edi + 0x48], 3
jmp 0x4811df
push 0
push str.BA7E_
mov ecx, ebx
call fcn.0040ec70
cmp eax, 0xffffffff
je 0x4811c6
mov dword [edi + 0x48], 2
jmp 0x4811df
push 0
push str.7AD7_
mov ecx, ebx
call fcn.0040ec70
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov dword [edi + 0x48], ecx
cmp dword [ebx + 0x14], 8
mov eax, ebx
mov dword [ebp - 0xa3c], 0x104
jb 0x4811f3
mov eax, dword [ebx]
lea ecx, [ebp - 0xa3c]
push ecx
lea ecx, [ebp - 0x830]
push ecx
push str.VersionString
push eax
call sub.msi.dll_MsiGetPropertyW
test eax, eax
jne 0x4815eb
lea ecx, [ebp - 0x830]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x481220
sub ecx, edx
lea eax, [ebp - 0x830]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x30]
call fcn.00408740
cmp dword [ebx + 0x14], 8
mov eax, ebx
mov dword [ebp - 0xa3c], 0x104
jb 0x481253
mov eax, dword [ebx]
lea ecx, [ebp - 0xa3c]
push ecx
lea ecx, [ebp - 0xa38]
push ecx
push str.InstalledProductName
push eax
call sub.msi.dll_MsiGetPropertyW
lea ecx, [ebp - 0xa38]
test eax, eax
mov esi, str.Adobe_Acrobat
cmove esi, ecx
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x481281
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.00408740
xor eax, eax
mov dword [ebp - 0xa64], 0
mov dword [ebp - 0xa60], 7
mov word [ebp - 0xa74], ax
push esi
lea ecx, [ebp - 0xa5c]
mov dword [ebp - 4], eax
call fcn.0040d7b0
cmp dword [ebp - 0xa48], 8
lea ecx, [ebp - 0xa5c]
mov edx, dword [ebp - 0xa5c]
lea edi, [ebp - 0xa5c]
mov eax, dword [ebp - 0xa4c]
cmovae ecx, edx
push fcn.0040d270
cmovae edi, edx
mov byte [ebp - 4], 1
push edi
lea eax, [ecx + eax*2]
push eax
lea ecx, [ebp - 0xa5c]
cmovae ecx, edx
lea eax, [ebp - 0xa44]
push ecx
push eax
call fcn.0040d1d0
cmp dword [ebp - 0xa48], 8
lea eax, [ebp - 0xa5c]
push 6
cmovae eax, dword [ebp - 0xa5c]
push str.reader
push 0
push dword [ebp - 0xa4c]
push eax
call fcn.0040f0b0
add esp, 0x28
mov esi, eax
call fcn.00482f80
test eax, eax
je 0x48136d
cmp esi, 0xffffffff
mov edx, str.SOFTWAREWow6432NodeAdobeAcrobat_Reader_
mov eax, str.SOFTWAREWow6432NodeAdobeAdobe_Acrobat_
cmove edx, eax
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x481360
jmp 0x48138d
cmp esi, 0xffffffff
mov edx, str.SOFTWAREAdobeAcrobat_Reader_
mov eax, str.SOFTWAREAdobeAdobe_Acrobat_
cmove edx, eax
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x481382
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xa74]
call fcn.00408740
lea eax, [ebp - 0x420]
push eax
call fcn.00535374
add esp, 4
cmp eax, 0xf
jge 0x4813e9
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4813c0
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa74]
call fcn.0040cd80
mov eax, 0x56c2c4
jmp 0x4813ee
mov eax, 0x56c318
push 2
push eax
lea ecx, [ebp - 0xa74]
call fcn.0040cd80
push 0xa
push str.Installer
lea ecx, [ebp - 0xa74]
call fcn.0040cd80
cmp dword [ebp - 0xa60], 8
lea ecx, [ebp - 0xa78]
push ecx
push 0x20019
lea eax, [ebp - 0xa74]
mov dword [ebp - 0xa78], 0
cmovae eax, dword [ebp - 0xa74]
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4815d5
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005290f0
add esp, 0xc
mov dword [ebp - 0xa40], 0x206
lea eax, [ebp - 0xa40]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa44]
push eax
push 0
push str.ENU_GUID
push dword [ebp - 0xa78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48153b
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4814a6
sub ecx, edx
mov edi, ebx
sar ecx, 1
cmp dword [ebx + 0x14], 8
jb 0x4814bf
mov edi, dword [ebx]
mov eax, dword [ebx + 0x10]
lea edx, [ebp - 0x218]
cmp ecx, eax
mov esi, eax
cmovb esi, ecx
test esi, esi
je 0x4814eb
mov eax, edx
sub edi, eax
mov ax, word [edi + edx]
cmp ax, word [edx]
jne 0x48153b
add edx, 2
sub esi, 1
jne 0x4814d7
mov eax, dword [ebx + 0x10]
cmp eax, ecx
jb 0x48153b
ja 0x48153b
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005290f0
add esp, 0xc
mov dword [ebp - 0xa40], 0x206
lea eax, [ebp - 0xa40]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa44]
push eax
push 0
push str.PATH
push dword [ebp - 0xa78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jmp 0x48157c
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005290f0
add esp, 0xc
mov dword [ebp - 0xa40], 0x104
cmp dword [ebx + 0x14], 8
jb 0x481563
mov ebx, dword [ebx]
lea eax, [ebp - 0xa40]
push eax
lea eax, [ebp - 0x218]
push eax
push str.InstallLocation
push ebx
call sub.msi.dll_MsiGetPropertyW
push dword [ebp - 0xa78]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4815ce
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x481597
mov esi, dword [ebp - 0xa84]
lea eax, [ebp - 0x218]
sub ecx, edx
sar ecx, 1
push ecx
push eax
lea ecx, [esi + 0x18]
call fcn.00408740
lea eax, [ebp - 0x218]
push eax
call fcn.00482d50
add esp, 4
mov byte [esi + 0x4c], al
mov byte [ebp - 0xa79], 1
lea ecx, [ebp - 0xa5c]
call fcn.00408e50
lea ecx, [ebp - 0xa74]
call fcn.00408e50
mov al, byte [ebp - 0xa79]
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.0040154f
mov esp, ebp
pop ebp
ret 8