Function at 0x404810
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 0x42cc66
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x334
mov eax, dword [0x43b17c]
mov dword [esp + 0x32c], eax
mov eax, dword [ebp + 0xc]
test eax, eax
push esi
push edi
jne 0x40488c
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 0x40488c
add eax, 0x18
push eax
add ecx, 0x1c
push ecx
lea eax, [esp + 0x24]
push eax
call fcn.00404210
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x404dfe
add ecx, 0x1c
push 0x42f334
push ecx
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x28], ecx
call fcn.004042c0
mov eax, dword [eax]
push eax
push str.http:__www.wn51.com
push 0x42f330
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 0x4048d9
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 0x404e0d
lea edi, [esp + 0x20]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x404910
mov ecx, dword [0x42f310]
mov edx, dword [0x42f314]
mov ax, word [0x42f318]
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 0x404947
mov edx, dword [0x42f308]
mov eax, dword [0x42f30c]
push 0
lea ecx, [esp + 0x24]
mov dword [edi], edx
push ecx
mov dword [edi + 4], eax
call esi
call fcn.0041fbe3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x344], 0
call fcn.0041fbe3
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 + 0x1c]
push 0x42f2f8
push ecx
mov byte [esp + 0x350], 1
call fcn.004041f0
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
push eax
lea ecx, [esp + 0x24]
push str._swnwb_
push ecx
call fcn.004041f0
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 0x404a7d
lea edx, [esp + 0xc]
push edx
push 0x433ab4
push 1
push 0
push 0x433ac4
call edi
test eax, eax
jl 0x404a77
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
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 0x433b04
push eax
call dword [edx]
test eax, eax
jl 0x404a6d
mov eax, dword [esp + 0x18]
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 + 0x10]
mov ecx, dword [eax]
push 0
lea edx, [esp + 0x12c]
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 + 0x20]
push eax
lea ecx, [esp + 0x1c]
push 0x42f2c4
push ecx
call fcn.004041f0
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
push eax
lea ecx, [esp + 0x24]
push str._swnwbIMETool.exe
push ecx
call fcn.004041f0
add esp, 0x18
push 0
call esi
test eax, eax
jl 0x404b4d
lea edx, [esp + 0xc]
push edx
push 0x433ab4
push 1
push 0
push 0x433ac4
call edi
test eax, eax
jl 0x404b47
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
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 0x433b04
push eax
call dword [edx]
test eax, eax
jl 0x404b3d
mov eax, dword [esp + 0x18]
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 + 0x10]
mov ecx, dword [eax]
push 0
lea edx, [esp + 0x12c]
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 + 0x20]
push eax
lea ecx, [esp + 0x1c]
push 0x42f2a4
push ecx
call fcn.004041f0
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
push eax
lea ecx, [esp + 0x24]
push str._swnwbwnbhelp.chm
push ecx
call fcn.004041f0
add esp, 0x18
push 0
call esi
test eax, eax
jl 0x404c1d
lea edx, [esp + 0xc]
push edx
push 0x433ab4
push 1
push 0
push 0x433ac4
call edi
test eax, eax
jl 0x404c17
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
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 0x433b04
push eax
call dword [edx]
test eax, eax
jl 0x404c0d
mov eax, dword [esp + 0x18]
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 + 0x10]
mov ecx, dword [eax]
push 0
lea edx, [esp + 0x12c]
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 + 0x20]
push eax
lea ecx, [esp + 0x1c]
push 0x42f280
push ecx
call fcn.004041f0
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
push eax
lea ecx, [esp + 0x24]
push 0x42f26c
push ecx
call fcn.004041f0
add esp, 0x18
push 0
call esi
test eax, eax
jl 0x404ced
lea edx, [esp + 0xc]
push edx
push 0x433ab4
push 1
push 0
push 0x433ac4
call edi
test eax, eax
jl 0x404ce7
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
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 0x433b04
push eax
call dword [edx]
test eax, eax
jl 0x404cdd
mov eax, dword [esp + 0x18]
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 + 0x10]
mov ecx, dword [eax]
push 0
lea edx, [esp + 0x12c]
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 + 0x20]
push eax
lea ecx, [esp + 0x1c]
push 0x42f260
push ecx
call fcn.004041f0
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
push eax
lea ecx, [esp + 0x24]
push str._suninst.exe
push ecx
call fcn.004041f0
add esp, 0x18
push 0
call esi
test eax, eax
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
jl 0x404dc1
lea edx, [esp + 0xc]
push edx
push 0x433ab4
push 1
push 0
push 0x433ac4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x404dbb
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x50]
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
push 1
push eax
call dword [edx + 0x3c]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x433b04
push eax
call dword [ecx]
test eax, eax
jl 0x404db1
push 0x104
lea eax, [esp + 0x12c]
push eax
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push 0
lea edx, [esp + 0x12c]
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, [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 0x404de3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov dword [esp + 0x344], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404e08
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.00411aac
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8