Function at 0x4044f0
Capabilities:
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x480b82
push eax
mov eax, 0x1384
mov dword fs:[0], esp
call fcn.0047fe60
lea ecx, [esp]
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [esp + 4]
mov dword [esp + 0x138c], 0
call sub.MFC42u.DLL_CString::CString_4
push 0
push str._.txt_.txtAll_Files__._.
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x58]
mov byte [esp + 0x13a4], 1
call sub.MFC42u.DLL_CFileDialog::CFileDialog
lea ecx, [esp + 0x40]
mov byte [esp + 0x138c], 2
call sub.MFC42u.DLL_CFileDialog::DoModal
cmp eax, 1
jne 0x4048ee
lea eax, [esp + 8]
lea ecx, [esp + 0x40]
push eax
call sub.MFC42u.DLL_CFileDialog::GetPathName
push 0x2e
lea ecx, [esp + 0xc]
mov byte [esp + 0x1390], 3
call sub.MFC42u.DLL_CString::ReverseFind
cmp eax, 0xffffffff
jne 0x40459a
push str..txt
lea ecx, [esp + 0xc]
call fcn.0047f984
mov ecx, dword [esp + 8]
push esi
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x14], esi
je 0x4048dc
push ebx
mov ebx, dword [esp + 0x13a0]
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push edi
mov edi, dword [esp + 0x13a4]
test edi, edi
mov byte [esp + 0x1390], 0
je 0x404664
mov edx, dword [ebx + 0x20]
push 0
push 0
push 0x1004
push edx
call ebp
push eax
push edi
lea eax, [esp + 0x18]
push str._XueTr___s_:__d_r_n
push eax
call sub.MFC42u.DLL_CString::Format
mov ecx, dword [esp + 0x20]
add esp, 0x10
lea edx, [esp + 0x390]
mov eax, dword [ecx - 8]
push 0
push 0
push 0x1000
push edx
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x28]
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [esp + 0x1c]
push 0
push eax
lea edi, [esp + 0x398]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x39c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, ebx
call sub.MFC42u.DLL_CListCtrl::GetHeaderCtrl
mov edi, eax
test edi, edi
je 0x4048b7
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::Empty
mov edx, dword [edi + 0x20]
push 0
push 0
push 0x1200
push edx
call ebp
mov ecx, dword [esp + 0x13ac]
cmp eax, ecx
jbe 0x4048b7
sub eax, ecx
mov esi, 0
mov dword [esp + 0x24], eax
je 0x404718
mov edx, dword [ebx + 0x20]
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x30]
lea eax, [esp + 0x390]
push ecx
push esi
push 0x105f
push edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0xfff
mov dword [esp + 0x40], 4
mov dword [esp + 0x44], 0
call ebp
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x14]
push eax
push str._s_t_t
push ecx
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call fcn.0047f978
mov eax, dword [esp + 0x24]
inc esi
cmp esi, eax
jb 0x4046a9
push 9
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::TrimRight_1
mov eax, dword [esp + 0x10]
push 0
push 0
lea ecx, [esp + 0x398]
mov eax, dword [eax - 8]
push 0x1000
push ecx
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x28]
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea edi, [esp + 0x390]
or ecx, 0xffffffff
xor eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x20]
lea edx, [esp + 0x1c]
not ecx
push 0
dec ecx
push edx
lea eax, [esp + 0x398]
push ecx
push eax
push edi
call esi
lea ecx, [esp + 0x1c]
push 0
push ecx
push 2
push 0x4a0678
push edi
call esi
mov edx, dword [ebx + 0x20]
push 0
push 0
push 0x1004
push edx
call ebp
xor ebp, ebp
mov dword [esp + 0x2c], eax
test eax, eax
jbe 0x4048b3
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::Empty
push ebp
push ebx
call fcn.0040caf0
add esp, 8
cmp eax, 1
jne 0x4047d4
push 0x4a0670
lea ecx, [esp + 0x14]
call fcn.0047f984
mov edi, dword [esp + 0x24]
xor esi, esi
test edi, edi
jbe 0x40482d
push esi
lea eax, [esp + 0x2c]
push ebp
push eax
mov ecx, ebx
call sub.MFC42u.DLL_CListCtrl::GetItemText
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push ecx
push str._s_t_t
push edx
mov byte [esp + 0x13a8], 4
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x28]
mov byte [esp + 0x139c], 3
call sub.MFC42u.DLL_CString::CString
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
call fcn.0047f978
inc esi
cmp esi, edi
jb 0x4047de
push 9
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::TrimRight_1
mov ecx, dword [esp + 0x10]
push 0
push 0
lea edx, [esp + 0x398]
mov eax, dword [ecx - 8]
push 0x1000
push edx
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x28]
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [esp + 0x1c]
push 0
push eax
lea edi, [esp + 0x398]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x39c]
push ecx
push edi
call esi
lea edx, [esp + 0x1c]
push 0
push edx
push 2
push 0x4a0678
push edi
call esi
mov eax, dword [esp + 0x2c]
inc ebp
cmp ebp, eax
jb 0x4047ae
mov esi, dword [esp + 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
push 1
push 0
push eax
push str.notepad.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop ebp
pop ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x1390], 2
call sub.MFC42u.DLL_CString::CString
pop esi
lea ecx, [esp + 0xf0]
mov byte [esp + 0x138c], 5
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x138c], 1
call fcn.0047f8e8
lea ecx, [esp + 4]
mov byte [esp + 0x138c], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp]
mov dword [esp + 0x138c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x1384]
mov dword fs:[0], ecx
add esp, 0x1390
ret 0xc