Function at 0x4a4b8e
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.004a985e
pop ecx
pop ecx
call fcn.00420e9a
push eax
lea ecx, [ebp - 0x48]
call fcn.00423ea0
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call fcn.004a226c
call fcn.00420e9a
push eax
lea ecx, [ebp - 0x40]
call fcn.00423ea0
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.004a2058
call fcn.00420e9a
push eax
lea ecx, [ebp - 0x3c]
call fcn.00423ea0
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call fcn.004a2734
call fcn.00420e9a
push eax
lea ecx, [ebp - 0x38]
call fcn.00423ea0
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
call fcn.004a26c5
lea eax, [ebp - 0x38]
push eax
call fcn.0049dd3c
mov edi, 0x4f6b70
push edi
call fcn.00424236
pop ecx
pop ecx
push eax
push edi
lea ecx, [ebp - 0x38]
call fcn.0043af25
mov ecx, esi
call fcn.004a4e1a
push 0
push dword [ebp - 0x38]
call fcn.0049da2b
pop ecx
pop ecx
test eax, eax
jne 0x4a4cba
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KFunction::MyCreateDirectory_errcode_d_r_n
push ebx
call fcn.004a985e
push dword [ebp - 0x38]
call fcn.0049b435
add esp, 0x10
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x38]
call fcn.004045b0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x34]
call fcn.00408630
push eax
call fcn.0040a800
mov bl, al
pop ecx
neg bl
lea ecx, [ebp - 0x34]
sbb bl, bl
call fcn.00408680
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.00402540
inc bl
je 0x4a4cba
push str.base::DirectoryExists_r_n
push 0x55913c
call fcn.004a985e
pop ecx
pop ecx
call fcn.00420e9a
push eax
lea ecx, [ebp - 0x44]
call fcn.00423ea0
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.004a22cb
mov esi, dword [ebp - 0x44]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, dword [ebp - 0x3c]
test eax, eax
push 0x4feabc
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
je 0x4a4d14
call fcn.00442a58
push 0
push esi
mov esi, dword [ebp - 0x48]
push dword [eax]
push str.__ico3
push esi
call fcn.0049b596
mov ecx, dword [ebp - 0x3c]
add esp, 0x20
add ecx, 0xfffffff0
jmp 0x4a4d34
call fcn.00442a58
mov esi, dword [ebp - 0x48]
push 0
push dword [eax]
push str.__ico3
push esi
call fcn.0049b78b
mov ecx, dword [ebp - 0x3c]
add esp, 0x1c
lea ecx, [ecx - 0x10]
mov ebx, eax
call fcn.004209ab
test ebx, ebx
je 0x4a4dc3
push dword [ebp - 0x40]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a4d87
push 0x4feae8
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00442a58
push 0
push dword [eax]
push 0x50c82c
push dword [ebp - 0x40]
call fcn.0049b78b
mov ecx, dword [ebp - 0x3c]
add esp, 0x1c
mov ebx, eax
lea ecx, [ecx - 0x10]
call fcn.004209ab
test ebx, ebx
je 0x4a4dc3
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a4dc3
push 0x4feb00
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00442a58
push 0
push dword [eax]
push 0x50c82c
push edi
call fcn.0049b78b
mov ecx, dword [ebp - 0x3c]
add esp, 0x1c
mov ebx, eax
lea ecx, [ecx - 0x10]
call fcn.004209ab
push ebx
push str.Magic_StartMenuShortcut_End_bRet___d_r_n
push 0x55913c
call fcn.004a985e
mov ecx, dword [ebp - 0x44]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.004209ab
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.004209ab
lea ecx, [edi - 0x10]
call fcn.004209ab
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx - 0x10]
call fcn.004209ab
lea ecx, [esi - 0x10]
call fcn.004209ab
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc11d
mov esp, ebp
pop ebp
ret