Function at 0x5940e0
Capabilities:
Send icmp echo request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b11ea
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x762dc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x5c], 0xffffffff
mov dword [ebp - 0x48], 0
mov eax, dword [str.p7yE6AEVE5y]
mov dword [ebp - 0x1c], eax
mov ecx, dword [0x6dac90]
mov dword [ebp - 0x18], ecx
mov edx, dword [0x6dac94]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x30]
movzx ecx, byte [eax + 8]
cmp ecx, 4
jle 0x59415c
mov ecx, dword [ebp - 0x30]
call fcn.00594360
call fcn.00578970
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x2c]
call fcn.005d9210
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x58]
call fcn.005945e0
push eax
lea ecx, [ebp - 0x2c]
call fcn.005d9290
lea ecx, [ebp - 0x2c]
call fcn.005b7d00
cmp eax, 0xffffffff
jne 0x5941a5
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0045d380
jmp 0x594337
call sub.IPHLPAPI.DLL_IcmpCreateFile
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xffffffff
jne 0x5941c7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0045d380
jmp 0x594337
mov dword [ebp - 0x3c], 0x30
mov edx, dword [ebp - 0x3c]
push edx
call fcn.006601ab
add esp, 4
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x5941f7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0045d380
jmp 0x594337
push 0x3e8
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
push 0
push 0xc
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.005b7d00
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 0x44]
push eax
call sub.IPHLPAPI.DLL_IcmpSendEcho2
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 8]
add edx, 1
mov eax, dword [ebp - 0x30]
mov byte [eax + 8], dl
cmp dword [ebp - 0x48], 0
je 0x594296
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 4]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x2afa
jb 0x594272
cmp dword [ebp - 0x40], 0x2afb
jbe 0x594269
cmp dword [ebp - 0x40], 0x2b02
je 0x594269
jmp 0x594272
mov dword [ebp - 0x38], closesocket
jmp 0x59427b
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x38]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x30]
movzx eax, byte [edx + 9]
add eax, 1
mov ecx, dword [ebp - 0x30]
mov byte [ecx + 9], al
jmp 0x5942c7
mov edx, dword [ebp - 0x30]
cmp dword [edx + 4], 0
jbe 0x5942aa
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x4c], ecx
jmp 0x5942b1
mov dword [ebp - 0x4c], closesocket
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x30]
movzx ecx, byte [eax + 0xa]
add ecx, 1
mov edx, dword [ebp - 0x30]
mov byte [edx + 0xa], cl
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
mov edx, dword [ebp - 0x30]
movzx eax, byte [edx + 9]
test eax, eax
jle 0x5942f9
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0xa]
imul eax, edx, 0x64
mov ecx, dword [ebp - 0x30]
movzx ecx, byte [ecx + 9]
cdq
idiv ecx
cvtsi2ss xmm0, eax
movss dword [ebp - 0x54], xmm0
jmp 0x594306
movss xmm0, dword [0x6c0284]
movss dword [ebp - 0x54], xmm0
mov edx, dword [ebp + 8]
movss xmm0, dword [ebp - 0x54]
movss dword [edx + 4], xmm0
mov eax, dword [ebp - 0x44]
push eax
call sub.IPHLPAPI.DLL_IcmpCloseHandle
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.0065cb97
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0045d380
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0065b5b4
mov esp, ebp
pop ebp
ret 4