Function at 0x405120
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x44fc80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push ebx
push ebp
push esi
push edi
mov esi, dword [esp + 0x110]
cmp esi, 7
mov dword [esp + 0xd8], 3
jne 0x40516d
push 0x4556bf
mov ecx, 0x46b248
call fcn.004214d0
test al, al
jne 0x4057f7
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x4057f7
lea eax, [esp + 0x10]
push eax
push 0x45cf48
push 1
push 0
push 0x45cf58
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4057f1
push 0x455b30
lea ecx, [esp + 0x38]
call fcn.004216d0
push 0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x30], esp
push str.HTTP:__
mov byte [esp + 0xec], 4
call fcn.004216d0
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x100]
mov byte [esp + 0xec], 5
call fcn.004218e0
mov ecx, eax
mov byte [esp + 0xe8], 7
call fcn.00421590
cmp eax, 1
lea ecx, [esp + 0x14]
setne bl
mov byte [esp + 0xd8], 4
call fcn.004214a0
test bl, bl
je 0x4052a4
sub esp, 0xc
lea edx, [esp + 0xf8]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00421630
lea eax, [esp + 0x20]
push eax
call fcn.00403710
add esp, 0x10
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0xdc], 8
call fcn.004216a0
lea ecx, [esp + 0x14]
mov byte [esp + 0xd8], 4
call fcn.004214a0
lea ecx, [esp + 0x34]
call fcn.00421490
cmp eax, 3
jle 0x4052a4
lea ecx, [esp + 0x34]
call fcn.00421490
sub eax, 1
push eax
push 1
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x40]
call fcn.00421970
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0xdc], 9
call fcn.004216a0
lea ecx, [esp + 0x14]
mov byte [esp + 0xd8], 4
call fcn.004214a0
push 0x4556bf
lea ecx, [esp + 0xfc]
call fcn.00421530
test al, al
je 0x4052cb
mov ecx, dword [esp + 0xfc]
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x2c]
mov ecx, dword [esp + 0xf0]
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x50]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x24]
mov ecx, dword [esp + 0xe4]
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x1c]
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push 5
push eax
call dword [edx + 0x3c]
push 0x4556bf
lea ecx, [esp + 0x108]
call fcn.00421530
test al, al
je 0x405333
mov edx, dword [esp + 0x108]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push 0
push edx
push eax
call dword [ecx + 0x44]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push 0x45cf98
push eax
call dword [ecx]
test eax, eax
jl 0x4057d6
lea ecx, [esp + 0x24]
call fcn.004217f0
lea eax, [esi - 4]
cmp eax, 5
mov bl, 0xa
mov byte [esp + 0xd8], bl
ja case.0x40536c.5
jmp dword [eax*4 + 0x405864]
push 0x4556bf
mov ecx, 0x46b248
call fcn.004214d0
test al, al
je 0x405399
push 0x4556bf
lea ecx, [esp + 0x28]
call fcn.00421860
jmp case.0x40536c.5
lea eax, [esp + 0xe0]
push eax
push 0x46b248
lea ecx, [esp + 0x84]
push ecx
call fcn.00402bc0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xdc], 0xb
call fcn.004216a0
lea ecx, [esp + 0x7c]
jmp 0x4055c5
push 0x455828
lea ecx, [esp + 0x48]
call fcn.004216d0
lea edx, [esp + 0xc4]
push 4
push edx
mov byte [esp + 0xe0], 0xc
call fcn.00420ae0
add esp, 8
lea ecx, [esp + 0x44]
push ecx
push eax
lea edx, [esp + 0xb4]
push edx
mov byte [esp + 0xe4], 0xd
call fcn.00402bc0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x2c], esp
lea edx, [esp + 0xec]
push edx
push eax
push ecx
mov byte [esp + 0xf0], 0xe
call fcn.00402bc0
lea eax, [esp + 0xa0]
push eax
call fcn.00404390
add esp, 0x10
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xdc], 0xf
call fcn.004216a0
lea ecx, [esp + 0x94]
mov byte [esp + 0xd8], 0xe
call fcn.004214a0
lea ecx, [esp + 0xac]
mov byte [esp + 0xd8], 0xd
call fcn.004214a0
lea ecx, [esp + 0xc4]
mov byte [esp + 0xd8], 0xc
call fcn.004214a0
lea ecx, [esp + 0x44]
jmp 0x4055c5
push 0x455828
lea ecx, [esp + 0x18]
call fcn.004216d0
lea ecx, [esp + 0x88]
push 8
push ecx
mov byte [esp + 0xe0], 0x10
call fcn.00420ae0
add esp, 8
lea edx, [esp + 0x14]
push edx
push eax
lea eax, [esp + 0xa8]
push eax
mov byte [esp + 0xe4], 0x11
call fcn.00402bc0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x2c], esp
lea edx, [esp + 0xec]
push edx
push eax
push ecx
mov byte [esp + 0xf0], 0x12
call fcn.00402bc0
lea eax, [esp + 0xc4]
push eax
call fcn.00404390
add esp, 0x10
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xdc], 0x13
call fcn.004216a0
lea ecx, [esp + 0xb8]
mov byte [esp + 0xd8], 0x12
call fcn.004214a0
lea ecx, [esp + 0xa0]
mov byte [esp + 0xd8], 0x11
call fcn.004214a0
lea ecx, [esp + 0x88]
mov byte [esp + 0xd8], 0x10
call fcn.004214a0
lea ecx, [esp + 0x14]
jmp 0x4055c5
cmp byte [esp + 0x114], 0
je 0x405598
lea ecx, [esp + 0xe0]
push ecx
push 0x476890
lea edx, [esp + 0x64]
push edx
call fcn.00402bc0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xdc], 0x14
call fcn.004216a0
lea ecx, [esp + 0x5c]
jmp 0x4055c5
lea eax, [esp + 0xe0]
push eax
push 0x47689c
lea ecx, [esp + 0x58]
push ecx
call fcn.00402bc0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xdc], 0x15
call fcn.004216a0
lea ecx, [esp + 0x50]
mov byte [esp + 0xd8], bl
call fcn.004214a0
lea edx, [esp + 0x6c]
push edx
call fcn.0042a3bd
mov bl, 0x16
push str..Lnk
lea ecx, [esp + 0x18]
mov byte [esp + 0xdc], bl
call fcn.004216d0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x58]
push edx
mov byte [esp + 0xe4], 0x17
call fcn.00402bc0
mov eax, dword [eax + 4]
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0xdc], 0x18
mov word [esp + 0x60], 0
call fcn.0042a4c8
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0xdc], 0x19
call fcn.0042a3a3
mov ebp, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x5c]
push ecx
call ebp
lea ecx, [esp + 0x50]
mov byte [esp + 0xd8], 0x17
call fcn.004214a0
lea ecx, [esp + 0x14]
mov byte [esp + 0xd8], bl
call fcn.004214a0
push 0x4556bf
lea ecx, [esp + 0x28]
call fcn.00421530
test al, al
je 0x4057b4
cmp byte [esp + 0x118], 0
je 0x40575a
mov edi, dword [esp + 0x120]
test edi, edi
je 0x40575a
push str..Lnk
lea ecx, [esp + 0x48]
call fcn.004216d0
push str.FileLink
lea ecx, [esp + 0x18]
mov byte [esp + 0xdc], 0x1a
call fcn.004216d0
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x2c], esp
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x34]
push ecx
push edx
mov byte [esp + 0xf0], 0x1b
call fcn.00402bc0
mov ecx, dword [esp + 0x128]
lea esi, [esp + 0x5c]
mov byte [esp + 0xe4], 0x1c
call fcn.00402c80
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x58], esp
push eax
lea eax, [esp + 0x30]
push eax
push edx
mov byte [esp + 0xfc], 0x1d
call fcn.00402bc0
mov ecx, edi
mov byte [esp + 0xf0], 0x1e
call fcn.0041e8a0
mov ecx, esi
mov byte [esp + 0xd8], 0x1b
call fcn.004214a0
lea ecx, [esp + 0x14]
mov byte [esp + 0xd8], 0x1a
call fcn.004214a0
lea ecx, [esp + 0x44]
mov byte [esp + 0xd8], bl
call fcn.004214a0
push str..Lnk
lea ecx, [esp + 0x18]
call fcn.004216d0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x4c], esp
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x34]
push eax
push ecx
mov byte [esp + 0xf0], 0x1f
call fcn.00402bc0
mov ecx, 0x476744
call fcn.00421fb0
lea ecx, [esp + 0x14]
mov byte [esp + 0xd8], bl
call fcn.004214a0
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
push 1
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea edx, [esp + 0x6c]
push edx
call ebp
lea ecx, [esp + 0x24]
mov byte [esp + 0xd8], 4
call fcn.004214a0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x34]
mov byte [esp + 0xd8], 3
call fcn.004214a0
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0xe0]
mov byte [esp + 0xd8], 2
call fcn.004214a0
lea ecx, [esp + 0xec]
mov byte [esp + 0xd8], 1
call fcn.004214a0
lea ecx, [esp + 0xf8]
mov byte [esp + 0xd8], 0
call fcn.004214a0
lea ecx, [esp + 0x104]
mov dword [esp + 0xd8], 0xffffffff
call fcn.004214a0
mov ecx, dword [esp + 0xd0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xcc
ret