Function at 0x407750
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jne 0x4078f6
call fcn.00407a60
test eax, eax
jne 0x4078bd
push 0x419f58
push eax
push 0x419cc0
push 0x408160
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x419f28], eax
cmp eax, 0xffffffff
je 0x407879
push str.GlobalCOMPAT_FRAMEWORK_SERVICE_EVENT_STOPPED
mov ebx, 0x419f2c
call section..text
add esp, 4
test eax, eax
jne 0x4077e5
push str.COM_server_thread_started.
push str.MACOMServer::StartServer
push 0xe2
push str.ma_compat_com_server.cpp
push str.compatservice
push 5
call dword [sym.imp.ma_compatbase.dll_public:_static_struct_ma_logger_s____cdecl_mcafee::ma::compat::ServiceContext::getLogger_void_]
push eax
call dword [sym.imp.ma_logger.dll_ma_log]
add esp, 0x1c
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_create_global_event_for_stop___d.
push str.MACOMServer::StartServer
push 0xe6
push str.ma_compat_com_server.cpp
push str.compatservice
push 2
call dword [sym.imp.ma_compatbase.dll_public:_static_struct_ma_logger_s____cdecl_mcafee::ma::compat::ServiceContext::getLogger_void_]
push eax
call dword [sym.imp.ma_logger.dll_ma_log]
mov eax, dword [0x419f58]
add esp, 0x20
push 0
push 0
push 0x12
push eax
call dword [0x4198cc]
mov ecx, dword [0x419f28]
push 0x2710
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40785b
mov eax, 0x419cc0
call fcn.00404490
mov edx, dword [0x419f28]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x419f28]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00407f80
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_create_runnable_thread_for_COM_server___d.
push str.MACOMServer::StartServer
push 0xf0
push str.ma_compat_com_server.cpp
push str.compatservice
push 2
call dword [sym.imp.ma_compatbase.dll_public:_static_struct_ma_logger_s____cdecl_mcafee::ma::compat::ServiceContext::getLogger_void_]
push eax
call dword [sym.imp.ma_logger.dll_ma_log]
add esp, 0x20
call fcn.00407f80
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push eax
push str.Failed_to_intialize_subsystems____d.
push str.MACOMServer::StartServer
push 0xf5
push str.ma_compat_com_server.cpp
push str.compatservice
push 2
call dword [sym.imp.ma_compatbase.dll_public:_static_struct_ma_logger_s____cdecl_mcafee::ma::compat::ServiceContext::getLogger_void_]
push eax
call dword [sym.imp.ma_logger.dll_ma_log]
add esp, 0x20
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push eax
push str.Failed_to_intiialize_COM____d.
push str.MACOMServer::StartServer
push 0xfa
push str.ma_compat_com_server.cpp
push str.compatservice
push 2
call dword [sym.imp.ma_compatbase.dll_public:_static_struct_ma_logger_s____cdecl_mcafee::ma::compat::ServiceContext::getLogger_void_]
push eax
call dword [sym.imp.ma_logger.dll_ma_log]
add esp, 0x20
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret