Function at 0x405085
Capabilities:
Create directory
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea ecx, [ebp + 0xc]
push ebx
push esi
push edi
call fcn.0040590f
push eax
push str.ExePath__:__s
call fcn.0041c596
pop ecx
pop ecx
lea ecx, [ebp - 0x14]
call fcn.00402286
lea ecx, [ebp - 0x1c]
call fcn.00402286
lea ecx, [ebp - 0xc]
call fcn.00402286
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x20]
lea eax, [ebp - 4]
push eax
call fcn.004052f2
mov esi, 0x49a000
lea ecx, [ebp - 4]
push esi
call fcn.004021f7
lea ecx, [ebp + 0x24]
call fcn.0040229a
xor ebx, ebx
test al, al
jne 0x405110
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp - 4]
call fcn.00402209
push ebx
lea ecx, [ebp - 4]
call fcn.00402642
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push esi
lea ecx, [ebp - 4]
call fcn.004021f7
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00405774
add esp, 0xc
lea ecx, [ebp - 0x14]
push eax
call fcn.0040222d
lea ecx, [ebp - 0x18]
call fcn.0040223f
lea ecx, [ebp + 0x1c]
call fcn.0040229a
test al, al
jne 0x40519f
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp - 4]
call fcn.00402209
push esi
lea ecx, [ebp - 4]
call fcn.004021f7
push str.Resource_
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00405731
add esp, 0xc
lea ecx, [ebp - 0xc]
push eax
call fcn.0040222d
lea ecx, [ebp - 0x18]
call fcn.0040223f
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp - 0xc]
call fcn.00402209
lea ecx, [ebp - 0xc]
call fcn.0040590f
push eax
push str.icon_:__s
call fcn.0041c596
pop ecx
pop ecx
jmp 0x4051ac
push 0x497a60
lea ecx, [ebp - 0xc]
call fcn.0040221b
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.00402274
push esi
lea ecx, [ebp - 0x10]
call fcn.004021f7
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.00402209
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 8]
push eax
push 0x48b12c
push 1
push ebx
push 0x48b1bc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x4052b3
mov edi, dword [ebp - 8]
test edi, edi
je 0x4052b3
mov esi, dword [edi]
lea ecx, [ebp - 0x10]
call fcn.00402642
push eax
push edi
call dword [esi + 0x50]
lea ecx, [ebp + 0x18]
call fcn.0040229a
test al, al
jne 0x40522d
mov esi, dword [ebp - 8]
lea ecx, [ebp + 0x18]
mov edi, dword [esi]
call fcn.00402642
push eax
push esi
call dword [edi + 0x2c]
lea ecx, [ebp - 0xc]
call fcn.0040229a
test al, al
jne 0x40524c
mov esi, dword [ebp - 8]
lea ecx, [ebp - 0xc]
push ebx
mov edi, dword [esi]
call fcn.00402642
push eax
push esi
call dword [edi + 0x44]
mov esi, dword [ebp - 8]
lea ecx, [ebp + 0x10]
mov edi, dword [esi]
call fcn.00402642
push eax
push esi
call dword [edi + 0x1c]
mov esi, dword [ebp - 8]
lea ecx, [ebp + 0x14]
mov edi, dword [esi]
call fcn.00402642
push eax
push esi
call dword [edi + 0x24]
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x18]
push edx
push 0x48b17c
push eax
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
test esi, esi
js 0x4052aa
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x4052aa
mov esi, dword [edi]
lea ecx, [ebp - 0x14]
push 1
call fcn.00402642
push eax
push edi
call dword [esi + 0x18]
mov esi, eax
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x10]
call fcn.0040223f
lea ecx, [ebp - 4]
call fcn.0040223f
lea ecx, [ebp - 0xc]
call fcn.0040223f
lea ecx, [ebp - 0x1c]
call fcn.0040223f
lea ecx, [ebp - 0x14]
call fcn.0040223f
lea ecx, [ebp + 8]
call fcn.0040411d
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x20