Function at 0x489730
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e075
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x732480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 8]
xor bl, bl
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov edx, dword [eax]
test edx, edx
je 0x489773
cmp edx, 0xffffffff
je 0x489773
lock inc dword [eax]
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [ebp - 0x10]
push eax
push 0x6f5e8c
push 1
push 0
push 0x6f5edc
mov dword [ebp - 4], 0
mov byte [ebp + 0xb], 0
call esi
cmp eax, 0x800401f0
jne 0x4897bf
push 0
mov byte [ebp + 0xb], 1
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x10]
push eax
push 0x6f5e8c
push 1
push 0
push 0x6f5edc
call esi
or edi, 0xffffffff
test eax, eax
js 0x4899a0
mov ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0x20]
push 3
push edx
mov eax, dword [ecx]
call dword [eax + 0x5c]
mov edx, eax
push 1
push ecx
mov ecx, esp
mov byte [ebp - 4], 1
push ecx
mov eax, 0x5c
mov word [ecx], ax
mov eax, esp
mov ecx, 0x2f
mov word [eax], cx
mov ecx, edx
call fcn.0042d070
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x48980f
cmp ecx, edi
je 0x48980f
lock inc dword [eax]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 3
mov eax, dword [eax]
test eax, eax
je 0x489832
cmp eax, 0xffffffff
je 0x489841
mov eax, dword [ebp - 0x20]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x489841
push 4
push 2
push dword [ebp - 0x20]
call fcn.00425140
add esp, 0xc
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
mov eax, dword [eax]
mov esi, dword [eax + 0x50]
call fcn.0042f930
push eax
push dword [ebp - 0x10]
call esi
test eax, eax
js 0x489961
mov ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0x24]
push 4
push edx
mov eax, dword [ecx]
call dword [eax + 0x5c]
mov edx, eax
push 1
push ecx
mov ecx, esp
mov byte [ebp - 4], 4
push ecx
mov eax, 0x5c
mov word [ecx], ax
mov eax, esp
mov ecx, 0x2f
mov word [eax], cx
mov ecx, edx
call fcn.0042d070
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x4898a5
cmp ecx, 0xffffffff
je 0x4898a5
lock inc dword [eax]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 6
mov eax, dword [eax]
test eax, eax
je 0x4898c8
cmp eax, 0xffffffff
je 0x4898d7
mov eax, dword [ebp - 0x24]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4898d7
push 4
push 2
push dword [ebp - 0x24]
call fcn.00425140
add esp, 0xc
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
mov eax, dword [eax]
mov esi, dword [eax + 0x24]
call fcn.0042f930
push eax
push dword [ebp - 0x10]
call esi
test eax, eax
js 0x48992f
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x28]
push edx
push 0x6f5ecc
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
js 0x48992f
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x1c]
mov eax, dword [eax]
mov esi, dword [eax + 0x18]
call fcn.0042f930
push 1
push eax
push dword [ebp - 0x28]
call esi
mov ebx, eax
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
shr ebx, 0x1f
xor bl, 1
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 3
mov eax, dword [eax]
test eax, eax
je 0x489952
cmp eax, 0xffffffff
je 0x489961
mov eax, dword [ebp - 0x14]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x489961
push 4
push 2
push dword [ebp - 0x14]
call fcn.00425140
add esp, 0xc
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0
mov eax, dword [eax]
test eax, eax
je 0x48998d
cmp eax, 0xffffffff
je 0x48999c
mov eax, dword [ebp - 0x18]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x48999c
push 4
push 2
push dword [ebp - 0x18]
call fcn.00425140
add esp, 0xc
test bl, bl
jne 0x4899eb
lea eax, [ebp - 0x28]
push 0xffffffffffffffff
push eax
call fcn.004b98b0
add esp, 8
mov ecx, dword [ebp - 0x2c]
push eax
push 0xa
mov byte [ebp - 4], 7
call fcn.004b6de0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
test eax, eax
je 0x4899dc
cmp eax, 0xffffffff
je 0x4899eb
mov eax, dword [ebp - 0x28]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
setne al
test al, al
jne 0x4899eb
push 4
push 2
push dword [ebp - 0x28]
call fcn.00425140
add esp, 0xc
cmp byte [ebp + 0xb], 0
je 0x4899f7
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
test eax, eax
je 0x489a14
cmp eax, 0xffffffff
je 0x489a23
mov ecx, dword [ebp - 0x1c]
lock xadd dword [ecx], edi
dec edi
setne cl
test cl, cl
jne 0x489a23
push 4
push 2
push dword [ebp - 0x1c]
call fcn.00425140
add esp, 0xc
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4