Function at 0x404c90
Capabilities:
Create process on windows
Get common file path
Get startup folder

Disassembly:
mov eax, 0x406340
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x134
push ebx
push esi
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.00404f64
lea eax, [ebp - 0x1c]
mov dword [esp], str.login.exe
push eax
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_operator
push dword [ebp - 0x14]
mov byte [ebp - 4], 1
push dword [0x40a760]
call fcn.00405428
push dword [ebp - 0x14]
call fcn.00405413
add esp, 0xc
test al, al
jne 0x404cee
mov byte [ebp - 0xd], bl
jmp 0x404e6a
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 - 0x18]
push eax
call sub.MFC42.DLL_CString::CString_1
mov edi, 0x40a58c
lea eax, [ebp - 0x18]
push edi
push eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 2
push eax
call sub.MFC42.DLL_operator
mov esi, 0x40a764
mov byte [ebp - 4], 3
push esi
push eax
lea eax, [ebp - 0x38]
push eax
call sub.MFC42.DLL_operator_1
push 0x40a57c
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 4
push eax
call sub.MFC42.DLL_operator
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
cmp byte [0x40a768], bl
je 0x404dcd
lea eax, [ebp - 0x18]
push edi
push eax
lea eax, [ebp - 0x2c]
push eax
call sub.MFC42.DLL_operator
push esi
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 8
push eax
call sub.MFC42.DLL_operator_1
push 0x40a574
push eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 9
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString_3
push dword [0x40a770]
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xb
push dword [0x40a764]
push 0x40a548
push eax
call sub.MFC42.DLL_CString::Format
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push ebx
push ebx
push dword [ebp - 0x14]
call fcn.00404bdf
add esp, 0x24
lea eax, [ebp - 0x1c]
mov ecx, 0x40a75c
push eax
call sub.MFC42.DLL_CString::operator
mov esi, 0x40a648
mov ecx, esi
call fcn.004017db
cmp eax, 0xffffffff
jne 0x404e2d
push ebx
mov ecx, esi
call fcn.0040181c
push dword [0x40a760]
push dword [ebp - 0x14]
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
jne 0x404e89
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
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
mov byte [ebp - 0xd], 1
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 al, byte [ebp - 0xd]
jmp 0x404f55
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::CString_3
push dword [ebp - 0x18]
mov ecx, 0x40a760
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::Find
test eax, eax
jl 0x404eee
mov edi, 0x40a544
push 0x40a760
lea eax, [ebp - 0x30]
push edi
push eax
call sub.MFC42.DLL_operator_2
push edi
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
mov ecx, esi
call fcn.004018d5
push 5
push dword [ebp - 0x1c]
push dword [ebp - 0x28]
push dword [ebp - 0x14]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
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 - 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 al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret