Function at 0x410c90
Capabilities:
Create pipe
Create process on windows
Create process suspended
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x422c10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
xor ebp, ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x50], ebp
call fcn.00421016
push 0x400
mov byte [esp + 0x54], 1
call sub.MFC42.DLL_operatornew
mov ebx, 1
add esp, 4
lea ecx, [esp + 0x18]
mov esi, eax
mov dword [edi + 0x60], ebx
call fcn.00421016
push str.tempreadset.dat
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54], 2
call sub.MFC42.DLL_CString::operator
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x4000
push 0x4304e0
mov edi, 0xc
push 0x4304ec
push 0x4304f0
mov dword [0x4304e0], edi
mov dword [0x4304e8], ebx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x410d46
push str.ERROR:_CreatePipe_Error___r_n
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 4
jmp 0x4112ce
lea ecx, [esp + 0x2c]
call fcn.00421016
lea ecx, [esp + 0x20]
mov byte [esp + 0x50], 3
call fcn.00421016
push 0x42ea78
lea ecx, [esp + 0x28]
mov byte [esp + 0x54], 4
call sub.MFC42.DLL_CString::CString_2
push ebp
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
mov byte [esp + 0x5c], 5
call sub.MFC42.DLL_CString::CString_1
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
mov byte [esp + 0x60], 6
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [0x43192c]
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x60], 5
call fcn.0040afe0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x54], 7
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 5
call sub.MFC42.DLL_CString::CString
mov ecx, dword [0x4304f0]
mov edx, dword [0x4304ec]
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [0x43191c]
push edx
push eax
push ecx
lea edx, [esp + 0x2c]
push str._s_sirfflashcl.exe__s__wp__d__rp__d
push edx
call sub.MFC42.DLL_CString::Format_1
mov eax, dword [esp + 0x34]
add esp, 0x18
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x430288
push 0x430298
push ebp
push ebp
push 8
push ebx
push 0x4304e0
push 0x4304e0
push esi
push ebp
mov dword [0x4304e0], edi
mov dword [0x4304e8], ebx
mov dword [0x430298], 0x44
mov word [0x4302c8], bp
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x410e72
mov ecx, dword [0x4304f0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [0x4304ec]
push edx
call esi
push ebp
push ebp
push str.ERROR:_CreateProcess_Error___r_n
call sub.MFC42.DLL_AfxMessageBox
jmp 0x4112a4
lea ecx, [esp + 0x28]
mov dword [0x43027c], 0xffff
xor edi, edi
call fcn.00421016
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 8
call fcn.00421016
push esi
mov byte [esp + 0x54], 9
call sub.MFC42.DLL_operatordelete
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 4
mov eax, dword [0x4304f0]
push 0
push 0x430280
push 4
push 0x430274
push eax
call ebp
mov ecx, dword [0x4304f0]
push 0
push 0x430280
push 4
push 0x430270
push ecx
call ebp
mov edx, dword [0x430274]
mov eax, dword [0x4304f0]
push 0
push 0x430280
push edx
push 0x430070
push eax
call ebp
mov eax, dword [0x430270]
mov ecx, dword [0x43027c]
cmp ecx, eax
je 0x410f1e
push 0x42e144
call dword [sym.imp.MSVCRT.dll_printf]
mov eax, dword [0x430270]
add esp, 4
mov dword [0x43027c], eax
mov ecx, dword [0x430274]
push 0x430070
push eax
push ecx
push str.LEN___04d__TYPE___04d__DATA___s_r
call dword [sym.imp.MSVCRT.dll_printf]
mov edx, dword [0x430270]
mov eax, dword [0x430274]
push 0x430070
push edx
push eax
lea ecx, [esp + 0x30]
push str.LEN___04d_TYPE___04d_DATA___s
push ecx
call sub.MFC42.DLL_CString::Format_1
mov edx, dword [esp + 0x7c]
push str.READ
push edx
call esi
add esp, 0x2c
test eax, eax
jne 0x411040
test edi, edi
jne 0x41110a
lea eax, [esp + 0x30]
push 3
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push 0x42f238
push eax
call esi
add esp, 8
lea ecx, [esp + 0x30]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x410faf
push 0x42f238
jmp 0x4110fe
lea edx, [esp + 0x34]
push 1
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x42e6a8
push eax
call esi
add esp, 8
lea ecx, [esp + 0x34]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x410fef
mov eax, dword [esp + 0x10]
push str.BOTTOM
lea ecx, [eax + 0x64]
jmp 0x411105
lea ecx, [esp + 0x38]
push 1
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x42e170
push eax
call esi
add esp, 8
lea ecx, [esp + 0x38]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x41102f
mov edx, dword [esp + 0x10]
push 0x42f22c
lea ecx, [edx + 0x64]
jmp 0x411105
mov eax, dword [esp + 0x10]
push 0x42f224
lea ecx, [eax + 0x64]
jmp 0x411105
cmp edi, 1
jne 0x41110a
lea ecx, [esp + 0x3c]
push 3
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push 0x42f238
push eax
call esi
add esp, 8
lea ecx, [esp + 0x3c]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x411086
mov edx, dword [esp + 0x10]
push 0x42f238
lea ecx, [edx + 0x64]
jmp 0x411105
lea eax, [esp + 0x40]
push 1
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x42e6a8
push eax
call esi
add esp, 8
lea ecx, [esp + 0x40]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4110bc
push str.BOTTOM
jmp 0x4110fe
lea edx, [esp + 0x44]
push 1
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x42e170
push eax
call esi
add esp, 8
lea ecx, [esp + 0x44]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4110f9
mov eax, dword [esp + 0x10]
push 0x42f22c
lea ecx, [eax + 0x64]
jmp 0x411105
push 0x42f224
mov ecx, dword [esp + 0x14]
add ecx, 0x64
call sub.MFC42.DLL_CString::operator
inc edi
lea edx, [esp + 0x28]
push edi
push 0x42e4ec
push edx
call sub.MFC42.DLL_CString::Format_1
mov eax, dword [0x430270]
add esp, 0xc
test eax, eax
je 0x41115f
cmp eax, 5
je 0x411252
cmp eax, 6
je 0x411252
cmp eax, 7
je 0x41117b
cmp eax, 0x3e8
jl 0x411197
cmp eax, 0x3ee
jne 0x410eaf
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x60], 1
je 0x4111bd
jmp 0x410eaf
push 0x6c
mov ecx, 0x431104
call sub.MFC42.DLL_CString::LoadStringA
mov ecx, dword [0x431104]
push 0
push 0
push ecx
jmp 0x41126b
push 0x6a
mov ecx, 0x431104
call sub.MFC42.DLL_CString::LoadStringA
mov edx, dword [0x431104]
push 0
push 0x10
push edx
jmp 0x41126b
push 0x430070
push str.ERROR:_s
push 0x431104
call sub.MFC42.DLL_CString::Format_1
add esp, 0xc
mov dword [0x4324b0], 0
jmp 0x411261
mov ecx, dword [0x4304f0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [0x4304ec]
push edx
call esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x50], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x50], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x50], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x50], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x58]
mov dword [esp + 0x50], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
jmp 0x4112fd
push 0x90
mov ecx, 0x431104
call sub.MFC42.DLL_CString::LoadStringA
mov eax, dword [0x431104]
push 0
push 0
push eax
call sub.MFC42.DLL_AfxMessageBox
mov ecx, dword [0x4304f0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [0x4304ec]
push edx
call esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x50], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x50], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x50], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x50], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x58]
mov dword [esp + 0x50], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x44
ret 4