Function at 0x5e009993
Capabilities:
Check if file exists
Create shortcut via ishelllink
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
push ebx
xor eax, eax
cmp dword [ebp + 8], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], eax
je 0x5e009ab8
push 0x5e001c58
push dword [ebp + 8]
call fcn.5e011000
pop ecx
test eax, eax
pop ecx
jne 0x5e0099f0
push dword [ebp + 0x18]
lea eax, [ebp - 0x118]
push eax
call fcn.5e009e18
pop ecx
test eax, eax
pop ecx
jne 0x5e009a9a
jmp 0x5e009c23
mov ebx, 0x5e001c48
push ebx
push dword [ebp + 8]
call fcn.5e011000
pop ecx
test eax, eax
pop ecx
jne 0x5e009a15
push dword [ebp + 0x18]
lea eax, [ebp - 0x118]
push eax
call fcn.5e009d99
jmp 0x5e0099e1
push 0x5e001c58
push dword [ebp + 0x1c]
call fcn.5e011000
pop ecx
test eax, eax
pop ecx
jne 0x5e009a39
push dword [ebp + 0x18]
lea eax, [ebp - 0x118]
push eax
call fcn.5e009e18
jmp 0x5e009a57
push ebx
push dword [ebp + 0x1c]
call fcn.5e011000
pop ecx
test eax, eax
pop ecx
jne 0x5e009a61
push dword [ebp + 0x18]
lea eax, [ebp - 0x118]
push eax
call fcn.5e009d99
pop ecx
test eax, eax
pop ecx
je 0x5e009c23
push dword [ebp + 8]
call esi
mov ebx, eax
lea eax, [ebp - 0x118]
push eax
call esi
lea eax, [ebx + eax + 1]
cmp eax, 0x104
jg 0x5e009c23
push dword [ebp + 8]
lea eax, [ebp - 0x118]
push eax
call edi
lea eax, [ebp - 0x118]
push 0x5e00130c
push eax
call edi
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x5e009c23
test al, 0x10
je 0x5e009c23
push dword [ebp + 0xc]
call esi
mov ebx, eax
lea eax, [ebp - 0x118]
push eax
call esi
add ebx, eax
mov eax, ebx
mov ebx, 0x104
cmp eax, ebx
jg 0x5e009c23
push dword [ebp + 0xc]
lea eax, [ebp - 0x118]
push eax
call edi
lea eax, [ebp - 0x118]
push eax
call esi
add eax, 4
cmp eax, ebx
jg 0x5e009c23
lea eax, [ebp - 0x118]
push 0x5e001c40
push eax
call edi
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x5e009b26
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0xc]
xor ebx, ebx
push eax
push 0x5e001dc8
push 1
push ebx
push 0x5e001c78
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x5e009c23
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 4]
push edx
push 0x5e001c68
mov ecx, dword [eax]
push eax
call dword [ecx]
mov esi, eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp esi, ebx
jl 0x5e009c23
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push 0x5e001db8
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jge 0x5e009b88
mov dword [ebp - 8], ebx
jmp 0x5e009c16
mov eax, dword [ebp - 4]
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
test eax, eax
jl 0x5e009c09
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
test eax, eax
jl 0x5e009c09
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test eax, eax
jl 0x5e009c09
push dword [ebp + 0x10]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov cl, byte [ebp - 0x220]
lea eax, [ebp - 0x220]
cmp cl, bl
je 0x5e009bf5
mov esi, dword [ebp - 0x10]
cmp cl, 0x5c
jne 0x5e009be2
mov esi, eax
push eax
call dword [sym.imp.USER32.dll_CharNextA]
mov cl, byte [eax]
cmp cl, bl
jne 0x5e009bdb
cmp esi, ebx
je 0x5e009bf5
mov byte [esi], bl
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x220]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test eax, eax
jge 0x5e009c27
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x5e009c16
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x5e009c23
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x5e009c70
lea eax, [ebp - 0x42c]
push 0x105
push eax
lea eax, [ebp - 0x118]
push 0xffffffffffffffff
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x42c]
push ebx
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
cmp esi, ebx
setge al
pop edi
pop esi
pop ebx
leave
ret