Function at 0x423b40
Capabilities:
Check if file exists
Create directory
Create shortcut via ishelllink
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x468738]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push eax
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x228], ecx
mov ecx, dword [ebp + 0x14]
lea edx, [ebp - 0x210]
push 0x104
push edx
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x21c], ecx
call fcn.004394b3
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0
call fcn.00431ac0
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 1
mov ebx, eax
call fcn.00431ac0
add esp, 4
cmp ebx, 0xffffffff
je 0x423dc0
test bl, 0x10
jne 0x423ddb
push 0
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x423c18
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x423c18
test ebx, ebx
jle 0x423c05
and ebx, 0xffff
or ebx, 0x80070000
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004377c1
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x214]
push edx
push 0x45352c
push 1
push 0
push 0x45355c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test ebx, ebx
js 0x423dad
mov eax, dword [ebp - 0x214]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push edi
push eax
call edx
test eax, eax
js 0x423de0
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423c60
sub eax, edx
sar eax, 1
jne 0x423c99
push edi
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.004394b3
add esp, 0xc
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea esi, [ebp - 0x210]
mov eax, dword [ebp - 0x214]
mov edx, dword [eax]
push esi
push eax
mov eax, dword [edx + 0x24]
call eax
test eax, eax
js 0x423de0
mov eax, dword [ebp - 0x214]
mov edx, dword [ebp - 0x224]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
js 0x423de0
mov eax, dword [ebp - 0x214]
mov edx, dword [ebp - 0x228]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
test eax, eax
js 0x423de0
xor eax, eax
or ecx, 0xffffffff
mov edi, 0x6010100
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], eax
call fcn.00430390
test al, al
je 0x423d4c
mov edx, dword [ebp - 0x21c]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423d20
sub eax, esi
sar eax, 1
je 0x423d4c
lea ecx, [ebp - 0x240]
push ecx
mov ecx, dword [ebp - 0x214]
call fcn.004236a0
mov ebx, eax
add esp, 4
test ebx, ebx
js 0x423d92
mov eax, dword [ebp - 0x214]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [ebp - 0x218]
push ecx
push 0x45356c
push eax
call edx
mov ebx, eax
test ebx, ebx
js 0x423d92
mov eax, dword [ebp - 0x218]
mov edx, dword [ebp - 0x22c]
mov ecx, dword [eax]
push 1
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov ebx, eax
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
mov eax, dword [ebp - 0x214]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004377c1
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Shortcut_creation_error:_0x_x
push 0x4699dc
xor eax, eax
call fcn.0042c820
add esp, 0xc
mov eax, 0x80070057
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004377c1
mov esp, ebp
pop ebp
ret