Function at 0x404490
Capabilities:
Create directory
Create shortcut via ishelllink
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42c376
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x330
mov eax, dword [0x43a180]
push ebx
mov dword [esp + 0x32c], eax
mov eax, dword [ebp + 0xc]
test eax, eax
push esi
push edi
jne 0x40450d
mov eax, dword [ebp + 8]
mov edx, dword [ecx + 4]
imul eax, eax, 0x1c
add eax, edx
mov edx, dword [eax + 8]
test edx, edx
jne 0x40450d
add eax, 0x18
push eax
add ecx, 0x1c
push ecx
lea eax, [esp + 0x1c]
push eax
call fcn.00403e90
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x40499a
push 0x42e2d8
lea ebx, [ecx + 0x1c]
push ebx
lea eax, [esp + 0x1c]
push eax
call fcn.00403f40
mov eax, dword [eax]
push eax
push str.http:__www.wn51.com
push 0x42e2d4
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404556
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov byte [esp + 0x20], 0
mov ecx, 0x40
lea edi, [esp + 0x21]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
stosb byte es:[edi], al
push 2
lea eax, [esp + 0x28]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x4049a9
lea edi, [esp + 0x20]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x404590
mov ecx, dword [0x42e2b4]
mov edx, dword [0x42e2b8]
mov ax, word [0x42e2bc]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [edi], ecx
push 0
lea ecx, [esp + 0x24]
mov dword [edi + 4], edx
push ecx
mov word [edi + 8], ax
call esi
lea edi, [esp + 0x20]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4045c7
mov edx, dword [0x42e2ac]
mov eax, dword [0x42e2b0]
push 0
lea ecx, [esp + 0x24]
mov dword [edi], edx
push ecx
mov dword [edi + 4], eax
call esi
call fcn.0041f2f3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x344], 0
call fcn.0041f2f3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push 0x42e294
push ecx
mov byte [esp + 0x350], 1
call fcn.00403e70
mov edx, dword [ebx]
push edx
lea eax, [esp + 0x24]
push str._swnwbIMETool.exe
push eax
call fcn.00403e70
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]
jl 0x4046f9
lea ecx, [esp + 0x10]
push ecx
push 0x432a4c
push 1
push 0
push 0x432a5c
call edi
test eax, eax
jl 0x4046f3
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x50]
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push 1
push eax
call dword [edx + 0x3c]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x432a9c
push eax
call dword [ecx]
test eax, eax
jl 0x4046e9
mov ecx, dword [esp + 0x1c]
push 0x104
lea eax, [esp + 0x12c]
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push 0
lea ecx, [esp + 0x12c]
push ecx
push eax
call dword [edx + 0x18]
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push 0x42e274
push eax
call fcn.00403e70
mov ecx, dword [ebx]
push ecx
lea edx, [esp + 0x24]
push str._swnwbwnbhelp.chm
push edx
call fcn.00403e70
add esp, 0x18
push 0
call esi
test eax, eax
jl 0x4047c5
lea eax, [esp + 0x10]
push eax
push 0x432a4c
push 1
push 0
push 0x432a5c
call edi
test eax, eax
jl 0x4047bf
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x50]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x3c]
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
push 0x432a9c
push eax
call dword [edx]
test eax, eax
jl 0x4047b5
mov eax, dword [esp + 0x1c]
push 0x104
lea edx, [esp + 0x12c]
push edx
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push 0
lea edx, [esp + 0x12c]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push eax
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push 0x42e250
push ecx
call fcn.00403e70
mov edx, dword [ebx]
push edx
lea eax, [esp + 0x24]
push 0x42e23c
push eax
call fcn.00403e70
add esp, 0x18
push 0
call esi
test eax, eax
jl 0x404891
lea ecx, [esp + 0x10]
push ecx
push 0x432a4c
push 1
push 0
push 0x432a5c
call edi
test eax, eax
jl 0x40488b
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x50]
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push 1
push eax
call dword [edx + 0x3c]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x432a9c
push eax
call dword [ecx]
test eax, eax
jl 0x404881
mov ecx, dword [esp + 0x1c]
push 0x104
lea eax, [esp + 0x12c]
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push 0
lea ecx, [esp + 0x12c]
push ecx
push eax
call dword [edx + 0x18]
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push 0x42e230
push eax
call fcn.00403e70
mov ecx, dword [ebx]
push ecx
lea edx, [esp + 0x24]
push str._suninst.exe
push edx
call fcn.00403e70
add esp, 0x18
push 0
call esi
test eax, eax
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
jl 0x40495d
lea eax, [esp + 0x10]
push eax
push 0x432a4c
push 1
push 0
push 0x432a5c
call edi
test eax, eax
jl 0x404957
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x50]
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push 1
push eax
call dword [edx + 0x3c]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x432a9c
push eax
call dword [ecx]
test eax, eax
jl 0x40494d
push 0x104
lea eax, [esp + 0x12c]
push eax
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push 0
lea edx, [esp + 0x12c]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push eax
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [esi - 0x10]
mov byte [esp + 0x344], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40497f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebx - 0x10]
mov dword [esp + 0x344], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4049a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
mov ecx, dword [esp + 0x33c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x334]
call fcn.00411fce
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8