Function at 0x5f78c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x642acb
mov eax, dword fs:[0]
push eax
sub esp, 0xa78
mov eax, dword [0x6ccc30]
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.0061e8c0
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0061e8c0
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.0061e8c0
add esp, 0x24
mov dword [ebp - 0xa40], 0xa
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x5f7951
mov eax, dword [ebx]
lea ecx, [ebp - 0xa40]
push ecx
lea ecx, [ebp - 0x420]
push ecx
push 0x64fd1c
push eax
call sub.msi.dll_MsiGetPropertyW
test eax, eax
jne 0x5f7f42
push 0x208
push eax
lea eax, [ebp - 0x628]
mov dword [ebp - 0xa40], 0xa
push eax
call fcn.0061e8c0
add esp, 0xc
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x5f799b
mov eax, dword [ebx]
lea ecx, [ebp - 0xa40]
push ecx
lea ecx, [ebp - 0x628]
push ecx
push str.VersionMinor
push eax
call sub.msi.dll_MsiGetPropertyW
test eax, eax
je 0x5f79bf
xor al, al
jmp 0x5f7f48
lea eax, [ebp - 0x628]
push eax
call fcn.00622c44
mov esi, eax
lea eax, [ebp - 0x420]
push eax
mov dword [ebp - 0xa80], esi
call fcn.00622c44
add esp, 8
mov dword [ebp - 0xa78], eax
cmp esi, 9
jb 0x5f7a87
cmp eax, 0xb
jne 0x5f7a87
lea ecx, [ebp - 0x420]
mov esi, 0x64fd54
mov eax, ecx
mov edx, 0x104
sub esi, eax
nop
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x5f7a2e
movzx eax, word [esi + ecx]
test ax, ax
je 0x5f7a2e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x5f7a10
test edx, edx
lea eax, [ecx - 2]
mov esi, 0x64fd5c
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 0x5f7a6e
movzx eax, word [esi + ecx]
test ax, ax
je 0x5f7a6e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x5f7a50
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 0x5f7a97
mov eax, dword [ebx]
push 5
push 0x64fd60
push 0
push dword [ebx + 0x10]
push eax
call fcn.005d6c50
add esp, 0x14
cmp eax, 0xffffffff
je 0x5f7aba
mov dword [edi + 0x48], 3
jmp 0x5f7aef
push 0
push str.BA7E_
mov ecx, ebx
call fcn.005d6c10
cmp eax, 0xffffffff
je 0x5f7ad6
mov dword [edi + 0x48], 2
jmp 0x5f7aef
push 0
push str.7AD7_
mov ecx, ebx
call fcn.005d6c10
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov dword [edi + 0x48], ecx
cmp dword [ebx + 0x14], 8
mov eax, ebx
mov dword [ebp - 0xa40], 0x104
jb 0x5f7b03
mov eax, dword [ebx]
lea ecx, [ebp - 0xa40]
push ecx
lea ecx, [ebp - 0x830]
push ecx
push str.VersionString
push eax
call sub.msi.dll_MsiGetPropertyW
test eax, eax
jne 0x5f7f42
lea ecx, [ebp - 0x830]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5f7b30
sub ecx, edx
lea eax, [ebp - 0x830]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x30]
call fcn.005d2810
cmp dword [ebx + 0x14], 8
mov eax, ebx
mov dword [ebp - 0xa40], 0x104
jb 0x5f7b63
mov eax, dword [ebx]
lea ecx, [ebp - 0xa40]
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 0x5f7b91
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.005d2810
xor eax, eax
mov byte [ebp - 0xa7a], 0
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.005d49c0
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.005d2f70
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.005f5c00
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.005d6c50
movzx ecx, byte [ebp - 0xa7a]
add esp, 0x28
cmp eax, 0xffffffff
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 0xa3c], ecx
call fcn.005f99b0
test eax, eax
je 0x5f7c9d
cmp byte [ebp - 0xa3c], 0
mov edx, str.SOFTWAREWow6432NodeAdobeAcrobat_Reader_
mov eax, str.SOFTWAREWow6432NodeAdobeAdobe_Acrobat_
cmove edx, eax
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5f7c90
jmp 0x5f7cc1
cmp byte [ebp - 0xa3c], 0
mov edx, 0x64fea4
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 0x5f7cb6
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xa74]
call fcn.005d2810
lea eax, [ebp - 0x420]
push eax
call fcn.00622c44
add esp, 4
cmp eax, 0xf
jge 0x5f7d19
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5f7cf0
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa74]
call fcn.005d7ff0
mov eax, 0x64ff20
jmp 0x5f7d1e
mov eax, 0x64ff28
push 2
push eax
lea ecx, [ebp - 0xa74]
call fcn.005d7ff0
push 0xa
push str.Installer
lea ecx, [ebp - 0xa74]
call fcn.005d7ff0
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 0x5f7ede
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0061e8c0
add esp, 0xc
mov dword [ebp - 0xa3c], 0x206
lea eax, [ebp - 0xa3c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa44]
push eax
push 0
push 0x64ff48
push dword [ebp - 0xa78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5f7e5d
lea esi, [ebp - 0x218]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x5f7dd6
mov edi, dword [ebx + 0x10]
sub esi, ecx
sar esi, 1
mov ecx, ebx
cmp dword [ebx + 0x14], 8
jb 0x5f7df2
mov ecx, dword [ebx]
cmp esi, edi
mov eax, edi
cmovb eax, esi
push eax
lea eax, [ebp - 0x218]
push eax
push ecx
call fcn.005ecb60
add esp, 0xc
test eax, eax
jne 0x5f7e5d
cmp edi, esi
jb 0x5f7e5d
ja 0x5f7e5d
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0061e8c0
add esp, 0xc
mov dword [ebp - 0xa3c], 0x206
lea eax, [ebp - 0xa3c]
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 0x5f7e9e
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0061e8c0
add esp, 0xc
mov dword [ebp - 0xa3c], 0x104
cmp dword [ebx + 0x14], 8
jb 0x5f7e85
mov ebx, dword [ebx]
lea eax, [ebp - 0xa3c]
push eax
lea eax, [ebp - 0x218]
push eax
push 0x64ff68
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 0x5f7ed7
mov esi, dword [ebp - 0xa84]
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x18]
call fcn.005d4990
lea eax, [ebp - 0x218]
push eax
call fcn.005f9650
add esp, 4
mov byte [esi + 0x4c], al
mov byte [ebp - 0xa79], 1
mov eax, dword [ebp - 0xa48]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x5f7f00
inc eax
lea ecx, [ebp - 0xa5c]
push eax
push dword [ebp - 0xa5c]
call fcn.005d31d0
xor eax, eax
mov dword [ebp - 0xa4c], 0
mov dword [ebp - 0xa48], 7
mov word [ebp - 0xa5c], ax
mov ecx, dword [ebp - 0xa60]
mov dword [ebp - 4], 3
cmp ecx, 8
jb 0x5f7f42
inc ecx
push ecx
push dword [ebp - 0xa74]
lea ecx, [ebp - 0xa74]
call fcn.005d31d0
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.005ce525
mov esp, ebp
pop ebp
ret 8