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

Disassembly:
push 0x2e4
mov eax, 0x3081aced
call fcn.3081997e
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x2f0], edi
mov dword [ebp - 0x2e4], esi
mov byte [ebp - 0x2dd], bl
cmp edi, ebx
je 0x30808542
cmp esi, ebx
je 0x30808542
push 0x3081da8c
lea ecx, [ebp - 0x2c0]
call fcn.3081968d
push str.Check
lea ecx, [ebp - 0x2a4]
mov dword [ebp - 4], ebx
call fcn.3081968d
push str.CheckReader
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 1
call fcn.3081968d
push edi
mov byte [ebp - 4], 2
call sub.MSVCR100.dll_strlen
pop ecx
push eax
push edi
push dword [ebp - 0x2b0]
lea ecx, [ebp - 0x2c0]
push ebx
call fcn.3081968d
test eax, eax
jne 0x3080850d
push esi
call sub.MSVCR100.dll_strlen
pop ecx
push eax
push esi
push dword [ebp - 0x294]
lea ecx, [ebp - 0x2a4]
push ebx
call fcn.3081968d
test eax, eax
je 0x3080825e
push esi
call sub.MSVCR100.dll_strlen
pop ecx
push eax
push esi
push dword [ebp - 0x278]
lea ecx, [ebp - 0x288]
push ebx
call fcn.3081968d
test eax, eax
jne 0x3080850d
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 0x308084ca
cmp eax, esi
jg 0x308084ca
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x26c]
call fcn.3081968d
mov esi, dword [sym.imp.MSVCR100.dll_wcslen]
mov edi, str.AdobeARM1.0AdobeARM.exe
push edi
mov byte [ebp - 4], 3
call esi
pop ecx
push eax
push edi
lea ecx, [ebp - 0x26c]
call fcn.3081968d
push str._ArmPrefs
lea ecx, [ebp - 0x234]
call fcn.3081968d
mov eax, dword [0x30825cdc]
push str.Product
mov byte [ebp - 4], 4
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 - 0x2dc]
call fcn.3081968d
mov edi, str.Reader
push edi
mov byte [ebp - 4], 5
call sub.MSVCR100.dll_strlen
pop ecx
push eax
push edi
push dword [ebp - 0x2cc]
lea ecx, [ebp - 0x2dc]
push ebx
call fcn.3081968d
mov edi, str.__PRODUCT:Reader
test eax, eax
je 0x30808322
mov edi, str.__PRODUCT:Acrobat
push edi
call esi
pop ecx
push eax
push edi
lea ecx, [ebp - 0x234]
call fcn.3081968d
mov edi, str.__MODE:
push edi
call esi
pop ecx
push eax
push edi
lea ecx, [ebp - 0x234]
call fcn.3081968d
lea ecx, [ebp - 0x2ec]
call fcn.30811990
push dword [ebp + 0x10]
lea ecx, [ebp - 0x2ec]
mov byte [ebp - 4], 6
call fcn.3081968d
push 5
call fcn.3081968d
pop ecx
push eax
push 5
push ebx
lea ecx, [ebp - 0x2ec]
call fcn.3081968d
mov edi, eax
push edi
call esi
pop ecx
push eax
push edi
lea ecx, [ebp - 0x234]
call fcn.3081968d
push dword [ebp + 0x10]
call fcn.3081968d
pop ecx
cmp eax, 0x20
jg 0x3080845f
mov edi, str.open
push edi
lea ecx, [ebp - 0x250]
call fcn.3081968d
mov byte [ebp - 4], 7
call fcn.3081968d
test al, al
je 0x308083d9
push str.runas
call esi
pop ecx
push eax
push str.runas
lea ecx, [ebp - 0x250]
call fcn.3081968d
mov eax, dword [0x30824a68]
call dword [eax + 0xca4]
test ax, ax
je 0x308083fa
push edi
call esi
pop ecx
push eax
push edi
lea ecx, [ebp - 0x250]
call fcn.3081968d
cmp dword [ebp - 0x220], 8
mov edx, dword [ebp - 0x234]
jae 0x3080840f
lea edx, [ebp - 0x234]
cmp dword [ebp - 0x258], 8
mov ecx, dword [ebp - 0x26c]
jae 0x30808424
lea ecx, [ebp - 0x26c]
cmp dword [ebp - 0x23c], 8
mov eax, dword [ebp - 0x250]
jae 0x30808439
lea eax, [ebp - 0x250]
push 0xa
push ebx
push edx
push ecx
push eax
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push ebx
push 1
lea ecx, [ebp - 0x250]
mov esi, eax
mov byte [ebp - 4], 6
call fcn.3081968d
cmp esi, 0x20
jle 0x30808483
push dword [ebp + 0x10]
mov eax, dword [0x30824a68]
push dword [ebp - 0x2e4]
mov byte [ebp - 0x2dd], 1
push dword [ebp - 0x2f0]
call dword [eax + 0xe0]
add esp, 0xc
lea ecx, [ebp - 0x2ec]
mov byte [ebp - 4], 5
call fcn.30811ebf
push ebx
push 1
lea ecx, [ebp - 0x2dc]
mov byte [ebp - 4], 4
call fcn.3081968d
push ebx
push 1
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 3
call fcn.3081968d
push ebx
push 1
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 2
call fcn.3081968d
jmp 0x308084d0
mov byte [ebp - 0x2dd], bl
push ebx
push 1
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 1
call fcn.3081968d
push ebx
push 1
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], bl
call fcn.3081968d
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c0]
call fcn.3081968d
mov al, byte [ebp - 0x2dd]
jmp 0x30808544
push ebx
push 1
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 1
call fcn.3081968d
push ebx
push 1
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], bl
call fcn.3081968d
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c0]
call fcn.3081968d
xor al, al
call fcn.308199b4
ret