Function at 0x462710
Capabilities:
Check for time delay via queryperformancecounter
Send icmp echo request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x517ab5
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x580b30]
xor eax, esp
mov dword [esp + 0x428], eax
push ebx
push esi
push edi
mov eax, dword [0x580b30]
xor eax, esp
push eax
lea eax, [esp + 0x440]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov esi, ecx
mov dword [esp + 0x44], 0x534e40
mov dword [esp + 0x54], 0x537b70
mov dword [esp + 0xa4], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x44c], ebx
mov edi, 1
push ecx
mov dword [esp + 0x24], edi
call fcn.004034a0
mov dword [esp + 0x448], edi
mov edx, dword [esp + 0x44]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x5c]
push ecx
mov dword [esp + eax + 0x48], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
call fcn.00403fb0
mov dword [esp + 0x5c], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
lea eax, [esi + 0x80]
mov dword [esp + 0x448], 3
cmp dword [eax + 0x14], 0x10
jb 0x4627e1
mov eax, dword [eax]
push str.:_thread_started.
push ecx
push eax
push ecx
lea edx, [esp + 0x64]
push str.Ping_target
push edx
call fcn.004050c0
add esp, 0xc
push eax
call fcn.00413190
add esp, 0xc
push eax
call fcn.004050c0
add esp, 8
lea ecx, [esp + 0x3ac]
lea eax, [esp + 0x44]
call fcn.00402c70
push eax
push 3
mov byte [esp + 0x450], 4
call fcn.00409e90
mov ecx, eax
call fcn.004688b0
cmp dword [esp + 0x3c0], 8
jb 0x46284e
mov eax, dword [esp + 0x3ac]
push eax
call fcn.00469e1a
add esp, 4
lea ecx, [esp + 0x44]
mov dword [esp + 0x448], 0xffffffff
call fcn.00401820
lea ecx, [esi + 0x48]
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
mov eax, dword [esp + 0x18]
add eax, 4
mov dword [esp + 0x20], eax
cmp dword [eax], edi
jne 0x462888
mov eax, dword [esp + 0x18]
inc dword [eax]
jmp 0x4628a4
mov ecx, dword [esp + 0x18]
add ecx, 8
call fcn.00417a90
mov edx, dword [esp + 0x20]
xchg dword [edx], edi
mov eax, dword [esp + 0x18]
mov dword [eax], 1
mov dword [esp + 0x448], 5
call dword [sym.imp.IPHLPAPI.DLL_IcmpCreateFile]
mov edi, eax
mov dword [esp + 0x1c], edi
cmp edi, 0xffffffff
jne 0x462a18
push 0x2a
push str.Invalid_handle_value_from_IcmpCreateFile__
lea ecx, [esp + 0x344]
mov dword [esi + 0x20], eax
mov dword [esp + 0x358], 0xf
mov dword [esp + 0x354], ebx
mov byte [esp + 0x344], bl
call fcn.0040a3b0
lea edx, [esp + 0x33c]
lea ecx, [esi + 0x2c]
push edx
mov byte [esp + 0x44c], 6
call fcn.0041f5f0
mov byte [esp + 0x448], 5
cmp dword [esp + 0x350], 0x10
jb 0x46292d
mov eax, dword [esp + 0x33c]
push eax
call fcn.00469e1a
add esp, 4
lea ecx, [esp + 0x23c]
push ecx
call fcn.00402bd0
lea edx, [esp + 0x3e4]
push edx
push esi
mov byte [esp + 0x450], 7
call fcn.0044b8d0
push str.:_Invalid_handle_value_from_IcmpCreateFile__
push ecx
push eax
push ecx
push str.:_Ping_target_task
push ecx
lea eax, [esp + 0x264]
push str.NetworkService::PingTargetTask::Execute
push eax
mov byte [esp + 0x468], 8
call fcn.004050c0
add esp, 0xc
push eax
call fcn.004050c0
add esp, 0xc
push eax
call fcn.00413550
add esp, 0xc
push eax
call fcn.004050c0
mov esi, 8
add esp, 8
mov byte [esp + 0x448], 7
cmp dword [esp + 0x3f8], esi
jb 0x4629bc
mov ecx, dword [esp + 0x3e4]
push ecx
call fcn.00469e1a
add esp, 4
lea ecx, [esp + 0x41c]
lea eax, [esp + 0x23c]
call fcn.00402c70
push eax
push 1
mov byte [esp + 0x450], 9
call fcn.00409e90
mov ecx, eax
call fcn.004688b0
cmp dword [esp + 0x430], esi
jb 0x4629ff
mov edx, dword [esp + 0x41c]
push edx
call fcn.00469e1a
add esp, 4
lea ecx, [esp + 0x23c]
mov byte [esp + 0x448], 5
call fcn.00401820
jmp 0x462eee
mov dword [esp + 0x40], edi
mov byte [esp + 0x448], 0xa
xor ecx, ecx
push 0xa
mov word [esp + 0x308], cx
push str.PING_DATA_
lea ecx, [esp + 0x30c]
mov dword [esp + 0x320], 7
mov dword [esp + 0x31c], ebx
call fcn.0040acb0
xor edx, edx
mov dword [esp + 0x2fc], 7
mov dword [esp + 0x2f8], ebx
mov word [esp + 0x2e8], dx
push ebx
push 0x38
lea ecx, [esp + 0x2f0]
mov byte [esp + 0x450], 0xc
call fcn.0040aa70
cmp dword [esp + 0x2fc], 8
mov eax, dword [esp + 0x2e8]
mov dword [esp + 0x2f8], ebx
jae 0x462aa5
lea eax, [esp + 0x2e8]
lea edx, [esp + 0x2c]
xor ecx, ecx
push edx
mov word [eax], cx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x2e8]
mov eax, 8
cmp dword [esp + 0x2fc], eax
jae 0x462adc
lea ecx, [esp + 0x2e8]
cmp dword [esp + 0x318], eax
mov eax, dword [esp + 0x304]
jae 0x462af3
lea eax, [esp + 0x304]
push 0x2710
push 0x38
push ecx
mov ecx, dword [esi + 0x9c]
push ebx
push 0x1c
push eax
push ecx
push edi
call dword [sym.imp.IPHLPAPI.DLL_IcmpSendEcho]
mov edx, dword [esi]
mov edi, eax
mov eax, dword [edx + 0x24]
mov ecx, esi
call eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [esp + 0x24]
sub edx, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
sbb eax, dword [esp + 0x38]
push ebx
push 0xf4240
push eax
push edx
call fcn.004d6880
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push ecx
push edx
push eax
call fcn.004d9550
push ebx
push 0x3e8
push edx
push eax
call fcn.004d9550
mov dword [esp + 0x30], edx
cmp edi, ebx
jne 0x462d71
push 0x18
push str.IcmpSendEcho_failed_for
lea ecx, [esp + 0x328]
mov dword [esp + 0x33c], 0xf
mov dword [esp + 0x338], ebx
mov byte [esp + 0x328], bl
call fcn.0040a3b0
lea eax, [esi + 0x80]
push eax
lea edx, [esp + 0x324]
push edx
lea eax, [esp + 0x360]
push eax
mov byte [esp + 0x454], 0xd
call fcn.00425920
add esp, 0xc
lea edi, [esi + 0x2c]
push eax
mov ecx, edi
mov byte [esp + 0x44c], 0xe
call fcn.0041f5f0
cmp dword [esp + 0x36c], 0x10
jb 0x462bf2
mov ecx, dword [esp + 0x358]
push ecx
call fcn.00469e1a
add esp, 4
mov byte [esp + 0x448], 0xc
cmp dword [esp + 0x334], 0x10
mov dword [esp + 0x36c], 0xf
mov dword [esp + 0x368], ebx
mov byte [esp + 0x358], bl
jb 0x462c2d
mov edx, dword [esp + 0x320]
push edx
call fcn.00469e1a
add esp, 4
lea eax, [esp + 0xec]
push eax
call fcn.00402bd0
mov byte [esp + 0x448], 0xf
cmp dword [edi + 0x14], 0x10
jb 0x462c4a
mov edi, dword [edi]
lea ecx, [esp + 0x390]
push edi
push ecx
call fcn.0046704f
add esp, 8
push eax
push ecx
lea edx, [esp + 0x104]
push str.NetworkService::PingTargetTask::Execute
push edx
mov byte [esp + 0x458], 0x10
call fcn.004050c0
add esp, 0xc
push eax
call fcn.00413550
mov edi, 8
add esp, 8
mov byte [esp + 0x448], 0xf
cmp dword [esp + 0x3a4], edi
jb 0x462ca9
mov eax, dword [esp + 0x390]
push eax
call fcn.00469e1a
add esp, 4
lea ecx, [esp + 0x400]
lea eax, [esp + 0xec]
call fcn.00402c70
push eax
push 2
mov byte [esp + 0x450], 0x11
call fcn.00409e90
mov ecx, eax
call fcn.004688b0
cmp dword [esp + 0x414], edi
jb 0x462cec
mov ecx, dword [esp + 0x400]
push ecx
call fcn.00469e1a
add esp, 4
lea ecx, [esp + 0xec]
mov byte [esp + 0x448], 0xc
call fcn.00401820
mov dword [esi + 0x20], 0xffffffff
cmp dword [esp + 0x2fc], edi
jb 0x462d20
mov edx, dword [esp + 0x2e8]
push edx
call fcn.00469e1a
add esp, 4
xor eax, eax
mov esi, 7
mov dword [esp + 0x2fc], esi
mov dword [esp + 0x2f8], ebx
mov word [esp + 0x2e8], ax
cmp dword [esp + 0x318], edi
jb 0x462d56
mov ecx, dword [esp + 0x304]
push ecx
call fcn.00469e1a
add esp, 4
mov eax, dword [esp + 0x1c]
xor edx, edx
mov dword [esp + 0x318], esi
mov word [esp + 0x304], dx
push eax
jmp 0x462ee1
lea ecx, [esp + 0x194]
push ecx
mov dword [esi + 0xa0], eax
mov dword [esi + 0x20], 2
call fcn.00402bd0
lea edx, [esp + 0x3c8]
push edx
push esi
mov byte [esp + 0x450], 0x12
call fcn.0044b8d0
push str._completed_successfully
push ecx
push eax
push ecx
push str.:_Ping_target_task
push ecx
lea eax, [esp + 0x1bc]
push str.NetworkService::PingTargetTask::Execute
push eax
mov byte [esp + 0x468], 0x13
call fcn.004050c0
add esp, 0xc
push eax
call fcn.004050c0
add esp, 0xc
push eax
call fcn.00413550
add esp, 0xc
push eax
call fcn.004050c0
mov esi, 8
add esp, 8
mov byte [esp + 0x448], 0x12
cmp dword [esp + 0x3dc], esi
jb 0x462e0d
mov ecx, dword [esp + 0x3c8]
push ecx
call fcn.00469e1a
add esp, 4
lea ecx, [esp + 0x374]
lea eax, [esp + 0x194]
call fcn.00402c70
push eax
push 3
mov byte [esp + 0x450], 0x14
call fcn.00409e90
mov ecx, eax
call fcn.004688b0
cmp dword [esp + 0x388], esi
jb 0x462e50
mov edx, dword [esp + 0x374]
push edx
call fcn.00469e1a
add esp, 4
xor eax, eax
mov edi, 7
lea ecx, [esp + 0x194]
mov dword [esp + 0x388], edi
mov dword [esp + 0x384], ebx
mov word [esp + 0x374], ax
mov byte [esp + 0x448], 0xc
call fcn.00401820
cmp dword [esp + 0x2fc], esi
jb 0x462e9a
mov ecx, dword [esp + 0x2e8]
push ecx
call fcn.00469e1a
add esp, 4
xor edx, edx
mov dword [esp + 0x2fc], edi
mov dword [esp + 0x2f8], ebx
mov word [esp + 0x2e8], dx
cmp dword [esp + 0x318], esi
jb 0x462ecb
mov eax, dword [esp + 0x304]
push eax
call fcn.00469e1a
add esp, 4
mov edx, dword [esp + 0x1c]
xor ecx, ecx
mov dword [esp + 0x318], edi
mov word [esp + 0x304], cx
push edx
mov dword [esp + 0x318], ebx
call dword [sym.imp.IPHLPAPI.DLL_IcmpCloseHandle]
mov dword [esp + 0x448], 0xffffffff
mov eax, dword [esp + 0x18]
dec dword [eax]
jne 0x462f3a
mov edx, dword [esp + 0x20]
xor ecx, ecx
xchg dword [edx], ecx
lea ecx, [eax + 8]
mov eax, closesocket
mov edx, ecx
lock xadd dword [edx], eax
test eax, 0x40000000
jne 0x462f3a
cmp eax, 0x80000000
jle 0x462f3a
mov eax, ecx
lock bts dword [eax], 0x1e
jb 0x462f3a
call fcn.0040b610
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esp + 0x440]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x428]
xor ecx, esp
call fcn.004d31b7
mov esp, ebp
pop ebp
ret