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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4471d1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x428
mov eax, dword [0x45c1e4]
push ebx
push esi
mov dword [esp + 0x428], eax
mov eax, dword [0x45d16c]
push edi
mov esi, ecx
mov ecx, dword [eax + 0x14]
push 0x44d934
add ecx, 0x1c
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.00403800
mov eax, dword [eax]
push eax
push str.http:__www.wn51.com_
push 0x44ac98
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
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 0x418103
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 0x418346
lea ecx, [esp + 0x18]
push 0x44d928
push ecx
call fcn.004294f0
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 0x44d9bc
push eax
call fcn.004294f0
add esp, 8
push ebx
lea ecx, [esp + 0x1c]
push ecx
call edi
call fcn.00438f74
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0x43c], ebx
call fcn.00438f74
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
push 0x44d820
push ecx
mov byte [esp + 0x448], 1
call fcn.004037e0
mov edx, dword [0x45d16c]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 0x1c]
push ecx
lea edx, [esp + 0x20]
push 0x44d808
push edx
call fcn.004037e0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
add esp, 0x18
push ebx
push ebx
push ebx
push 1
push ebx
push eax
push ecx
mov ecx, esi
call fcn.00417470
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x10]
push 0x44d8fc
push eax
call fcn.004037e0
push str.__twnwbime__mUpdate
lea ecx, [esp + 0x230]
push 0x449cf8
push ecx
call fcn.00428eda
mov edx, dword [0x45d16c]
mov eax, dword [edx + 0x14]
add esp, 0x18
push str.WuBiUp.exe
add eax, 0x14
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00403800
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x440], 2
call fcn.00403730
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x43c], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41826b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x220]
push eax
push ebx
push ebx
push 1
push ebx
push ecx
push edx
mov ecx, esi
call fcn.00417470
mov eax, dword [0x45d16c]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 0x84]
push edx
lea eax, [esp + 0x224]
push str.wnnz__s
push eax
call fcn.00428eda
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push 0x44d960
push edx
call fcn.004037e0
mov eax, dword [0x45d16c]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 0x1c]
push edx
lea eax, [esp + 0x2c]
push str._suninst.exe
push eax
call fcn.004037e0
mov edi, dword [esp + 0x34]
add esp, 0x24
lea ecx, [esp + 0x220]
push ecx
push ebx
push ebx
push 1
push ebx
mov ebx, dword [esp + 0x20]
push edi
push ebx
mov ecx, esi
call fcn.00417470
lea eax, [edi - 0x10]
mov byte [esp + 0x43c], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41831c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebx - 0x10]
mov dword [esp + 0x43c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418341
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
mov ecx, dword [esp + 0x434]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x42c]
call fcn.00428a01
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret