Function at 0x409e40
Capabilities:
Send icmp echo request
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x40c9c8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x413034]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push esi
mov eax, dword [0x413034]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
call dword [sym.imp.IPHLPAPI.DLL_IcmpCreateFile]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
jne 0x409e97
push str.CPinglWatchdog::WatchdogThread_Error:_IcmpCreateFile_failed
call fcn.00409370
add esp, 4
jmp 0x40a044
mov cx, word [0x40f660]
movq xmm0, qword [str.Ping_Data]
movq qword [esp + 0x14], xmm0
mov word [esp + 0x1c], cx
xor ebx, ebx
jmp 0x409eb9
mov eax, dword [esp + 0x10]
mov edx, dword [edi + 0x48]
push edx
push 0x26
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [edi + 0x3c]
push 0
push 0xa
lea edx, [esp + 0x28]
push edx
push ecx
push eax
call dword [sym.imp.IPHLPAPI.DLL_IcmpSendEcho]
cmp eax, 1
jne 0x409ffe
cmp dword [esp + 0x24], 0
jne 0x409ff2
mov eax, dword [esp + 0x30]
push 0xa
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.MSVCR100.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x409ff2
test ebx, ebx
je 0x409f1b
push ebx
push str.Ping_Watchdog_received_successful_ping_after__d_successive_failures
call fcn.00409370
add esp, 8
xor ebx, ebx
mov ecx, dword [edi + 0x40]
mov eax, dword [edi + 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, eax
test esi, esi
je 0x409f3a
cmp ebx, dword [edi + 0x4c]
jb 0x409eb5
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.IPHLPAPI.DLL_IcmpCloseHandle]
mov eax, dword [edi + 0x4c]
cmp ebx, eax
jb 0x40a023
push eax
push str.Fatal_Error__DSP_didnt_receive_a_ping_from_the_Tester_Computer_on__d_consecutive_attempts.__Killing_TerNumaHost_processes_and_resetting_MCore.
call fcn.00409370
mov ebx, dword [edi + 0x2c]
add esp, 8
cmp ebx, dword [edi + 0x30]
je 0x409fd0
mov eax, dword [ebx]
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x58], 0
test esi, esi
jne 0x409f95
push str.CPinglWatchdog::WatchdogThread_Error:_Could_not_open_handle_to_child_process_to_kill_it
call fcn.00409370
add esp, 4
push 0xff
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x409fb5
mov ecx, dword [ebx]
push ecx
push str.CPinglWatchdog::WatchdogThread_Error:_TerminateProcess_failed_on_process_with_PID__d
call fcn.00409370
add esp, 8
mov dword [esp + 0x58], 0xffffffff
test esi, esi
je 0x409fc8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add ebx, 4
cmp ebx, dword [edi + 0x30]
jne 0x409f66
push str.Ping_Watchdog_terminated_all_child_processes
call fcn.00409370
add esp, 4
push str.Parent_TerNumaHost.exe_exiting
call fcn.00409370
add esp, 4
push 1
call dword [sym.imp.MSVCR100.dll_exit]
mov ecx, dword [esp + 0x24]
push ecx
push str.Ping_Watchdog_either_received_an_invalid_reply_from_the_Tester_Computer_with_Status__d___or_the_ping_data_was_corrupted.__A_status_code_of_0_indicates_corruption.
jmp 0x40a00a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Ping_Watchdog_did_not_receive_a_reply_from_the_Tester_Computer.__Error_code:__d
call fcn.00409370
inc ebx
add esp, 8
test ebx, ebx
je 0x409f1d
mov ecx, dword [edi + 0x44]
jmp 0x409f20
test esi, esi
jne 0x40a036
push str.Ping_Watchdog_thread_exiting_normally.__Child_on_NUMA_Node_0_is_shutting_down.
call fcn.00409370
add esp, 4
jmp 0x40a044
push esi
push str.CPinglWatchdog::WatchdogThread_Error:_Ping_Watchdog_thread_terminating_abnormally._Received__d_from_WaitForSingleObject.
call fcn.00409370
add esp, 8
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0040be38
mov esp, ebp
pop ebp
ret