Function at 0x44b600
Capabilities:
Check if file exists
Create process on windows
Get common file path
Get file attributes
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db072
mov eax, dword fs:[0]
push eax
sub esp, 0x508
mov eax, dword [0x522638]
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 esi, dword [ebp + 8]
mov dword [ebp - 0x4d0], ecx
mov eax, 7
xor edi, edi
xor ecx, ecx
mov dword [ebp - 0x4d8], esi
mov dword [ebp - 0x4b4], eax
mov dword [ebp - 0x4b8], edi
mov word [ebp - 0x4c8], cx
xor edx, edx
mov dword [ebp - 4], edi
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x464], edi
mov word [ebp - 0x474], dx
mov dword [ebp - 0x428], eax
xor eax, eax
mov dword [ebp - 0x42c], edi
mov word [ebp - 0x43c], ax
push str.kernel32
mov byte [ebp - 4], 2
xor bl, bl
mov dword [ebp - 0x4cc], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, edi
je 0x44b6b2
push str.IsWow64Process
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x52408c], eax
cmp dword [0x52408c], edi
je 0x44b6d2
lea ecx, [ebp - 0x4cc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x52408c]
test eax, eax
je 0x44b6d8
mov eax, dword [ebp - 0x4cc]
cmp eax, 1
sete al
xor edx, edx
test al, al
setne dl
lea ecx, [ebp - 0x420]
push ecx
push edi
push edi
lea eax, [edx + 0x2b]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x44b750
mov esi, 8
cmp dword [ebp - 0x428], esi
jb 0x44b719
mov edx, dword [ebp - 0x43c]
push edx
call fcn.00406ca9
add esp, 4
xor eax, eax
mov dword [ebp - 0x428], 7
mov dword [ebp - 0x42c], edi
mov word [ebp - 0x43c], ax
cmp dword [ebp - 0x460], esi
jb 0x44b749
mov ecx, dword [ebp - 0x474]
push ecx
call fcn.00406ca9
add esp, 4
xor al, al
jmp 0x44bba5
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x4d4], 0x104
jb 0x44b764
mov eax, dword [esi]
jmp 0x44b766
mov eax, esi
lea edx, [ebp - 0x4d4]
push edx
lea ecx, [ebp - 0x218]
push ecx
push str.InstalledProductName
push eax
call sub.msi.dll_MsiGetPropertyW
cmp eax, edi
jne 0x44bb57
xor edx, edx
lea eax, [ebp - 0x218]
mov word [ebp - 0x458], dx
mov dword [ebp - 0x444], 7
mov dword [ebp - 0x448], edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x44b7b0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x458]
call fcn.00405fe0
mov eax, dword [ebp - 0x444]
mov edx, dword [ebp - 0x458]
mov byte [ebp - 4], 3
mov esi, edx
cmp eax, 8
jae 0x44b93e
lea esi, [ebp - 0x458]
mov ecx, esi
mov ebx, dword [ebp - 0x448]
lea ecx, [ecx + ebx*2]
mov ebx, 8
cmp eax, ebx
mov eax, edx
jae 0x44b80f
lea eax, [ebp - 0x458]
cmp eax, ecx
je 0x44b82a
push fcn.00418c6e
push esi
push ecx
push eax
lea ecx, [ebp - 0x4cc]
push ecx
call fcn.00418970
add esp, 0x14
push 6
push edi
push str.reader
lea ecx, [ebp - 0x458]
call fcn.0040a060
cmp eax, 0xffffffff
jne 0x44b85e
push 7
push edi
push str.acrobat
lea ecx, [ebp - 0x458]
call fcn.0040a060
cmp eax, 0xffffffff
je 0x44bbd9
lea eax, [ebp - 0x420]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x44b867
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x420]
push edx
lea ecx, [ebp - 0x474]
call fcn.00405fe0
push 0x21
push str.AdobeARM1.0AdobeARMHelper.exe
lea ecx, [ebp - 0x474]
call fcn.0040d980
mov eax, dword [ebp - 0x474]
cmp dword [ebp - 0x460], ebx
jae 0x44b8af
lea eax, [ebp - 0x474]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44b945
cmp dword [ebp - 0x444], ebx
jb 0x44b8d6
mov eax, dword [ebp - 0x458]
push eax
call fcn.00406ca9
add esp, 4
xor ecx, ecx
mov esi, 7
mov dword [ebp - 0x444], esi
mov dword [ebp - 0x448], edi
mov word [ebp - 0x458], cx
cmp dword [ebp - 0x428], ebx
jb 0x44b907
mov edx, dword [ebp - 0x43c]
push edx
call fcn.00406ca9
add esp, 4
xor eax, eax
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x42c], edi
mov word [ebp - 0x43c], ax
cmp dword [ebp - 0x460], ebx
jb 0x44b749
mov ecx, dword [ebp - 0x474]
push ecx
call fcn.00406ca9
add esp, 4
xor al, al
jmp 0x44bba5
mov ecx, edx
jmp 0x44b7f5
mov ebx, dword [ebp - 0x4d0]
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
mov ecx, ebx
call eax
mov ecx, eax
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x44b960
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x43c]
call fcn.00405fe0
mov ecx, dword [ebp - 0x4d8]
push 0xffffffffffffffff
push edi
push ecx
lea ecx, [ebp - 0x43c]
call fcn.0040d6b0
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
push 0x38
lea ecx, [ebp - 0x510]
push edi
push ecx
mov dword [ebp - 0x514], 0x3c
call fcn.004b8020
mov esi, 8
add esp, 0xc
cmp dword [ebp - 0x460], esi
jb 0x44b9d1
mov edx, dword [ebp - 0x474]
mov dword [ebp - 0x504], edx
jmp 0x44b9dd
lea eax, [ebp - 0x474]
mov dword [ebp - 0x504], eax
cmp dword [ebp - 0x428], esi
jb 0x44b9f3
mov ecx, dword [ebp - 0x43c]
mov dword [ebp - 0x500], ecx
jmp 0x44b9ff
lea edx, [ebp - 0x43c]
mov dword [ebp - 0x500], edx
mov ebx, 7
xor eax, eax
mov dword [ebp - 0x4f8], 1
mov dword [ebp - 0x47c], ebx
mov dword [ebp - 0x480], edi
mov word [ebp - 0x490], ax
push edi
push 0x105
lea ecx, [ebp - 0x490]
mov byte [ebp - 4], 4
call fcn.0040c680
mov eax, dword [ebp - 0x490]
cmp dword [ebp - 0x47c], esi
jae 0x44ba4c
lea eax, [ebp - 0x490]
mov ecx, dword [ebp - 0x480]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp eax, edi
je 0x44bbce
cmp eax, dword [ebp - 0x480]
ja 0x44bbce
xor edx, edx
mov dword [ebp - 0x498], ebx
mov dword [ebp - 0x49c], edi
mov word [ebp - 0x4ac], dx
push 0x105
lea ecx, [ebp - 0x4ac]
mov byte [ebp - 4], 5
call fcn.0044b270
mov eax, dword [ebp - 0x4ac]
cmp dword [ebp - 0x498], esi
jae 0x44baab
lea eax, [ebp - 0x4ac]
mov ecx, dword [ebp - 0x49c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, edi
je 0x44bbc3
cmp eax, dword [ebp - 0x49c]
ja 0x44bbc3
mov eax, dword [ebp - 0x4ac]
cmp dword [ebp - 0x498], esi
jae 0x44bae1
lea eax, [ebp - 0x4ac]
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push eax
call edi
test eax, eax
je 0x44bbc3
lea edx, [ebp - 0x514]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [ebp - 0x47c], 8
mov esi, eax
mov eax, dword [ebp - 0x490]
jae 0x44bb16
lea eax, [ebp - 0x490]
push eax
call edi
test esi, esi
je 0x44bbc3
mov eax, dword [ebp - 0x50c]
test eax, eax
je 0x44bb32
push eax
call dword [sym.imp.USER32.dll_BringWindowToTop]
lea ecx, [ebp - 0x4ac]
mov bl, 1
call fcn.00409f90
lea ecx, [ebp - 0x490]
call fcn.00409f90
lea ecx, [ebp - 0x458]
call fcn.00409f90
xor edi, edi
mov esi, 8
cmp dword [ebp - 0x428], esi
jb 0x44bb73
mov eax, dword [ebp - 0x43c]
push eax
call fcn.00406ca9
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x428], 7
mov dword [ebp - 0x42c], edi
mov word [ebp - 0x43c], cx
cmp dword [ebp - 0x460], esi
jb 0x44bba3
mov edx, dword [ebp - 0x474]
push edx
call fcn.00406ca9
add esp, 4
mov al, bl
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.00401306
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x4ac]
call fcn.00409f90
lea ecx, [ebp - 0x490]
call fcn.00409f90
lea ecx, [ebp - 0x458]
call fcn.00409f90
lea ecx, [ebp - 0x43c]
call fcn.00409f90
lea ecx, [ebp - 0x474]
call fcn.00409f90
lea ecx, [ebp - 0x4c8]
call fcn.00409f90
xor al, al
jmp 0x44bba5