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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x447176
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 + 0x1c]
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 + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4183f3
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 0x4185e2
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 0x44da3c
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 + 0x10], 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 + 0xc], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push 0x44da20
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 + 0x1c]
push str._swniewnie.exe
push edx
call fcn.004037e0
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.00417470
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push 0x44d820
push eax
call fcn.004037e0
mov ecx, dword [0x45d16c]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push 0x44d808
push ecx
call fcn.004037e0
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.00417470
mov ecx, dword [0x45d16c]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x84]
push eax
lea ecx, [esp + 0x224]
push str.wnie__s
push ecx
call fcn.00428eda
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x20]
push 0x44d9d0
push eax
call fcn.004037e0
mov ecx, dword [0x45d16c]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x1c]
push eax
lea ecx, [esp + 0x28]
push str._suninst.exe
push ecx
call fcn.004037e0
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.00417470
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 0x4185b8
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 0x4185dd
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.00428a01
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret