Function at 0x405230
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x460890
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x486904]
xor eax, esp
push eax
lea eax, [esp + 0xd4]
mov dword fs:[0], eax
mov edi, dword [esp + 0x114]
cmp edi, 7
mov dword [esp + 0xdc], 3
jne 0x40528b
push 0x469790
mov ecx, 0x488154
call fcn.004212f0
test al, al
jne 0x405931
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x405931
lea eax, [esp + 0x14]
push eax
push 0x4754e8
push 1
push 0
push 0x4754f8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x40592b
push 0x469e38
lea ecx, [esp + 0x3c]
call fcn.004214e0
push 0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x34], esp
push str.HTTP:__
mov byte [esp + 0xf0], 4
call fcn.004214e0
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x104]
mov byte [esp + 0xf0], 5
call fcn.00421710
mov byte [esp + 0xec], 6
mov ecx, eax
mov byte [esp + 0xec], 7
call fcn.00421380
cmp eax, 1
lea ecx, [esp + 0x18]
setne bl
mov byte [esp + 0xdc], 4
call fcn.004212c0
test bl, bl
je 0x4053c7
sub esp, 0xc
lea edx, [esp + 0xfc]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00421420
lea esi, [esp + 0x24]
call fcn.00403890
add esp, 0xc
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0xe0], 8
call fcn.004214b0
mov ecx, esi
mov byte [esp + 0xdc], 4
call fcn.004212c0
lea ecx, [esp + 0x38]
call fcn.004212b0
cmp eax, 3
jle 0x4053c7
lea ecx, [esp + 0x38]
call fcn.004212b0
sub eax, 1
push eax
push 1
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x44]
call fcn.004217b0
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0xe0], 9
call fcn.004214b0
lea ecx, [esp + 0x18]
mov byte [esp + 0xdc], 4
call fcn.004212c0
push 0x469790
lea ecx, [esp + 0x100]
call fcn.00421350
test al, al
je 0x4053f0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x100]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xf4]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x3c]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xe8]
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 0x469790
lea ecx, [esp + 0x10c]
call fcn.00421350
test al, al
je 0x405462
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10c]
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 + 0x34]
push edx
push 0x475538
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x40590e
lea ecx, [esp + 0x28]
call fcn.00421640
lea eax, [edi - 4]
cmp eax, 5
mov bl, 0xa
mov byte [esp + 0xdc], bl
ja case.0x40549d.5
jmp dword [eax*4 + 0x4059a0]
push 0x469790
mov ecx, 0x488154
call fcn.004212f0
test al, al
je 0x4054ca
push 0x469790
lea ecx, [esp + 0x2c]
call fcn.004216d0
jmp case.0x40549d.5
lea ecx, [esp + 0xe4]
push ecx
push 0x488154
lea edx, [esp + 0x88]
push edx
call fcn.00402d00
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe0], 0xb
call fcn.004214b0
lea ecx, [esp + 0x80]
jmp 0x4056f9
push 0x469904
lea ecx, [esp + 0x4c]
call fcn.004214e0
lea eax, [esp + 0xc8]
push 4
push eax
mov byte [esp + 0xe4], 0xc
call fcn.004208a0
add esp, 8
lea ecx, [esp + 0x48]
push ecx
push eax
lea edx, [esp + 0xb8]
push edx
mov byte [esp + 0xe8], 0xd
call fcn.00402d00
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x30], esp
lea edx, [esp + 0xf0]
push edx
push eax
push ecx
mov byte [esp + 0xf4], 0xe
call fcn.00402d00
lea eax, [esp + 0xa4]
push eax
call fcn.004045e0
add esp, 0x10
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe0], 0xf
call fcn.004214b0
lea ecx, [esp + 0x98]
mov byte [esp + 0xdc], 0xe
call fcn.004212c0
lea ecx, [esp + 0xb0]
mov byte [esp + 0xdc], 0xd
call fcn.004212c0
lea ecx, [esp + 0xc8]
mov byte [esp + 0xdc], 0xc
call fcn.004212c0
lea ecx, [esp + 0x48]
jmp 0x4056f9
push 0x469904
lea ecx, [esp + 0x1c]
call fcn.004214e0
lea ecx, [esp + 0x8c]
push 8
push ecx
mov byte [esp + 0xe4], 0x10
call fcn.004208a0
add esp, 8
lea edx, [esp + 0x18]
push edx
push eax
lea eax, [esp + 0xac]
push eax
mov byte [esp + 0xe8], 0x11
call fcn.00402d00
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x30], esp
lea edx, [esp + 0xf0]
push edx
push eax
push ecx
mov byte [esp + 0xf4], 0x12
call fcn.00402d00
lea eax, [esp + 0xc8]
push eax
call fcn.004045e0
add esp, 0x10
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe0], 0x13
call fcn.004214b0
lea ecx, [esp + 0xbc]
mov byte [esp + 0xdc], 0x12
call fcn.004212c0
lea ecx, [esp + 0xa4]
mov byte [esp + 0xdc], 0x11
call fcn.004212c0
lea ecx, [esp + 0x8c]
mov byte [esp + 0xdc], 0x10
call fcn.004212c0
lea ecx, [esp + 0x18]
jmp 0x4056f9
cmp byte [esp + 0x118], 0
je 0x4056cc
lea ecx, [esp + 0xe4]
push ecx
push 0x493798
lea edx, [esp + 0x68]
push edx
call fcn.00402d00
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe0], 0x14
call fcn.004214b0
lea ecx, [esp + 0x60]
jmp 0x4056f9
lea eax, [esp + 0xe4]
push eax
push 0x4937a4
lea ecx, [esp + 0x5c]
push ecx
call fcn.00402d00
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe0], 0x15
call fcn.004214b0
lea ecx, [esp + 0x54]
mov byte [esp + 0xdc], bl
call fcn.004212c0
lea edx, [esp + 0x70]
push edx
call fcn.004334d4
mov bl, 0x16
push str..Lnk
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe0], bl
call fcn.004214e0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x5c]
push edx
mov byte [esp + 0xe8], 0x17
call fcn.00402d00
mov eax, dword [eax + 4]
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0xe0], 0x18
mov word [esp + 0x64], 0
call fcn.00433ad1
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0xe0], 0x19
call fcn.004334b4
mov ebp, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x60]
push ecx
call ebp
lea ecx, [esp + 0x54]
mov byte [esp + 0xdc], 0x17
call fcn.004212c0
lea ecx, [esp + 0x18]
mov byte [esp + 0xdc], bl
call fcn.004212c0
push 0x469790
lea ecx, [esp + 0x2c]
call fcn.00421350
test al, al
je 0x4058ea
cmp byte [esp + 0x11c], 0
je 0x40588e
mov edi, dword [esp + 0x124]
test edi, edi
je 0x40588e
push str..Lnk
lea ecx, [esp + 0x4c]
call fcn.004214e0
push str.FileLink
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe0], 0x1a
call fcn.004214e0
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x30], esp
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x38]
push ecx
push edx
mov byte [esp + 0xf4], 0x1b
call fcn.00402d00
mov ecx, dword [esp + 0x12c]
lea esi, [esp + 0x60]
mov byte [esp + 0xe8], 0x1c
call fcn.00402dd0
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x5c], esp
push eax
lea eax, [esp + 0x34]
push eax
push edx
mov byte [esp + 0x100], 0x1d
call fcn.00402d00
mov ecx, edi
mov byte [esp + 0xf4], 0x1e
call fcn.0041eef0
mov ecx, esi
mov byte [esp + 0xdc], 0x1b
call fcn.004212c0
lea ecx, [esp + 0x18]
mov byte [esp + 0xdc], 0x1a
call fcn.004212c0
lea ecx, [esp + 0x48]
mov byte [esp + 0xdc], bl
call fcn.004212c0
push str..Lnk
lea ecx, [esp + 0x1c]
call fcn.004214e0
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 + 0xf4], 0x1f
call fcn.00402d00
mov ecx, 0x49364c
call fcn.00422390
lea ecx, [esp + 0x18]
mov byte [esp + 0xdc], bl
call fcn.004212c0
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x78]
mov ecx, dword [eax]
push 1
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x70]
push eax
call ebp
lea ecx, [esp + 0x28]
mov byte [esp + 0xdc], 4
call fcn.004212c0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x38]
mov byte [esp + 0xdc], 3
call fcn.004212c0
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0xe4]
mov byte [esp + 0xdc], 2
call fcn.004212c0
lea ecx, [esp + 0xf0]
mov byte [esp + 0xdc], 1
call fcn.004212c0
lea ecx, [esp + 0xfc]
mov byte [esp + 0xdc], 0
call fcn.004212c0
lea ecx, [esp + 0x108]
mov dword [esp + 0xdc], 0xffffffff
call fcn.004212c0
mov ecx, dword [esp + 0xd4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcc
ret