Function at 0x40d610
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x436a21
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
mov eax, dword [0x4481e0]
push ebx
push esi
mov dword [esp + 0x120], eax
mov eax, dword [0x44914c]
push edi
mov esi, ecx
mov ecx, dword [eax + 0x14]
push 0x43aae4
add ecx, 4
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.004047c0
mov eax, dword [eax]
push eax
push str.http:__www.wn51.com_
push 0x43aac8
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d693
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov byte [esp + 0x18], 0
mov ecx, 0x40
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
stosb byte es:[edi], al
push 0x17
lea eax, [esp + 0x20]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x40da00
lea edi, [esp + 0x18]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40d6c6
mov ecx, dword [0x43aaa8]
mov edx, dword [0x43aaac]
mov ax, word [0x43aab0]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [edi], ecx
push 0
lea ecx, [esp + 0x1c]
mov dword [edi + 4], edx
push ecx
mov word [edi + 8], ax
call ebx
lea edi, [esp + 0x18]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40d700
mov edx, dword [0x43aa98]
mov eax, dword [0x43aa9c]
mov ecx, dword [0x43aaa0]
mov dword [edi], edx
mov edx, dword [0x43aaa4]
mov dword [edi + 4], eax
push 0
lea eax, [esp + 0x1c]
mov dword [edi + 8], ecx
push eax
mov dword [edi + 0xc], edx
call ebx
call fcn.00428fe3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x134], 0
call fcn.00428fe3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push 0x43aa88
push ecx
mov byte [esp + 0x140], 1
call fcn.00402830
mov edx, dword [0x44914c]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 4]
push ecx
lea edx, [esp + 0x1c]
push str._swnwb_
push edx
call fcn.00402830
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
add esp, 0x18
push 0
push 0
push 0
push 1
push 0
push eax
push ecx
mov ecx, esi
call fcn.0040d410
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push 0x43aa54
push eax
call fcn.00402830
mov ecx, dword [0x44914c]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 4]
push eax
lea ecx, [esp + 0x1c]
push str._swnwbIMETool.exe
push ecx
call fcn.00402830
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add esp, 0x18
push 0
push 0
push 0
push 1
push 0
push edx
push eax
mov ecx, esi
call fcn.0040d410
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push 0x43aa34
push edx
call fcn.00402830
mov eax, dword [0x44914c]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 4]
push edx
lea eax, [esp + 0x1c]
push str._swnwbwnbhelp.chm
push eax
call fcn.00402830
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
add esp, 0x18
push 0
push 0
push 0
push 1
push 0
push ecx
push edx
mov ecx, esi
call fcn.0040d410
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push 0x43aa10
push ecx
call fcn.00402830
mov edx, dword [0x44914c]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 4]
push ecx
lea edx, [esp + 0x1c]
push 0x43aa00
push edx
call fcn.00402830
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
add esp, 0x18
push 0
push 0
push 0
push 1
push 0
push eax
push ecx
mov ecx, esi
call fcn.0040d410
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push 0x43a9e4
push eax
call fcn.00402830
mov ecx, dword [0x44914c]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 4]
push eax
lea ecx, [esp + 0x1c]
push str._suninst.exe
push ecx
call fcn.00402830
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add esp, 0x18
push str.wnwg
push 0
push 0
push 1
push 0
push edx
push eax
mov ecx, esi
call fcn.0040d410
lea ecx, [esp + 0x18]
push ecx
push 0x43a9c8
lea edx, [esp + 0x18]
push edx
call fcn.00402830
mov eax, dword [esp + 0x1c]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push 0x43a9b0
push edx
call fcn.00402830
mov eax, dword [0x44914c]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 4]
push edx
lea eax, [esp + 0x1c]
push str._swnwbwnwb.exe
push eax
call fcn.00402830
mov ecx, dword [0x44914c]
mov edx, dword [ecx + 0x14]
add esp, 0x18
push str.wnwb
add edx, 4
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.004047c0
mov eax, dword [eax]
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
push 0
push eax
push 0x657
push 1
push 0x43a980
push edi
push ebx
mov ecx, esi
mov byte [esp + 0x150], 2
call fcn.0040d410
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x134], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d9b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add edi, 0xfffffff0
mov byte [esp + 0x134], 0
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40d9d6
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
lea eax, [ebx - 0x10]
mov dword [esp + 0x134], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d9fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x124]
call fcn.0041b28e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret