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 0x5f4ec8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x6807dc]
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 0x405a4c
lea eax, [ebp - 0x30]
push eax
push 0x5fc860
push 1
push edi
push 0x648ecc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x405a46
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 0x4059e6
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
mov dword [ebp - 0x48], 0
push 2
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x44], 7
cmovae ecx, dword [ebp - 0x2c]
mov edx, esi
xor eax, eax
push 0x663ba4
push 0xffffffffffffffff
mov word [ebp - 0x58], ax
call fcn.00405f70
add esp, 0x10
lea ecx, [ebp - 0x2c]
cmp esi, eax
cmovb eax, esi
cmp edi, 8
push eax
cmovae ecx, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x58]
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 0x648ebc
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jns 0x405a6e
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x405a44
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405a3a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405ace
jmp 0x405a3a
test eax, eax
je 0x405912
mov edx, 0x663b98
mov edi, eax
mov esi, 4
sub edi, edx
nop dword [eax]
mov cx, word [edi + edx]
cmp cx, word [edx]
jne 0x405a2f
add edx, 2
sub esi, 1
jne 0x405a00
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 0x405997
mov ecx, dword [ebp - 0x3c]
add eax, 2
jmp 0x4058f7
push edx
push ecx
call fcn.0055cf9a
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.0055cf54
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 0x405a46
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405abf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405ad3
push edx
push ecx
call fcn.0055cf9a
add esp, 8
jmp 0x405a46
call fcn.005cd033
call fcn.005cd033
int3