Function at 0x41596a
Capabilities:
Initialize winsock library
Send icmp echo request
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x419ae8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1d0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x1a8]
push eax
push 0x101
call dword [sym.imp.WSOCK32.dll_WSAStartup]
mov word [ebp - 0x1ac], ax
movsx ecx, word [ebp - 0x1ac]
test ecx, ecx
je 0x4159bb
mov eax, dword [ebp - 0x18]
jmp 0x415d6d
mov dword [ebp - 0x10], 0x5dc
call sub.ICMP.dll_IcmpCreateFile
mov dword [0x42e46c], eax
mov edx, dword [ebp + 0x14]
push edx
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [0x42e4b0], eax
push 0x40
push 0x59
push 0x42e42c
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x5c
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [0x42e678], eax
push 0x5c
push 0
mov ecx, dword [0x42e678]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov edx, dword [0x42e678]
mov dword [edx + 0x10], 0x42e4b4
mov eax, dword [0x42e678]
mov word [eax + 0xc], 0x40
mov ecx, dword [ebp - 0x10]
push ecx
push 0x5c
mov edx, dword [0x42e678]
push edx
push 0
push 0x40
push 0x42e42c
mov eax, dword [0x42e4b0]
push eax
mov ecx, dword [0x42e46c]
push ecx
call sub.ICMP.dll_IcmpSendEcho
mov dword [0x42e674], eax
mov edx, dword [0x42e46c]
push edx
call sub.ICMP.dll_IcmpCloseHandle
call dword [sym.imp.WSOCK32.dll_WSACleanup]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [0x42e674], 0
jne 0x415a97
mov eax, dword [ebp - 0x18]
jmp 0x415d6d
push 0x1a78
call fcn.00402550
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1b4], 0
je 0x415ae4
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x1b4]
call fcn.004155e0
mov dword [ebp - 0x1d0], eax
jmp 0x415aee
mov dword [ebp - 0x1d0], 0
mov edx, dword [ebp - 0x1d0]
mov dword [ebp - 0x1b0], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x18], eax
cmp dword [0x42e680], 0
jne 0x415bcb
lea ecx, [ebp - 0x1a8]
push ecx
push 0x101
call dword [sym.imp.WSOCK32.dll_WSAStartup]
mov word [0x42e670], ax
movsx edx, word [0x42e670]
test edx, edx
je 0x415bc1
movsx eax, word [0x42e670]
cmp eax, 0x276b
jne 0x415b5b
push str.Drivers_Not_Loaded__
mov ecx, dword [ebp - 0x18]
call fcn.00411855
jmp 0x415b68
push str.Start_up_Error
mov ecx, dword [ebp - 0x18]
call fcn.00411855
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1bc], ecx
mov edx, dword [ebp - 0x1bc]
mov dword [ebp - 0x1b8], edx
cmp dword [ebp - 0x1b8], 0
je 0x415ba1
push 1
mov eax, dword [ebp - 0x1b8]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1b8]
call dword [edx + 4]
mov dword [ebp - 0x1d4], eax
jmp 0x415bab
mov dword [ebp - 0x1d4], 0
push 2
push str.Internal_error:_could_not_initialize_WinSock
call fcn.004112d2
add esp, 8
xor eax, eax
jmp 0x415d6d
mov dword [0x42e680], 1
mov ax, word [0x42e684]
add ax, 1
mov word [0x42e684], ax
mov ecx, dword [ebp + 0xc]
and ecx, 0x1000
test ecx, ecx
je 0x415c7f
mov edx, dword [ebp - 0x18]
add edx, 0x1a6c
push edx
mov eax, dword [ebp - 0x18]
movsx ecx, word [eax + 0x1a74]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.00415dc6
add esp, 0x10
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x1a6c], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x1a6c], 0xffffffff
jne 0x415c7f
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c4], eax
mov ecx, dword [ebp - 0x1c4]
mov dword [ebp - 0x1c0], ecx
cmp dword [ebp - 0x1c0], 0
je 0x415c5f
push 1
mov edx, dword [ebp - 0x1c0]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1c0]
call dword [eax + 4]
mov dword [ebp - 0x1d8], eax
jmp 0x415c69
mov dword [ebp - 0x1d8], 0
push 6
push str.Internal_error:_Failed_to_listen
call fcn.004112d2
add esp, 8
xor eax, eax
jmp 0x415d6d
mov ecx, dword [ebp + 0xc]
and ecx, 0x1000
test ecx, ecx
jne 0x415d6a
movsx edx, word [ebp + 0x1c]
cmp edx, 0xffffffff
je 0x415cd8
movsx eax, word [ebp + 0x1c]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x1a6c], eax
push 1
mov edx, dword [ebp - 0x18]
add edx, 0x1a6c
push edx
mov eax, dword [ebp - 0x18]
movsx ecx, word [eax + 0x1a74]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.00416188
add esp, 0x14
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x1a6c], eax
jmp 0x415d08
push 0
mov edx, dword [ebp - 0x18]
add edx, 0x1a6c
push edx
mov eax, dword [ebp - 0x18]
movsx ecx, word [eax + 0x1a74]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.00416188
add esp, 0x14
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x1a6c], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x1a6c], 0xffffffff
jne 0x415d6a
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1cc], eax
mov ecx, dword [ebp - 0x1cc]
mov dword [ebp - 0x1c8], ecx
cmp dword [ebp - 0x1c8], 0
je 0x415d4d
push 1
mov edx, dword [ebp - 0x1c8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1c8]
call dword [eax + 4]
mov dword [ebp - 0x1dc], eax
jmp 0x415d57
mov dword [ebp - 0x1dc], 0
push 5
push str.Internal_error:_Failed_to_connect
call fcn.004112d2
add esp, 8
xor eax, eax
jmp 0x415d6d
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret