Function at 0x10099d20
Capabilities:
Check if file exists
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ec410
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10124b64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x18], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10099f75
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
push 0x100fe4a4
push 0x17
push 0
push 0x10108c7c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x10099f5d
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x20], 0
call fcn.10007e60
push 1
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.1009a440
add esp, 0xc
mov edx, dword [ebp - 0x28]
or ebx, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10099de4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x14]
push 5
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x1c]
push edx
push 0x10108c6c
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 4
call dword [ecx]
test eax, eax
js 0x10099f30
mov edi, dword [ebp - 0x1c]
test esi, esi
jne 0x10099f1b
mov dword [ebp - 0x24], esi
mov eax, dword [edi]
push 1
push esi
push edi
mov byte [ebp - 4], 5
call dword [eax + 0x18]
push esi
mov edi, eax
mov byte [ebp - 4], 4
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
js 0x10099f30
cmp dword [ebp + 0x18], 0
mov esi, dword [sym.imp.SHELL32.dll_SHChangeNotify]
je 0x10099ec6
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], 0
call fcn.10007e60
push 1
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1009a440
add esp, 0xc
lea ecx, [ebp - 0x24]
call fcn.10008cd0
push 0
push dword [ebp - 0x18]
push 0x1005
push 0x1000
call esi
lea ecx, [ebp - 0x18]
call fcn.10008cd0
push 0
push 0x2a
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0
push 0x1000
push 0x8000000
call esi
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
test eax, eax
je 0x10099ef8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x20]
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10099f14
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
jmp 0x10099f5f
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
je 0x10099f91
jmp 0x10099e4f
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
test eax, eax
je 0x10099f41
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x20]
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10099f5d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x10099f73
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009b46e
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.10009e10
int3