Function at 0x41f3c0
Capabilities:
Create pipe
Create process on windows
Create process suspended
Read file on windows
Write and execute a file
Write file on windows
Write pipe

Disassembly:
push 0xffffffffffffffff
push 0x424650
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0x42ffb0
mov ecx, 0x4306a8
mov dword [esp + 0x4c], esi
call sub.MFC42.DLL_CString::operator
push 0x3fb
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
push 0x400
mov dword [esp + 0x54], eax
call sub.MFC42.DLL_operatornew
mov ebx, 1
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], eax
mov dword [esi + 0x64], ebx
call fcn.00421016
lea ecx, [esp + 0x18]
mov dword [esp + 0x170], 0
call fcn.00421016
lea ecx, [esp + 0x24]
mov byte [esp + 0x170], bl
call fcn.00421016
lea ecx, [esp + 0x20]
mov byte [esp + 0x170], 2
call fcn.00421016
mov eax, dword [esi + 0x130]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1009
push eax
mov byte [esp + 0x180], 3
call edi
push 0xffffffffffffffff
push 0x3c
lea ebp, [esi + 0x110]
push 2
push 0x42f3c0
push 0
mov ecx, ebp
call sub.MFC42.DLL_CListCtrl::InsertColumn
push 0xffffffffffffffff
push 0x172
push 2
push 0x42f3b8
push ebx
mov ecx, ebp
call sub.MFC42.DLL_CListCtrl::InsertColumn
mov ecx, dword [esi + 0x130]
push 0x125
push 0
push 0x1036
push ecx
call edi
push 0x4000
push 0x430b88
push 0x430b94
push 0x430b98
mov dword [0x430b88], 0xc
mov dword [0x430b90], ebx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x41f50f
push str.ERROR:_CreatePipe_Error___r_n
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 4
push 0
push 0
push str.SYS_PROCESS_ERROR
call sub.MFC42.DLL_AfxMessageBox
jmp 0x41fb21
lea ecx, [esp + 0x30]
call fcn.00421016
mov edx, dword [0x43191c]
lea eax, [esp + 0x30]
push edx
push str._sidwrite.dat
push eax
mov byte [esp + 0x17c], 4
call sub.MFC42.DLL_CString::Format_1
add esp, 0xc
lea ecx, [esp + 0x34]
call fcn.00421016
push 0x42ffb0
lea ecx, [esp + 0x38]
mov byte [esp + 0x174], 5
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x2c]
call fcn.00421016
lea ecx, [esp + 0x28]
mov byte [esp + 0x170], 6
call fcn.00421016
lea ecx, [esp + 0x10]
mov byte [esp + 0x170], 7
call fcn.00421016
push 4
lea ecx, [esp + 0x20]
push 2
push ecx
mov ecx, 0x432498
mov byte [esp + 0x17c], 8
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x174], 9
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x170], 8
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x1c]
push 4
push edx
mov ecx, 0x432498
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x174], 0xa
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x170], 8
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x5c]
push eax
push ecx
call edi
push 0x10
lea edx, [esp + 0x60]
push 0
push edx
call dword [sym.imp.MSVCRT.dll_strtol]
add esp, 0xc
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x68]
push eax
push ecx
call edi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea edx, [esp + 0x80]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
jne 0x41f665
push eax
push eax
push str.Cant_Open_File
mov dword [0x4324b0], eax
call sub.MFC42.DLL_AfxMessageBox
jmp 0x41facc
xor eax, eax
mov dword [0x430704], eax
mov edx, eax
movsx ebx, byte [0x430707]
push ebx
mov dword [0x430700], edx
movsx ebx, byte [0x430706]
push ebx
mov ecx, eax
movsx ebx, ah
push ebx
mov dword [0x4306fc], ecx
movsx ebx, al
push ebx
mov dword [0x4306f8], eax
movsx ebx, byte [0x430703]
push ebx
movsx ebx, byte [0x430702]
push ebx
movsx ebx, dh
movsx edx, dl
push ebx
push edx
movsx edx, byte [0x4306ff]
push edx
movsx edx, byte [0x4306fe]
push edx
movsx edx, ch
push edx
movsx edx, byte [0x4306fb]
movsx ecx, cl
push ecx
push edx
movsx ecx, byte [0x4306fa]
movsx edx, ah
movsx eax, al
push ecx
push edx
push eax
lea ecx, [esp + 0x60]
push str._02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X
push ecx
call sub.MFC42.DLL_CString::Format_1
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x74]
push edx
push eax
push ecx
lea edx, [esp + 0x64]
push str.S315_s_04X_sFC_r_n
push edx
call sub.MFC42.DLL_CString::Format_1
add esp, 0x5c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeUpper
mov eax, dword [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
lea edx, [esp + 0x4c]
push 0
mov ecx, dword [eax - 8]
push edx
push ecx
push eax
push esi
call ebx
push str.S70500000000FA
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x4c]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push esi
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call ebx
push 0x42ea78
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::CString_2
push str.idwrite.dat
lea ecx, [esp + 0x18]
mov byte [esp + 0x174], 0xb
call sub.MFC42.DLL_CString::operator
push 2
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
call sub.MFC42.DLL_CString::CString_1
push ecx
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x64], esp
push edx
mov byte [esp + 0x180], 0xc
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [0x43192c]
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x180], 0xb
call fcn.0040afe0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x174], 0xd
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x170], 0xb
call sub.MFC42.DLL_CString::CString
mov ecx, dword [0x430b98]
mov edx, dword [0x430b94]
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [0x43191c]
push edx
push eax
push ecx
lea edx, [esp + 0x34]
push str._s_sirfflashcl.exe_s__wp__d__rp__d
push edx
call sub.MFC42.DLL_CString::Format_1
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x5c]
add esp, 0x18
push eax
push esi
call edi
xor edi, edi
push 0x430930
push 0x430940
push edi
push edi
push 8
push 1
push 0x430b88
push 0x430b88
push esi
push edi
mov dword [0x430b88], 0xc
mov dword [0x430b90], 1
mov dword [0x430940], 0x44
mov word [0x430970], di
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x41f896
mov ecx, dword [0x430b98]
push ecx
call ebx
mov edx, dword [0x430b94]
push edx
call ebx
push edi
push edi
push str.CreateProcess_Error
mov dword [0x4324b0], edi
call sub.MFC42.DLL_AfxMessageBox
jmp 0x41fabb
lea ecx, [esp + 0x38]
mov dword [0x430924], 0xffff
xor esi, esi
call fcn.00421016
lea ecx, [esp + 0x3c]
mov byte [esp + 0x170], 0xe
call fcn.00421016
mov byte [esp + 0x170], 0xf
mov eax, dword [0x430b98]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
push 0x430928
push 4
push 0x43091c
push eax
call edi
mov ecx, dword [0x430b98]
push 0
push 0x430928
push 4
push 0x430918
push ecx
call edi
mov edx, dword [0x43091c]
mov eax, dword [0x430b98]
push 0
push 0x430928
push edx
push 0x430718
push eax
call edi
mov eax, dword [0x430918]
mov ecx, dword [0x430924]
cmp ecx, eax
je 0x41f939
push 0x42e144
call dword [sym.imp.MSVCRT.dll_printf]
mov eax, dword [0x430918]
add esp, 4
mov dword [0x430924], eax
mov ecx, dword [0x43091c]
push 0x430718
push eax
push ecx
lea edx, [esp + 0x48]
push str.LEN___04d_TYPE___04d_DATA___s
push edx
call sub.MFC42.DLL_CString::Format_1
lea edi, [esi + 1]
lea eax, [esp + 0x4c]
push edi
push 0x42e4ec
push eax
call sub.MFC42.DLL_CString::Format_1
add esp, 0x20
mov ecx, ebp
push 0
push 0
push 0
push 0
push 0x42f470
push esi
push 3
call sub.MFC42.DLL_CListCtrl::InsertItem
mov ecx, dword [esp + 0x38]
push ecx
push 0
push esi
mov ecx, ebp
call sub.MFC42.DLL_CListCtrl::SetItemText
mov edx, dword [esp + 0x3c]
mov ecx, ebp
push edx
push 1
push esi
call sub.MFC42.DLL_CListCtrl::SetItemText
mov eax, dword [0x430918]
mov esi, edi
xor edi, edi
cmp eax, edi
je 0x41f9de
cmp eax, 5
je 0x41fa58
cmp eax, 6
je 0x41fa58
cmp eax, 7
je 0x41f9e5
cmp eax, 0x3ee
jne 0x41f8c4
mov eax, dword [esp + 0x48]
cmp dword [eax + 0x64], 1
je 0x41fa05
jmp 0x41f8c4
push 0x42fd78
jmp 0x41fa5d
push str.ERROR
mov ecx, 0x431104
call sub.MFC42.DLL_CString::operator
mov edx, dword [0x431104]
push edi
push edi
mov dword [0x4324b0], edi
push edx
jmp 0x41fa76
mov eax, dword [0x430b98]
push eax
call ebx
mov ecx, dword [0x430b94]
push ecx
call ebx
mov edx, dword [esp + 0x44]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, 0x431104
mov dword [0x4324b0], 0
push 0x9d
call sub.MFC42.DLL_CString::LoadStringA
mov eax, dword [0x431104]
push 0
push 0
push eax
call sub.MFC42.DLL_AfxMessageBox
mov ecx, dword [esp + 0x50]
push 1
call sub.MFC42.DLL_CWnd::EnableWindow
jmp 0x41fa99
push str.ERROR
mov ecx, 0x431104
call sub.MFC42.DLL_CString::operator
mov ecx, dword [0x431104]
push edi
push edi
mov dword [0x4324b0], edi
push ecx
call sub.MFC42.DLL_AfxMessageBox
mov edx, dword [0x430b98]
push edx
call ebx
mov eax, dword [0x430b94]
push eax
call ebx
mov ecx, dword [esp + 0x44]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x170], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x170], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x170], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x170], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x170], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x170], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x170], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x170], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x170], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x170], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x170], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x170], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x168]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x164
ret