Function at 0x405d3c
Capabilities:
Create shortcut via ishelllink
Get common file path
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x280
push esi
mov esi, dword [esp + 0x288]
movzx eax, word [esi]
cmp eax, 0x30
jb 0x405ce9
cmp eax, 0x39
ja 0x405ce9
push esi
call fcn.0041a958
add esp, 4
jmp 0x405d70
or eax, 0x20
add eax, 0xffffff9c
cmp eax, 0x10
ja case.0x405cff.101
movzx eax, byte [eax + 0x4060e8]
jmp dword [eax*4 + 0x4060d4]
mov cx, word [esi + 2]
or cx, 0x20
sub cx, 0x75
movzx eax, cx
neg eax
sbb eax, eax
and eax, 9
add eax, 0x10
jmp 0x405d70
mov dx, word [esi + 2]
or dx, 0x20
sub dx, 0x75
movzx eax, dx
neg eax
sbb eax, eax
and eax, 0xb
add eax, 0xb
jmp 0x405d70
mov ax, word [esi + 2]
or ax, 0x20
sub ax, 0x75
movzx eax, ax
neg eax
sbb eax, eax
and eax, 0x15
add eax, 2
jmp 0x405d70
mov cx, word [esi + 2]
or cx, 0x20
sub cx, 0x75
movzx eax, cx
neg eax
sbb eax, eax
and eax, 0x11
add eax, 7
movzx ecx, word [esi]
cmp ecx, 0x2c
je 0x405d95
jmp 0x405d80
test cx, cx
je case.0x405cff.101
movzx ecx, word [esi + 2]
add esi, 2
cmp ecx, 0x2c
jne 0x405d80
push 0
push eax
lea edx, [esp + 0x80]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je case.0x405cff.101
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x1c]
call fcn.00415ee0
lea ecx, [esp + 0x24]
call fcn.004159a0
lea ecx, [esp + 0x48]
call fcn.004159a0
lea ecx, [esp + 0x3c]
call fcn.004159a0
lea ecx, [esp + 0x54]
call fcn.004159a0
lea ecx, [esp + 0xc]
call fcn.004159a0
lea ecx, [esp + 0x60]
call fcn.004159a0
lea ecx, [esp + 0x30]
call fcn.004159a0
lea ecx, [esp + 0x6c]
call fcn.004159a0
lea ecx, [esp + 0x24]
push ecx
push esi
call fcn.00403da0
add esp, 8
cmp dword [esp + 0x28], 0
jne 0x405e82
mov edx, dword [esp + 0x6c]
push edx
call fcn.0041a71a
mov eax, dword [esp + 0x34]
push eax
call fcn.0041a71a
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0041a71a
mov edx, dword [esp + 0x18]
push edx
call fcn.0041a71a
mov eax, dword [esp + 0x64]
push eax
call fcn.0041a71a
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0041a71a
mov edx, dword [esp + 0x60]
push edx
call fcn.0041a71a
mov eax, dword [esp + 0x40]
push eax
call fcn.0041a71a
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0041a71a
add esp, 0x24
xor eax, eax
pop esi
add esp, 0x280
ret
lea edx, [esp + 0x48]
push edx
push eax
call fcn.00403da0
lea ecx, [esp + 0x44]
push ecx
push eax
call fcn.00403da0
lea edx, [esp + 0x64]
push edx
push eax
call fcn.00403da0
lea ecx, [esp + 0x24]
push ecx
push eax
call fcn.00403da0
lea edx, [esp + 0x80]
push edx
push eax
call fcn.00403da0
lea ecx, [esp + 0x58]
push ecx
push eax
call fcn.00403da0
lea edx, [esp + 0x9c]
push edx
push eax
call fcn.00403da0
mov eax, dword [esp + 0xa4]
push eax
call fcn.0041a958
add esp, 0x3c
cmp dword [esp + 0x10], 0
mov esi, eax
jne 0x405f2a
lea ecx, [esp + 0x24]
push ecx
call fcn.00403fc0
mov edx, dword [esp + 0x28]
add esp, 4
lea eax, [edx + eax*2 + 2]
push eax
lea ecx, [esp + 0x10]
call fcn.00415f20
push 0x2e
lea ecx, [esp + 0x10]
call fcn.00415ae0
test eax, eax
js 0x405f2a
mov edx, dword [esp + 0xc]
xor ecx, ecx
mov dword [esp + 0x10], eax
mov word [edx + eax*2], cx
push 0x5c
lea ecx, [esp + 0x1c]
call fcn.00401850
cmp dword [esp + 0x40], 0
je 0x405f55
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00415a70
push 0x5c
lea ecx, [esp + 0x1c]
call fcn.00401850
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00405ac0
add esp, 4
test eax, eax
je 0x405e1b
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x1c]
call fcn.00415a70
push 0x422c8c
lea ecx, [esp + 0x1c]
call fcn.00415f90
lea eax, [esp + 4]
push eax
push 0x426344
push 1
push 0
push 0x426384
mov dword [esp + 0x18], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40606d
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x24]
mov dword [esp + 8], 0
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
cmp dword [esp + 0x58], 0
je 0x405fe0
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x54]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
cmp dword [esp + 0x4c], 0
je 0x405ff8
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x48]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
cmp dword [esp + 0x64], 0
je 0x406010
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x60]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
cmp dword [esp + 0x34], 0
je 0x406029
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x30]
mov ecx, dword [eax]
push esi
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
mov eax, dword [esp + 4]
mov ecx, dword [eax]
lea edx, [esp + 8]
push edx
push 0x426374
push eax
mov eax, dword [ecx]
call eax
test eax, eax
js 0x406061
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push 1
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x6c]
push eax
call fcn.0041a71a
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0041a71a
mov edx, dword [esp + 0x68]
push edx
call fcn.0041a71a
mov eax, dword [esp + 0x18]
push eax
call fcn.0041a71a
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0041a71a
mov edx, dword [esp + 0x50]
push edx
call fcn.0041a71a
mov eax, dword [esp + 0x60]
push eax
call fcn.0041a71a
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0041a71a
mov edx, dword [esp + 0x38]
push edx
call fcn.0041a71a
add esp, 0x24
xor eax, eax
pop esi
add esp, 0x280
ret