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

Disassembly:
push 0xffffffffffffffff
push 0x469990
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x491c04]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
mov edi, dword [esp + 0x130]
mov dword [esp + 0xf8], 3
cmp edi, 7
jne 0x4064bb
push 0x473030
mov ecx, 0x493354
call fcn.004291c0
test al, al
jne 0x406cfe
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x406cfe
lea eax, [esp + 0x18]
push eax
push 0x480a80
push 1
push 0
push 0x480af0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x406cfe
push 0x473368
lea ecx, [esp + 0x4c]
call fcn.00428f60
push 0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x24], esp
push str.HTTP:__
mov byte [esp + 0x10c], 4
call fcn.00428f60
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x120]
mov byte [esp + 0x10c], 5
call fcn.004292a0
mov byte [esp + 0x108], 6
mov ecx, eax
mov byte [esp + 0x108], 7
call fcn.00429320
cmp eax, 1
lea ecx, [esp + 0x1c]
setne bl
mov byte [esp + 0xf8], 4
call fcn.00429130
test bl, bl
je 0x4065f5
sub esp, 0xc
lea edx, [esp + 0x118]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00428fd0
lea esi, [esp + 0x28]
call fcn.00417e90
add esp, 0xc
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0xfc], 8
call fcn.00429140
mov ecx, esi
mov byte [esp + 0xf8], 4
call fcn.00429130
lea ecx, [esp + 0x48]
call fcn.00429040
cmp eax, 3
jle 0x4065f5
lea ecx, [esp + 0x48]
call fcn.00429040
dec eax
push eax
push 1
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x54]
call fcn.00429350
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0xfc], 9
call fcn.00429140
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf8], 4
call fcn.00429130
push 0x473030
lea ecx, [esp + 0x11c]
call fcn.00429220
test al, al
je 0x40661e
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x11c]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x110]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x4c]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x3c]
push 5
push eax
call edx
push 0x473030
lea ecx, [esp + 0x128]
call fcn.00429220
test al, al
je 0x40667c
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x128]
mov ecx, dword [eax]
push 0
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x44]
push edx
push 0x480aa0
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x406ce1
lea ecx, [esp + 0x28]
call fcn.004290c0
lea eax, [edi - 4]
mov byte [esp + 0xf8], 0xa
cmp eax, 5
ja case.0x4066b6.5
jmp dword [eax*4 + 0x406d6c]
push 0x473030
mov ecx, 0x493354
call fcn.004291c0
test al, al
je 0x4066e3
push 0x473030
lea ecx, [esp + 0x2c]
call fcn.00429160
jmp case.0x4066b6.5
sub esp, 0xc
lea edx, [esp + 0x10c]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00428fd0
lea esi, [esp + 0x6c]
call fcn.00417e90
add esp, 0xc
lea eax, [esp + 0x100]
push eax
push 0x493354
lea ecx, [esp + 0x98]
mov bl, 0xb
push ecx
mov byte [esp + 0x104], bl
call fcn.0040caf0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xfc], 0xc
call fcn.00429140
lea ecx, [esp + 0x90]
mov byte [esp + 0xf8], bl
call fcn.00429130
push 0x473030
mov ecx, esi
call fcn.00429220
test al, al
je 0x4067b9
mov ecx, esi
call fcn.00429040
dec eax
push eax
push 1
lea edx, [esp + 0xbc]
push edx
mov ecx, esi
call fcn.00429350
push eax
mov ecx, esi
mov byte [esp + 0xfc], 0xd
call fcn.00429140
lea ecx, [esp + 0xb4]
mov byte [esp + 0xf8], bl
call fcn.00429130
sub esp, 0xc
mov eax, esp
mov dword [esp + 0x20], esp
mov ecx, esi
push ecx
push 0x493354
push eax
call fcn.0040caf0
call fcn.00404f00
add esp, 0xc
lea ecx, [esp + 0x60]
jmp 0x4069b9
push 0x47317c
lea ecx, [esp + 0x3c]
call fcn.00428f60
lea edx, [esp + 0xa8]
push 4
push edx
mov byte [esp + 0x100], 0xe
call fcn.004284e0
add esp, 8
lea ecx, [esp + 0x38]
push ecx
push eax
lea edx, [esp + 0xec]
push edx
mov byte [esp + 0x104], 0xf
call fcn.0040caf0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x20], esp
lea edx, [esp + 0x10c]
push edx
push eax
mov bl, 0x10
push ecx
mov byte [esp + 0x110], bl
call fcn.0040caf0
lea eax, [esp + 0xd8]
push eax
call fcn.00405780
add esp, 0x10
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xfc], 0x11
call fcn.00429140
lea ecx, [esp + 0xcc]
mov byte [esp + 0xf8], bl
call fcn.00429130
lea ecx, [esp + 0xe4]
mov byte [esp + 0xf8], 0xf
call fcn.00429130
lea ecx, [esp + 0xa8]
mov byte [esp + 0xf8], 0xe
call fcn.00429130
lea ecx, [esp + 0x38]
jmp 0x4069b9
push 0x47317c
lea ecx, [esp + 0x20]
call fcn.00428f60
lea ecx, [esp + 0x9c]
push 8
push ecx
mov byte [esp + 0x100], 0x12
call fcn.004284e0
add esp, 8
lea edx, [esp + 0x1c]
push edx
push eax
lea eax, [esp + 0xc8]
push eax
mov byte [esp + 0x104], 0x13
call fcn.0040caf0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x20], esp
lea edx, [esp + 0x10c]
push edx
push eax
mov bl, 0x14
push ecx
mov byte [esp + 0x110], bl
call fcn.0040caf0
lea eax, [esp + 0xe4]
push eax
call fcn.00405780
add esp, 0x10
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xfc], 0x15
call fcn.00429140
lea ecx, [esp + 0xd8]
mov byte [esp + 0xf8], bl
call fcn.00429130
lea ecx, [esp + 0xc0]
mov byte [esp + 0xf8], 0x13
call fcn.00429130
lea ecx, [esp + 0x9c]
mov byte [esp + 0xf8], 0x12
call fcn.00429130
lea ecx, [esp + 0x1c]
jmp 0x4069b9
cmp byte [esp + 0x134], 0
je 0x40698c
lea ecx, [esp + 0x100]
push ecx
push 0x494a3c
lea edx, [esp + 0x78]
push edx
call fcn.0040caf0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xfc], 0x16
call fcn.00429140
lea ecx, [esp + 0x70]
jmp 0x4069b9
lea eax, [esp + 0x100]
push eax
push 0x494a48
lea ecx, [esp + 0x5c]
push ecx
call fcn.0040caf0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xfc], 0x17
call fcn.00429140
lea ecx, [esp + 0x54]
mov byte [esp + 0xf8], 0xa
call fcn.00429130
lea edx, [esp + 0x80]
push edx
call fcn.0043c49c
mov bl, 0x18
push str..Lnk
lea ecx, [esp + 0x20]
mov byte [esp + 0xfc], bl
call fcn.00428f60
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x5c]
push edx
mov byte [esp + 0x104], 0x19
call fcn.0040caf0
mov eax, dword [eax + 4]
xor ecx, ecx
mov word [esp + 0x70], cx
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0xfc], 0x1a
call fcn.0043caef
lea edx, [esp + 0x70]
push edx
lea ecx, [esp + 0x84]
mov byte [esp + 0xfc], 0x1b
call fcn.0043c478
mov ebp, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x70]
push eax
call ebp
lea ecx, [esp + 0x54]
mov byte [esp + 0xf8], 0x19
call fcn.00429130
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf8], bl
call fcn.00429130
push 0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x473354
call fcn.00428f60
lea ecx, [esp + 0x38]
call fcn.00429320
test eax, eax
jle 0x406b6c
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x473030
call fcn.00428f60
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x84], esp
push 0x473354
mov byte [esp + 0x114], 0x1c
call fcn.00428f60
sub esp, 0xc
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
mov byte [esp + 0x120], 0x1d
call fcn.00428fd0
lea eax, [esp + 0x78]
push eax
mov byte [esp + 0x120], bl
call fcn.00403670
add esp, 0x28
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xfc], 0x1e
call fcn.00429140
lea ecx, [esp + 0x54]
mov byte [esp + 0xf8], bl
call fcn.00429130
push str..lnk
lea ecx, [esp + 0x20]
call fcn.00428f60
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x104], 0x1f
call fcn.0040caf0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf8], 0x21
call fcn.00429130
mov ecx, dword [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x38]
mov byte [esp + 0xf8], bl
call fcn.00429130
jmp 0x406cba
push 0x473030
lea ecx, [esp + 0x2c]
call fcn.00429220
test al, al
je 0x406cba
cmp byte [esp + 0x138], 0
je 0x406c5b
mov edi, dword [esp + 0x140]
test edi, edi
je 0x406c5b
push str..Lnk
lea ecx, [esp + 0x3c]
call fcn.00428f60
push str.FileLink
lea ecx, [esp + 0x20]
mov byte [esp + 0xfc], 0x22
call fcn.00428f60
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x40], esp
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x38]
push ecx
push edx
mov byte [esp + 0x110], 0x23
call fcn.0040caf0
mov ecx, dword [esp + 0x148]
lea esi, [esp + 0x60]
mov byte [esp + 0x104], 0x24
call fcn.00403550
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x84], esp
push eax
lea eax, [esp + 0x38]
push eax
push edx
mov byte [esp + 0x11c], 0x25
call fcn.0040caf0
mov ecx, edi
mov byte [esp + 0x110], 0x26
call fcn.004258b0
mov ecx, esi
mov byte [esp + 0xf8], 0x23
call fcn.00429130
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf8], 0x22
call fcn.00429130
lea ecx, [esp + 0x38]
mov byte [esp + 0xf8], bl
call fcn.00429130
push str..Lnk
lea ecx, [esp + 0x20]
call fcn.00428f60
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x40], esp
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x38]
push eax
push ecx
mov byte [esp + 0x110], 0x27
call fcn.0040caf0
mov ecx, 0x4948f0
call fcn.00429580
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf8], bl
call fcn.00429130
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x88]
mov ecx, dword [eax]
push 1
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x80]
push eax
call ebp
lea ecx, [esp + 0x28]
mov byte [esp + 0xf8], 4
call fcn.00429130
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x48]
mov byte [esp + 0xf8], 3
call fcn.00429130
lea ecx, [esp + 0x100]
mov byte [esp + 0xf8], 2
call fcn.00429130
lea ecx, [esp + 0x10c]
mov byte [esp + 0xf8], 1
call fcn.00429130
lea ecx, [esp + 0x118]
mov byte [esp + 0xf8], 0
call fcn.00429130
lea ecx, [esp + 0x124]
mov dword [esp + 0xf8], 0xffffffff
call fcn.00429130
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe8
ret