Function at 0x4041e0
Capabilities:
Copy file
Delete file
Move file
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc4
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xc0], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push edi
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x10000000
push 0x408f8c
call esi
mov edi, eax
cmp edi, 0xffffffff
jne 0x404252
push 0x4061b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push str.CreateFile_Error:
push eax
call fcn.00404560
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
push eax
call fcn.00404560
add esp, 8
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push 4
xor eax, eax
push str.GAGA
push edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4042b8
push 0x4061b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push str.WriteFile_Error:
push eax
call fcn.00404560
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
push eax
call fcn.00404560
add esp, 8
push 0x408fd4
push str.VIRUS.txt
call dword [sym.imp.MSVCR100.dll_rename]
add esp, 8
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push ebx
push str.BACTERIA.txt
push str.VIRUSES.txt
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push ebx
push ebx
push ebx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileExW]
push str.FUNGUS.txt
push str.BACTERIA.txt
call ebx
push 1
push 0
push 0
push 0
push str.FUNGUS.txt
push str.BACTERIA.txt
call ebx
push 0
push 0x80
push 2
push 0
push 0
push 0x10000000
push str.SLEEP_TEST.sys
call esi
push 0
push 0x80
push 2
push 0
push 0
push 0x10000000
push str.autorun.inf
mov dword [esp + 0x2c], eax
call esi
mov ecx, dword [str.WRITE_TO_FILE_PLS]
mov edx, dword [0x40908c]
mov dword [esp + 0xc], eax
mov eax, dword [0x409090]
mov dword [esp + 0xb8], ecx
mov ecx, dword [0x409094]
mov dword [esp + 0xbc], edx
mov dx, word [0x409098]
mov dword [esp + 0xc0], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0xc4], ecx
mov word [esp + 0xc8], dx
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x404395
mov edx, dword [esp + 0x10]
sub eax, ecx
push 0
mov ebx, eax
lea eax, [esp + 0x18]
push eax
push ebx
lea ecx, [esp + 0xc4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4043e0
mov eax, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [esp + 0xc]
push 0
lea ecx, [esp + 0x18]
push ecx
push ebx
lea edx, [esp + 0xc4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x404421
mov ecx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov edx, dword [esp + 0x10]
push edx
call edi
mov eax, dword [esp + 0xc]
push eax
call edi
push 1
push 0x409058
push str.SLEEP_TEST.sys
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x404476
push 0x4061b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push eax
push str.Copy_.sys_Error_:
push ecx
call fcn.00404560
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
push eax
call fcn.00404560
add esp, 8
push str.SLEEP_TEST.sys
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea edx, [esp + 0x34]
push edx
push str.SPOOKY.sys
call dword [sym.imp.KERNEL32.dll_OpenFile]
push 0
push 0x80
push 2
push 0
push 0
push 0x10000000
push str.VAGRANT.exe
call esi
push 0
mov esi, eax
lea eax, [esp + 0x18]
push eax
push ebx
lea ecx, [esp + 0xc4]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call edi
push 1
push str.AGENT.exe
push str.VAGRANT.exe
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x40450f
push 0x4061b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push eax
push str.Copy_.exe_Error_:
push edx
call fcn.00404560
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
push eax
call fcn.00404560
add esp, 8
push str.VAGRANT.exe
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 2
push str.AGENT.exe
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push str.C:WindowsSystemBACTERIA.txt
push str.BACTERIA.txt
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push 8
push str.BACTERIA.txt
push str.BACTERIA.txt
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00404846
mov esp, ebp
pop ebp
ret