Function at 0x10001f3f
Capabilities:
Set registry value

Disassembly:
push 0x2c
mov eax, 0x1000ce71
call fcn.100040d2
push 0x24
call fcn.10003957
pop ecx
mov ecx, eax
mov dword [ebp - 0x38], ecx
xor ebx, ebx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x10001f6e
push dword [ebp + 8]
call fcn.100018fa
mov dword [ebp - 0x24], eax
jmp 0x10001f71
mov dword [ebp - 0x24], ebx
or dword [ebp - 4], 0xffffffff
push 0xc
call fcn.10003957
pop ecx
mov dword [ebp - 0x38], eax
xor esi, esi
inc esi
cmp eax, ebx
mov dword [ebp - 4], esi
je 0x10001f96
mov ecx, eax
call fcn.100031da
mov dword [ebp - 0x10], eax
jmp 0x10001f99
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
push str.HKEY_CURRENT_USERSoftwareAdobeAdobe_Acrobat8.0InstallerMigrated
mov ecx, edi
call fcn.1000345b
test eax, eax
je 0x10001fb5
cmp dword [ebp + 8], ebx
je 0x10001ff6
push str.HKEY_CURRENT_USERSoftwareAdobeAcrobat_Reader8.0InstallerMigrated
mov ecx, edi
call fcn.1000345b
test eax, eax
je 0x10001fca
cmp dword [ebp + 8], esi
je 0x10001ff6
push str.HKEY_CURRENT_USERSoftwareAdobeAcrobat_Distiller8.0InstallerMigrated
mov ecx, edi
call fcn.1000345b
test eax, eax
je 0x10001fe0
cmp dword [ebp + 8], 2
je 0x10001ff6
push str.HKEY_CURRENT_USERSoftwareAdobeAcrobat_Elements8.0InstallerMigrated
mov ecx, edi
call fcn.1000345b
test eax, eax
je 0x10002009
cmp dword [ebp + 8], 3
jne 0x10002009
mov ecx, dword [ebp - 0x24]
cmp ecx, ebx
je 0x10002002
mov eax, dword [ecx]
push esi
call dword [eax]
mov eax, esi
jmp 0x10002228
mov esi, 0x104
push esi
call fcn.10003957
push esi
push ebx
push eax
mov dword [ebp - 0x14], eax
call fcn.10003870
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 0x10
cmp dword [ebp + 8], ebx
jne 0x10002037
push str.HKEY_LOCAL_MACHINESoftwareAdobeAdobe_Acrobat8.0InstallerMigrate
push dword [ebp - 0x14]
call edi
cmp dword [ebp + 8], 1
jne 0x10002047
push str.HKEY_LOCAL_MACHINESoftwareAdobeAcrobat_Reader8.0InstallerMigrate
push dword [ebp - 0x14]
call edi
cmp dword [ebp + 8], 2
jne 0x10002057
push str.HKEY_LOCAL_MACHINESoftwareAdobeAcrobat_Distiller8.0InstallerMigrate
push dword [ebp - 0x14]
call edi
cmp dword [ebp + 8], 3
jne 0x10002067
push str.HKEY_LOCAL_MACHINESoftwareAdobeAcrobat_Elements8.0InstallerMigrate
push dword [ebp - 0x14]
call edi
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
call fcn.1000345b
test eax, eax
je 0x100021e8
push esi
call fcn.10003957
push esi
mov edi, eax
push ebx
push edi
mov dword [ebp - 0x30], edi
call fcn.10003870
mov ecx, dword [ebp - 0x10]
add esp, 0x10
push edi
push dword [ebp - 0x14]
call fcn.10003394
push str.ERROR_NO_MORE_ITEMS
push edi
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x100021e8
push esi
call fcn.10003957
push esi
push ebx
push eax
mov dword [ebp - 0x2c], eax
call fcn.10003870
push esi
call fcn.10003957
push esi
push ebx
push eax
mov dword [ebp - 0x28], eax
call fcn.10003870
push esi
mov dword [ebp - 0x20], ebx
call fcn.10003957
push esi
push ebx
push eax
mov dword [ebp - 0x1c], eax
call fcn.10003870
push esi
call fcn.10003957
push esi
mov edi, eax
push ebx
push edi
call fcn.10003870
add esp, 0x40
push dword [ebp - 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x1000e1d8
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push dword [ebp - 0x30]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
push 0x1000e4b6
push edi
call fcn.1000353b
push dword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
push str.name
push edi
call fcn.1000353b
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
push 0x1000e578
push edi
call fcn.1000353b
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
push str.type
push edi
call fcn.100035ec
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push dword [ebp - 0x2c]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp dword [ebp - 0x20], 4
je 0x10002199
cmp dword [ebp - 0x20], 5
je 0x10002199
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp - 0x1c]
jmp 0x100021b4
push dword [ebp - 0x1c]
call fcn.100041a5
pop ecx
push dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 4
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x20]
push ebx
push dword [ebp - 0x28]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x2c]
call fcn.1000386b
cmp dword [ebp - 0x38], ebx
pop ecx
je 0x1000207a
cmp dword [ebp + 8], ebx
mov esi, dword [ebp - 0x24]
jne 0x10002202
mov ecx, dword [ebp - 0x10]
push 1
push dword [esi + 4]
push str.HKEY_CURRENT_USERSoftwareAdobeAdobe_Acrobat8.0InstallerMigrated
call fcn.1000367f
xor edi, edi
inc edi
cmp dword [ebp + 8], edi
jne 0x1000221b
mov ecx, dword [ebp - 0x10]
push edi
push dword [esi + 4]
push str.HKEY_CURRENT_USERSoftwareAdobeAcrobat_Reader8.0InstallerMigrated
call fcn.1000367f
cmp esi, ebx
je 0x10002226
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax]
mov eax, edi
call fcn.10004171
ret