Function at 0x405e85
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 0x405e68
cmp eax, 0x39
ja 0x405e68
push esi
call fcn.00421418
add esp, 4
jmp 0x405eef
or eax, 0x20
add eax, 0xffffff9c
cmp eax, 0x10
ja case.0x405e7e.101
movzx eax, byte [eax + 0x406254]
jmp dword [eax*4 + 0x406240]
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 0x405eef
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 0x405eef
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 0x405eef
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 0x405f15
lea ebx, [ebx]
cmp cx, bx
je 0x405fdf
movzx ecx, word [esi + 2]
add esi, 2
cmp ecx, 0x2c
jne 0x405f00
push ebx
push eax
lea edx, [ebp - 0x27c]
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x405fdf
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401bd0
lea ecx, [ebp - 0x28]
call fcn.004013d0
lea ecx, [ebp - 0x4c]
call fcn.004013d0
lea ecx, [ebp - 0x40]
call fcn.004013d0
lea ecx, [ebp - 0x58]
call fcn.004013d0
lea ecx, [ebp - 0x1c]
call fcn.004013d0
lea ecx, [ebp - 0x34]
call fcn.004013d0
lea ecx, [ebp - 0x64]
call fcn.004013d0
lea ecx, [ebp - 0x70]
call fcn.004013d0
lea ecx, [ebp - 0x28]
push ecx
push esi
call fcn.00404200
add esp, 8
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.0040ffd0
test al, al
je 0x405fe7
lea ecx, [ebp - 0x70]
call fcn.00412b60
lea ecx, [ebp - 0x64]
call fcn.00412b60
lea ecx, [ebp - 0x34]
call fcn.00412b60
lea ecx, [ebp - 0x1c]
call fcn.00412b60
lea ecx, [ebp - 0x58]
call fcn.00412b60
lea ecx, [ebp - 0x40]
call fcn.00412b60
lea ecx, [ebp - 0x4c]
call fcn.00412b60
lea ecx, [ebp - 0x28]
call fcn.00412b60
lea ecx, [ebp - 0x10]
call fcn.00412b60
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.00404200
lea ecx, [ebp - 0x40]
push ecx
push eax
call fcn.00404200
lea edx, [ebp - 0x58]
push edx
push eax
call fcn.00404200
lea ecx, [ebp - 0x1c]
push ecx
push eax
call fcn.00404200
lea edx, [ebp - 0x34]
push edx
push eax
call fcn.00404200
lea ecx, [ebp - 0x64]
push ecx
push eax
call fcn.00404200
lea edx, [ebp - 0x70]
push edx
push eax
call fcn.00404200
add esp, 0x38
lea ecx, [ebp - 0x70]
call fcn.00414870
push eax
call fcn.00421418
add esp, 4
lea ecx, [ebp - 0x1c]
mov edi, eax
call fcn.0040ffd0
test al, al
je 0x40608a
lea eax, [ebp - 0x28]
push eax
call fcn.00404380
add esp, 4
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.00414870
lea ecx, [eax + esi*2 + 2]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00401000
push 0x2e
lea ecx, [ebp - 0x1c]
call fcn.00415f30
cmp eax, ebx
jl 0x40608a
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401bf0
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.00401b30
lea ecx, [ebp - 0x40]
call fcn.0040ffd0
test al, al
jne 0x4060b6
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x10]
call fcn.00415ec0
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.00401b30
lea ecx, [ebp - 0x10]
call fcn.00414870
push eax
call fcn.00405ca0
add esp, 4
test eax, eax
je 0x4061e5
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00415ec0
push 0x429d04
lea ecx, [ebp - 0x10]
call fcn.00416460
lea ecx, [ebp + 8]
push ecx
push 0x42d914
push 1
push ebx
push 0x42d954
mov dword [ebp + 8], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4061e5
mov esi, dword [ebp + 8]
mov dword [ebp - 4], ebx
mov ebx, dword [esi]
lea ecx, [ebp - 0x28]
call fcn.00414870
mov edx, dword [ebx + 0x50]
push eax
push esi
call edx
lea ecx, [ebp - 0x58]
call fcn.0040ffd0
test al, al
jne 0x406141
mov esi, dword [ebp + 8]
mov ebx, dword [esi]
lea ecx, [ebp - 0x58]
call fcn.00414870
push eax
mov eax, dword [ebx + 0x1c]
push esi
call eax
lea ecx, [ebp - 0x4c]
call fcn.0040ffd0
test al, al
jne 0x406161
mov esi, dword [ebp + 8]
mov ebx, dword [esi]
lea ecx, [ebp - 0x4c]
call fcn.00414870
mov ecx, dword [ebx + 0x2c]
push eax
push esi
call ecx
lea ecx, [ebp - 0x34]
call fcn.0040ffd0
test al, al
jne 0x406181
mov esi, dword [ebp + 8]
mov ebx, dword [esi]
lea ecx, [ebp - 0x34]
call fcn.00414870
mov edx, dword [ebx + 0x24]
push eax
push esi
call edx
lea ecx, [ebp - 0x64]
call fcn.0040ffd0
test al, al
jne 0x4061a2
mov esi, dword [ebp + 8]
mov ebx, dword [esi]
push edi
lea ecx, [ebp - 0x64]
call fcn.00414870
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 0x42d944
push eax
mov eax, dword [ecx]
call eax
test eax, eax
js 0x4061da
mov esi, dword [ebp - 4]
mov edi, dword [esi]
push 1
lea ecx, [ebp - 0x10]
call fcn.00414870
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.00412b60
lea ecx, [ebp - 0x64]
call fcn.00412b60
lea ecx, [ebp - 0x34]
call fcn.00412b60
lea ecx, [ebp - 0x1c]
call fcn.00412b60
lea ecx, [ebp - 0x58]
call fcn.00412b60
lea ecx, [ebp - 0x40]
call fcn.00412b60
lea ecx, [ebp - 0x4c]
call fcn.00412b60
lea ecx, [ebp - 0x28]
call fcn.00412b60
lea ecx, [ebp - 0x10]
call fcn.00412b60
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