Function at 0x408c30
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x483ca0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.Enter_...
push 0x3f5
push str.SetupHandler.cpp
push 0
push str.SetupHandler::StopProcess
push dword [0x4868e8]
mov dword [ebp - 0x228], ecx
call fcn.0040a4c0
mov esi, dword [sym.imp.USER32.dll_FindWindowW]
add esp, 0x18
push 0
push str.TurboMeetingMainWindowClass
call esi
test eax, eax
je 0x408c93
push 0
push 0
push 0x13a0
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor ebx, ebx
push ebx
push str.TurboMeetingMainWindowClass
mov dword [ebp - 0x224], ebx
call esi
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
test esi, esi
je 0x408dc2
cmp ebx, 5
jge 0x408dc2
push edi
call fcn.004031d0
push eax
push edi
push str.Failed_to_close_TurboMeetingMainWindowClass__error_code:__d__error:__s
push 0x407
push str.SetupHandler.cpp
push 0
push str.SetupHandler:StopProcess__
push dword [0x4868e8]
call fcn.0040a4c0
add esp, 0x24
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push str.TurboMeetingMainWindowClass
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
test ebx, ebx
je 0x408d7e
call edi
mov esi, eax
push esi
call fcn.004031d0
push eax
push esi
push str.2Failed_to_close_TurboMeetingMainWindowClass__error_code:__d__error:__s
push 0x40e
push str.SetupHandler.cpp
push 0
push str.SetupHandler:StopProcess__
push dword [0x4868e8]
call fcn.0040a4c0
add esp, 0x24
push 0
push 0
push 0x13a0
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
call edi
mov esi, eax
push esi
call fcn.004031d0
push eax
push esi
push str.3Failed_to_close_TurboMeetingMainWindowClass__error_code:__d__error:__s
push 0x412
push str.SetupHandler.cpp
push 0
push str.SetupHandler:StopProcess__
push dword [0x4868e8]
call fcn.0040a4c0
add esp, 0x24
call edi
mov edi, eax
push edi
call fcn.004031d0
push eax
push edi
push str.4Failed_to_close_TurboMeetingMainWindowClass__error_code:__d__error:__s
push 0x416
push str.SetupHandler.cpp
push 0
push str.SetupHandler:StopProcess__
push dword [0x4868e8]
call fcn.0040a4c0
inc dword [ebp - 0x224]
add esp, 0x24
test ebx, ebx
mov ebx, dword [ebp - 0x224]
jne 0x408cb5
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call ebx
mov esi, eax
push esi
call fcn.004031d0
push eax
push esi
push str.1error_code:__d__error:__s
push 0x41b
push str.SetupHandler.cpp
push 0
push str.SetupHandler:StopProcess__
push dword [0x4868e8]
call fcn.0040a4c0
push 0x4613f0
lea eax, [ebp - 0x204]
push str.__s.exe_
push eax
call fcn.0043a459
lea eax, [ebp - 0x204]
push eax
call fcn.0040e5e0
add esp, 0x34
call ebx
mov esi, eax
push esi
call fcn.004031d0
push eax
push esi
push str.2error_code:__d__error:__s
push 0x422
push str.SetupHandler.cpp
push 0
push str.SetupHandler:StopProcess__
push dword [0x4868e8]
call fcn.0040a4c0
push 0x4613f0
lea eax, [ebp - 0x204]
push str.__s.ex_
push eax
call fcn.0043a459
lea eax, [ebp - 0x204]
push eax
call fcn.0040e5e0
add esp, 0x34
call ebx
mov esi, eax
push esi
call fcn.004031d0
push eax
push esi
push str.3error_code:__d__error:__s
push 0x428
push str.SetupHandler.cpp
push 0
push str.SetupHandler:StopProcess__
push dword [0x4868e8]
call fcn.0040a4c0
push str.TMInstaller
lea eax, [ebp - 0x204]
push str.__s.exe_
push eax
call fcn.0043a459
lea eax, [ebp - 0x204]
push eax
call fcn.0040e5e0
add esp, 0x34
call ebx
mov esi, eax
push esi
call fcn.004031d0
push eax
push esi
push str.TMInstaller
push 0x4613f0
push str.Has_stopped__s.exe_and__s.exe__error_code:__d__error:__s
push 0x42e
push str.SetupHandler.cpp
push 0
push str.SetupHandler::StopProcess
push dword [0x4868e8]
call fcn.0040a4c0
push str.TMService.exe
call fcn.0040d0f0
add esp, 0x30
test al, al
je 0x408f12
push str.bServiceModeRunning_is_true
push 0x433
jmp 0x408f1c
push str.bServiceModeRunning_is_false
push 0x435
push str.SetupHandler.cpp
push 0
push str.SetupHandler::StopProcess
push dword [0x4868e8]
call fcn.0040a4c0
mov eax, dword [ebp - 0x228]
add esp, 0x18
cmp byte [eax + 0x302c], 0
je 0x409186
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
mov dword [ebp - 0x224], ebx
test ebx, ebx
je 0x409152
push str.OpenSCManager___succeeded
push 0x43c
push str.SetupHandler.cpp
push 0
push str.SetupHandler::StopProcess
push dword [0x4868e8]
call fcn.0040a4c0
add esp, 0x18
push 0xf003f
push str.TurboMeeting
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x228], esi
test esi, esi
je 0x409104
push str.OpenService___succeeded
push 0x441
push str.SetupHandler.cpp
push 0
push str.SetupHandler::StopProcess
push dword [0x4868e8]
call fcn.0040a4c0
add esp, 0x18
lea eax, [ebp - 0x220]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x4090ae
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call edi
push str.TMService.exe
call fcn.0040d0f0
mov bl, al
add esp, 4
xor esi, esi
test bl, bl
je 0x409052
jmp 0x409010
cmp esi, 5
jge 0x40905e
push 0x3e8
inc esi
call edi
push str.TMService.exe
call fcn.0040d0f0
push esi
push str.Wait_to_stop_service__d
push 0x451
push str.SetupHandler.cpp
push 0
push str.SetupHandler::StopProcess
push dword [0x4868e8]
mov bl, al
call fcn.0040a4c0
add esp, 0x20
test bl, bl
jne 0x409010
push str.Stop_service_successfully
push 0x455
jmp 0x40906c
test bl, bl
je 0x409052
push str.Failed_to_stop_service
push 0x457
push str.SetupHandler.cpp
push 0
push str.SetupHandler::StopProcess
push dword [0x4868e8]
call fcn.0040a4c0
mov ebx, dword [ebp - 0x224]
add esp, 0x18
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0x228]
call esi
push ebx
call esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004396df
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
call fcn.004031d0
push eax
push esi
push str.failed_to_ControlService_SERVICE_CONTROL_STOP_._Error:__d___s
push 0x45d
push str.SetupHandler.cpp
push 3
push str.SetupHandler::StopProcess__
push dword [0x4868e8]
call fcn.0040a4c0
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
add esp, 0x24
push dword [ebp - 0x228]
call esi
push ebx
call esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004396df
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
call fcn.004031d0
push eax
push esi
push str.failed_to_OpenService__._Error:__d___s
push 0x465
push str.SetupHandler.cpp
push 3
push str.SetupHandler::StopProcess__
push dword [0x4868e8]
call fcn.0040a4c0
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
add esp, 0x24
push ebx
call esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004396df
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
call fcn.004031d0
push eax
push esi
push str.failed_to_OpenSCManager__._Error:__d___s
push 0x46d
push str.SetupHandler.cpp
push 3
push str.SetupHandler::StopProcess__
push dword [0x4868e8]
call fcn.0040a4c0
add esp, 0x24
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004396df
mov esp, ebp
pop ebp
ret