Function at 0x40ee10
Capabilities:
Create directory
Delete file
Get file attributes
Set file attributes
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x41a436
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x270
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], bl
mov byte [esp + 0xdc], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xdd]
mov byte [esp + 0x5c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x5d]
mov byte [esp + 0x9c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x9d]
mov ebp, dword [esp + 0x290]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp ebp, ebx
stosb byte es:[edi], al
jne 0x40ee9f
xor al, al
jmp 0x40f1a9
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.AUTORUN.INF
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
push 0x9a
lea ecx, [esp + 0x14]
mov dword [esp + 0x28c], ebx
call sub.MFC42.DLL_CString::LoadStringA
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
push 0x9b
lea ecx, [esp + 0x18]
mov byte [esp + 0x28c], 1
call sub.MFC42.DLL_CString::LoadStringA
lea eax, [esp + 0x5c]
push ebx
push eax
push 0x40
push ebx
push str.AUTORUN.INF
push ebp
call dword [sym.imp.KERNEL32.dll_SearchPathA]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x40eff2
lea ecx, [esp + 0x5c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
je 0x40ef8a
lea ecx, [esp + 0x14]
mov byte [esp + 0x288], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x288], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor al, al
jmp 0x40f1a9
lea edx, [esp + 0x5c]
push 0x80
push edx
call esi
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x40005
push ebx
push 0xa7
call dword [sym.imp.WINMM.dll_PlaySoundA]
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x11d]
mov byte [esp + 0x11c], bl
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
push ebp
stosw word es:[edi], ax
lea edx, [esp + 0x120]
push ecx
push edx
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [esp + 0x11c]
push ebx
push ebx
push eax
call sub.MFC42.DLL_AfxMessageBox
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 0x1c]
push ebx
push ecx
call ebp
test eax, eax
je 0x40f185
lea edx, [esp + 0x1c]
push 2
push edx
call esi
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xdc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xe0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.zhengbo.._
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0xe0]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebp
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x9c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xa0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push 0x80
rep movsb byte es:[edi], byte [esi]
mov edi, str.ReadMe.txt
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 2
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
push ebx
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0xb0]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x181]
mov byte [esp + 0x180], bl
lea edx, [esp + 0x180]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x184]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
lea edi, [esp + 0x184]
push ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x14]
mov byte [esp + 0x288], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x288], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov al, 1
jmp 0x40f1a9
lea ecx, [esp + 0x14]
mov byte [esp + 0x288], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x288], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x280]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x27c
ret