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

Disassembly:
push 0xffffffffffffffff
push 0x42ac18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [edi + 0x94]
push 0
add ecx, 0x1a0
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea eax, [esp + 0x10]
push str._s_regsvr32.exe
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x3c]
add esp, 0xc
lea esi, [ecx + 0x14]
push 0
mov ecx, esi
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::GetBuffer
mov edx, dword [edi + 0x94]
push eax
push str.CXSyncExeDlg::ProcessRegisterFileByRegSvr32__Cmd_Str_:__s__s__s
push 1
mov eax, dword [edx + 0xd0]
push eax
call fcn.00407c90
add esp, 0x14
mov ecx, esi
push 0x5c
call sub.MFC42.DLL_CString::ReverseFind
mov ebp, eax
lea ecx, [esp + 0x18]
push ebp
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::Left
inc ebp
lea edx, [esp + 0x14]
push ebp
push edx
mov ecx, esi
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::Mid
push 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 3
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [esp + 0xc]
push str.__s
lea ecx, [esp + 0x20]
push eax
push ecx
call sub.MFC42.DLL_operator_2
lea edx, [esp + 0x14]
mov byte [esp + 0x28], 4
push edx
push eax
lea eax, [esp + 0x38]
push eax
call sub.MFC42.DLL_operator
mov byte [esp + 0x28], 5
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 3
call sub.MFC42.DLL_CString::CString
push 0
push 0
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x1f
jg 0x418f00
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
mov ecx, esi
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [edi + 0x94]
push eax
push str.CXSyncExeDlg::ProcessRegisterFileByRegSvr32__WinExec__s__2__ErrCode___d
push 4
mov edx, dword [ecx + 0xd0]
push edx
call fcn.00407c90
mov ecx, dword [edi + 0x94]
add esp, 0x14
lea eax, [esp + 0x30]
mov ecx, dword [ecx + 0xd0]
push eax
call fcn.00407370
mov eax, dword [esp + 0x30]
mov byte [esp + 0x28], 6
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x418e9e
mov edx, dword [esp + 0xc]
push eax
lea esi, [edi + 0x9c]
push edx
push 0x43c234
push esi
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, esi
push 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 1
mov ecx, edi
call fcn.00414bb0
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
mov eax, 0xfffffffe
pop ebp
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4
mov ecx, dword [edi + 0x94]
push eax
mov eax, dword [esi]
mov edx, dword [ecx + 0xd0]
push eax
push str.CXSyncExeDlg::ProcessRegisterFileByRegSvr32__File__s__is_registered._RetVal___d
push 2
push edx
call fcn.00407c90
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 4