Function at 0x445b90
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 0x4dcc97
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x5246a8]
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 0x445c3c
push str.IsWow64Process
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x52610c], eax
cmp dword [0x52610c], ebx
je 0x445c5c
lea ecx, [ebp - 0x2a8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x52610c]
test eax, eax
je 0x445c62
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 0x445cb6
mov esi, 8
cmp dword [ebp - 0x220], esi
jb 0x445ca3
mov edx, dword [ebp - 0x234]
push edx
call fcn.00406d09
add esp, 4
xor eax, eax
cmp dword [ebp - 0x23c], esi
mov dword [ebp - 0x220], edi
jmp 0x445ffc
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x445cc0
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x250]
call fcn.00406040
push 0x1b
push str.AdobeARM1.0AdobeARM.exe
lea ecx, [ebp - 0x250]
call fcn.0040d610
mov eax, dword [ebp - 0x250]
mov edi, 8
cmp dword [ebp - 0x23c], edi
jae 0x445d0d
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x445d61
cmp dword [ebp - 0x220], edi
jb 0x445d30
mov eax, dword [ebp - 0x234]
push eax
call fcn.00406d09
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 0x44601a
mov edx, dword [ebp - 0x250]
push edx
jmp 0x446012
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 0x445d70
sub ecx, edi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.00406040
mov eax, dword [ebp - 0x2ac]
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x234]
call fcn.0040d500
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.004b7180
mov edi, 8
add esp, 0xc
cmp dword [ebp - 0x23c], edi
jb 0x445de1
mov edx, dword [ebp - 0x250]
mov dword [ebp - 0x2d8], edx
jmp 0x445ded
lea eax, [ebp - 0x250]
mov dword [ebp - 0x2d8], eax
cmp dword [ebp - 0x220], edi
jb 0x445e03
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x2d4], ecx
jmp 0x445e0f
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 fcn.0040c8a0
mov eax, dword [ebp - 0x26c]
cmp dword [ebp - 0x258], edi
jae 0x445e5c
lea eax, [ebp - 0x26c]
mov ecx, dword [ebp - 0x25c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp eax, ebx
je 0x445fab
cmp eax, dword [ebp - 0x25c]
ja 0x445fab
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 fcn.0040c8a0
mov eax, dword [ebp - 0x288]
cmp dword [ebp - 0x274], edi
jae 0x445ebc
lea eax, [ebp - 0x288]
mov ecx, dword [ebp - 0x278]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, ebx
je 0x445ef5
cmp eax, dword [ebp - 0x278]
ja 0x445ef5
mov eax, dword [ebp - 0x288]
cmp dword [ebp - 0x274], edi
jae 0x445eea
lea eax, [ebp - 0x288]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x445f31
lea ecx, [ebp - 0x288]
call fcn.00409ff0
lea ecx, [ebp - 0x26c]
call fcn.00409ff0
lea ecx, [ebp - 0x234]
call fcn.00409ff0
lea ecx, [ebp - 0x250]
call fcn.00409ff0
lea ecx, [ebp - 0x2a4]
call fcn.00409ff0
jmp 0x44601a
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 0x445f54
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp esi, ebx
je 0x445ef5
mov eax, dword [ebp - 0x2e0]
cmp eax, ebx
je 0x445f70
push eax
call dword [sym.imp.USER32.dll_BringWindowToTop]
lea ecx, [ebp - 0x288]
call fcn.00409ff0
lea ecx, [ebp - 0x26c]
call fcn.00409ff0
lea ecx, [ebp - 0x234]
call fcn.00409ff0
lea ecx, [ebp - 0x250]
call fcn.00409ff0
lea ecx, [ebp - 0x2a4]
call fcn.00409ff0
mov al, 1
jmp 0x44601c
cmp dword [ebp - 0x258], edi
jb 0x445fc2
mov eax, dword [ebp - 0x26c]
push eax
call fcn.00406d09
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 0x445fee
mov edx, dword [ebp - 0x234]
push edx
call fcn.00406d09
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 0x44601a
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.00406d09
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.00401306
mov esp, ebp
pop ebp
ret 4