Function at 0x404282
Capabilities:
Create shortcut via ishelllink
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
push esi
mov esi, dword [ebp + 8]
push edi
movzx edx, word [esi]
lea eax, [edx - 0x30]
cmp ax, 9
ja 0x40422d
push esi
call fcn.0041faf5
movzx edx, word [esi]
add esp, 4
mov ecx, eax
jmp 0x4042b5
mov eax, edx
or eax, 0x20
add eax, 0xffffff9c
cmp eax, 0x10
ja case.0x404245.101
movzx eax, byte [eax + 0x404568]
jmp dword [eax*4 + 0x404554]
mov ax, word [esi + 2]
mov ecx, 0x10
or ax, 0x20
mov edi, 0x19
cmp ax, 0x75
cmovne ecx, edi
jmp 0x4042b5
mov ax, word [esi + 2]
mov ecx, 0xb
or ax, 0x20
mov edi, 0x16
cmp ax, 0x75
cmovne ecx, edi
jmp 0x4042b5
mov ax, word [esi + 2]
mov ecx, 2
or ax, 0x20
mov edi, 0x17
cmp ax, 0x75
cmovne ecx, edi
jmp 0x4042b5
mov ax, word [esi + 2]
mov ecx, 7
or ax, 0x20
cmp ax, 0x75
je 0x4042b5
mov ecx, 0x18
cmp dx, 0x2c
je 0x4042d7
movzx edx, dx
nop
test dx, dx
je case.0x404245.101
movzx eax, word [esi + 2]
add esi, 2
mov edx, eax
cmp eax, 0x2c
jne 0x4042c0
push 0
push ecx
lea eax, [ebp - 0x27c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je case.0x404245.101
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00416130
lea ecx, [ebp - 0x28]
call fcn.00416190
lea ecx, [ebp - 0x64]
call fcn.00416190
lea ecx, [ebp - 0x58]
call fcn.00416190
lea ecx, [ebp - 0x4c]
call fcn.00416190
lea ecx, [ebp - 0x10]
call fcn.00416190
lea ecx, [ebp - 0x40]
call fcn.00416190
lea ecx, [ebp - 0x34]
call fcn.00416190
lea ecx, [ebp - 0x70]
call fcn.00416190
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.00404a20
add esp, 8
cmp dword [ebp - 0x24], 0
je 0x404501
lea ecx, [ebp - 0x64]
push ecx
push eax
call fcn.00404a20
lea ecx, [ebp - 0x58]
push ecx
push eax
call fcn.00404a20
lea ecx, [ebp - 0x4c]
push ecx
push eax
call fcn.00404a20
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.00404a20
lea ecx, [ebp - 0x40]
push ecx
push eax
call fcn.00404a20
lea ecx, [ebp - 0x34]
push ecx
push eax
call fcn.00404a20
lea ecx, [ebp - 0x70]
push ecx
push eax
call fcn.00404a20
push dword [ebp - 0x70]
call fcn.0041faf5
add esp, 0x3c
mov edi, eax
cmp dword [ebp - 0xc], 0
jne 0x4043f7
push 0x5c
lea ecx, [ebp - 0x28]
call fcn.00416d00
push 0x2f
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.00416d00
cmp eax, esi
lea ecx, [ebp - 0x10]
cmovg esi, eax
mov eax, dword [ebp - 0x28]
lea eax, [eax + esi*2]
add eax, 2
push eax
call fcn.00416300
push 0x2e
lea ecx, [ebp - 0x10]
call fcn.00416d00
test eax, eax
js 0x4043f7
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov dword [ebp - 0xc], eax
mov word [ecx + eax*2], dx
push 0x5c
lea ecx, [ebp - 0x1c]
call fcn.00403ad0
cmp dword [ebp - 0x54], 0
je 0x40441d
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004165e0
push 0x5c
lea ecx, [ebp - 0x1c]
call fcn.00403ad0
push dword [ebp - 0x1c]
call fcn.00403f30
add esp, 4
test eax, eax
je 0x404501
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004165e0
push str..lnk
lea ecx, [ebp - 0x1c]
call fcn.00416640
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push 0x42d00c
push 1
push 0
push 0x42d04c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x404501
mov eax, dword [ebp + 8]
push dword [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
cmp dword [ebp - 0x48], 0
je 0x404495
mov eax, dword [ebp + 8]
push dword [ebp - 0x4c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
cmp dword [ebp - 0x60], 0
je 0x4044a7
mov eax, dword [ebp + 8]
push dword [ebp - 0x64]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
cmp dword [ebp - 0x3c], 0
je 0x4044b9
mov eax, dword [ebp + 8]
push dword [ebp - 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
cmp dword [ebp - 0x30], 0
je 0x4044cc
mov eax, dword [ebp + 8]
push edi
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp + 8]
lea edx, [ebp - 4]
push edx
push 0x42d02c
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x4044f8
mov eax, dword [ebp - 4]
push 1
push dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 4]
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]
push dword [ebp - 0x70]
call fcn.0041e329
push dword [ebp - 0x34]
call fcn.0041e329
push dword [ebp - 0x40]
call fcn.0041e329
push dword [ebp - 0x10]
call fcn.0041e329
push dword [ebp - 0x4c]
call fcn.0041e329
push dword [ebp - 0x58]
call fcn.0041e329
push dword [ebp - 0x64]
call fcn.0041e329
push dword [ebp - 0x28]
call fcn.0041e329
push dword [ebp - 0x1c]
call fcn.0041e329
add esp, 0x24
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret