Function at 0x411bbf
Capabilities:
Create process on windows
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c8f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], 0
mov eax, dword [0x4767b4]
push eax
push 0x4707b0
lea ecx, [ebp - 0x20]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
push str.CSyncEngine::ProcessRegisterFileByRegSvr32__Cmd_Str_:__s__s__s
push 1
mov edx, dword [0x476a9c]
push edx
call fcn.00407ea0
add esp, 0x14
push 0x5c
mov ecx, dword [ebp + 8]
add ecx, 0x14
call sub.MFC42.DLL_CString::ReverseFind
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x14
call sub.MFC42.DLL_CString::Left
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x10]
add edx, 1
push edx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x14
call sub.MFC42.DLL_CString::Mid
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.004020c0
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [ebp - 0x18]
push ecx
push 0x470800
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x28]
push eax
call sub.MFC42.DLL_operator_4
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x40]
push edx
lea eax, [ebp - 0x2c]
push eax
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x48], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x48]
push edx
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::CString
push 0
lea ecx, [ebp - 0x24]
call fcn.004020c0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x1f
jg 0x411d70
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
push ecx
push str.CSyncEngine::ProcessRegisterFileByRegSvr32__WinExec__s__Fail__ErrCode___d
push 4
mov edx, dword [0x476a9c]
push edx
call fcn.00407ea0
add esp, 0x14
mov ecx, dword [0x476a9c]
call fcn.004092d8
mov dword [ebp - 0x30], 0xfffffffe
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x30]
jmp 0x411dcd
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
push edx
push str.CSyncEngine::ProcessRegisterFileByRegSvr32__File__s__is_registered._RetVal___d
push 2
mov eax, dword [0x476a9c]
push eax
call fcn.00407ea0
add esp, 0x14
mov dword [ebp - 0x34], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4