Function at 0x405e70
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]
movzx eax, word [esi]
cmp eax, 0x30
jb 0x405e98
cmp eax, 0x39
ja 0x405e98
push esi
call fcn.0041adc8
add esp, 4
jmp 0x405f1f
or eax, 0x20
add eax, 0xffffff9c
cmp eax, 0x10
ja case.0x405eae.101
movzx eax, byte [eax + 0x406284]
jmp dword [eax*4 + 0x406270]
mov cx, word [esi + 2]
or cx, 0x20
sub cx, 0x75
movzx eax, cx
neg eax
sbb eax, eax
and eax, 9
add eax, 0x10
jmp 0x405f1f
mov dx, word [esi + 2]
or dx, 0x20
sub dx, 0x75
movzx eax, dx
neg eax
sbb eax, eax
and eax, 0xb
add eax, 0xb
jmp 0x405f1f
mov ax, word [esi + 2]
or ax, 0x20
sub ax, 0x75
movzx eax, ax
neg eax
sbb eax, eax
and eax, 0x15
add eax, 2
jmp 0x405f1f
mov cx, word [esi + 2]
or cx, 0x20
sub cx, 0x75
movzx eax, cx
neg eax
sbb eax, eax
and eax, 0x11
add eax, 7
movzx ecx, word [esi]
push ebx
xor ebx, ebx
cmp ecx, 0x2c
je 0x405f45
lea ebx, [ebx]
cmp cx, bx
je 0x40600f
movzx ecx, word [esi + 2]
add esi, 2
cmp ecx, 0x2c
jne 0x405f30
push ebx
push eax
lea edx, [ebp - 0x27c]
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40600f
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401cd0
lea ecx, [ebp - 0x28]
call fcn.00401420
lea ecx, [ebp - 0x4c]
call fcn.00401420
lea ecx, [ebp - 0x40]
call fcn.00401420
lea ecx, [ebp - 0x58]
call fcn.00401420
lea ecx, [ebp - 0x1c]
call fcn.00401420
lea ecx, [ebp - 0x34]
call fcn.00401420
lea ecx, [ebp - 0x64]
call fcn.00401420
lea ecx, [ebp - 0x70]
call fcn.00401420
lea ecx, [ebp - 0x28]
push ecx
push esi
call fcn.00404290
add esp, 8
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.0040fb80
test al, al
je 0x406017
lea ecx, [ebp - 0x70]
call fcn.00401cc0
lea ecx, [ebp - 0x64]
call fcn.00401cc0
lea ecx, [ebp - 0x34]
call fcn.00401cc0
lea ecx, [ebp - 0x1c]
call fcn.00401cc0
lea ecx, [ebp - 0x58]
call fcn.00401cc0
lea ecx, [ebp - 0x40]
call fcn.00401cc0
lea ecx, [ebp - 0x4c]
call fcn.00401cc0
lea ecx, [ebp - 0x28]
call fcn.00401cc0
lea ecx, [ebp - 0x10]
call fcn.00401cc0
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push edi
lea edx, [ebp - 0x4c]
push edx
push esi
call fcn.00404290
lea ecx, [ebp - 0x40]
push ecx
push eax
call fcn.00404290
lea edx, [ebp - 0x58]
push edx
push eax
call fcn.00404290
lea ecx, [ebp - 0x1c]
push ecx
push eax
call fcn.00404290
lea edx, [ebp - 0x34]
push edx
push eax
call fcn.00404290
lea ecx, [ebp - 0x64]
push ecx
push eax
call fcn.00404290
lea edx, [ebp - 0x70]
push edx
push eax
call fcn.00404290
add esp, 0x38
lea ecx, [ebp - 0x70]
call fcn.0040dd70
push eax
call fcn.0041adc8
add esp, 4
lea ecx, [ebp - 0x1c]
mov edi, eax
call fcn.0040fb80
test al, al
je 0x4060ba
lea eax, [ebp - 0x28]
push eax
call fcn.00404410
add esp, 4
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.0040dd70
lea ecx, [eax + esi*2 + 2]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00401000
push 0x2e
lea ecx, [ebp - 0x1c]
call fcn.004159e0
cmp eax, ebx
jl 0x4060ba
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401cf0
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.00401c20
lea ecx, [ebp - 0x40]
call fcn.0040fb80
test al, al
jne 0x4060e6
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x10]
call fcn.00415970
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.00401c20
lea ecx, [ebp - 0x10]
call fcn.0040dd70
push eax
call fcn.00405cd0
add esp, 4
test eax, eax
je 0x406215
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00415970
push 0x423ccc
lea ecx, [ebp - 0x10]
call fcn.00415f10
lea ecx, [ebp + 8]
push ecx
push 0x42741c
push 1
push ebx
push 0x42745c
mov dword [ebp + 8], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x406215
mov esi, dword [ebp + 8]
mov dword [ebp - 4], ebx
mov ebx, dword [esi]
lea ecx, [ebp - 0x28]
call fcn.0040dd70
mov edx, dword [ebx + 0x50]
push eax
push esi
call edx
lea ecx, [ebp - 0x58]
call fcn.0040fb80
test al, al
jne 0x406171
mov esi, dword [ebp + 8]
mov ebx, dword [esi]
lea ecx, [ebp - 0x58]
call fcn.0040dd70
push eax
mov eax, dword [ebx + 0x1c]
push esi
call eax
lea ecx, [ebp - 0x4c]
call fcn.0040fb80
test al, al
jne 0x406191
mov esi, dword [ebp + 8]
mov ebx, dword [esi]
lea ecx, [ebp - 0x4c]
call fcn.0040dd70
mov ecx, dword [ebx + 0x2c]
push eax
push esi
call ecx
lea ecx, [ebp - 0x34]
call fcn.0040fb80
test al, al
jne 0x4061b1
mov esi, dword [ebp + 8]
mov ebx, dword [esi]
lea ecx, [ebp - 0x34]
call fcn.0040dd70
mov edx, dword [ebx + 0x24]
push eax
push esi
call edx
lea ecx, [ebp - 0x64]
call fcn.0040fb80
test al, al
jne 0x4061d2
mov esi, dword [ebp + 8]
mov ebx, dword [esi]
push edi
lea ecx, [ebp - 0x64]
call fcn.0040dd70
push eax
mov eax, dword [ebx + 0x44]
push esi
call eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push 0x42744c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
js 0x40620a
mov esi, dword [ebp - 4]
mov edi, dword [esi]
push 1
lea ecx, [ebp - 0x10]
call fcn.0040dd70
mov ecx, dword [edi + 0x18]
push eax
push esi
call ecx
mov eax, dword [ebp - 4]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x70]
call fcn.00401cc0
lea ecx, [ebp - 0x64]
call fcn.00401cc0
lea ecx, [ebp - 0x34]
call fcn.00401cc0
lea ecx, [ebp - 0x1c]
call fcn.00401cc0
lea ecx, [ebp - 0x58]
call fcn.00401cc0
lea ecx, [ebp - 0x40]
call fcn.00401cc0
lea ecx, [ebp - 0x4c]
call fcn.00401cc0
lea ecx, [ebp - 0x28]
call fcn.00401cc0
lea ecx, [ebp - 0x10]
call fcn.00401cc0
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret