Function at 0x46113e
Capabilities:
Send icmp echo request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56bdae
mov eax, dword fs:[0]
push eax
sub esp, 0x1b0
mov eax, dword [0x5f7350]
xor eax, esp
mov dword [esp + 0x1a8], eax
push ebx
push esi
push edi
mov eax, dword [0x5f7350]
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 0x4611a5
push str.Cannot_SetThreadAffinityMask_for_ping_thread
push 2
pop ecx
call fcn.00492cc7
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.0040dd7e
lea eax, [ebx + 0xc]
push eax
call fcn.00461ced
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 0x461226
push str.PingManagerThread:_no_targets_to_check.
push 2
pop ecx
call fcn.00492cc7
xor edi, edi
pop ecx
inc edi
lea esi, [esp + 0x3c]
call fcn.0040f001
mov eax, edi
jmp 0x461662
sub eax, edi
push 0x1c
cdq
pop ecx
idiv ecx
and dword [esp + 0x28], 0
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4614a5
mov dword [esp + 0x14], edi
jmp 0x461249
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 0x4614d5
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [edi + 0x14], 8
jb 0x461271
mov edi, dword [edi]
lea eax, [esp + 0x140]
push edi
push eax
call fcn.0048f1a3
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x461289
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 0x4613f9
call dword [sym.imp.IPHLPAPI.DLL_IcmpCreateFile]
mov dword [esp + 0x20], eax
cmp eax, esi
je 0x4613f9
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.00517bf0
add esp, 0xc
lea esi, [esp + 0xe4]
call fcn.00494bd6
call fcn.00494bfc
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.00494c18
push 0
push 0x3e8
push edx
push eax
call fcn.00526c00
mov esi, eax
mov dword [esp + 0x38], edx
test edi, edi
jne 0x4613ef
lea eax, [esp + 0x4c]
push eax
call fcn.00403689
mov esi, eax
push str.IcmpSendEcho_failed_for
push esi
mov byte [esp + 0x1d0], 4
call fcn.00405d65
push dword [esp + 0x2c]
push esi
call fcn.00405f19
add esp, 0x10
lea eax, [esp + 0x104]
push eax
mov eax, esi
call fcn.004036f3
mov byte [esp + 0x1c8], 5
cmp dword [esp + 0x118], 8
mov eax, dword [esp + 0x104]
jae 0x4613b5
lea eax, [esp + 0x104]
push eax
push 4
pop ecx
call fcn.00492cc7
pop ecx
push 1
xor edi, edi
lea esi, [esp + 0x108]
call fcn.0040412d
lea eax, [esp + 0x4c]
mov byte [esp + 0x1c8], 3
call fcn.0040262a
push dword [esp + 0x20]
call dword [sym.imp.IPHLPAPI.DLL_IcmpCloseHandle]
or esi, 0xffffffff
jmp 0x4613f9
push dword [esp + 0x20]
call dword [sym.imp.IPHLPAPI.DLL_IcmpCloseHandle]
push 0
push 1
lea ecx, [esp + 0x148]
call fcn.00403fde
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.0040406a
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x120]
add edi, 0xc
mov dword [esp + 0x13c], esi
call fcn.00461c73
push 1
xor edi, edi
lea esi, [esp + 0x124]
call fcn.0040412d
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 0x461245
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 0x4614e2
push dword [esi]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor bl, bl
jmp 0x461652
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor edi, edi
jmp 0x461216
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 0x4615d6
mov dword [esp + 0x18], edx
cmp dword [esp + 0x14], 0
je 0x461532
push 0x3b
lea eax, [esp + 0xe8]
call fcn.0040d9dd
lea eax, [esp + 0x4c]
push eax
call fcn.00403689
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.00411926
pop ecx
push 0x3b
push edi
call fcn.00411d3a
pop ecx
pop ecx
push dword [esi + 0x1c]
push edi
call fcn.0041058a
lea eax, [esp + 0x104]
push eax
mov eax, edi
call fcn.004036f3
push 0
lea eax, [esp + 0x108]
push eax
or eax, 0xffffffff
lea esi, [esp + 0xec]
mov byte [esp + 0x1d0], 0xb
call fcn.0040eb30
push 1
xor edi, edi
lea esi, [esp + 0x108]
call fcn.0040412d
lea eax, [esp + 0x4c]
mov byte [esp + 0x1c8], 9
call fcn.0040262a
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 0x46151d
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x1c]
lea esi, [esp + 0x2c]
call fcn.00461129
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.0040687f
mov eax, dword [esp + 0x1c]
test eax, eax
setne bl
test eax, eax
je 0x461626
dec dword [eax + 4]
cmp dword [eax + 4], 0
mov ecx, eax
jg 0x461626
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x461636
push dword [eax]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 1
xor edi, edi
lea esi, [esp + 0xe8]
call fcn.0040412d
mov eax, dword [esp + 0x34]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea esi, [esp + 0x3c]
call fcn.0040f001
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.005146df
mov esp, ebp
pop ebp
ret