Function at 0x406300
Capabilities:
Check if file exists
Create directory
Create shortcut via ishelllink
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x744
mov eax, dword [0x46ad0c]
push ebx
push esi
mov dword [esp + 0x748], eax
mov eax, dword [0x46c230]
push edi
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 4]
push ecx
lea edx, [esp + 0x334]
push 0x45d948
push edx
call fcn.0044b73f
add esp, 0xc
lea eax, [esp + 0x330]
push eax
push str.http:__www.wn51.com_
push 0x45d92c
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov byte [esp + 0x18], 0
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
push 0
push 0x17
lea ecx, [esp + 0x20]
stosw word es:[edi], ax
push ecx
push 0
stosb byte es:[edi], al
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x406397
mov ecx, dword [esp + 0x74c]
call fcn.0044b7c8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edi, [esp + 0x18]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4063a0
mov edx, dword [0x45d90c]
mov eax, dword [0x45d910]
mov cx, word [0x45d914]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [edi], edx
push 0
lea edx, [esp + 0x1c]
mov dword [edi + 4], eax
push edx
mov word [edi + 8], cx
call esi
lea edi, [esp + 0x18]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4063d7
mov eax, dword [0x45d9dc]
mov ecx, dword [0x45d9e0]
mov edx, dword [0x45d9e4]
mov dword [edi], eax
push 0
lea eax, [esp + 0x1c]
mov dword [edi + 4], ecx
push eax
mov dword [edi + 8], edx
call esi
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x124]
push 0x45d9c8
push edx
call fcn.0044b73f
mov eax, dword [0x46c230]
mov ecx, dword [eax + 4]
push ecx
lea edx, [esp + 0x238]
push str._swniewnie.exe
push edx
call fcn.0044b73f
mov esi, dword [sym.imp.ole32.dll_CoInitialize]
add esp, 0x18
push 0
call esi
test eax, eax
mov edi, dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
jl 0x4064ed
lea eax, [esp + 0xc]
push eax
push 0x464d8c
push 1
push 0
push 0x464d9c
call edi
test eax, eax
jl 0x4064e7
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x228]
push edx
push eax
call dword [ecx + 0x50]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x3c]
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push 0x464dac
push eax
call dword [edx]
test eax, eax
jl 0x4064dd
push 0x104
lea edx, [esp + 0x544]
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x12c]
push eax
push 0
push 0
call ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push 0
lea edx, [esp + 0x544]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
push eax
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x124]
push 0x45d864
push ecx
call fcn.0044b73f
mov edx, dword [0x46c230]
mov eax, dword [edx + 4]
push eax
lea ecx, [esp + 0x238]
push 0x45d948
push ecx
call fcn.0044b73f
add esp, 0x18
push 0
call esi
test eax, eax
jl 0x4065c8
lea edx, [esp + 0xc]
push edx
push 0x464d8c
push 1
push 0
push 0x464d9c
call edi
test eax, eax
jl 0x4065c2
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x228]
push edx
push eax
call dword [ecx + 0x50]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x3c]
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push 0x464dac
push eax
call dword [edx]
test eax, eax
jl 0x4065b8
push 0x104
lea edx, [esp + 0x544]
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x12c]
push eax
push 0
push 0
call ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push 0
lea edx, [esp + 0x544]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
push eax
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x124]
push 0x45d8ec
push ecx
call fcn.0044b73f
mov edx, dword [0x46c230]
mov eax, dword [edx + 4]
add eax, 0x104
push eax
lea ecx, [esp + 0x238]
push 0x45d8d4
push ecx
call fcn.0044b73f
push str.__twnbrowser__mUpdate
lea edx, [esp + 0x454]
push 0x45c28c
push edx
call fcn.0044b73f
mov esi, dword [esp + 0x38]
add esp, 0x24
lea eax, [esp + 0x438]
push eax
push 0
push 0
push 1
push 0
lea ecx, [esp + 0x23c]
push ecx
lea edx, [esp + 0x138]
push edx
mov ecx, esi
call fcn.00405720
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x124]
push 0x45d998
push ecx
call fcn.0044b73f
mov edx, dword [0x46c230]
mov eax, dword [edx + 4]
push eax
lea ecx, [esp + 0x238]
push str._suninst.exe
push ecx
call fcn.0044b73f
add esp, 0x18
lea edx, [esp + 0x120]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4066ae
push str.wnie
push eax
push eax
push 1
push eax
lea eax, [esp + 0x23c]
push eax
lea ecx, [esp + 0x138]
push ecx
mov ecx, esi
call fcn.00405720
mov ecx, dword [esp + 0x74c]
mov eax, 1
call fcn.0044b7c8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret