Function at 0x40344a
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 0x403476
cmp ax, 0x39
ja 0x403476
push esi
call ebx
pop ecx
jmp 0x4034f8
movzx eax, ax
push 0x20
pop ecx
or eax, ecx
sub eax, 0x64
je 0x4034df
sub eax, 0xc
je 0x4034c6
sub eax, 3
je 0x4034ad
dec eax
jne 0x403794
mov ax, word [esi + 2]
or ax, cx
xor ecx, ecx
cmp ax, 0x75
setne cl
dec ecx
and ecx, 0xffffffef
add ecx, 0x18
jmp 0x4034f6
mov ax, word [esi + 2]
or ax, cx
xor ecx, ecx
cmp ax, 0x75
setne cl
dec ecx
and ecx, 0xfffffff5
add ecx, 0x16
jmp 0x4034f6
mov ax, word [esi + 2]
or ax, cx
xor ecx, ecx
cmp ax, 0x75
setne cl
dec ecx
and ecx, 0xffffffeb
add ecx, 0x17
jmp 0x4034f6
mov ax, word [esi + 2]
or ax, cx
xor ecx, ecx
cmp ax, 0x75
setne cl
dec ecx
and ecx, 0xfffffff7
add ecx, 0x19
mov eax, ecx
push edi
xor edi, edi
jmp 0x403508
cmp cx, di
je 0x403793
inc esi
inc esi
movzx ecx, word [esi]
cmp cx, 0x2c
jne 0x4034fd
push edi
push eax
lea eax, [ebp - 0x27c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x403793
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040248c
lea ecx, [ebp - 0x64]
call fcn.004013fd
lea ecx, [ebp - 0x34]
call fcn.004013fd
lea ecx, [ebp - 0x4c]
call fcn.004013fd
lea ecx, [ebp - 0x28]
call fcn.004013fd
lea ecx, [ebp - 0x10]
call fcn.004013fd
lea ecx, [ebp - 0x40]
call fcn.004013fd
lea ecx, [ebp - 0x58]
call fcn.004013fd
lea ecx, [ebp - 0x70]
call fcn.004013fd
lea eax, [ebp - 0x64]
push eax
push esi
call fcn.00402c4e
pop ecx
pop ecx
cmp dword [ebp - 0x60], edi
jne 0x4035c9
push dword [ebp - 0x70]
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 - 0x10]
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 - 0x4c]
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 - 0x64]
jmp 0x403783
lea ecx, [ebp - 0x34]
push ecx
push eax
call fcn.00402c4e
lea ecx, [ebp - 0x4c]
push ecx
push eax
call fcn.00402c4e
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.00402c4e
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.00402c4e
lea ecx, [ebp - 0x40]
push ecx
push eax
call fcn.00402c4e
lea ecx, [ebp - 0x58]
push ecx
push eax
call fcn.00402c4e
lea ecx, [ebp - 0x70]
push ecx
push eax
call fcn.00402c4e
push dword [ebp - 0x70]
call ebx
mov esi, dword [ebp - 0x64]
add esp, 0x3c
mov ebx, eax
cmp dword [ebp - 0xc], edi
jne 0x403652
lea eax, [ebp - 0x64]
push eax
call fcn.00402cd9
pop ecx
lea eax, [esi + eax*2 + 2]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401311
push 0x2e
lea ecx, [ebp - 0x10]
call fcn.004024fb
cmp eax, edi
jl 0x403652
mov edx, dword [ebp - 0x10]
xor ecx, ecx
mov word [edx + eax*2], cx
mov dword [ebp - 0xc], eax
push 0x5c
lea ecx, [ebp - 0x1c]
call fcn.00401415
cmp dword [ebp - 0x48], edi
je 0x403677
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004013ce
push 0x5c
lea ecx, [ebp - 0x1c]
call fcn.00401415
push dword [ebp - 0x1c]
call fcn.004032d8
pop ecx
test eax, eax
je 0x40374a
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004013ce
push str..lnk
lea ecx, [ebp - 0x1c]
call fcn.004024c5
lea eax, [ebp + 8]
push eax
push 0x415014
push 1
push edi
push 0x415054
mov dword [ebp + 8], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x40374a
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 4], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp dword [ebp - 0x24], edi
je 0x4036e1
mov eax, dword [ebp + 8]
push dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp dword [ebp - 0x30], edi
je 0x4036f2
mov eax, dword [ebp + 8]
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp dword [ebp - 0x3c], edi
je 0x403703
mov eax, dword [ebp + 8]
push dword [ebp - 0x40]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
cmp dword [ebp - 0x54], edi
je 0x403715
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ebx
push dword [ebp - 0x58]
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push 0x415044
push eax
call dword [ecx]
test eax, eax
jl 0x403741
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 - 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 - 0x10]
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 - 0x4c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x34]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push esi
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