Function at 0x4032d7
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
mov edi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtol]
movzx ecx, word [esi]
lea eax, [ecx - 0x30]
cmp ax, 9
ja 0x40329d
push esi
call edi
add esp, 4
mov ecx, eax
jmp 0x403326
mov eax, ecx
or eax, 0x20
add eax, 0xffffff9c
cmp eax, 0x10
ja case.0x4032b5.101
movzx eax, byte [eax + 0x403628]
jmp dword [eax*4 + 0x403614]
mov ax, word [esi + 2]
mov ecx, 0x10
or ax, 0x20
mov edx, 0x19
cmp ax, 0x75
cmovne ecx, edx
jmp 0x403326
mov ax, word [esi + 2]
mov ecx, 0xb
or ax, 0x20
mov edx, 0x16
cmp ax, 0x75
cmovne ecx, edx
jmp 0x403326
mov ax, word [esi + 2]
mov ecx, 2
or ax, 0x20
mov edx, 0x17
cmp ax, 0x75
cmovne ecx, edx
jmp 0x403326
mov ax, word [esi + 2]
mov ecx, 0x18
or ax, 0x20
mov edx, 7
cmp ax, 0x75
cmove ecx, edx
movzx eax, word [esi]
cmp eax, 0x2c
je 0x403347
mov edx, eax
test dx, dx
je case.0x4032b5.101
movzx eax, word [esi + 2]
add esi, 2
mov edx, eax
cmp eax, 0x2c
jne 0x403330
push 0
push ecx
lea eax, [ebp - 0x27c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je case.0x4032b5.101
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401620
lea ecx, [ebp - 0x28]
call fcn.00401290
lea ecx, [ebp - 0x64]
call fcn.00401290
lea ecx, [ebp - 0x58]
call fcn.00401290
lea ecx, [ebp - 0x4c]
call fcn.00401290
lea ecx, [ebp - 0x1c]
call fcn.00401290
lea ecx, [ebp - 0x40]
call fcn.00401290
lea ecx, [ebp - 0x34]
call fcn.00401290
lea ecx, [ebp - 0x70]
call fcn.00401290
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.00403a20
add esp, 8
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.00404540
test al, al
jne 0x4035c4
push ebx
lea eax, [ebp - 0x64]
push eax
push esi
call fcn.00403a20
lea ecx, [ebp - 0x58]
push ecx
push eax
call fcn.00403a20
lea ecx, [ebp - 0x4c]
push ecx
push eax
call fcn.00403a20
lea ecx, [ebp - 0x1c]
push ecx
push eax
call fcn.00403a20
lea ecx, [ebp - 0x40]
push ecx
push eax
call fcn.00403a20
lea ecx, [ebp - 0x34]
push ecx
push eax
call fcn.00403a20
lea ecx, [ebp - 0x70]
push ecx
push eax
call fcn.00403a20
add esp, 0x38
lea ecx, [ebp - 0x70]
call fcn.004012e0
push eax
call edi
add esp, 4
lea ecx, [ebp - 0x1c]
mov ebx, eax
call fcn.00404540
test al, al
je 0x403471
lea eax, [ebp - 0x28]
push eax
call fcn.00403d10
add esp, 4
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.004012e0
lea ecx, [ebp - 0x1c]
lea eax, [eax + esi*2]
add eax, 2
push eax
call fcn.00401b90
push 0x2e
lea ecx, [ebp - 0x1c]
call fcn.00413560
test eax, eax
js 0x403471
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401b10
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.00401660
lea ecx, [ebp - 0x58]
call fcn.00404540
test al, al
jne 0x40349d
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x10]
call fcn.00412f70
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.00401660
lea ecx, [ebp - 0x10]
call fcn.004012e0
push eax
call fcn.004030c0
add esp, 4
test eax, eax
je 0x4035c3
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00412f70
push str..lnk
lea ecx, [ebp - 0x10]
call fcn.00412fb0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push 0x423cec
push 1
push 0
push 0x423d1c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4035c3
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov edi, dword [esi]
call fcn.004012e0
push eax
push esi
call dword [edi + 0x50]
lea ecx, [ebp - 0x4c]
call fcn.00404540
test al, al
jne 0x40352d
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x4c]
mov edi, dword [esi]
call fcn.004012e0
push eax
push esi
call dword [edi + 0x1c]
lea ecx, [ebp - 0x64]
call fcn.00404540
test al, al
jne 0x40354b
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x64]
mov edi, dword [esi]
call fcn.004012e0
push eax
push esi
call dword [edi + 0x2c]
lea ecx, [ebp - 0x40]
call fcn.00404540
test al, al
jne 0x403569
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x40]
mov edi, dword [esi]
call fcn.004012e0
push eax
push esi
call dword [edi + 0x24]
lea ecx, [ebp - 0x34]
call fcn.00404540
test al, al
jne 0x403588
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x34]
push ebx
mov edi, dword [esi]
call fcn.004012e0
push eax
push esi
call dword [edi + 0x44]
mov eax, dword [ebp + 8]
lea edx, [ebp - 4]
push edx
push 0x423d0c
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x4035ba
mov esi, dword [ebp - 4]
lea ecx, [ebp - 0x10]
push 1
mov edi, dword [esi]
call fcn.004012e0
push eax
push esi
call dword [edi + 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]
pop ebx
lea ecx, [ebp - 0x70]
call fcn.00401650
lea ecx, [ebp - 0x34]
call fcn.00401650
lea ecx, [ebp - 0x40]
call fcn.00401650
lea ecx, [ebp - 0x1c]
call fcn.00401650
lea ecx, [ebp - 0x4c]
call fcn.00401650
lea ecx, [ebp - 0x58]
call fcn.00401650
lea ecx, [ebp - 0x64]
call fcn.00401650
lea ecx, [ebp - 0x28]
call fcn.00401650
lea ecx, [ebp - 0x10]
call fcn.00401650
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret