Function at 0x492340
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x5512c0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x23c], ecx
lea ecx, [ebp - 0x218]
push ecx
push 0x50e8bc
push 1
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0x10]
push 0
push 0x50e8fc
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x238], eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x49248c
mov eax, dword [ebp - 0x218]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [ebp - 0x220]
push ecx
push 0x50e90c
push eax
call edx
test eax, eax
js 0x49247e
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax]
test edi, edi
jne 0x4923d4
mov edx, dword [0x557d7c]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
jmp 0x4923db
mov edx, dword [ecx + 0x50]
push edi
push eax
call edx
test esi, esi
je 0x4923ee
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push esi
push eax
call edx
test ebx, ebx
je 0x492401
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push ebx
push eax
call edx
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x3c]
push 1
push eax
call edx
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x49242a
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x2c]
push ecx
call eax
mov eax, dword [ebp - 0x23c]
test eax, eax
je 0x492455
mov ecx, dword [ebp - 0x21c]
push eax
push ecx
lea edx, [ebp - 0x214]
push str._s_s
push edx
call fcn.004e7351
add esp, 0x10
jmp 0x4924eb
push 0x5c
test edi, edi
je 0x49245e
push edi
jmp 0x492464
mov eax, dword [0x557d7c]
push eax
call fcn.004e6c2f
add esp, 8
test eax, eax
jne 0x49249f
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004e3e00
mov esp, ebp
pop ebp
ret 0xc
push eax
mov eax, dword [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x214]
push str._s_s
push ecx
call fcn.004e7351
lea eax, [ebp - 0x214]
add esp, 0x10
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4924c4
sub eax, edx
sar eax, 1
mov edx, 0x6b
mov dword [ebp + eax*2 - 0x21a], 0x6e006c
mov word [ebp + eax*2 - 0x216], dx
mov esi, dword [ebp - 0x238]
test esi, esi
je 0x4925a5
mov eax, dword [ebp - 0x218]
lea edx, [ebp - 0x21c]
push edx
mov dword [ebp - 0x21c], 0
mov ecx, dword [eax]
push 0x526a64
push eax
mov eax, dword [ecx]
call eax
test eax, eax
js 0x4925a5
lea edx, [ebp - 0x22c]
push edx
mov ecx, 0x1f
push esi
mov word [ebp - 0x234], cx
call dword [sym.imp.SHLWAPI.dll_SHStrDupW]
test eax, eax
jns 0x49255e
xor eax, eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
jmp 0x492597
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax]
lea edx, [ebp - 0x234]
push edx
push 0x50e91c
push eax
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
js 0x49258a
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push eax
call edx
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x214]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov esi, eax
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [ebp - 8]
xor eax, eax
test esi, esi
setns al
xor ecx, ebp
pop esi
call fcn.004e3e00
mov esp, ebp
pop ebp
ret 0xc