Function at 0x30808d28
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push 0x2f0
mov eax, 0x3081af0b
call fcn.3081997e
xor ebx, ebx
mov dword [ebp - 0x2a8], ebx
cmp dword [ebp + 8], ebx
je 0x308091a0
cmp dword [ebp + 8], 0xf
je 0x308091a0
mov esi, 0x104
push esi
lea eax, [ebp - 0x218]
push eax
push str.CommonProgramFiles
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
cmp eax, ebx
je 0x3080919b
cmp eax, esi
jg 0x3080919b
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], ax
mov esi, dword [sym.imp.MSVCR100.dll_wcslen]
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 4], ebx
call esi
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x234]
call fcn.3080bb77
mov edi, str.AdobeARM1.0AdobeARM.exe
push edi
call esi
pop ecx
push eax
push edi
lea ecx, [ebp - 0x234]
call fcn.3080bb77
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x30808de4
lea eax, [ebp - 0x234]
push 1
push ebx
push eax
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 0x2b8], ebx
mov dword [ebp - 0x2b4], ebx
call fcn.3080bb77
push ebx
push dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 1
call fcn.3080bb77
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 2
call fcn.3080bb77
test al, al
je 0x3080906a
lea eax, [ebp - 0x234]
push eax
mov edi, 0x3081dbb4
lea eax, [ebp - 0x2a4]
push edi
push eax
call fcn.30807af0
push edi
push eax
lea eax, [ebp - 0x288]
push eax
mov byte [ebp - 4], 3
call fcn.3080bb77
add esp, 0x18
push eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 4
call fcn.3080bb77
push ebx
push 1
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 3
call fcn.3080bb77
push ebx
push 1
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 2
call fcn.3080bb77
push 0x3081dbb0
lea ecx, [ebp - 0x250]
call fcn.3080bb77
mov eax, dword [0x30825cdc]
push str.Product
mov byte [ebp - 4], 5
lea edi, [eax + 0x2c]
call dword [eax + 0x14]
movzx eax, ax
push eax
call dword [edi]
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x26c]
call fcn.3080bb77
mov edi, str.Reader
push edi
mov byte [ebp - 4], 6
call sub.MSVCR100.dll_strlen
pop ecx
push eax
push edi
push dword [ebp - 0x25c]
lea ecx, [ebp - 0x26c]
push ebx
call fcn.3080bb77
mov edi, str._PRODUCT:Reader
test eax, eax
je 0x30808ef8
mov edi, str._PRODUCT:Acrobat
push edi
call esi
pop ecx
push eax
push edi
lea ecx, [ebp - 0x250]
call fcn.3080bb77
mov edi, str._VERSION:11.0__MODE:
push edi
call esi
pop ecx
push eax
push edi
lea ecx, [ebp - 0x250]
call fcn.3080bb77
lea ecx, [ebp - 0x2b0]
call fcn.30811990
push dword [ebp + 8]
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 7
call fcn.3080bb77
push 5
call fcn.3080bb77
pop ecx
push eax
push 5
push ebx
lea ecx, [ebp - 0x2b0]
call fcn.3080bb77
mov edi, eax
push edi
call esi
pop ecx
push eax
push edi
lea ecx, [ebp - 0x250]
call fcn.3080bb77
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x2fc]
push ebx
push eax
call sub.MSVCR100.dll_memset
mov eax, dword [ebp - 0x234]
add esp, 0xc
cmp dword [ebp - 0x220], 8
mov dword [ebp - 0x2fc], esi
mov dword [ebp - 0x2f8], 0x40
mov dword [ebp - 0x2e0], 0xa
jae 0x30808fa9
lea eax, [ebp - 0x234]
cmp dword [ebp - 0x23c], 8
mov dword [ebp - 0x2ec], eax
mov eax, dword [ebp - 0x250]
jae 0x30808fc4
lea eax, [ebp - 0x250]
mov dword [ebp - 0x2e8], eax
lea eax, [ebp - 0x2dc]
push eax
lea eax, [ebp - 0x2c4]
push eax
push dword [ebp + 8]
call fcn.3080bb77
add esp, 0xc
test al, al
jne 0x30808ff8
lea eax, [ebp - 0x2fc]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x30809026
cmp dword [ebp - 0x2c4], ebx
je 0x30809026
push dword [ebp + 8]
push dword [ebp - 0x2c4]
call fcn.30806924
pop ecx
pop ecx
cmp al, bl
jne 0x30809026
push dword [ebp - 0x2c4]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [ebp - 0x2c4], ebx
mov eax, dword [ebp - 0x2dc]
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x2a8], eax
mov byte [ebp - 4], 6
call fcn.30811ebf
push ebx
push 1
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 5
call fcn.3080bb77
push ebx
push 1
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 2
call fcn.3080bb77
jmp 0x30809164
call fcn.3080bb77
push ebx
push 0xf4240
push edx
push eax
call fcn.30819a30
xor edx, edx
mov ecx, 0x15180
div ecx
push ebx
mov edi, str.LastRepairTried
push edi
mov esi, str.AVGeneral
push esi
mov dword [ebp - 0x2ac], eax
mov eax, dword [0x30825d20]
call dword [eax + 0x5ac]
mov ecx, dword [ebp - 0x2ac]
sub ecx, eax
push ecx
call sub.MSVCR100.dll_abs
add esp, 0x10
cmp eax, 0x1e
jle 0x3080915a
push dword [ebp - 0x2ac]
mov eax, dword [0x30824a68]
push edi
push esi
call dword [eax + 0xe0]
mov eax, dword [0x30824a68]
push esi
call dword [eax + 0x100]
mov eax, dword [0x30824a68]
add esp, 0x10
call dword [eax + 0xca4]
test ax, ax
je 0x30809121
mov eax, dword [0x30824a68]
call dword [eax + 0xca8]
cmp eax, ebx
je 0x30809164
mov edx, dword [eax]
push 2
push 0x102
mov ecx, eax
call dword [edx + 0x10c]
neg eax
sbb eax, eax
and eax, 0xffffffe1
add eax, 0x21
mov dword [ebp - 0x2a8], eax
jmp 0x30809164
push str.ENU_GUID
call fcn.30808c2f
mov esi, eax
pop ecx
cmp esi, ebx
je 0x30809164
push ebx
push 0x102
call sub.msi.dll_MsiSetPropertyW
cmp eax, ebx
je 0x3080914e
push 2
push 0x3081da8c
push esi
call sub.msi.dll_MsiReinstallProductA
mov eax, dword [0x30825cd8]
push esi
call dword [eax + 0xc]
pop ecx
jmp 0x30809164
mov dword [ebp - 0x2a8], 2
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 1
call fcn.30811976
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], bl
call fcn.30811ebf
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x234]
call fcn.3080bb77
mov eax, dword [ebp - 0x2a8]
jmp 0x308091a2
push 3
pop eax
jmp 0x308091a2
xor eax, eax
call fcn.308199b4
ret