Function at 0x410970
Capabilities:
Copy file
Create process on windows
Download url
Get common file path
Receive data
Self delete
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x413eec
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push ebp
push esi
mov ebx, dword [esp + 0xa4]
mov ecx, dword [esp + 0xac]
mov eax, 1
xor ebp, ebp
mov dword [esp + 0x98], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xa8]
cmp ebx, ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], eax
jne 0x4109d6
cmp eax, ebp
jne 0x4109d6
cmp ecx, ebp
jne 0x4109d6
mov dword [esp + 0x3c], ebp
call fcn.00410830
push edi
push ebp
call dword [sym.imp.MSVCRT.dll_time]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 8
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::CString_4
mov byte [esp + 0x9c], 2
call dword [sym.imp.MSVCRT.dll_rand]
cdq
mov ecx, 0x46
idiv ecx
inc edx
push edx
lea edx, [esp + 0x40]
push 0x4181e0
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_4
push 0x100
lea ecx, [esp + 0x20]
mov byte [esp + 0xa0], 3
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::ReleaseBuffer
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x38]
mov byte [esp + 0x9c], 4
call sub.MFC42.DLL_CString::CString_4
push 0x100
push 0x100
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa4], 5
call sub.MFC42.DLL_CString::GetBuffer
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0x5c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReverseFind
inc eax
lea ecx, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa0], 6
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x9c], 5
call sub.MFC42.DLL_CString::CString
push 0x5c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReverseFind
inc eax
lea ecx, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Left
mov byte [esp + 0x9c], 7
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x9c], 5
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x14]
push 0x100
push 0x100
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
call esi
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReleaseBuffer
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_4
push 0x100
lea ecx, [esp + 0x28]
mov byte [esp + 0xa0], 8
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov edi, dword [esp + 0x24]
push 0x100
push 0x100
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push edi
call esi
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::ReleaseBuffer
cmp ebx, ebp
je 0x410c5f
lea edx, [esp + 0x1c]
push str.deskmate.tmp
lea eax, [esp + 0x14]
push edx
push eax
call sub.MFC42.DLL_operator_1
mov esi, dword [eax]
lea ecx, [esp + 0xa4]
push str.DeskMate1deskmate
lea edx, [esp + 0x2c]
push ecx
push edx
mov byte [esp + 0xa8], 9
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x34]
push ecx
mov bl, 0xa
push eax
push edx
mov byte [esp + 0xa8], bl
call sub.MFC42.DLL_operator
push str..exe
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0xa4], 0xb
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push ebp
push ebp
push esi
push eax
push ebp
call sub.urlmon.dll_URLDownloadToFileA
lea ecx, [esp + 0x18]
mov esi, eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x9c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x9c], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x9c], 8
call sub.MFC42.DLL_CString::CString
cmp esi, ebp
jge 0x410c5f
mov dword [esp + 0xa8], ebp
cmp dword [esp + 0xac], ebp
je 0x410d57
lea ecx, [esp + 0x1c]
push str.syskbds.tmp
lea edx, [esp + 0x2c]
push ecx
push edx
call sub.MFC42.DLL_operator_1
mov esi, dword [eax]
lea eax, [esp + 0xa4]
push str.DeskMateService1_syskbds
lea ecx, [esp + 0x38]
push eax
push ecx
mov byte [esp + 0xa8], 0xc
call sub.MFC42.DLL_operator_1
lea edx, [esp + 0x3c]
mov bl, 0xd
push edx
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0xa4], bl
push eax
call sub.MFC42.DLL_operator
push str..drv
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0xa8], 0xe
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push ebp
push ebp
push esi
push eax
push ebp
call sub.urlmon.dll_URLDownloadToFileA
lea ecx, [esp + 0x10]
mov esi, eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x9c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x9c], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x9c], 8
call sub.MFC42.DLL_CString::CString
cmp esi, ebp
jge 0x410d28
mov dword [esp + 0xac], ebp
jmp 0x410d57
lea edx, [esp + 0x1c]
push str.syskbds.tmp
lea eax, [esp + 0x14]
push edx
push eax
call sub.MFC42.DLL_operator_1
mov ecx, dword [esp + 0xb4]
mov eax, dword [eax]
push ebp
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
cmp dword [esp + 0xb0], ebp
je 0x410ffa
lea edx, [esp + 0x1c]
push str.ico.zip
lea eax, [esp + 0x1c]
push edx
push eax
call sub.MFC42.DLL_operator_1
mov esi, dword [eax]
lea ecx, [esp + 0xa4]
push str.ico.zip
lea edx, [esp + 0x14]
push ecx
push edx
mov byte [esp + 0xa8], 0xf
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push ebp
push ebp
push esi
push eax
push ebp
call sub.urlmon.dll_URLDownloadToFileA
lea ecx, [esp + 0x10]
mov esi, eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x9c], 8
call sub.MFC42.DLL_CString::CString
cmp esi, ebp
jge 0x410dcc
mov dword [esp + 0xb0], ebp
lea eax, [esp + 0x1c]
push str.7z.exe
lea ecx, [esp + 0x1c]
push eax
push ecx
call sub.MFC42.DLL_operator_1
mov esi, dword [eax]
lea edx, [esp + 0xa4]
push str.7z.exe
lea eax, [esp + 0x14]
push edx
push eax
mov byte [esp + 0xa8], 0x10
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push ebp
push ebp
push esi
push eax
push ebp
call sub.urlmon.dll_URLDownloadToFileA
lea ecx, [esp + 0x10]
mov esi, eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x9c], 8
call sub.MFC42.DLL_CString::CString
cmp esi, ebp
jge 0x410e39
mov dword [esp + 0xb0], ebp
jmp 0x410ffa
cmp dword [esp + 0xb0], ebp
je 0x410ffa
lea ecx, [esp + 0x1c]
push str.7z.exe
lea edx, [esp + 0x1c]
push ecx
push edx
call sub.MFC42.DLL_operator_1
push str.x__y__aoa
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa0], 0x11
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x1c]
mov bl, 0x12
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa0], bl
call fcn.0041235e
push 0x41a5c0
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x24]
lea edx, [esp + 0x10]
push ecx
push str..zip__o
push edx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa0], 0x13
call fcn.0041235e
lea ecx, [esp + 0x10]
mov byte [esp + 0x9c], bl
call sub.MFC42.DLL_CString::CString
push str.Icons
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::operator_2
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x5c]
lea edx, [esp + 0x58]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
push edx
mov dword [esp + 0x5c], 0x3c
mov dword [esp + 0x60], 0x40
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebp
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov eax, dword [esp + 0x90]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0xb8]
lea edx, [esp + 0x34]
push ecx
push 0x4181e0
push edx
mov byte [esp + 0xa8], 0x14
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x24]
lea ecx, [esp + 0x10]
push str.Icons_ver.ini
push eax
push ecx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
mov edx, dword [esp + 0x34]
push eax
push edx
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x41a5ac
push str.main
call esi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x24]
push str.Icons_ver.ini
lea ecx, [esp + 0x14]
push eax
push ecx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push eax
push 0x418288
push str.change
push str.main
call esi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x9c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x9c], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x9c], 8
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x40]
pop edi
cmp eax, ebp
je 0x411043
cmp dword [esp + 0x28], ebp
je 0x411016
cmp dword [esp + 0xa4], ebp
jne 0x411016
mov dword [esp + 0x3c], ebp
cmp dword [esp + 0x2c], ebp
je 0x411029
cmp dword [esp + 0xac], ebp
jne 0x411029
mov dword [esp + 0x3c], ebp
cmp dword [esp + 0x1c], ebp
je 0x411038
cmp dword [esp + 0xa8], ebp
je 0x411043
cmp dword [esp + 0x3c], ebp
je 0x411043
call fcn.00410830
cmp dword [esp + 0xa4], ebp
jne 0x411059
cmp dword [esp + 0xac], ebp
je 0x4113b9
lea ecx, [esp + 0x40]
call fcn.004123b2
lea edx, [esp + 0x18]
push str.deskmate.bat
lea eax, [esp + 0x20]
mov bl, 0x15
push edx
push eax
mov byte [esp + 0xa4], bl
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push ebp
push 0x1002
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa4], 0x16
call sub.MFC42.DLL_CStdioFile::Open
lea ecx, [esp + 0x1c]
mov esi, eax
mov byte [esp + 0x98], bl
call sub.MFC42.DLL_CString::CString
cmp esi, ebp
je 0x4113a8
push str._echo_off_n
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CStdioFile::WriteString
cmp dword [esp + 0xa4], ebp
je 0x4112cc
push str.:err_n
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CStdioFile::WriteString
lea ecx, [esp + 0x10]
lea edx, [esp + 0x28]
push ecx
push str.del__f_q
push edx
call sub.MFC42.DLL_operator_2
lea ecx, [esp + 0x34]
lea edx, [esp + 0x2c]
push ecx
push eax
push edx
mov byte [esp + 0xa4], 0x17
call sub.MFC42.DLL_operator
push 0x418de8
push eax
lea eax, [esp + 0x24]
mov byte [esp + 0xa0], 0x18
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
lea ecx, [esp + 0x40]
push eax
mov byte [esp + 0x9c], 0x19
call sub.MFC42.DLL_CStdioFile::WriteString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x98], 0x18
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x98], 0x17
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x98], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
lea edx, [esp + 0x28]
push ecx
push str.if_exist
push edx
call sub.MFC42.DLL_operator_2
lea ecx, [esp + 0x34]
lea edx, [esp + 0x2c]
push ecx
push eax
push edx
mov byte [esp + 0xa4], 0x1a
call sub.MFC42.DLL_operator
push str._goto_err_n
push eax
lea eax, [esp + 0x24]
mov byte [esp + 0xa0], 0x1b
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
lea ecx, [esp + 0x40]
push eax
mov byte [esp + 0x9c], 0x1c
call sub.MFC42.DLL_CStdioFile::WriteString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x98], 0x1b
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x98], 0x1a
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x98], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push str.move__y
push edx
call sub.MFC42.DLL_operator_2
push 0x41a554
push eax
lea eax, [esp + 0x14]
mov byte [esp + 0xa0], 0x1d
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x10]
lea edx, [esp + 0x28]
push ecx
push eax
push edx
mov byte [esp + 0xa4], 0x1e
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x34]
lea edx, [esp + 0x2c]
push ecx
push eax
push edx
mov byte [esp + 0xa4], 0x1f
call sub.MFC42.DLL_operator
push 0x418de8
push eax
lea eax, [esp + 0x24]
mov byte [esp + 0xa0], 0x20
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
lea ecx, [esp + 0x40]
push eax
mov byte [esp + 0x9c], 0x21
call sub.MFC42.DLL_CStdioFile::WriteString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x98], 0x20
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x98], 0x1f
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x98], 0x1e
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x98], 0x1d
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x98], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
lea edx, [esp + 0x28]
push ecx
push str.start
push edx
call sub.MFC42.DLL_operator_2
lea ecx, [esp + 0x34]
lea edx, [esp + 0x2c]
push ecx
push eax
push edx
mov byte [esp + 0xa4], 0x22
call sub.MFC42.DLL_operator
push 0x418de8
push eax
lea eax, [esp + 0x24]
mov byte [esp + 0xa0], 0x23
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
lea ecx, [esp + 0x40]
push eax
mov byte [esp + 0x9c], 0x24
call sub.MFC42.DLL_CStdioFile::WriteString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x98], 0x23
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x98], 0x22
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x98], bl
call sub.MFC42.DLL_CString::CString
push str.del__0
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CStdioFile::WriteString
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CStdioFile::Close
push str.deskmate.bat
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator_2
cmp dword [esp + 0xac], ebp
je 0x411391
push str.deskmate.nls
call fcn.00410730
add esp, 4
mov ecx, dword [esp + 0x18]
push ebp
push ebp
push ebp
push ecx
push ebp
push ebp
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push ebp
call dword [sym.imp.MSVCRT.dll_exit]
lea ecx, [esp + 0x40]
mov byte [esp + 0x98], 8
call sub.MFC42.DLL_CStdioFile::CStdioFile
lea ecx, [esp + 0x20]
mov byte [esp + 0x98], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x98], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x98], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x98], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x98], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xa0]
mov byte [esp + 0x98], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xb0]
mov dword [esp + 0x98], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x90]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x90
ret