Function at 0x41d7e0
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 0x424428
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x150
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x44], esi
xor ebp, ebp
push 0x400
mov dword [esp + 0x16c], ebp
call sub.MFC42.DLL_operatornew
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], eax
call fcn.00421016
lea ecx, [esp + 0x18]
mov byte [esp + 0x168], 1
call fcn.00421016
lea ecx, [esp + 0x20]
mov byte [esp + 0x168], 2
call fcn.00421016
lea ecx, [esp + 0x1c]
mov byte [esp + 0x168], 3
call fcn.00421016
mov eax, dword [esi + 0x130]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push ebp
push 0x1009
push eax
mov byte [esp + 0x178], 4
call edi
push 0xffffffffffffffff
push 0x3c
lea ebx, [esi + 0x110]
push 2
push 0x42f3c0
push ebp
mov ecx, ebx
call sub.MFC42.DLL_CListCtrl::InsertColumn
push 0xffffffffffffffff
push 0x172
push 2
push 0x42f3b8
push 1
mov ecx, ebx
call sub.MFC42.DLL_CListCtrl::InsertColumn
mov ecx, dword [esi + 0x130]
push 0x125
push ebp
push 0x1036
push ecx
call edi
xor esi, esi
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x430ba8
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x174], 5
mov ecx, esp
mov dword [esp + 0x58], esp
push 0x43191c
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [0x43192c]
mov byte [esp + 0x174], 4
call fcn.0040ce90
cmp eax, ebp
je 0x41d94c
inc esi
cmp esi, 4
jl 0x41d8bf
push 0x4000
push 0x430b88
push 0x430b94
push 0x430b98
mov dword [0x430b88], 0xc
mov dword [0x430b90], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x41d963
push str.ERROR:_CreatePipe_Error___r_n
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 4
jmp 0x41dd76
push ebp
push ebp
push str.Resource_Load_Error
mov dword [0x4324b0], ebp
call sub.MFC42.DLL_AfxMessageBox
jmp 0x41dd76
lea ecx, [esp + 0x28]
call fcn.00421016
mov edx, dword [0x43191c]
lea eax, [esp + 0x28]
push edx
push str._sidwrite.dat
push eax
mov byte [esp + 0x174], 6
call sub.MFC42.DLL_CString::Format_1
mov ecx, dword [0x431c24]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 0xc
push ecx
push 0x4306f8
call edi
lea ecx, [esp + 0x2c]
call fcn.00421016
lea ecx, [esp + 0x24]
mov byte [esp + 0x168], 7
call fcn.00421016
lea ecx, [esp + 0x10]
mov byte [esp + 0x168], 8
call fcn.00421016
push 4
lea edx, [esp + 0x34]
push 2
push edx
mov ecx, 0x432498
mov byte [esp + 0x174], 9
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x16c], 0xa
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x30]
mov byte [esp + 0x168], 9
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x30]
push 4
push eax
mov ecx, 0x432498
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x16c], 0xb
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x30]
mov byte [esp + 0x168], 9
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x54]
push ecx
push edx
call edi
push 0x10
lea eax, [esp + 0x58]
push ebp
push eax
call dword [sym.imp.MSVCRT.dll_strtol]
mov ecx, dword [esp + 0x34]
add esp, 0xc
lea edx, [esp + 0x60]
mov ebp, eax
push ecx
push edx
call edi
push 0
push 0x80
push 2
push 0
push 0
lea eax, [esp + 0x74]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
jne 0x41dab3
push 0x90
mov ecx, 0x431104
mov dword [0x4324b0], eax
call sub.MFC42.DLL_CString::LoadStringA
mov ecx, dword [0x431104]
push esi
push esi
push ecx
call sub.MFC42.DLL_AfxMessageBox
jmp 0x41dd32
mov eax, dword [0x431c38]
push 0x42e170
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x41dad4
mov edx, dword [0x431c24]
push edx
jmp 0x41dada
mov eax, dword [0x431c24]
push eax
push 0x4306f8
call edi
movsx ecx, byte [0x430707]
movsx edx, byte [0x430706]
movsx eax, byte [0x430705]
push ecx
push edx
movsx ecx, byte [0x430704]
movsx edx, byte [0x430703]
push eax
push ecx
movsx eax, byte [0x430702]
movsx ecx, byte [0x430701]
push edx
push eax
movsx edx, byte [0x430700]
movsx eax, byte [0x4306ff]
push ecx
push edx
movsx ecx, byte [0x4306fe]
movsx edx, byte [0x4306fd]
push eax
push ecx
movsx eax, byte [0x4306fc]
movsx ecx, byte [0x4306fb]
push edx
push eax
movsx edx, byte [0x4306fa]
movsx eax, byte [0x4306f9]
push ecx
push edx
movsx ecx, byte [0x4306f8]
push eax
push ecx
lea edx, [esp + 0x5c]
push str._02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X
push edx
call sub.MFC42.DLL_CString::Format_1
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x74]
push eax
push ebp
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 ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea edx, [esp + 0x48]
push 0
mov ecx, dword [eax - 8]
push edx
push ecx
push eax
push esi
call ebp
push str.S70500000000FA
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x48]
push 0
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push esi
call ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call ebp
push str.idwrite.dat
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator
push 0x42ea78
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::CString_2
push 2
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
mov byte [esp + 0x174], 0xc
call sub.MFC42.DLL_CString::CString_1
push ecx
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
mov byte [esp + 0x178], 0xd
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [0x43192c]
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x178], 0xc
call fcn.0040afe0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x16c], 0xe
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x30]
mov byte [esp + 0x168], 0xc
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 + 0x30]
push str._s_sirfflashcl.exe__s__wp__d__rp__d
push edx
call sub.MFC42.DLL_CString::Format_1
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x58]
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 0x41ddd8
mov ecx, dword [0x430b98]
push ecx
call ebp
mov edx, dword [0x430b94]
push edx
call ebp
push 0xa5
mov ecx, 0x431104
mov dword [0x4324b0], edi
call sub.MFC42.DLL_CString::LoadStringA
mov eax, dword [0x431104]
push edi
push edi
push eax
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 0x3c]
mov byte [esp + 0x168], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x168], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x168], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x168], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x168], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x168], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x168], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x168], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x168], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x170]
mov dword [esp + 0x168], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x41e089
lea ecx, [esp + 0x34]
mov dword [0x430924], 0xffff
xor esi, esi
call fcn.00421016
lea ecx, [esp + 0x38]
mov byte [esp + 0x168], 0xf
call fcn.00421016
mov byte [esp + 0x168], 0x10
mov ecx, dword [0x430b98]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
push 0x430928
push 4
push 0x43091c
push ecx
call edi
mov edx, dword [0x430b98]
push 0
push 0x430928
push 4
push 0x430918
push edx
call edi
mov eax, dword [0x43091c]
mov ecx, dword [0x430b98]
push 0
push 0x430928
push eax
push 0x430718
push ecx
call edi
mov eax, dword [0x430918]
mov ecx, dword [0x430924]
cmp ecx, eax
je 0x41de7c
push 0x42e144
call dword [sym.imp.MSVCRT.dll_printf]
mov eax, dword [0x430918]
add esp, 4
mov dword [0x430924], eax
mov edx, dword [0x43091c]
push 0x430718
push eax
push edx
lea eax, [esp + 0x44]
push str.LEN___04d_TYPE___04d_DATA___s
push eax
call sub.MFC42.DLL_CString::Format_1
lea edi, [esi + 1]
lea ecx, [esp + 0x48]
push edi
push 0x42e4ec
push ecx
call sub.MFC42.DLL_CString::Format_1
add esp, 0x20
mov ecx, ebx
push 0
push 0
push 0
push 0
push 0x42f470
push esi
push 3
call sub.MFC42.DLL_CListCtrl::InsertItem
mov edx, dword [esp + 0x34]
mov ecx, ebx
push edx
push 0
push esi
call sub.MFC42.DLL_CListCtrl::SetItemText
mov eax, dword [esp + 0x38]
mov ecx, ebx
push eax
push 1
push esi
call sub.MFC42.DLL_CListCtrl::SetItemText
mov eax, dword [0x430918]
mov esi, edi
xor edi, edi
cmp eax, edi
je 0x41df19
cmp eax, 5
je 0x41df71
cmp eax, 6
je 0x41df71
cmp eax, 7
je 0x41df39
cmp eax, 0x3ee
jne 0x41de06
mov ecx, dword [esp + 0x44]
cmp dword [ecx + 0x64], 1
je 0x41df58
jmp 0x41de06
push 0x42fd78
mov ecx, 0x431104
call sub.MFC42.DLL_CString::operator
mov edx, dword [0x431104]
push edi
push edi
mov dword [0x4324b0], edi
push edx
jmp 0x41df8f
push str.ERROR
mov ecx, 0x431104
call sub.MFC42.DLL_CString::operator
mov eax, dword [0x431104]
push edi
push edi
mov dword [0x4324b0], edi
push eax
jmp 0x41df8f
mov ecx, dword [0x430b98]
push ecx
call ebp
mov edx, dword [0x430b94]
push edx
call ebp
mov eax, dword [esp + 0x40]
push eax
jmp 0x41dfaa
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 ebp
mov eax, dword [0x430b94]
push eax
call ebp
mov ecx, dword [esp + 0x40]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x38]
mov byte [esp + 0x168], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x168], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0x168], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x168], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x168], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x168], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x168], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x168], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x168], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x168], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x168], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x170]
mov dword [esp + 0x168], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x160]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x15c
ret 4