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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll__wtol]
push esi
mov esi, dword [ebp + 8]
movzx eax, word [esi]
cmp ax, 0x30
jb 0x40360e
cmp ax, 0x39
ja 0x40360e
push esi
call ebx
pop ecx
jmp 0x403689
movzx eax, ax
push 0x20
pop ecx
or eax, ecx
sub eax, 0x64
je 0x403673
sub eax, 0xc
je 0x40365c
sub eax, 3
je 0x403644
dec eax
jne 0x4038eb
mov ax, word [esi + 2]
or ax, cx
sub ax, 0x75
neg ax
sbb eax, eax
and eax, 0x11
add eax, 7
jmp 0x403689
mov ax, word [esi + 2]
or ax, cx
sub ax, 0x75
neg ax
sbb eax, eax
and eax, 0xb
add eax, 0xb
jmp 0x403689
mov ax, word [esi + 2]
or ax, cx
sub ax, 0x75
neg ax
sbb eax, eax
and eax, 0x15
inc eax
inc eax
jmp 0x403689
mov ax, word [esi + 2]
or ax, cx
sub ax, 0x75
neg ax
sbb eax, eax
and eax, 9
add eax, 0x10
push edi
xor edi, edi
jmp 0x403699
cmp cx, di
je 0x4038ea
inc esi
inc esi
movzx ecx, word [esi]
cmp cx, 0x2c
jne 0x40368e
push edi
push eax
lea eax, [ebp - 0x27c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4038ea
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004113e3
lea ecx, [ebp - 0x28]
call fcn.00410ff6
lea ecx, [ebp - 0x4c]
call fcn.00410ff6
lea ecx, [ebp - 0x40]
call fcn.00410ff6
lea ecx, [ebp - 0x58]
call fcn.00410ff6
lea ecx, [ebp - 0x10]
call fcn.00410ff6
lea ecx, [ebp - 0x34]
call fcn.00410ff6
lea ecx, [ebp - 0x64]
call fcn.00410ff6
lea ecx, [ebp - 0x70]
call fcn.00410ff6
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.00402003
cmp dword [ebp - 0x24], edi
pop ecx
pop ecx
je 0x40389f
lea ecx, [ebp - 0x4c]
push ecx
push eax
call fcn.00402003
lea ecx, [ebp - 0x40]
push ecx
push eax
call fcn.00402003
lea ecx, [ebp - 0x58]
push ecx
push eax
call fcn.00402003
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.00402003
lea ecx, [ebp - 0x34]
push ecx
push eax
call fcn.00402003
lea ecx, [ebp - 0x64]
push ecx
push eax
call fcn.00402003
lea ecx, [ebp - 0x70]
push ecx
push eax
call fcn.00402003
push dword [ebp - 0x70]
call ebx
add esp, 0x3c
cmp dword [ebp - 0xc], edi
mov esi, eax
jne 0x4037a5
lea eax, [ebp - 0x28]
push eax
call fcn.00402142
pop ecx
mov ecx, dword [ebp - 0x28]
lea eax, [ecx + eax*2 + 2]
push eax
lea ecx, [ebp - 0x10]
call fcn.00411412
push 0x2e
lea ecx, [ebp - 0x10]
call fcn.004110f8
cmp eax, edi
jl 0x4037a5
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov word [ecx + eax*2], di
push 0x5c
lea ecx, [ebp - 0x1c]
call fcn.004011ce
cmp dword [ebp - 0x3c], edi
je 0x4037ca
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00411099
push 0x5c
lea ecx, [ebp - 0x1c]
call fcn.004011ce
push dword [ebp - 0x1c]
call fcn.00403489
test eax, eax
pop ecx
je 0x40389f
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00411099
push 0x41a7d4
lea ecx, [ebp - 0x1c]
call fcn.0041146a
lea eax, [ebp + 8]
push eax
push 0x41c638
push 1
push edi
push 0x41c678
mov dword [ebp + 8], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x40389f
mov eax, dword [ebp + 8]
push dword [ebp - 0x28]
mov dword [ebp - 4], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp dword [ebp - 0x54], edi
je 0x403836
mov eax, dword [ebp + 8]
push dword [ebp - 0x58]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp dword [ebp - 0x48], edi
je 0x403847
mov eax, dword [ebp + 8]
push dword [ebp - 0x4c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp dword [ebp - 0x30], edi
je 0x403858
mov eax, dword [ebp + 8]
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
cmp dword [ebp - 0x60], edi
je 0x40386a
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push esi
push dword [ebp - 0x64]
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push 0x41c668
push eax
call dword [ecx]
test eax, eax
jl 0x403896
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push 1
push dword [ebp - 0x1c]
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x70]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x64]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x34]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x10]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x58]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x40]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x4c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x28]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x1c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x24
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret