Function at 0x44fba0
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 0x501967
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x54e938]
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 eax, dword [ebp + 8]
mov esi, ecx
mov edi, 7
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x2ac], eax
mov dword [ebp - 0x290], edi
mov dword [ebp - 0x294], ebx
mov word [ebp - 0x2a4], cx
xor edx, edx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x240], ebx
mov word [ebp - 0x250], dx
xor eax, eax
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], ax
push str.kernel32
mov byte [ebp - 4], 2
mov dword [ebp - 0x2a8], ebx
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x44fc4c
push str.IsWow64Process
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x550340], eax
cmp dword [0x550340], ebx
je 0x44fc6c
lea ecx, [ebp - 0x2a8]
push ecx
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [0x550340]
test eax, eax
je 0x44fc72
mov eax, dword [ebp - 0x2a8]
cmp eax, 1
sete al
xor edx, edx
cmp al, bl
setne dl
lea ecx, [ebp - 0x218]
push ecx
push ebx
push ebx
lea eax, [edx + 0x2b]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x44fcc6
mov esi, 8
cmp dword [ebp - 0x220], esi
jb 0x44fcb3
mov edx, dword [ebp - 0x234]
push edx
call main
add esp, 4
xor eax, eax
cmp dword [ebp - 0x23c], esi
mov dword [ebp - 0x220], edi
jmp 0x45000c
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x44fcd0
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x250]
call main
push 0x1b
push str.AdobeARM1.0AdobeARM.exe
lea ecx, [ebp - 0x250]
call main
mov eax, dword [ebp - 0x250]
mov edi, 8
cmp dword [ebp - 0x23c], edi
jae 0x44fd1d
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44fd71
cmp dword [ebp - 0x220], edi
jb 0x44fd40
mov eax, dword [ebp - 0x234]
push eax
call main
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], cx
cmp dword [ebp - 0x23c], edi
jb 0x45002a
mov edx, dword [ebp - 0x250]
push edx
jmp 0x450022
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
mov ecx, eax
lea edi, [ecx + 2]
nop
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x44fd80
sub ecx, edi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call main
mov eax, dword [ebp - 0x2ac]
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x234]
call main
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
push 0x38
lea ecx, [ebp - 0x2e4]
push ebx
push ecx
mov dword [ebp - 0x2e8], 0x3c
call fcn.004e15a0
mov edi, 8
add esp, 0xc
cmp dword [ebp - 0x23c], edi
jb 0x44fdf1
mov edx, dword [ebp - 0x250]
mov dword [ebp - 0x2d8], edx
jmp 0x44fdfd
lea eax, [ebp - 0x250]
mov dword [ebp - 0x2d8], eax
cmp dword [ebp - 0x220], edi
jb 0x44fe13
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x2d4], ecx
jmp 0x44fe1f
lea edx, [ebp - 0x234]
mov dword [ebp - 0x2d4], edx
mov esi, 7
xor eax, eax
mov dword [ebp - 0x2cc], 1
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x25c], ebx
mov word [ebp - 0x26c], ax
push ebx
push 0x105
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 3
call main
mov eax, dword [ebp - 0x26c]
cmp dword [ebp - 0x258], edi
jae 0x44fe6c
lea eax, [ebp - 0x26c]
mov ecx, dword [ebp - 0x25c]
push eax
push ecx
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
cmp eax, ebx
je 0x44ffbb
cmp eax, dword [ebp - 0x25c]
ja 0x44ffbb
xor edx, edx
mov dword [ebp - 0x274], esi
mov dword [ebp - 0x278], ebx
mov word [ebp - 0x288], dx
push ebx
push 0x105
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 4
call main
mov eax, dword [ebp - 0x288]
cmp dword [ebp - 0x274], edi
jae 0x44fecc
lea eax, [ebp - 0x288]
mov ecx, dword [ebp - 0x278]
push ecx
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
cmp eax, ebx
je 0x44ff05
cmp eax, dword [ebp - 0x278]
ja 0x44ff05
mov eax, dword [ebp - 0x288]
cmp dword [ebp - 0x274], edi
jae 0x44fefa
lea eax, [ebp - 0x288]
push eax
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x44ff41
lea ecx, [ebp - 0x288]
call fcn.0040a2c0
lea ecx, [ebp - 0x26c]
call fcn.0040a2c0
lea ecx, [ebp - 0x234]
call fcn.0040a2c0
lea ecx, [ebp - 0x250]
call fcn.0040a2c0
lea ecx, [ebp - 0x2a4]
call fcn.0040a2c0
jmp 0x45002a
lea edx, [ebp - 0x2e8]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
mov eax, dword [ebp - 0x26c]
cmp dword [ebp - 0x258], edi
jae 0x44ff64
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryW]
cmp esi, ebx
je 0x44ff05
mov eax, dword [ebp - 0x2e0]
cmp eax, ebx
je 0x44ff80
push eax
call dword [sym.imp.USER32.dll_BringWindowToTop]
lea ecx, [ebp - 0x288]
call fcn.0040a2c0
lea ecx, [ebp - 0x26c]
call fcn.0040a2c0
lea ecx, [ebp - 0x234]
call fcn.0040a2c0
lea ecx, [ebp - 0x250]
call fcn.0040a2c0
lea ecx, [ebp - 0x2a4]
call fcn.0040a2c0
mov al, 1
jmp 0x45002c
cmp dword [ebp - 0x258], edi
jb 0x44ffd2
mov eax, dword [ebp - 0x26c]
push eax
call main
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x25c], ebx
mov word [ebp - 0x26c], cx
cmp dword [ebp - 0x220], edi
jb 0x44fffe
mov edx, dword [ebp - 0x234]
push edx
call main
add esp, 4
xor eax, eax
cmp dword [ebp - 0x23c], edi
mov dword [ebp - 0x220], esi
mov word [ebp - 0x234], ax
mov dword [ebp - 0x224], ebx
jb 0x45002a
mov ecx, dword [ebp - 0x250]
push ecx
call main
add esp, 4
xor al, al
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.00401316
mov esp, ebp
pop ebp
ret 4