Function at 0x4539f0
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 0x5048fc
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x553948]
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 edi, ecx
mov esi, 7
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x240], ebx
mov word [ebp - 0x250], cx
push ebx
push 0x105
lea ecx, [ebp - 0x250]
mov dword [ebp - 4], ebx
call fcn.0040ce90
cmp dword [ebp - 0x23c], 8
mov eax, dword [ebp - 0x250]
jae 0x453a6e
lea eax, [ebp - 0x250]
mov edx, dword [ebp - 0x240]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp eax, ebx
je 0x453dd4
cmp eax, dword [ebp - 0x240]
ja 0x453dd4
xor eax, eax
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], ax
push ebx
push 0x105
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 1
call fcn.0040ce90
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x453acf
lea eax, [ebp - 0x234]
mov ecx, dword [ebp - 0x224]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, ebx
je 0x453d92
cmp eax, dword [ebp - 0x224]
ja 0x453d92
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x453b06
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
je 0x453bd1
push 0x38
lea edx, [ebp - 0x2c4]
push ebx
push edx
mov dword [ebp - 0x2c8], 0x3c
call fcn.004e41d0
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x2ac], 1
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x25c], ebx
mov word [ebp - 0x26c], ax
xor ecx, ecx
mov dword [ebp - 0x274], esi
mov dword [ebp - 0x278], ebx
mov word [ebp - 0x288], cx
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x234]
mov byte [ebp - 4], 3
cmp eax, 8
jb 0x453b82
mov dword [ebp - 0x2b0], ecx
jmp 0x453b8e
lea edx, [ebp - 0x234]
mov dword [ebp - 0x2b0], edx
mov esi, dword [ebp + 0xc]
cmp esi, ebx
jne 0x453c64
call fcn.00452dc0
dec eax
lea ecx, [ebp - 0x218]
push ecx
neg eax
push ebx
sbb eax, eax
push ebx
add eax, 0x2c
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x453bec
lea ecx, [ebp - 0x288]
call fcn.0040a440
lea ecx, [ebp - 0x26c]
call fcn.0040a440
lea ecx, [ebp - 0x234]
call fcn.0040a440
lea ecx, [ebp - 0x250]
call fcn.0040a440
jmp 0x453dec
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x26c]
call fcn.004187e0
push str.AdobeARM1.0AdobeARM.exe
lea ecx, [ebp - 0x26c]
call fcn.0042bf20
cmp dword [ebp - 0x258], 8
mov eax, dword [ebp - 0x26c]
jae 0x453c23
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x453bbb
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
push eax
lea ecx, [ebp - 0x288]
call fcn.004187e0
mov eax, dword [ebp - 0x28c]
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x288]
call fcn.0040e830
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
jmp 0x453c9d
cmp eax, 8
mov eax, ecx
jae 0x453c71
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x26c]
call fcn.004187e0
push str.control.exe
lea ecx, [ebp - 0x26c]
call fcn.0042bf20
push str._name_Microsoft.DefaultPrograms__page_pageDefaultProgram
lea ecx, [ebp - 0x288]
call fcn.004187e0
mov eax, 8
cmp dword [ebp - 0x258], eax
jb 0x453cb8
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x2b8], ecx
jmp 0x453cc4
lea edx, [ebp - 0x26c]
mov dword [ebp - 0x2b8], edx
cmp dword [ebp - 0x274], eax
jb 0x453cda
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x2b4], eax
jmp 0x453ce6
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x2b4], ecx
call fcn.00452e20
test al, al
jne 0x453cf3
cmp esi, ebx
je 0x453d0e
push str.Program_Manager
push str.PROGMAN
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
je 0x453d0e
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
lea edx, [ebp - 0x2c8]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
cmp dword [ebp + 0xc], ebx
jne 0x453d2d
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x23c], 8
mov eax, dword [ebp - 0x250]
jae 0x453d42
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp esi, ebx
je 0x453bbb
mov eax, dword [ebp - 0x2c0]
cmp eax, ebx
je 0x453d62
push eax
call dword [sym.imp.USER32.dll_BringWindowToTop]
lea ecx, [ebp - 0x288]
call fcn.0040a440
lea ecx, [ebp - 0x26c]
call fcn.0040a440
lea ecx, [ebp - 0x234]
call fcn.0040a440
lea ecx, [ebp - 0x250]
call fcn.0040a440
mov al, 1
jmp 0x453dee
mov edi, 8
cmp dword [ebp - 0x220], edi
jb 0x453dae
mov eax, dword [ebp - 0x234]
push eax
call fcn.00406fa9
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], cx
cmp dword [ebp - 0x23c], edi
jb 0x453dec
mov edx, dword [ebp - 0x250]
push edx
jmp 0x453de4
cmp dword [ebp - 0x23c], 8
jb 0x453dec
mov eax, dword [ebp - 0x250]
push eax
call fcn.00406fa9
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 8