Function at 0x445c30
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 0x4dcd07
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x5256a8]
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 0x445cdc
push str.IsWow64Process
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x52710c], eax
cmp dword [0x52710c], ebx
je 0x445cfc
lea ecx, [ebp - 0x2a8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x52710c]
test eax, eax
je 0x445d02
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 0x445d56
mov esi, 8
cmp dword [ebp - 0x220], esi
jb 0x445d43
mov edx, dword [ebp - 0x234]
push edx
call fcn.00406cf9
add esp, 4
xor eax, eax
cmp dword [ebp - 0x23c], esi
mov dword [ebp - 0x220], edi
jmp 0x44609c
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x445d60
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x250]
call fcn.00406030
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 0x445dad
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x445e01
cmp dword [ebp - 0x220], edi
jb 0x445dd0
mov eax, dword [ebp - 0x234]
push eax
call fcn.00406cf9
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 0x4460ba
mov edx, dword [ebp - 0x250]
push edx
jmp 0x4460b2
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 0x445e10
sub ecx, edi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.00406030
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.004b7120
mov edi, 8
add esp, 0xc
cmp dword [ebp - 0x23c], edi
jb 0x445e81
mov edx, dword [ebp - 0x250]
mov dword [ebp - 0x2d8], edx
jmp 0x445e8d
lea eax, [ebp - 0x250]
mov dword [ebp - 0x2d8], eax
cmp dword [ebp - 0x220], edi
jb 0x445ea3
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x2d4], ecx
jmp 0x445eaf
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 0x445efc
lea eax, [ebp - 0x26c]
mov ecx, dword [ebp - 0x25c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp eax, ebx
je 0x44604b
cmp eax, dword [ebp - 0x25c]
ja 0x44604b
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 0x445f5c
lea eax, [ebp - 0x288]
mov ecx, dword [ebp - 0x278]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, ebx
je 0x445f95
cmp eax, dword [ebp - 0x278]
ja 0x445f95
mov eax, dword [ebp - 0x288]
cmp dword [ebp - 0x274], edi
jae 0x445f8a
lea eax, [ebp - 0x288]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x445fd1
lea ecx, [ebp - 0x288]
call fcn.00409fe0
lea ecx, [ebp - 0x26c]
call fcn.00409fe0
lea ecx, [ebp - 0x234]
call fcn.00409fe0
lea ecx, [ebp - 0x250]
call fcn.00409fe0
lea ecx, [ebp - 0x2a4]
call fcn.00409fe0
jmp 0x4460ba
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 0x445ff4
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp esi, ebx
je 0x445f95
mov eax, dword [ebp - 0x2e0]
cmp eax, ebx
je 0x446010
push eax
call dword [sym.imp.USER32.dll_BringWindowToTop]
lea ecx, [ebp - 0x288]
call fcn.00409fe0
lea ecx, [ebp - 0x26c]
call fcn.00409fe0
lea ecx, [ebp - 0x234]
call fcn.00409fe0
lea ecx, [ebp - 0x250]
call fcn.00409fe0
lea ecx, [ebp - 0x2a4]
call fcn.00409fe0
mov al, 1
jmp 0x4460bc
cmp dword [ebp - 0x258], edi
jb 0x446062
mov eax, dword [ebp - 0x26c]
push eax
call fcn.00406cf9
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 0x44608e
mov edx, dword [ebp - 0x234]
push edx
call fcn.00406cf9
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 0x4460ba
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.00406cf9
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