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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
push ebx
mov ebx, dword [0x4131cc]
push esi
mov esi, dword [ebp + 8]
movzx eax, word [esi]
cmp ax, 0x30
jb 0x403493
cmp ax, 0x39
ja 0x403493
push esi
call ebx
pop ecx
jmp 0x40350e
movzx eax, ax
push 0x20
pop ecx
or eax, ecx
sub eax, 0x64
je 0x4034f8
sub eax, 0xc
je 0x4034e1
sub eax, 3
je 0x4034c9
dec eax
jne 0x4037a8
mov ax, word [esi + 2]
or ax, cx
sub ax, 0x75
neg ax
sbb eax, eax
and eax, 0x11
add eax, 7
jmp 0x40350e
mov ax, word [esi + 2]
or ax, cx
sub ax, 0x75
neg ax
sbb eax, eax
and eax, 0xb
add eax, 0xb
jmp 0x40350e
mov ax, word [esi + 2]
or ax, cx
sub ax, 0x75
neg ax
sbb eax, eax
and eax, 0x15
inc eax
inc eax
jmp 0x40350e
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 0x40351e
cmp cx, di
je 0x4037a7
inc esi
inc esi
movzx ecx, word [esi]
cmp cx, 0x2c
jne 0x403513
push edi
push eax
lea eax, [ebp - 0x27c]
push eax
push edi
call dword [0x413228]
test eax, eax
je 0x4037a7
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004024ba
lea ecx, [ebp - 0x64]
call fcn.004013f8
lea ecx, [ebp - 0x34]
call fcn.004013f8
lea ecx, [ebp - 0x4c]
call fcn.004013f8
lea ecx, [ebp - 0x28]
call fcn.004013f8
lea ecx, [ebp - 0x10]
call fcn.004013f8
lea ecx, [ebp - 0x40]
call fcn.004013f8
lea ecx, [ebp - 0x58]
call fcn.004013f8
lea ecx, [ebp - 0x70]
call fcn.004013f8
lea eax, [ebp - 0x64]
push eax
push esi
call fcn.00402c76
cmp dword [ebp - 0x60], edi
pop ecx
pop ecx
jne 0x4035df
push dword [ebp - 0x70]
call fcn.00412148
push dword [ebp - 0x58]
call fcn.00412148
push dword [ebp - 0x40]
call fcn.00412148
push dword [ebp - 0x10]
call fcn.00412148
push dword [ebp - 0x28]
call fcn.00412148
push dword [ebp - 0x4c]
call fcn.00412148
push dword [ebp - 0x34]
call fcn.00412148
push dword [ebp - 0x64]
jmp 0x403797
lea ecx, [ebp - 0x34]
push ecx
push eax
call fcn.00402c76
lea ecx, [ebp - 0x4c]
push ecx
push eax
call fcn.00402c76
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.00402c76
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.00402c76
lea ecx, [ebp - 0x40]
push ecx
push eax
call fcn.00402c76
lea ecx, [ebp - 0x58]
push ecx
push eax
call fcn.00402c76
lea ecx, [ebp - 0x70]
push ecx
push eax
call fcn.00402c76
push dword [ebp - 0x70]
call ebx
mov esi, dword [ebp - 0x64]
add esp, 0x3c
cmp dword [ebp - 0xc], edi
mov ebx, eax
jne 0x403666
lea eax, [ebp - 0x64]
push eax
call fcn.00402d00
pop ecx
lea eax, [esi + eax*2 + 2]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401310
push 0x2e
lea ecx, [ebp - 0x10]
call fcn.00402529
cmp eax, edi
jl 0x403666
mov ecx, dword [ebp - 0x10]
mov word [ecx + eax*2], di
mov dword [ebp - 0xc], eax
push 0x5c
lea ecx, [ebp - 0x1c]
call fcn.00401410
cmp dword [ebp - 0x48], edi
je 0x40368b
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004013c9
push 0x5c
lea ecx, [ebp - 0x1c]
call fcn.00401410
push dword [ebp - 0x1c]
call fcn.004032fd
test eax, eax
pop ecx
je 0x40375e
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004013c9
push str..lnk
lea ecx, [ebp - 0x1c]
call fcn.004024f3
lea eax, [ebp + 8]
push eax
push 0x415034
push 1
push edi
push 0x415044
mov dword [ebp + 8], edi
call dword [0x413308]
test eax, eax
jl 0x40375e
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 0x4036f5
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 0x403706
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 0x403717
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 0x403729
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 0x415074
push eax
call dword [ecx]
test eax, eax
jl 0x403755
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 fcn.00412148
push dword [ebp - 0x58]
call fcn.00412148
push dword [ebp - 0x40]
call fcn.00412148
push dword [ebp - 0x10]
call fcn.00412148
push dword [ebp - 0x28]
call fcn.00412148
push dword [ebp - 0x4c]
call fcn.00412148
push dword [ebp - 0x34]
call fcn.00412148
push esi
call fcn.00412148
push dword [ebp - 0x1c]
call fcn.00412148
add esp, 0x24
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret