Function at 0x40a870
Capabilities:
Create shortcut via ishelllink
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db3c8
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x5246f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x7c], ecx
mov ecx, dword [ebp + 0xc]
call fcn.00404cf0
push eax
call fcn.004081a0
add esp, 4
movzx eax, al
test eax, eax
jne 0x40a8bd
xor al, al
jmp 0x40ab57
mov ecx, dword [ebp + 8]
call fcn.00404cf0
push eax
call fcn.004081c0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x40a8f0
push 0
push str.http:__
mov ecx, dword [ebp + 8]
call fcn.00402c80
cmp eax, 0xffffffff
jne 0x40a8f0
xor al, al
jmp 0x40ab57
push 0x50fa28
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.00403800
add esp, 0xc
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x84], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x84]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.00407460
add esp, 0xc
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], edx
mov byte [ebp - 4], 1
push str..lnk
mov eax, dword [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.00407420
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.00405540
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00405540
lea ecx, [ebp - 0x64]
call fcn.00404cf0
push eax
call fcn.004081c0
add esp, 4
movzx edx, al
test edx, edx
je 0x40a99c
lea ecx, [ebp - 0x64]
call fcn.00404cf0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], 0
lea eax, [ebp - 0x68]
push eax
push 0x4e07ec
push 1
push 0
push 0x4e080c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x40a9e1
mov byte [ebp - 0x75], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00405540
mov al, byte [ebp - 0x75]
jmp 0x40ab57
lea ecx, [ebp - 0x6c]
push ecx
push 0x4e07fc
mov edx, dword [ebp - 0x68]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x68]
push ecx
mov edx, dword [eax]
call edx
test eax, eax
jge 0x40aa24
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ecx + 8]
call eax
mov byte [ebp - 0x76], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00405540
mov al, byte [ebp - 0x76]
jmp 0x40ab57
mov ecx, dword [ebp + 0x14]
call fcn.00404cf0
push eax
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [edx + 0x24]
call ecx
movzx edx, word [ebp + 0x18]
push edx
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ecx + 0x34]
call eax
mov ecx, dword [ebp + 0x20]
call fcn.00404cf0
push eax
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [edx + 0x1c]
call ecx
mov edx, dword [ebp + 0x28]
push edx
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ecx + 0x3c]
call eax
mov ecx, dword [ebp + 0x24]
call fcn.00404cf0
push eax
call fcn.004081c0
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x40aaa8
push 0
mov ecx, dword [ebp + 0x24]
call fcn.00404cf0
push eax
mov edx, dword [ebp - 0x68]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x68]
push ecx
mov edx, dword [eax + 0x44]
call edx
mov ecx, dword [ebp + 8]
call fcn.00404cf0
push eax
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ecx + 0x50]
call eax
test eax, eax
jge 0x40aadb
mov byte [ebp - 0x77], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00405540
mov al, byte [ebp - 0x77]
jmp 0x40ab57
mov ecx, dword [ebp + 0x1c]
call fcn.00404cf0
push eax
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [edx + 0x2c]
call ecx
lea ecx, [ebp - 0x64]
call fcn.00404cf0
push eax
call fcn.004075e0
add esp, 4
mov dword [ebp - 0x74], eax
push 1
mov edx, dword [ebp - 0x74]
push edx
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x6c]
push edx
mov eax, dword [ecx + 0x18]
call eax
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x68]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x68]
push ecx
mov edx, dword [eax + 8]
call edx
xor eax, eax
cmp dword [ebp - 0x70], 0
setge al
mov byte [ebp - 0x78], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00405540
mov al, byte [ebp - 0x78]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045f522
mov esp, ebp
pop ebp
ret 0x24