Function at 0x418690
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x446ea6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x428
mov eax, dword [0x45b1e4]
push ebx
push esi
mov dword [esp + 0x428], eax
mov eax, dword [0x45c16c]
push edi
mov esi, ecx
mov ecx, dword [eax + 0x14]
push 0x44c8fc
add ecx, 0x1c
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004037a0
mov eax, dword [eax]
push eax
push str.http:__www.wn51.com_
push 0x449c60
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
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 0x418713
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor ebx, ebx
xor eax, eax
mov word [esp + 0x18], bx
mov ecx, 0x81
lea edi, [esp + 0x1a]
rep stosd dword es:[edi], eax
push ebx
stosw word es:[edi], ax
push 0x17
lea eax, [esp + 0x20]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x418902
lea ecx, [esp + 0x18]
push 0x44c8f0
push ecx
call fcn.00429220
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
add esp, 8
push ebx
lea edx, [esp + 0x1c]
push edx
call edi
lea eax, [esp + 0x18]
push 0x44cae0
push eax
call fcn.00429220
add esp, 8
push ebx
lea ecx, [esp + 0x1c]
push ecx
call edi
call fcn.00438ca4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x43c], ebx
call fcn.00438ca4
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 0x44cac4
push ecx
mov byte [esp + 0x448], 1
call fcn.00403780
mov edx, dword [0x45c16c]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push str._swnpluginQQPlugin.exe
push edx
call fcn.00403780
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
add esp, 0x18
push ebx
push ebx
push ebx
push 1
push ebx
push eax
push ecx
mov ecx, esi
call fcn.004171a0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push 0x44c7e8
push eax
call fcn.00403780
mov ecx, dword [0x45c16c]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push 0x44c7d0
push ecx
call fcn.00403780
add esp, 0x18
push ebx
push ebx
push ebx
push 1
push ebx
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
push edx
push eax
mov ecx, esi
call fcn.004171a0
mov ecx, dword [0x45c16c]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x84]
push eax
lea ecx, [esp + 0x224]
push str.wnplugin__s
push ecx
call fcn.00428c0a
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x20]
push 0x44ca5c
push eax
call fcn.00403780
mov ecx, dword [0x45c16c]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x1c]
push eax
lea ecx, [esp + 0x28]
push str._swnpluginuninst.exe
push ecx
call fcn.00403780
mov edi, dword [esp + 0x30]
add esp, 0x24
lea edx, [esp + 0x220]
push edx
push ebx
push ebx
push 1
push ebx
mov ebx, dword [esp + 0x24]
push edi
push ebx
mov ecx, esi
call fcn.004171a0
lea eax, [edi - 0x10]
mov byte [esp + 0x43c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4188d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add ebx, 0xfffffff0
mov dword [esp + 0x43c], 0xffffffff
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4188fd
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov eax, 1
mov ecx, dword [esp + 0x434]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x42c]
call fcn.00428731
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret