Function at 0x4a4dea
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x52fe80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.Magic_StartMenuShortcut_Begin_r_n
mov ebx, 0x55b31c
mov esi, ecx
push ebx
call fcn.004a9913
pop ecx
pop ecx
call fcn.00420bd2
push eax
lea ecx, [ebp - 0x48]
call fcn.00423e41
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call fcn.004a24e2
call fcn.00420bd2
push eax
lea ecx, [ebp - 0x40]
call fcn.00423e41
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.004a22ce
call fcn.00420bd2
push eax
lea ecx, [ebp - 0x3c]
call fcn.00423e41
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call fcn.004a29aa
call fcn.00420bd2
push eax
lea ecx, [ebp - 0x38]
call fcn.00423e41
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
call fcn.004a293b
lea eax, [ebp - 0x38]
push eax
call fcn.0049dfdb
mov edi, 0x4f80e0
push edi
call fcn.004241d7
pop ecx
pop ecx
push eax
push edi
lea ecx, [ebp - 0x38]
call fcn.0043be5f
mov ecx, esi
call fcn.004a5076
push 0
push dword [ebp - 0x38]
call fcn.0049dd26
pop ecx
pop ecx
test eax, eax
jne 0x4a4f16
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KFunction::MyCreateDirectory_errcode_d_r_n
push ebx
call fcn.004a9913
push dword [ebp - 0x38]
call fcn.0049b724
add esp, 0x10
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x38]
call fcn.00406c40
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x34]
call fcn.004086d0
push eax
call fcn.0040a8f0
mov bl, al
pop ecx
neg bl
lea ecx, [ebp - 0x34]
sbb bl, bl
call fcn.00408720
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.00403650
inc bl
je 0x4a4f16
push str.base::DirectoryExists_r_n
push 0x55b31c
call fcn.004a9913
pop ecx
pop ecx
call fcn.00420bd2
push eax
lea ecx, [ebp - 0x44]
call fcn.00423e41
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.004a2541
mov esi, dword [ebp - 0x44]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, dword [ebp - 0x3c]
test eax, eax
push 0x4ff96c
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
je 0x4a4f70
call fcn.00442e1f
push 0
push esi
mov esi, dword [ebp - 0x48]
push dword [eax]
push str.__ico3
push esi
call fcn.0049b885
mov ecx, dword [ebp - 0x3c]
add esp, 0x20
add ecx, 0xfffffff0
jmp 0x4a4f90
call fcn.00442e1f
mov esi, dword [ebp - 0x48]
push 0
push dword [eax]
push str.__ico3
push esi
call fcn.0049ba7a
mov ecx, dword [ebp - 0x3c]
add esp, 0x1c
lea ecx, [ecx - 0x10]
mov ebx, eax
call fcn.004206ab
test ebx, ebx
je 0x4a501f
push dword [ebp - 0x40]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a4fe3
push 0x4ff998
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00442e1f
push 0
push dword [eax]
push 0x50f8e0
push dword [ebp - 0x40]
call fcn.0049ba7a
mov ecx, dword [ebp - 0x3c]
add esp, 0x1c
mov ebx, eax
lea ecx, [ecx - 0x10]
call fcn.004206ab
test ebx, ebx
je 0x4a501f
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a501f
push 0x4ff9b0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00442e1f
push 0
push dword [eax]
push 0x50f8e0
push edi
call fcn.0049ba7a
mov ecx, dword [ebp - 0x3c]
add esp, 0x1c
mov ebx, eax
lea ecx, [ecx - 0x10]
call fcn.004206ab
push ebx
push str.Magic_StartMenuShortcut_End_bRet___d_r_n
push 0x55b31c
call fcn.004a9913
mov ecx, dword [ebp - 0x44]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.004206ab
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.004206ab
lea ecx, [edi - 0x10]
call fcn.004206ab
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx - 0x10]
call fcn.004206ab
lea ecx, [esi - 0x10]
call fcn.004206ab
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc1bd
mov esp, ebp
pop ebp
ret