Function at 0x457cdb
Capabilities:
Send icmp echo request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b14e2
mov eax, dword fs:[0]
push eax
sub esp, 0x1b0
mov eax, dword [0x631350]
xor eax, esp
mov dword [esp + 0x1a8], eax
push ebx
push esi
push edi
mov eax, dword [0x631350]
xor eax, esp
push eax
lea eax, [esp + 0x1c0]
mov dword fs:[0], eax
mov ebx, ecx
push 1
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
test eax, eax
jne 0x457d42
push str.Cannot_SetThreadAffinityMask_for_ping_thread
push 2
pop ecx
call fcn.0047feaf
pop ecx
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x1c8], eax
mov esi, dword [ebx + 8]
push dword [esi]
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x1c8], 1
mov eax, dword [ebx + 8]
add eax, 4
lea ecx, [esp + 0x3c]
call fcn.0040e059
lea eax, [ebx + 0xc]
push eax
call fcn.0045888d
mov byte [esp + 0x1c8], 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
cmp edi, eax
jne 0x457dc3
push str.PingManagerThread:_no_targets_to_check.
push 2
pop ecx
call fcn.0047feaf
xor edi, edi
pop ecx
inc edi
lea esi, [esp + 0x3c]
call fcn.0040f046
mov eax, edi
jmp 0x4581ff
sub eax, edi
push 0x1c
cdq
pop ecx
idiv ecx
and dword [esp + 0x28], 0
mov dword [esp + 0x1c], eax
test eax, eax
je 0x458042
mov dword [esp + 0x14], edi
jmp 0x457de6
mov edi, dword [esp + 0x14]
mov esi, dword [ebx + 8]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 8]
cmp byte [eax + 0x14], 0
push dword [esi]
jne 0x458072
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [edi + 0x14], 8
jb 0x457e0e
mov edi, dword [edi]
lea eax, [esp + 0x140]
push edi
push eax
call fcn.0047beff
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x457e26
mov eax, dword [eax]
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.WS2_32.dll_inet_addr]
or esi, 0xffffffff
mov dword [esp + 0x34], eax
cmp eax, esi
je 0x457f96
call dword [sym.imp.IPHLPAPI.DLL_IcmpCreateFile]
mov dword [esp + 0x20], eax
cmp eax, esi
je 0x457f96
mov dword [esp + 0x2c], eax
mov byte [esp + 0x1c8], 3
mov esi, str.PING_DATA_
lea edi, [esp + 0x15c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor eax, eax
lea edi, [esp + 0x167]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x3b
stosb byte es:[edi], al
lea eax, [esp + 0x181]
push 0
push eax
mov byte [esp + 0x188], 0
call fcn.0055fda0
add esp, 0xc
lea esi, [esp + 0xe4]
call fcn.00482570
call fcn.0048258f
push 0x2710
push 0x3c
lea eax, [esp + 0x184]
push eax
push 0
push 0x20
lea eax, [esp + 0x170]
push eax
push dword [esp + 0x4c]
push dword [esp + 0x3c]
call dword [sym.imp.IPHLPAPI.DLL_IcmpSendEcho]
mov edi, eax
call fcn.004825ab
push 0
push 0x3e8
push edx
push eax
call fcn.00571650
mov esi, eax
mov dword [esp + 0x38], edx
test edi, edi
jne 0x457f8c
lea eax, [esp + 0x4c]
push eax
call fcn.00403aba
mov esi, eax
push str.IcmpSendEcho_failed_for
push esi
mov byte [esp + 0x1d0], 4
call fcn.0040635f
push dword [esp + 0x2c]
push esi
call fcn.00406513
add esp, 0x10
lea eax, [esp + 0x104]
push eax
mov eax, esi
call fcn.00403b24
mov byte [esp + 0x1c8], 5
cmp dword [esp + 0x118], 8
mov eax, dword [esp + 0x104]
jae 0x457f52
lea eax, [esp + 0x104]
push eax
push 4
pop ecx
call fcn.0047feaf
pop ecx
push 1
xor edi, edi
lea esi, [esp + 0x108]
call fcn.00404589
lea eax, [esp + 0x4c]
mov byte [esp + 0x1c8], 3
call fcn.004027ed
push dword [esp + 0x20]
call dword [sym.imp.IPHLPAPI.DLL_IcmpCloseHandle]
or esi, 0xffffffff
jmp 0x457f96
push dword [esp + 0x20]
call dword [sym.imp.IPHLPAPI.DLL_IcmpCloseHandle]
push 0
push 1
lea ecx, [esp + 0x148]
call fcn.0040443a
mov ebx, dword [ebx + 8]
push dword [ebx]
mov dword [esp + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [esp + 0x130], 0
xor eax, eax
mov dword [esp + 0x134], 7
mov word [esp + 0x120], ax
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x128]
mov byte [esp + 0x1d0], 7
call fcn.004044c6
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x120]
add edi, 0xc
mov dword [esp + 0x13c], esi
call fcn.00458813
push 1
xor edi, edi
lea esi, [esp + 0x124]
call fcn.00404589
mov byte [esp + 0x1c8], 0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
inc dword [esp + 0x28]
mov eax, dword [esp + 0x28]
add dword [esp + 0x14], 0x1c
mov ebx, dword [esp + 0x18]
cmp eax, dword [esp + 0x1c]
jb 0x457de2
mov esi, dword [ebx + 8]
push dword [esi]
mov dword [esp + 0x38], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x1c8], 8
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x10]
cmp ecx, eax
jne 0x45807f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor bl, bl
jmp 0x4581ef
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor edi, edi
jmp 0x457db3
xor edx, edx
xor esi, esi
mov dword [esp + 0xf8], 7
mov dword [esp + 0xf4], edx
mov word [esp + 0xe4], si
sub eax, ecx
sar eax, 5
mov byte [esp + 0x1c8], 9
mov dword [esp + 0x14], edx
test eax, eax
je 0x458173
mov dword [esp + 0x18], edx
cmp dword [esp + 0x14], 0
je 0x4580cf
push 0x3b
lea eax, [esp + 0xe8]
call fcn.0040dcb5
lea eax, [esp + 0x4c]
push eax
call fcn.00403aba
mov edi, eax
mov byte [esp + 0x1c8], 0xa
mov esi, dword [ebx + 0xc]
add esi, dword [esp + 0x18]
push edi
mov ecx, esi
call fcn.00411d36
pop ecx
push 0x3b
push edi
call fcn.0041214a
pop ecx
pop ecx
push dword [esi + 0x1c]
push edi
call fcn.004109e7
lea eax, [esp + 0x104]
push eax
mov eax, edi
call fcn.00403b24
push 0
lea eax, [esp + 0x108]
push eax
or eax, 0xffffffff
lea esi, [esp + 0xec]
mov byte [esp + 0x1d0], 0xb
call fcn.0040eb9d
push 1
xor edi, edi
lea esi, [esp + 0x108]
call fcn.00404589
lea eax, [esp + 0x4c]
mov byte [esp + 0x1c8], 9
call fcn.004027ed
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
inc dword [esp + 0x14]
add dword [esp + 0x18], 0x20
sar eax, 5
cmp dword [esp + 0x14], eax
jb 0x4580ba
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x1c]
lea esi, [esp + 0x2c]
call fcn.00457cc6
lea eax, [esp + 0xe4]
push eax
push str.Pings
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x1d4], 0xc
push dword [esp + 0x3c]
call fcn.00406e44
mov eax, dword [esp + 0x1c]
test eax, eax
setne bl
test eax, eax
je 0x4581c3
dec dword [eax + 4]
cmp dword [eax + 4], 0
mov ecx, eax
jg 0x4581c3
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4581d3
push dword [eax]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 1
xor edi, edi
lea esi, [esp + 0xe8]
call fcn.00404589
mov eax, dword [esp + 0x34]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea esi, [esp + 0x3c]
call fcn.0040f046
xor eax, eax
test bl, bl
sete al
mov ecx, dword [esp + 0x1c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1a8]
xor ecx, esp
call fcn.0055c9d4
mov esp, ebp
pop ebp
ret