Function at 0x405820
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f6638
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x6817dc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 0xc]
xor edi, edi
mov esi, dword [ebx + 8]
push edi
mov dword [ebp - 0x38], eax
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x405a4f
lea eax, [ebp - 0x30]
push eax
push 0x5fd860
push 1
push edi
push 0x649ecc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x405a49
mov eax, dword [ebp - 0x30]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov ecx, esi
mov dword [ebp - 0x1c], edi
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4058b6
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00405d50
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x18]
cmp edi, 8
mov esi, dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
cmp esi, 4
jb 0x405918
lea ecx, [esi - 3]
lea ecx, [eax + ecx*2]
mov dword [ebp - 0x3c], ecx
sub ecx, eax
sar ecx, 1
je 0x405912
nop dword [eax]
cmp word [eax], 0x68
je 0x4059ed
add eax, 2
sub ecx, 1
jne 0x405900
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
push dword [ebp - 0x38]
cmp edi, 8
lea ecx, [ebp - 0x2c]
push 2
cmovae ecx, dword [ebp - 0x2c]
mov edx, esi
push 0x664ba4
push 0xffffffffffffffff
call fcn.00405f70
mov ecx, eax
add esp, 0x10
cmp ecx, 0xffffffff
je 0x40599e
xor eax, eax
mov dword [ebp - 0x48], 0
cmp esi, ecx
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x44], 7
cmovb ecx, esi
cmp edi, 8
push ecx
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x58]
push eax
call fcn.00405d50
lea ecx, [ebp - 0x2c]
call fcn.00405c20
movups xmm1, xmmword [ebp - 0x58]
cmp dword [ebp - 0x44], 8
lea edx, [ebp - 0x2c]
movq xmm0, qword [ebp - 0x48]
movd eax, xmm1
movups xmmword [ebp - 0x2c], xmm1
cmovae edx, eax
movq qword [ebp - 0x1c], xmm0
mov eax, dword [ebp - 0x30]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x34]
push edx
push 0x649ebc
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jns 0x405a71
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x405a47
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405a3d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405ad1
jmp 0x405a3d
test eax, eax
je 0x405912
mov edx, 0x664b98
mov edi, eax
mov esi, 4
sub edi, edx
mov cx, word [edi + edx]
cmp cx, word [edx]
jne 0x405a32
add edx, 2
sub esi, 1
jne 0x405a03
sub eax, dword [ebp - 0x40]
sar eax, 1
cmp eax, 0xffffffff
je 0x405912
mov eax, dword [ebp - 0x30]
push esi
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
jmp 0x40599e
mov ecx, dword [ebp - 0x3c]
add eax, 2
jmp 0x4058f7
push edx
push ecx
call fcn.0055e71a
add esp, 8
xor edi, edi
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0055e6d4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
mov eax, dword [ebp - 0x34]
push 2
push dword [ebp - 0x38]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, dword [ebp - 0x18]
mov edi, 1
cmp edx, 8
jb 0x405a49
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405ac2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405ad6
push edx
push ecx
call fcn.0055e71a
add esp, 8
jmp 0x405a49
call fcn.005ce7a3
call fcn.005ce7a3
int3