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

Disassembly:
push 0xffffffffffffffff
push 0x465617
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48bb84]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov edi, dword [esp + 0x118]
mov dword [esp + 0xe0], 3
cmp edi, 7
jne 0x40592b
push 0x46dc1c
mov ecx, 0x48d374
call fcn.00425150
test al, al
jne 0x4060cf
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x4060cf
lea eax, [esp + 0x14]
push eax
push 0x47ab20
push 1
push 0
push 0x47ab80
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4060c9
push 0x46df44
lea ecx, [esp + 0x4c]
call fcn.00424ef0
push 0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x34], esp
push str.HTTP:__
mov byte [esp + 0xf4], 4
call fcn.00424ef0
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x108]
mov byte [esp + 0xf4], 5
call fcn.00425230
mov byte [esp + 0xf0], 6
mov ecx, eax
mov byte [esp + 0xf0], 7
call fcn.004252b0
cmp eax, 1
lea ecx, [esp + 0x18]
setne bl
mov byte [esp + 0xe0], 4
call fcn.004250c0
test bl, bl
je 0x405a65
sub esp, 0xc
lea edx, [esp + 0x100]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00424f60
lea esi, [esp + 0x24]
call fcn.00403ca0
add esp, 0xc
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0xe4], 8
call fcn.004250d0
mov ecx, esi
mov byte [esp + 0xe0], 4
call fcn.004250c0
lea ecx, [esp + 0x48]
call fcn.00424fd0
cmp eax, 3
jle 0x405a65
lea ecx, [esp + 0x48]
call fcn.00424fd0
dec eax
push eax
push 1
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x54]
call fcn.004252e0
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0xe4], 9
call fcn.004250d0
lea ecx, [esp + 0x18]
mov byte [esp + 0xe0], 4
call fcn.004250c0
push 0x46dc1c
lea ecx, [esp + 0x104]
call fcn.004251b0
test al, al
je 0x405a8e
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x104]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xf8]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x4c]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xec]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x3c]
push 5
push eax
call edx
push 0x46dc1c
lea ecx, [esp + 0x110]
call fcn.004251b0
test al, al
je 0x405b00
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x110]
mov ecx, dword [eax]
push 0
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push edx
push 0x47ab40
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x4060ac
lea ecx, [esp + 0x28]
call fcn.00425050
lea eax, [edi - 4]
mov bl, 0xa
mov byte [esp + 0xe0], bl
cmp eax, 5
ja case.0x405b3b.5
jmp dword [eax*4 + 0x40613c]
push 0x46dc1c
mov ecx, 0x48d374
call fcn.00425150
test al, al
je 0x405b68
push 0x46dc1c
lea ecx, [esp + 0x2c]
call fcn.004250f0
jmp case.0x405b3b.5
lea ecx, [esp + 0xe8]
push ecx
push 0x48d374
lea edx, [esp + 0x8c]
push edx
call fcn.0040bba0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe4], 0xb
call fcn.004250d0
lea ecx, [esp + 0x84]
jmp 0x405d97
push 0x46dd68
lea ecx, [esp + 0x38]
call fcn.00424ef0
lea eax, [esp + 0xcc]
push 4
push eax
mov byte [esp + 0xe8], 0xc
call fcn.004245f0
add esp, 8
lea ecx, [esp + 0x34]
push ecx
push eax
lea edx, [esp + 0xbc]
push edx
mov byte [esp + 0xec], 0xd
call fcn.0040bba0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x30], esp
lea edx, [esp + 0xf4]
push edx
push eax
push ecx
mov byte [esp + 0xf8], 0xe
call fcn.0040bba0
lea eax, [esp + 0xa8]
push eax
call fcn.00404cd0
add esp, 0x10
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe4], 0xf
call fcn.004250d0
lea ecx, [esp + 0x9c]
mov byte [esp + 0xe0], 0xe
call fcn.004250c0
lea ecx, [esp + 0xb4]
mov byte [esp + 0xe0], 0xd
call fcn.004250c0
lea ecx, [esp + 0xcc]
mov byte [esp + 0xe0], 0xc
call fcn.004250c0
lea ecx, [esp + 0x34]
jmp 0x405d97
push 0x46dd68
lea ecx, [esp + 0x1c]
call fcn.00424ef0
lea ecx, [esp + 0x90]
push 8
push ecx
mov byte [esp + 0xe8], 0x10
call fcn.004245f0
add esp, 8
lea edx, [esp + 0x18]
push edx
push eax
lea eax, [esp + 0xb0]
push eax
mov byte [esp + 0xec], 0x11
call fcn.0040bba0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x30], esp
lea edx, [esp + 0xf4]
push edx
push eax
push ecx
mov byte [esp + 0xf8], 0x12
call fcn.0040bba0
lea eax, [esp + 0xcc]
push eax
call fcn.00404cd0
add esp, 0x10
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe4], 0x13
call fcn.004250d0
lea ecx, [esp + 0xc0]
mov byte [esp + 0xe0], 0x12
call fcn.004250c0
lea ecx, [esp + 0xa8]
mov byte [esp + 0xe0], 0x11
call fcn.004250c0
lea ecx, [esp + 0x90]
mov byte [esp + 0xe0], 0x10
call fcn.004250c0
lea ecx, [esp + 0x18]
jmp 0x405d97
cmp byte [esp + 0x11c], 0
je 0x405d6a
lea ecx, [esp + 0xe8]
push ecx
push 0x48e9b8
lea edx, [esp + 0x6c]
push edx
call fcn.0040bba0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe4], 0x14
call fcn.004250d0
lea ecx, [esp + 0x64]
jmp 0x405d97
lea eax, [esp + 0xe8]
push eax
push 0x48e9c4
lea ecx, [esp + 0x5c]
push ecx
call fcn.0040bba0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe4], 0x15
call fcn.004250d0
lea ecx, [esp + 0x54]
mov byte [esp + 0xe0], bl
call fcn.004250c0
lea edx, [esp + 0x74]
push edx
call fcn.00438185
mov bl, 0x16
push str..Lnk
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe4], bl
call fcn.00424ef0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x5c]
push edx
mov byte [esp + 0xec], 0x17
call fcn.0040bba0
mov eax, dword [eax + 4]
xor ecx, ecx
mov word [esp + 0x64], cx
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0xe4], 0x18
call fcn.004387d4
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x78]
mov byte [esp + 0xe4], 0x19
call fcn.00438161
mov ebp, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x64]
push eax
call ebp
lea ecx, [esp + 0x54]
mov byte [esp + 0xe0], 0x17
call fcn.004250c0
lea ecx, [esp + 0x18]
mov byte [esp + 0xe0], bl
call fcn.004250c0
push 0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x46df30
call fcn.00424ef0
lea ecx, [esp + 0x38]
call fcn.004252b0
test eax, eax
jle 0x405f40
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x46dc1c
call fcn.00424ef0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x78], esp
push 0x46df30
mov byte [esp + 0xfc], 0x1a
call fcn.00424ef0
sub esp, 0xc
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x68], esp
push edx
mov byte [esp + 0x108], 0x1b
call fcn.00424f60
lea eax, [esp + 0x78]
push eax
mov byte [esp + 0x108], bl
call fcn.00403040
add esp, 0x28
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe4], 0x1c
call fcn.004250d0
lea ecx, [esp + 0x54]
mov byte [esp + 0xe0], bl
call fcn.004250c0
push str..lnk
lea ecx, [esp + 0x1c]
call fcn.00424ef0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0xec], 0x1d
call fcn.0040bba0
lea ecx, [esp + 0x18]
mov byte [esp + 0xe0], 0x1f
call fcn.004250c0
mov ecx, dword [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x34]
mov byte [esp + 0xe0], bl
call fcn.004250c0
jmp 0x406088
push 0x46dc1c
lea ecx, [esp + 0x2c]
call fcn.004251b0
test al, al
je 0x406088
cmp byte [esp + 0x120], 0
je 0x40602c
mov edi, dword [esp + 0x128]
test edi, edi
je 0x40602c
push str..Lnk
lea ecx, [esp + 0x38]
call fcn.00424ef0
push str.FileLink
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe4], 0x20
call fcn.00424ef0
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x50], esp
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x38]
push ecx
push edx
mov byte [esp + 0xf8], 0x21
call fcn.0040bba0
mov ecx, dword [esp + 0x130]
lea esi, [esp + 0x60]
mov byte [esp + 0xec], 0x22
call fcn.00402f50
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x78], esp
push eax
lea eax, [esp + 0x34]
push eax
push edx
mov byte [esp + 0x104], 0x23
call fcn.0040bba0
mov ecx, edi
mov byte [esp + 0xf8], 0x24
call fcn.00421fa0
mov ecx, esi
mov byte [esp + 0xe0], 0x21
call fcn.004250c0
lea ecx, [esp + 0x18]
mov byte [esp + 0xe0], 0x20
call fcn.004250c0
lea ecx, [esp + 0x34]
mov byte [esp + 0xe0], bl
call fcn.004250c0
push str..Lnk
lea ecx, [esp + 0x1c]
call fcn.00424ef0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x50], esp
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x38]
push eax
push ecx
mov byte [esp + 0xf8], 0x25
call fcn.0040bba0
mov ecx, 0x48e86c
call fcn.00425510
lea ecx, [esp + 0x18]
mov byte [esp + 0xe0], bl
call fcn.004250c0
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x7c]
mov ecx, dword [eax]
push 1
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x74]
push eax
call ebp
lea ecx, [esp + 0x28]
mov byte [esp + 0xe0], 4
call fcn.004250c0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x48]
mov byte [esp + 0xe0], 3
call fcn.004250c0
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0xe8]
mov byte [esp + 0xe0], 2
call fcn.004250c0
lea ecx, [esp + 0xf4]
mov byte [esp + 0xe0], 1
call fcn.004250c0
lea ecx, [esp + 0x100]
mov byte [esp + 0xe0], 0
call fcn.004250c0
lea ecx, [esp + 0x10c]
mov dword [esp + 0xe0], 0xffffffff
call fcn.004250c0
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret