Function at 0x4a4eae
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.Magic_StartMenuShortcut_Begin_r_n
mov ebx, 0x55913c
mov esi, ecx
push ebx
call fcn.004a9ba2
pop ecx
pop ecx
call fcn.00420e4a
push eax
lea ecx, [ebp - 0x48]
call fcn.00423e50
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call fcn.004a2486
call fcn.00420e4a
push eax
lea ecx, [ebp - 0x40]
call fcn.00423e50
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.004a2272
call fcn.00420e4a
push eax
lea ecx, [ebp - 0x3c]
call fcn.00423e50
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call fcn.004a294e
call fcn.00420e4a
push eax
lea ecx, [ebp - 0x38]
call fcn.00423e50
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
call fcn.004a28df
lea eax, [ebp - 0x38]
push eax
call fcn.0049dc09
mov edi, 0x4f6b70
push edi
call fcn.004241e6
pop ecx
pop ecx
push eax
push edi
lea ecx, [ebp - 0x38]
call fcn.0043ae55
mov ecx, esi
call fcn.004a513a
push 0
push dword [ebp - 0x38]
call fcn.0049d954
pop ecx
pop ecx
test eax, eax
jne 0x4a4fda
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KFunction::MyCreateDirectory_errcode_d_r_n
push ebx
call fcn.004a9ba2
push dword [ebp - 0x38]
call fcn.0049b35e
add esp, 0x10
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x38]
call fcn.004045f0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x34]
call fcn.00408670
push eax
call fcn.0040a710
mov bl, al
pop ecx
neg bl
lea ecx, [ebp - 0x34]
sbb bl, bl
call fcn.004086c0
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.00402540
inc bl
je 0x4a4fda
push str.base::DirectoryExists_r_n
push 0x55913c
call fcn.004a9ba2
pop ecx
pop ecx
call fcn.00420e4a
push eax
lea ecx, [ebp - 0x44]
call fcn.00423e50
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.004a24e5
mov esi, dword [ebp - 0x44]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, dword [ebp - 0x3c]
test eax, eax
push 0x4feae4
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
je 0x4a5034
call fcn.00442988
push 0
push esi
mov esi, dword [ebp - 0x48]
push dword [eax]
push str.__ico3
push esi
call fcn.0049b4bf
mov ecx, dword [ebp - 0x3c]
add esp, 0x20
add ecx, 0xfffffff0
jmp 0x4a5054
call fcn.00442988
mov esi, dword [ebp - 0x48]
push 0
push dword [eax]
push str.__ico3
push esi
call fcn.0049b6b4
mov ecx, dword [ebp - 0x3c]
add esp, 0x1c
lea ecx, [ecx - 0x10]
mov ebx, eax
call fcn.0042095b
test ebx, ebx
je 0x4a50e3
push dword [ebp - 0x40]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a50a7
push 0x4feb10
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00442988
push 0
push dword [eax]
push 0x50c86c
push dword [ebp - 0x40]
call fcn.0049b6b4
mov ecx, dword [ebp - 0x3c]
add esp, 0x1c
mov ebx, eax
lea ecx, [ecx - 0x10]
call fcn.0042095b
test ebx, ebx
je 0x4a50e3
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a50e3
push 0x4feb28
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00442988
push 0
push dword [eax]
push 0x50c86c
push edi
call fcn.0049b6b4
mov ecx, dword [ebp - 0x3c]
add esp, 0x1c
mov ebx, eax
lea ecx, [ecx - 0x10]
call fcn.0042095b
push ebx
push str.Magic_StartMenuShortcut_End_bRet___d_r_n
push 0x55913c
call fcn.004a9ba2
mov ecx, dword [ebp - 0x44]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.0042095b
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.0042095b
lea ecx, [edi - 0x10]
call fcn.0042095b
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx - 0x10]
call fcn.0042095b
lea ecx, [esi - 0x10]
call fcn.0042095b
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc45f
mov esp, ebp
pop ebp
ret