Function at 0x486340
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x290
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [esp + 0x288], eax
lea esi, [esp + 0x80]
push 0xde
push str..._.._base_win_shortcut.cc
push str.ResolveShortcutProperties
push esi
call fcn.00472ef0
add esp, 0x10
lea ecx, [esp + 0x48]
push 0
push esi
call fcn.0047d4a0
mov dword [esp + 0x44], 0
lea eax, [esp + 0x44]
push eax
push 0x6528f8
push 1
push 0
push 0x689e94
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x48654f
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push edx
push 0x652a28
push eax
call dword [ecx]
test eax, eax
js 0x48692a
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x40]
cmp byte [ecx + 0xb], 0
jns 0x4863e3
mov ecx, dword [ecx]
mov edx, dword [eax]
push 0
push ecx
push eax
call dword [edx + 0x14]
test eax, eax
js 0x48692a
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x60], 0
test cl, 1
je 0x486476
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
push 2
push 0
push 0x104
push esi
push eax
call dword [ecx + 0xc]
xor ebx, ebx
test eax, eax
js 0x48692c
cmp word [esp + 0x80], 0
je 0x486450
xor eax, eax
nop word cs:[eax + eax]
nop dword [eax + eax]
lea ebx, [eax + 1]
cmp word [esp + eax*2 + 0x82], 0
mov eax, ebx
jne 0x486440
lea edi, [esp + 0x20]
mov ecx, edi
push ebx
push esi
call fcn.0046ed80
mov ebx, dword [ebp + 0x10]
mov ecx, ebx
push edi
call fcn.0046ee60
or byte [ebx + 0x60], 1
mov ecx, edi
call fcn.0046ee40
mov ecx, dword [ebp + 0xc]
test cl, 2
je 0x4864e7
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
push 0x104
push esi
push eax
call dword [ecx + 0x20]
xor ebx, ebx
test eax, eax
js 0x48692c
cmp word [esp + 0x80], 0
je 0x4864c0
xor eax, eax
nop word cs:[eax + eax]
nop dword [eax]
lea ebx, [eax + 1]
cmp word [esp + eax*2 + 0x82], 0
mov eax, ebx
jne 0x4864b0
lea edi, [esp + 0x20]
mov ecx, edi
push ebx
push esi
call fcn.0046ed80
mov ebx, dword [ebp + 0x10]
lea ecx, [ebx + 0xc]
push edi
call fcn.0046ee60
or byte [ebx + 0x60], 2
mov ecx, edi
call fcn.0046ee40
mov ecx, dword [ebp + 0xc]
test cl, 4
je 0x4865cc
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
push 0x104
push esi
push eax
call dword [ecx + 0x28]
test eax, eax
js 0x48692a
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
push esi
call fcn.006208d5
add esp, 4
cmp eax, 0x7ffffff0
jae 0x486a42
mov ebx, eax
cmp eax, 5
jae 0x486556
lea eax, [esp + 0x20]
mov byte [esp + 0x2b], bl
mov dword [esp + 4], eax
mov edi, eax
test ebx, ebx
jne 0x48658a
jmp 0x486599
xor ebx, ebx
jmp 0x486942
lea edi, [ebx + 8]
and edi, 0xfffffff8
js 0x486a4b
lea eax, [edi + edi]
push eax
call fcn.00517b56
add esp, 4
mov dword [esp + 0x20], eax
or edi, 0x80000000
mov dword [esp + 0x28], edi
mov edi, eax
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x20]
mov dword [esp + 4], eax
mov eax, ebx
add eax, ebx
push eax
push esi
push edi
call fcn.006025b0
add esp, 0xc
mov word [edi + ebx*2], 0
mov edi, dword [ebp + 0x10]
lea ecx, [edi + 0x18]
lea eax, [esp + 0x20]
push eax
call fcn.00468c2e
or byte [edi + 0x60], 4
mov eax, dword [esp + 4]
cmp byte [eax + 0xb], 0
jns 0x4865c9
push dword [esp + 0x20]
call fcn.00517bd6
add esp, 4
mov ecx, dword [ebp + 0xc]
test cl, 8
je 0x4866aa
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
push 0x104
push esi
push eax
call dword [ecx + 0x18]
test eax, eax
js 0x48692a
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
push esi
call fcn.006208d5
add esp, 4
cmp eax, 0x7ffffff0
jae 0x486a42
mov ebx, eax
cmp eax, 5
jae 0x486634
lea eax, [esp + 0x20]
mov byte [esp + 0x2b], bl
mov dword [esp + 4], eax
mov edi, eax
test ebx, ebx
jne 0x486668
jmp 0x486677
lea edi, [ebx + 8]
and edi, 0xfffffff8
js 0x486a4b
lea eax, [edi + edi]
push eax
call fcn.00517b56
add esp, 4
mov dword [esp + 0x20], eax
or edi, 0x80000000
mov dword [esp + 0x28], edi
mov edi, eax
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x20]
mov dword [esp + 4], eax
mov eax, ebx
add eax, ebx
push eax
push esi
push edi
call fcn.006025b0
add esp, 0xc
mov word [edi + ebx*2], 0
mov edi, dword [ebp + 0x10]
lea ecx, [edi + 0x24]
lea eax, [esp + 0x20]
push eax
call fcn.00468c2e
or byte [edi + 0x60], 8
mov eax, dword [esp + 4]
cmp byte [eax + 0xb], 0
jns 0x4866a7
push dword [esp + 0x20]
call fcn.00517bd6
add esp, 4
mov ecx, dword [ebp + 0xc]
test cl, 0x10
je 0x48671e
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x104
push esi
push eax
call dword [ecx + 0x40]
test eax, eax
js 0x48692a
mov ebx, dword [esp + 0x10]
cmp word [esp + 0x80], 0
je 0x4866f2
xor ecx, ecx
nop dword [eax]
lea eax, [ecx + 1]
cmp word [esp + ecx*2 + 0x82], 0
mov ecx, eax
jne 0x4866e0
jmp 0x4866f4
xor eax, eax
lea edi, [esp + 0x20]
mov ecx, edi
push eax
push esi
call fcn.0046ed80
mov esi, dword [ebp + 0x10]
lea ecx, [esi + 0x30]
push edi
call fcn.0046ee60
mov dword [esi + 0x3c], ebx
or byte [esi + 0x60], 0x10
mov ecx, edi
call fcn.0046ee40
mov ecx, dword [ebp + 0xc]
mov bl, 1
test cl, 0xe0
je 0x48692c
call fcn.00488190
cmp eax, 4
jl 0x48692c
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
lea edx, [esp + 0x3c]
push edx
push 0x652a38
push eax
call dword [ecx]
test eax, eax
js 0x486914
mov eax, dword [ebp + 0xc]
test al, 0x20
jne 0x486790
test al, 0x40
jne 0x486825
test al, al
js 0x4868e3
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x48692c
mov dword [esp + 0x3c], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x48692c
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
lea esi, [esp + 0x20]
push esi
push 0x69bec0
push eax
call dword [ecx + 0x14]
movzx ecx, word [esp + 0x20]
test eax, eax
jne 0x486908
cmp cx, 0x1f
je 0x48686a
test cx, cx
jne 0x48690d
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
mov edi, dword [ebp + 0x10]
lea ecx, [edi + 0x40]
lea eax, [esp + 0x10]
push eax
call fcn.00468c2e
or byte [edi + 0x60], 0x20
cmp byte [esp + 0x1b], 0
jns 0x48680b
push dword [esp + 0x10]
call fcn.00517bd6
add esp, 4
cmp word [esp + 0x20], 0
je 0x48681a
push esi
call dword [sym.imp.ole32.dll_PropVariantClear]
mov eax, dword [ebp + 0xc]
test al, 0x40
je 0x486769
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
lea esi, [esp + 0x20]
push esi
push 0x69bed4
push eax
call dword [ecx + 0x14]
movzx ecx, word [esp + 0x20]
test eax, eax
jne 0x486908
cmp cx, 0xb
je 0x4868c0
test cx, cx
jne 0x48690d
mov eax, dword [ebp + 0x10]
mov byte [eax + 0x4c], 0
or byte [eax + 0x60], 0x40
jmp 0x4868d8
mov edi, dword [esp + 0x28]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
push edi
call fcn.006208d5
add esp, 4
cmp eax, 0x7ffffff0
jae 0x486a50
mov dword [esp + 0xc], edi
cmp eax, 5
jae 0x48699f
lea edx, [esp + 0x10]
mov byte [esp + 0x1b], al
mov dword [esp + 4], edx
test eax, eax
jne 0x4869db
jmp 0x4869f7
cmp word [esp + 0x28], 0xffff
mov eax, dword [ebp + 0x10]
sete byte [eax + 0x4c]
or byte [eax + 0x60], 0x40
push esi
call dword [sym.imp.ole32.dll_PropVariantClear]
mov eax, dword [ebp + 0xc]
test al, al
jns 0x486771
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
lea esi, [esp + 0x20]
push esi
push 0x69bee8
push eax
call dword [ecx + 0x14]
movzx ecx, word [esp + 0x20]
test eax, eax
je 0x486979
test cx, cx
je 0x486914
push esi
call dword [sym.imp.ole32.dll_PropVariantClear]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x48692a
mov dword [esp + 0x3c], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor ebx, ebx
mov eax, dword [esp + 0x40]
test eax, eax
je 0x486942
mov dword [esp + 0x40], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x44]
test eax, eax
je 0x486958
mov dword [esp + 0x44], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x48]
call fcn.0047d5c0
mov ecx, dword [esp + 0x288]
xor ecx, ebp
call fcn.00517c1a
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp cx, 0x48
je 0x486a24
test cx, cx
jne 0x48690d
movups xmm0, xmmword [0x689ed4]
mov eax, dword [ebp + 0x10]
movups xmmword [eax + 0x50], xmm0
or byte [eax + 0x60], 0x80
jmp 0x486771
mov dword [esp + 8], eax
lea edi, [eax + 8]
and edi, 0xfffffff8
js 0x486a4b
lea eax, [edi + edi]
push eax
call fcn.00517b56
add esp, 4
mov edx, eax
mov dword [esp + 0x10], eax
or edi, 0x80000000
mov dword [esp + 0x18], edi
mov eax, dword [esp + 8]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x10]
mov dword [esp + 4], ecx
mov edi, eax
add eax, eax
push eax
push dword [esp + 0x10]
push edx
mov esi, edx
call fcn.006025b0
mov edx, esi
lea esi, [esp + 0x2c]
mov eax, edi
add esp, 0xc
mov word [edx + eax*2], 0
mov edi, dword [ebp + 0x10]
lea ecx, [edi + 0x40]
lea eax, [esp + 0x10]
push eax
call fcn.00468c2e
or byte [edi + 0x60], 0x20
mov eax, dword [esp + 4]
cmp byte [eax + 0xb], 0
jns 0x48680b
jmp 0x4867ff
mov eax, dword [esp + 0x28]
movups xmm0, xmmword [eax]
mov eax, dword [ebp + 0x10]
movups xmmword [eax + 0x50], xmm0
or byte [eax + 0x60], 0x80
push esi
call dword [sym.imp.ole32.dll_PropVariantClear]
jmp 0x486771
lea ecx, [esp + 0x20]
call fcn.00467d64
call fcn.0061842c
lea ecx, [esp + 0x10]
call fcn.00467d64
int3