Function at 0x419340
Capabilities:
Access peb ldr_data
Create process on windows
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x42acb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x2c]
push 0
mov byte [esp + 0x28], 1
lea esi, [eax + 0x14]
mov ecx, esi
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [edi + 0x94]
push eax
push str.CXSyncExeDlg::ProcessRegisterFileByRegAsm__Cmd_Str_:__s__silent__s
push 1
mov edx, dword [ecx + 0xd0]
push edx
call fcn.00407c90
add esp, 0x14
mov ecx, esi
push 0x5c
call sub.MFC42.DLL_CString::ReverseFind
mov ebp, eax
lea eax, [esp + 0x14]
push ebp
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::Left
inc ebp
lea ecx, [esp + 0x10]
push ebp
push ecx
mov ecx, esi
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::Mid
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 3
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea edx, [esp + 0x30]
push str.__silent
lea eax, [esp + 0x1c]
push edx
push eax
call sub.MFC42.DLL_operator_2
lea ecx, [esp + 0x10]
lea edx, [esp + 0x2c]
push ecx
push eax
push edx
mov byte [esp + 0x30], 4
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 5
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 3
call sub.MFC42.DLL_CString::CString
push 0
push 0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x1f
jg 0x4194ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
mov ecx, esi
call sub.MFC42.DLL_CString::GetBuffer
push eax
mov eax, dword [edi + 0x94]
push str.CXSyncExeDlg::ProcessRegisterFileByRegAsm__WinExec__s__2__ErrCode___d
push 4
mov ecx, dword [eax + 0xd0]
push ecx
call fcn.00407c90
mov eax, dword [edi + 0x94]
add esp, 0x14
lea edx, [esp + 0x2c]
mov ecx, dword [eax + 0xd0]
push edx
call fcn.00407370
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
mov eax, 0xfffffffe
pop ebp
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
mov ecx, dword [esi]
mov edx, dword [edi + 0x94]
push eax
push ecx
mov eax, dword [edx + 0xd0]
push str.CXSyncExeDlg::ProcessRegisterFileByRegAsm__File__s__is_registered._RetVal___d
push 2
push eax
call fcn.00407c90
add esp, 0x14
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret 8