Function at 0x480120
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 [0x603024]
xor eax, ebp
mov dword [esp + 0x288], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x240]
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea edi, [esp + 0x38]
push 0xd6
push str..._.._base_win_shortcut.cc
push str.ResolveShortcutProperties
push edi
call fcn.004e0f50
add esp, 0x10
xor ebx, ebx
mov ecx, esi
push ebx
push edi
call fcn.004e70c0
lea eax, [esp + 0x34]
mov dword [eax], ebx
push eax
push 0x5edce8
push 1
push ebx
push 0x5ba0b4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4803a1
lea esi, [esp + 0x30]
mov dword [esi], 0
mov edi, dword [esp + 0x34]
mov eax, dword [edi]
mov ecx, dword [eax]
call dword [section..00cfg]
push esi
push 0x5edd58
push edi
call ecx
test eax, eax
js 0x480619
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x30]
cmp byte [edi + 0xb], 0
jns 0x4801dc
mov edi, dword [edi]
mov eax, dword [esi]
mov ecx, dword [eax + 0x14]
call dword [section..00cfg]
push 0
push edi
push esi
call ecx
test eax, eax
js 0x480619
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov dword [eax + 0x60], 0
push 0x208
push 0xff
lea esi, [esp + 0x40]
push esi
call fcn.005072d0
add esp, 0xc
test bl, 1
mov ebx, esi
je 0x480270
mov esi, dword [esp + 0x34]
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
call dword [section..00cfg]
push 2
push 0
push 0x104
push ebx
push esi
call ecx
test eax, eax
js 0x480619
push ebx
call fcn.00520e34
add esp, 4
lea edi, [esp + 0x10]
mov ecx, edi
push eax
push ebx
call fcn.004dfa40
mov esi, dword [ebp + 0x10]
mov ecx, esi
push edi
call fcn.0045b820
or byte [esi + 0x60], 1
mov ecx, edi
call fcn.004dfb00
mov eax, dword [ebp + 0xc]
test al, 2
jne 0x48041e
test al, 4
je 0x480369
mov esi, dword [esp + 0x34]
mov eax, dword [esi]
mov ecx, dword [eax + 0x28]
call dword [section..00cfg]
push 0x104
push ebx
push esi
call ecx
test eax, eax
js 0x480619
push ebx
call fcn.00520e34
add esp, 4
cmp eax, 0x7ffffff0
jae 0x480477
mov ebx, eax
cmp eax, 5
jae 0x4802e2
lea edi, [esp + 0x10]
mov byte [edi + 0xb], bl
cmp ebx, 3
jne 0x4803f9
movzx eax, word [esp + 0x3c]
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
jmp 0x48031b
lea esi, [ebx + 8]
and esi, 0xfffffff8
lea eax, [esi + esi]
push eax
call fcn.0050397a
add esp, 4
mov edi, eax
mov dword [esp + 0x10], eax
or esi, 0x80000000
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
mov eax, ebx
add eax, ebx
push eax
lea eax, [esp + 0x3c]
push eax
push edi
call fcn.00506d50
add esp, 0xc
mov word [edi + ebx*2], 0
mov esi, dword [ebp + 0x10]
lea ecx, [esi + 0x18]
lea eax, [esp + 0x10]
cmp ecx, eax
lea ebx, [esp + 0x38]
je 0x480357
cmp byte [ecx + 0xb], 0
movzx edx, byte [esp + 0x1b]
js 0x480406
test dl, dl
jns 0x4803e3
push dword [esp + 0x14]
push dword [esp + 0x14]
call fcn.0044ae10
or byte [esi + 0x60], 4
cmp byte [esp + 0x1b], 0
js 0x480480
mov eax, dword [ebp + 0xc]
test al, 8
jne 0x480491
test al, 0x10
jne 0x4804ef
mov bl, 1
test al, 0xe0
jne 0x480557
mov esi, dword [esp + 0x30]
test esi, esi
je 0x4803a1
mov dword [esp + 0x30], 0
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push esi
call ecx
mov esi, dword [esp + 0x34]
test esi, esi
je 0x4803bf
mov dword [esp + 0x34], 0
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push esi
call ecx
lea ecx, [esp + 0x240]
call fcn.004e7120
mov ecx, dword [esp + 0x288]
xor ecx, ebp
call fcn.00504b53
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x18]
mov dword [ecx + 8], eax
movq xmm0, qword [esp + 0x10]
movq qword [ecx], xmm0
jmp 0x480357
test ebx, ebx
jne 0x480308
jmp 0x48031b
test dl, dl
cmovs edx, dword [esp + 0x14]
cmovs eax, dword [esp + 0x10]
push edx
push eax
call fcn.0044ad00
jmp 0x480357
mov esi, dword [esp + 0x34]
mov eax, dword [esi]
mov ecx, dword [eax + 0x20]
call dword [section..00cfg]
push 0x104
push ebx
push esi
call ecx
test eax, eax
js 0x480619
lea ebx, [esp + 0x38]
push ebx
call fcn.00520e34
add esp, 4
lea edi, [esp + 0x10]
mov ecx, edi
push eax
push ebx
call fcn.004dfa40
mov esi, dword [ebp + 0x10]
lea ecx, [esi + 0xc]
push edi
call fcn.0045b820
or byte [esi + 0x60], 2
mov ecx, edi
call fcn.004dfb00
mov eax, dword [ebp + 0xc]
jmp 0x48027b
lea ecx, [esp + 0x10]
call fcn.0055adb0
push dword [esp + 0x10]
call fcn.005039aa
add esp, 4
jmp 0x480366
mov esi, dword [esp + 0x34]
mov eax, dword [esi]
mov ecx, dword [eax + 0x18]
call dword [section..00cfg]
push 0x104
push ebx
push esi
call ecx
test eax, eax
js 0x480619
lea edi, [esp + 0x10]
mov ecx, edi
lea eax, [esp + 0x38]
push eax
call fcn.00440fc0
mov esi, dword [ebp + 0x10]
lea ecx, [esi + 0x24]
push edi
call fcn.004d9fb0
or byte [esi + 0x60], 8
cmp byte [edi + 0xb], 0
jns 0x4804e3
push dword [esp + 0x10]
call fcn.005039aa
add esp, 4
mov eax, dword [ebp + 0xc]
lea ebx, [esp + 0x38]
jmp 0x480371
mov esi, esp
mov dword [esi], 0xffffffff
mov edi, dword [esp + 0x34]
mov eax, dword [edi]
mov ecx, dword [eax + 0x40]
call dword [section..00cfg]
push esi
push 0x104
push ebx
push edi
call ecx
test eax, eax
js 0x480619
mov ebx, dword [esp]
lea esi, [esp + 0x38]
push esi
call fcn.00520e34
add esp, 4
lea edi, [esp + 0x10]
mov ecx, edi
push eax
push esi
call fcn.004dfa40
mov esi, dword [ebp + 0x10]
lea ecx, [esi + 0x30]
push edi
call fcn.0045b820
mov dword [esi + 0x3c], ebx
or byte [esi + 0x60], 0x10
mov ecx, edi
call fcn.004dfb00
mov eax, dword [ebp + 0xc]
jmp 0x480379
lea esi, [esp + 0x2c]
mov dword [esi], 0
mov edi, dword [esp + 0x34]
mov eax, dword [edi]
mov ecx, dword [eax]
call dword [section..00cfg]
push esi
push 0x5edd68
push edi
call ecx
test eax, eax
js 0x4805fb
mov eax, dword [ebp + 0xc]
test al, 0x20
jne 0x4805c0
mov eax, dword [ebp + 0xc]
test al, 0x40
jne 0x480620
mov eax, dword [ebp + 0xc]
test al, 0x80
jne 0x48066a
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x480383
mov dword [esp + 0x2c], 0
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push esi
call ecx
jmp 0x480383
pxor xmm0, xmm0
lea edi, [esp + 0x10]
movdqa xmmword [edi], xmm0
mov esi, dword [esp + 0x2c]
mov eax, dword [esi]
mov ecx, dword [eax + 0x14]
call dword [section..00cfg]
push edi
push 0x5e817c
push esi
call ecx
movzx ecx, word [edi]
test eax, eax
je 0x4806c5
test cx, cx
je 0x4805fb
push edi
call dword [sym.imp.ole32.dll_PropVariantClear]
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x480619
mov dword [esp + 0x2c], 0
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push esi
call ecx
xor ebx, ebx
jmp 0x480383
pxor xmm0, xmm0
lea edi, [esp + 0x10]
movdqa xmmword [edi], xmm0
mov esi, dword [esp + 0x2c]
mov eax, dword [esi]
mov ecx, dword [eax + 0x14]
call dword [section..00cfg]
push edi
push 0x5e8190
push esi
call ecx
movzx ecx, word [edi]
test eax, eax
jne 0x4805ef
cmp cx, 0xb
je 0x480743
test cx, cx
jne 0x4805f4
mov eax, dword [ebp + 0x10]
mov byte [eax + 0x4c], 0
or byte [eax + 0x60], 0x40
jmp 0x48058e
pxor xmm0, xmm0
lea edi, [esp + 0x10]
movdqa xmmword [edi], xmm0
mov esi, dword [esp + 0x2c]
mov eax, dword [esi]
mov ecx, dword [eax + 0x14]
call dword [section..00cfg]
push edi
push 0x5e81a4
push esi
call ecx
movzx ecx, word [edi]
test eax, eax
jne 0x4805ef
cmp cx, 0x48
je 0x480760
test cx, cx
jne 0x4805f4
movdqu xmm0, xmmword [0x5ba0a4]
mov eax, dword [ebp + 0x10]
movdqu xmmword [eax + 0x50], xmm0
or byte [eax + 0x60], 0x80
jmp 0x480599
cmp cx, 0x1f
je 0x4806fb
test cx, cx
jne 0x4805f4
xor eax, eax
mov esi, esp
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
lea ecx, [eax + 0x40]
push esi
call fcn.004d9fb0
mov eax, dword [ebp + 0x10]
or byte [eax + 0x60], 0x20
cmp byte [esi + 0xb], 0
jns 0x48072b
jmp 0x480720
mov ecx, esp
push dword [esp + 0x18]
call fcn.00440fc0
mov esi, dword [ebp + 0x10]
lea ecx, [esi + 0x40]
mov eax, esp
push eax
call fcn.004d9fb0
or byte [esi + 0x60], 0x20
mov eax, esp
cmp byte [eax + 0xb], 0
jns 0x48072b
push dword [esp]
call fcn.005039aa
add esp, 4
cmp word [esp + 0x10], 0
je 0x480583
push edi
call dword [sym.imp.ole32.dll_PropVariantClear]
jmp 0x480583
cmp word [esp + 0x18], 0xffff
mov eax, dword [ebp + 0x10]
sete byte [eax + 0x4c]
or byte [eax + 0x60], 0x40
push edi
call dword [sym.imp.ole32.dll_PropVariantClear]
jmp 0x48058e
mov eax, dword [esp + 0x18]
movdqu xmm0, xmmword [eax]
mov eax, dword [ebp + 0x10]
movdqu xmmword [eax + 0x50], xmm0
or byte [eax + 0x60], 0x80
push edi
call dword [sym.imp.ole32.dll_PropVariantClear]
jmp 0x480599