Function at 0x421b40
Capabilities:
Create process on windows
Delete file
Get common file path
Write and execute a file
Write file on windows

Disassembly:
mov rax, rsp
sub rsp, 0x88
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
lea rcx, [rax - 0x30]
call sub.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo
nop
mov edx, 0x104
lea rcx, [rsp + 0x58]
call fcn.0042e2a2
mov rdx, rax
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, 0xffffffff
lea rcx, [rsp + 0x58]
call fcn.0042e2ae
mov rdx, qword [0x0047f818]
lea rcx, [rsp + 0x60]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
lea rdx, [0x00433d74]
lea rcx, [rsp + 0x68]
call sub.MFC42u.dll_CCtrlView::CCtrlView
mov rdi, rax
lea rdx, [0x004362f8]
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CCtrlView::CCtrlView
nop
mov r8, qword [rdi]
mov rdx, qword [rax]
lea rcx, [rsp + 0x60]
call sub.MFC42u.dll_COleControl::SetFont
nop
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rsp + 0x68]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
lea r8, str._translate.txt
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x68]
call sub.MFC42u.dll_AfxThrowOleException
nop
mov rdx, rax
lea rcx, [rsp + 0x58]
call sub.MFC42u.dll_Ordinal_1284
nop
lea rcx, [rsp + 0x68]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rsp + 0x50]
call sub.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo
nop
lea rdx, str._r_nPlease_dont_forget__Write_in_e_mail_subject:_Strings_for:
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CCtrlView::CCtrlView
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call sub.MFC42u.dll_Ordinal_1284
nop
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov rdx, qword [0x0047f818]
lea rcx, [rsp + 0x50]
call sub.MFC42u.dll_Ordinal_1287
lea rdx, str._and_Language_Name_i.e._:_German___Deutsch
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CCtrlView::CCtrlView
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call sub.MFC42u.dll_Ordinal_1284
nop
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
lea rdx, [0x00436c8c]
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CCtrlView::CCtrlView
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call sub.MFC42u.dll_Ordinal_1284
nop
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
lea rdx, [0x00436c8c]
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CCtrlView::CCtrlView
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call sub.MFC42u.dll_Ordinal_1284
nop
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov rdx, qword [0x0047f848]
lea rcx, [rsp + 0x50]
call sub.MFC42u.dll_Ordinal_1287
lea rdx, [0x00436c8c]
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CCtrlView::CCtrlView
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call sub.MFC42u.dll_Ordinal_1284
nop
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
lea rdx, [0x00436c8c]
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CCtrlView::CCtrlView
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call sub.MFC42u.dll_Ordinal_1284
nop
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
lea rdx, [0x00438c38]
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CCtrlView::CCtrlView
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call sub.MFC42u.dll_Ordinal_1284
nop
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov rdx, qword [0x0045eb88]
lea rcx, [rsp + 0x50]
call sub.MFC42u.dll_Ordinal_1287
lea rdx, [0x00436c8c]
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CCtrlView::CCtrlView
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call sub.MFC42u.dll_Ordinal_1284
nop
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
lea rdx, [0x00436c8c]
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CCtrlView::CCtrlView
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call sub.MFC42u.dll_Ordinal_1284
nop
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
lea rdx, [0x00436c8c]
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CCtrlView::CCtrlView
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call sub.MFC42u.dll_Ordinal_1284
nop
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
lea rdx, [0x0047ffc0]
lea rcx, [rsp + 0x50]
call sub.MFC42u.dll_Ordinal_1284
lea rdx, [0x00436c8c]
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CCtrlView::CCtrlView
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call sub.MFC42u.dll_Ordinal_1284
nop
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
lea rdx, [0x00436c8c]
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CCtrlView::CCtrlView
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call sub.MFC42u.dll_Ordinal_1284
nop
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
xor esi, esi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov edx, 0x40000000
lea r8d, [rsi + 1]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x421f2e
mov dword [rsp + 0x48], esi
mov word [rsp + 0x40], 0xfeff
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x48]
lea r8d, [rsi + 2]
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [rsp + 0x50]
call sub.MFC42u.dll_COleControl::AmbientUIDead
mov rdx, rax
mov dword [rsp + 0x48], esi
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx + rcx - 2]
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov r8, qword [rsp + 0x58]
lea rdx, [0x00433c30]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
lea rcx, [rsp + 0x50]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rsp + 0x60]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rsp + 0x58]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov rbx, qword [rsp + 0x98]
mov rsi, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0xa8]
add rsp, 0x88
ret