Function at 0x100076fa
Capabilities:
Initialize winsock library
Link many functions at runtime
Set socket configuration

Disassembly:
push ebp
sub esp, 0x57c
lea ebp, [esp - 4]
mov eax, dword [0x100677a0]
xor eax, ebp
mov dword [ebp + 0x57c], eax
push 0x108
mov eax, 0x10051df5
call fcn.1003943c
mov esi, ecx
xor ebx, ebx
cmp dword [ebp + 0x5a4], 2
mov dword [ebp - 4], ebx
je 0x10007d60
push str.IPHLPAPI.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x1c], edi
jne 0x100077d1
cmp dword [0x10068ca8], 4
jg 0x100077c9
push str.sysNetworkAFIndependent::hostPresent_ERROR___Could_not_load_IPHLPAPI.DLL
lea ecx, [ebp + 0x320]
mov dword [ebp - 0x14], ebx
call fcn.10002be7
cmp dword [ebp + 0x338], 0x10
mov eax, dword [ebp + 0x324]
mov byte [ebp - 4], 0x1f
jae 0x10007782
lea eax, [ebp + 0x324]
push ebx
push ebx
push eax
push 0x437
push str.._src_sysNetworkAFIndependent.cpp
push 4
push 2
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.1000655c
add esp, 0x24
push ebx
push 1
lea ecx, [ebp + 0x320]
mov byte [ebp - 4], bl
call fcn.10001c69
push dword [ebp - 0x14]
call fcn.10001242
cmp dword [ebp - 0x14], ebx
pop ecx
je 0x100077c9
push dword [ebp - 0x14]
call fcn.10038f50
pop ecx
mov dword [ebp - 0x14], ebx
jmp 0x100082a0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Icmp6CreateFile
push edi
call esi
push str.IcmpCloseHandle
push edi
mov dword [ebp - 0x10], eax
call esi
push str.Icmp6SendEcho2
push edi
mov dword [ebp - 0x20], eax
call esi
push str.Icmp6ParseReplies
push edi
mov dword [ebp - 0x14], eax
call esi
cmp dword [ebp - 0x10], ebx
mov dword [ebp - 0x24], eax
je 0x10007cd8
cmp dword [ebp - 0x20], ebx
je 0x10007cd8
cmp dword [ebp - 0x14], ebx
je 0x10007cd8
cmp eax, ebx
je 0x10007cd8
lea eax, [ebp]
push eax
push 0x101
call dword [sym.imp.WSOCK32.dll_WSAStartup]
mov esi, 0x1005c5c8
lea edi, [ebp + 0x344]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x5a4]
push 0x20
lea eax, [ebp - 0xc0]
push ebx
push eax
mov word [ebp + 0x33c], si
mov dword [ebp + 0x340], ebx
mov word [ebp + 0x33e], bx
call fcn.10038d20
mov eax, dword [ebp + 0x58c]
add esp, 0xc
cmp dword [ebp + 0x5a0], 0x10
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xc0], 1
mov dword [ebp - 0x18], ebx
jae 0x10007898
lea eax, [ebp + 0x58c]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0xc0]
push ecx
push ebx
push eax
call fcn.100064af
test eax, eax
je 0x100079c4
cmp dword [0x10068ca8], 4
jg 0x100079b6
push 0x10055a08
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x14], ebx
call fcn.10002be7
push 0xa
mov byte [ebp - 4], 0x21
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.10009f30
add esp, 0xc
mov esi, eax
push str.sysNetworkAFIndependent::hostPresent_ERROR___Destination_socket_invalid__
lea ecx, [ebp + 0x320]
mov byte [ebp - 4], 0x22
call fcn.10002be7
push esi
lea eax, [ebp + 0x320]
push eax
lea eax, [ebp - 0xa0]
push eax
mov byte [ebp - 4], 0x23
call fcn.10003429
lea ecx, [ebp - 0x4c]
push ecx
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0x24
call fcn.10003429
add esp, 0x18
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 0x25
jb 0x1000793d
mov eax, dword [eax + 4]
jmp 0x10007940
add eax, 4
push ebx
push ebx
push eax
push 0x45b
push str.._src_sysNetworkAFIndependent.cpp
push 4
xor esi, esi
push 2
inc esi
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.1000655c
add esp, 0x24
push ebx
push esi
lea ecx, [ebp - 0x68]
call fcn.10001c69
push ebx
push esi
lea ecx, [ebp - 0xa0]
call fcn.10001c69
push ebx
push esi
lea ecx, [ebp + 0x320]
call fcn.10001c69
push ebx
push esi
lea ecx, [ebp - 0x84]
call fcn.10001c69
push ebx
push esi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.10001c69
push dword [ebp - 0x14]
call fcn.10001242
cmp dword [ebp - 0x14], ebx
pop ecx
je 0x100079b6
push dword [ebp - 0x14]
call fcn.10038f50
pop ecx
call dword [sym.imp.WSOCK32.dll_WSACleanup]
push dword [ebp - 0x1c]
jmp 0x10007d55
call dword [ebp - 0x10]
cmp eax, 0xffffffff
mov dword [ebp - 0x28], eax
jne 0x10007ac1
cmp dword [0x10068ca8], 4
jg 0x10007ab4
push 0xa
mov dword [ebp - 0x14], ebx
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.10009f30
add esp, 0xc
mov esi, eax
push str.sysNetworkAFIndependent::hostPresent_ERROR___IcmpCreateFile___failed__
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x26
call fcn.10002be7
push esi
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xa0]
push eax
mov byte [ebp - 4], 0x27
call fcn.10003429
push 0x10055a08
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0x28
call fcn.10003444
add esp, 0x18
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 0x29
jb 0x10007a48
mov eax, dword [eax + 4]
jmp 0x10007a4b
add eax, 4
push ebx
push ebx
push eax
push 0x464
push str.._src_sysNetworkAFIndependent.cpp
push 4
xor esi, esi
push 2
inc esi
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.1000655c
add esp, 0x24
push ebx
push esi
lea ecx, [ebp - 0x68]
call fcn.10001c69
push ebx
push esi
lea ecx, [ebp - 0xa0]
call fcn.10001c69
push ebx
push esi
lea ecx, [ebp - 0x4c]
call fcn.10001c69
push ebx
push esi
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], bl
call fcn.10001c69
push dword [ebp - 0x14]
call fcn.10001242
cmp dword [ebp - 0x14], ebx
pop ecx
je 0x10007ab4
push dword [ebp - 0x14]
call fcn.10038f50
pop ecx
push dword [ebp - 0x18]
call fcn.10006525
jmp 0x100079b6
push 0xff
lea eax, [ebp + 0x47d]
push ebx
push eax
mov byte [ebp - 0x30], 0xff
mov byte [ebp - 0x2f], bl
mov byte [ebp - 0x2e], bl
mov byte [ebp - 0x2d], bl
mov dword [ebp - 0x2c], ebx
mov byte [ebp + 0x47c], bl
call fcn.10038d20
add esp, 0xc
mov dword [ebp - 0x10], ebx
xor edi, edi
mov esi, 0x124
cmp dword [ebp - 0x10], ebx
jne 0x10007c9f
push dword [ebp + 0x5a8]
lea eax, [ebp + 0x358]
push esi
push eax
lea eax, [ebp - 0x30]
push eax
push 0x20
lea eax, [ebp + 0x47c]
push eax
mov eax, dword [ebp - 0x18]
push dword [eax + 0x18]
lea eax, [ebp + 0x33c]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x28]
call dword [ebp - 0x14]
inc edi
cmp edi, 3
mov dword [ebp - 0x10], eax
jl 0x10007af6
cmp eax, ebx
jne 0x10007c9f
push esi
lea eax, [ebp + 0x358]
push eax
call dword [ebp - 0x24]
cmp dword [ebp + 0x35c], 0x2b02
jne 0x10007bbe
cmp dword [0x10068ca8], 4
jg 0x10007c9f
push str.sysNetworkAFIndependent::hostPresent___Ping_timed_out.
lea ecx, [ebp + 0x320]
mov dword [ebp - 0x14], ebx
call fcn.10002be7
cmp dword [ebp + 0x338], 0x10
mov eax, dword [ebp + 0x324]
mov byte [ebp - 4], 0x2a
jae 0x10007b91
lea eax, [ebp + 0x324]
push ebx
push ebx
push eax
push 0x484
push str.._src_sysNetworkAFIndependent.cpp
push 4
push 2
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.1000655c
add esp, 0x24
push ebx
push 1
lea ecx, [ebp + 0x320]
jmp 0x10007c80
cmp dword [0x10068ca8], 4
jg 0x10007c9f
push 0xa
mov dword [ebp - 0x14], ebx
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.10009f30
add esp, 0xc
mov esi, eax
push str.sysNetworkAFIndependent::hostPresent_ERROR___Ping_error__
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x2b
call fcn.10002be7
push esi
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xa0]
push eax
mov byte [ebp - 4], 0x2c
call fcn.10003429
push 0x10055a08
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0x2d
call fcn.10003444
add esp, 0x18
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 0x2e
jb 0x10007c33
mov eax, dword [eax + 4]
jmp 0x10007c36
add eax, 4
push ebx
push ebx
push eax
push 0x487
push str.._src_sysNetworkAFIndependent.cpp
push 4
xor esi, esi
push 2
inc esi
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.1000655c
add esp, 0x24
push ebx
push esi
lea ecx, [ebp - 0x68]
call fcn.10001c69
push ebx
push esi
lea ecx, [ebp - 0xa0]
call fcn.10001c69
push ebx
push esi
lea ecx, [ebp - 0x4c]
call fcn.10001c69
push ebx
push esi
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], bl
call fcn.10001c69
push dword [ebp - 0x14]
call fcn.10001242
cmp dword [ebp - 0x14], ebx
pop ecx
je 0x10007c9f
push dword [ebp - 0x14]
call fcn.10038f50
pop ecx
push dword [ebp - 0x28]
call dword [ebp - 0x20]
push dword [ebp - 0x18]
call fcn.10006525
call dword [sym.imp.WSOCK32.dll_WSACleanup]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebx
push 1
lea ecx, [ebp + 0x588]
call fcn.10001c69
xor eax, eax
cmp dword [ebp - 0x10], ebx
seta al
inc eax
jmp 0x100087a2
cmp dword [0x10068ca8], 4
jg 0x10007d54
push str.sysNetworkAFIndependent::hostPresent_ERROR___Could_get_IPHLPAPI.DLL_function_address_es_
lea ecx, [ebp + 0x320]
mov dword [ebp - 0x10], ebx
call fcn.10002be7
cmp dword [ebp + 0x338], 0x10
mov eax, dword [ebp + 0x324]
mov byte [ebp - 4], 0x20
jae 0x10007d0d
lea eax, [ebp + 0x324]
push ebx
push ebx
push eax
push 0x442
push str.._src_sysNetworkAFIndependent.cpp
push 4
push 2
lea eax, [ebp - 0x10]
push 1
push eax
call fcn.1000655c
add esp, 0x24
push ebx
push 1
lea ecx, [ebp + 0x320]
mov byte [ebp - 4], bl
call fcn.10001c69
push dword [ebp - 0x10]
call fcn.10001242
cmp dword [ebp - 0x10], ebx
pop ecx
je 0x10007d54
push dword [ebp - 0x10]
call fcn.10038f50
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x100077c9
push ebx
lea ecx, [ebp + 0x320]
mov dword [ebp + 0x338], 0xf
call fcn.100019c0
cmp dword [0x10068ca8], ebx
mov byte [ebp - 4], 1
jg 0x10007e12
push str.hostPresent:_started_IP:
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x10], ebx
call fcn.10002be7
lea eax, [ebp + 0x588]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 2
call fcn.10003429
add esp, 0xc
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 3
jb 0x10007dc0
mov eax, dword [eax + 4]
jmp 0x10007dc3
add eax, 4
push ebx
push ebx
push eax
push 0x372
push str.._src_sysNetworkAFIndependent.cpp
push ebx
push 2
lea eax, [ebp - 0x10]
push 1
push eax
call fcn.1000655c
add esp, 0x24
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.10001c69
push ebx
push 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.10001c69
push dword [ebp - 0x10]
call fcn.10001242
cmp dword [ebp - 0x10], ebx
pop ecx
je 0x10007e12
push dword [ebp - 0x10]
call fcn.10038f50
pop ecx
push str.IPHLPAPI.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 4], eax
je 0x10007ef9
push str.IcmpCreateFile
push eax
call edi
push str.IcmpSendEcho
push dword [esi + 4]
mov dword [esi + 8], eax
call edi
push str.IcmpCloseHandle
push dword [esi + 4]
mov dword [esi + 0xc], eax
call edi
cmp dword [esi + 8], ebx
mov dword [esi + 0x10], eax
je 0x10007e65
cmp dword [esi + 0xc], ebx
je 0x10007e65
cmp eax, ebx
jne 0x10007f76
cmp dword [0x10068ca8], 4
jg 0x10007ee2
push str.sysNetworkAFIndependent::hostPresent_ERROR___Could_not_find_the_required_functions_in_Iphlpapi_dll
lea ecx, [ebp + 0x33c]
mov dword [ebp - 0x10], ebx
call fcn.10002be7
cmp dword [ebp + 0x354], 0x10
mov eax, dword [ebp + 0x340]
mov byte [ebp - 4], 4
jae 0x10007e9a
lea eax, [ebp + 0x340]
push ebx
push ebx
push eax
push 0x399
push str.._src_sysNetworkAFIndependent.cpp
push 4
push 2
lea eax, [ebp - 0x10]
push 1
push eax
call fcn.1000655c
add esp, 0x24
push ebx
push 1
lea ecx, [ebp + 0x33c]
mov byte [ebp - 4], 1
call fcn.10001c69
push dword [ebp - 0x10]
call fcn.10001242
cmp dword [ebp - 0x10], ebx
pop ecx
je 0x10007ee2
push dword [ebp - 0x10]
call fcn.10038f50
pop ecx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
jmp 0x10007f76
cmp dword [0x10068ca8], 4
jg 0x10007f76
push str.sysNetworkAFIndependent::hostPresent_ERROR___Could_not_load_IPHLPAPI.DLL
lea ecx, [ebp + 0x33c]
mov dword [ebp - 0x10], ebx
call fcn.10002be7
cmp dword [ebp + 0x354], 0x10
mov eax, dword [ebp + 0x340]
mov byte [ebp - 4], 5
jae 0x10007f2e
lea eax, [ebp + 0x340]
push ebx
push ebx
push eax
push 0x3a3
push str.._src_sysNetworkAFIndependent.cpp
push 4
push 2
lea eax, [ebp - 0x10]
push 1
push eax
call fcn.1000655c
add esp, 0x24
push ebx
push 1
lea ecx, [ebp + 0x33c]
mov byte [ebp - 4], 1
call fcn.10001c69
push dword [ebp - 0x10]
call fcn.10001242
cmp dword [ebp - 0x10], ebx
pop ecx
je 0x10007f76
push dword [ebp - 0x10]
call fcn.10038f50
pop ecx
cmp dword [esi + 8], ebx
je 0x10007f85
cmp dword [esi + 0xc], ebx
je 0x10007f85
cmp dword [esi + 0x10], ebx
jne 0x10007fda
push str.ICMP.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [esi + 4], eax
je 0x10008707
push str.IcmpCreateFile
push eax
call edi
push str.IcmpSendEcho
push dword [esi + 4]
mov dword [esi + 8], eax
call edi
push str.IcmpCloseHandle
push dword [esi + 4]
mov dword [esi + 0xc], eax
call edi
cmp dword [esi + 8], ebx
mov dword [esi + 0x10], eax
je 0x100086c1
cmp dword [esi + 0xc], ebx
je 0x100086c1
cmp eax, ebx
je 0x100086c1
lea eax, [ebp + 0x190]
push eax
push 0x101
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
je 0x1000808b
cmp dword [0x10068ca8], 4
jg 0x10008071
push str.Unable_to_startup_sockets_
lea ecx, [ebp + 0x33c]
mov dword [ebp - 0x10], ebx
call fcn.10002be7
cmp dword [ebp + 0x354], 0x10
mov eax, dword [ebp + 0x340]
mov byte [ebp - 4], 8
jae 0x10008029
lea eax, [ebp + 0x340]
push ebx
push ebx
push eax
push 0x3c5
push str.._src_sysNetworkAFIndependent.cpp
push 4
push 2
lea eax, [ebp - 0x10]
push 1
push eax
call fcn.1000655c
add esp, 0x24
push ebx
push 1
lea ecx, [ebp + 0x33c]
mov byte [ebp - 4], 1
call fcn.10001c69
push dword [ebp - 0x10]
call fcn.10001242
cmp dword [ebp - 0x10], ebx
pop ecx
je 0x10008071
push dword [ebp - 0x10]
call fcn.10038f50
pop ecx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
jmp 0x10008784
call dword [esi + 8]
cmp eax, 0xffffffff
mov dword [ebp - 0x1c], eax
jne 0x10008122
cmp dword [0x10068ca8], 4
jg 0x10008117
push str.Unable_to_create_ICMP_file_
lea ecx, [ebp + 0x33c]
mov dword [ebp - 0x10], ebx
call fcn.10002be7
cmp dword [ebp + 0x354], 0x10
mov eax, dword [ebp + 0x340]
mov byte [ebp - 4], 9
jae 0x100080cf
lea eax, [ebp + 0x340]
push ebx
push ebx
push eax
push 0x3d2
push str.._src_sysNetworkAFIndependent.cpp
push 4
push 2
lea eax, [ebp - 0x10]
push 1
push eax
call fcn.1000655c
add esp, 0x24
push ebx
push 1
lea ecx, [ebp + 0x33c]
mov byte [ebp - 4], 1
call fcn.10001c69
push dword [ebp - 0x10]
call fcn.10001242
cmp dword [ebp - 0x10], ebx
pop ecx
je 0x10008117
push dword [ebp - 0x10]
call fcn.10038f50
pop ecx
call dword [sym.imp.WSOCK32.dll_WSACleanup]
jmp 0x10008071
push 0x40
call fcn.10037406
cmp eax, ebx
pop ecx
mov dword [ebp - 0x18], eax
jne 0x100081bd
cmp dword [0x10068ca8], 4
jg 0x100081b2
push str.Unable_to_allocate_ICMP_request_packet_
lea ecx, [ebp + 0x33c]
mov dword [ebp - 0x10], ebx
call fcn.10002be7
cmp dword [ebp + 0x354], 0x10
mov eax, dword [ebp + 0x340]
mov byte [ebp - 4], 0xa
jae 0x1000816a
lea eax, [ebp + 0x340]
push ebx
push ebx
push eax
push 0x3e1
push str.._src_sysNetworkAFIndependent.cpp
push 4
push 2
lea eax, [ebp - 0x10]
push 1
push eax
call fcn.1000655c
add esp, 0x24
push ebx
push 1
lea ecx, [ebp + 0x33c]
mov byte [ebp - 4], 1
call fcn.10001c69
push dword [ebp - 0x10]
call fcn.10001242
cmp dword [ebp - 0x10], ebx
pop ecx
je 0x100081b2
push dword [ebp - 0x10]
call fcn.10038f50
pop ecx
push dword [ebp - 0x1c]
call dword [esi + 0x10]
jmp 0x10008117
push 4
push 0xaa
push dword [ebp - 0x18]
call fcn.10038d20
push 0x5c
call fcn.10037406
mov edi, eax
add esp, 0x10
cmp edi, ebx
mov dword [ebp - 0x20], edi
jne 0x100082b6
cmp dword [0x10068ca8], 4
jg 0x10008263
push str.Unable_to_allocate_ICMP_reply_packet_
lea ecx, [ebp + 0x33c]
mov dword [ebp - 0x10], ebx
call fcn.10002be7
cmp dword [ebp + 0x354], 0x10
mov eax, dword [ebp + 0x340]
mov byte [ebp - 4], 0xb
jae 0x10008218
lea eax, [ebp + 0x340]
push ebx
push ebx
push eax
push 0x3f4
push str.._src_sysNetworkAFIndependent.cpp
push 4
xor edi, edi
push 2
inc edi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.1000655c
add esp, 0x24
push ebx
push edi
lea ecx, [ebp + 0x33c]
mov byte [ebp - 4], 1
call fcn.10001c69
push dword [ebp - 0x10]
call fcn.10001242
cmp dword [ebp - 0x10], ebx
pop ecx
je 0x10008266
push dword [ebp - 0x10]
call fcn.10038f50
pop ecx
jmp 0x10008266
xor edi, edi
inc edi
push dword [ebp - 0x18]
call fcn.10038f50
mov dword [ebp - 0x14], ebx
pop ecx
push dword [ebp - 0x1c]
call dword [esi + 0x10]
call dword [sym.imp.WSOCK32.dll_WSACleanup]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebx
push edi
lea ecx, [ebp + 0x320]
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call fcn.10001c69
push ebx
push 1
lea ecx, [ebp + 0x588]
call fcn.10001c69
mov eax, dword [ebp - 0x14]
jmp 0x100087a2
push 4
push ebx
push edi
call fcn.10038d20
mov eax, dword [ebp + 0x58c]
add esp, 0xc
cmp dword [ebp + 0x5a0], 0x10
jae 0x100082d7
lea eax, [ebp + 0x58c]
push eax
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x10], 3
ja 0x1000830b
push dword [ebp + 0x5a8]
push 0x5c
push edi
push ebx
push 0x40
push dword [ebp - 0x18]
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
call dword [esi + 0xc]
inc dword [ebp - 0x10]
cmp eax, ebx
je 0x100082e6
cmp eax, ebx
jbe 0x100085c2
push dword [edi]
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
push eax
lea ecx, [ebp + 0x320]
call fcn.10002b51
lea eax, [ebp + 0x320]
push eax
lea ecx, [ebp + 0x588]
call fcn.10001b2b
test eax, eax
jne 0x1000842a
cmp dword [0x10068ca8], ebx
push 2
pop edi
mov dword [ebp - 0x14], edi
jg 0x100086a2
push 0x10055b28
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x10], ebx
call fcn.10002be7
lea eax, [ebp + 0x588]
push eax
lea ecx, [ebp + 0x33c]
mov byte [ebp - 4], 0xc
call fcn.10002c2f
push str.Received_replies_from_host__
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xd
call fcn.10002be7
lea eax, [ebp + 0x33c]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xa0]
push eax
mov byte [ebp - 4], 0xe
call fcn.10003429
lea ecx, [ebp - 0x84]
push ecx
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0xf
call fcn.10003429
add esp, 0x18
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 0x10
jb 0x100083cf
mov eax, dword [eax + 4]
jmp 0x100083d2
add eax, 4
push ebx
push ebx
push eax
push 0x416
push str.._src_sysNetworkAFIndependent.cpp
push ebx
push edi
xor edi, edi
inc edi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.1000655c
add esp, 0x24
push ebx
push edi
lea ecx, [ebp - 0x68]
call fcn.10001c69
push ebx
push edi
lea ecx, [ebp - 0xa0]
call fcn.10001c69
push ebx
push edi
lea ecx, [ebp - 0x4c]
call fcn.10001c69
lea ecx, [ebp + 0x33c]
push ebx
push edi
call fcn.10001c69
lea ecx, [ebp - 0x84]
jmp 0x10008597
xor edi, edi
inc edi
cmp dword [0x10068ca8], ebx
mov dword [ebp - 0x14], edi
jg 0x100086a5
push 0x10055b28
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x10], ebx
call fcn.10002be7
lea eax, [ebp + 0x588]
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x11
call fcn.10002c2f
push str.__not_host__
lea ecx, [ebp + 0x33c]
mov byte [ebp - 4], 0x12
call fcn.10002be7
lea eax, [ebp + 0x320]
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x13
call fcn.10002c2f
push str.Received_replies_from_router__
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x14
call fcn.10002be7
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0xbc]
push eax
mov byte [ebp - 4], 0x15
call fcn.10003429
lea ecx, [ebp + 0x33c]
push ecx
push eax
lea eax, [ebp - 0xdc]
push eax
mov byte [ebp - 4], 0x16
call fcn.10003429
lea ecx, [ebp - 0xa0]
push ecx
push eax
lea eax, [ebp - 0xf8]
push eax
mov byte [ebp - 4], 0x17
call fcn.10003429
lea ecx, [ebp - 0x68]
push ecx
push eax
lea eax, [ebp - 0x114]
push eax
mov byte [ebp - 4], 0x18
call fcn.10003429
add esp, 0x30
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 0x19
jb 0x1000850f
mov eax, dword [eax + 4]
jmp 0x10008512
add eax, 4
push ebx
push ebx
push eax
push 0x41b
push str.._src_sysNetworkAFIndependent.cpp
push ebx
push 2
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.1000655c
add esp, 0x24
push ebx
push edi
lea ecx, [ebp - 0x114]
call fcn.10001c69
push ebx
push edi
lea ecx, [ebp - 0xf8]
call fcn.10001c69
push ebx
push edi
lea ecx, [ebp - 0xdc]
call fcn.10001c69
push ebx
push edi
lea ecx, [ebp - 0xbc]
call fcn.10001c69
push ebx
push edi
lea ecx, [ebp - 0x84]
call fcn.10001c69
push ebx
push edi
lea ecx, [ebp - 0x4c]
call fcn.10001c69
push ebx
push edi
lea ecx, [ebp + 0x33c]
call fcn.10001c69
push ebx
push edi
lea ecx, [ebp - 0xa0]
call fcn.10001c69
lea ecx, [ebp - 0x68]
push ebx
push edi
mov byte [ebp - 4], 1
call fcn.10001c69
push dword [ebp - 0x10]
call fcn.10001242
cmp dword [ebp - 0x10], ebx
pop ecx
je 0x100086a5
push dword [ebp - 0x10]
call fcn.10038f50
pop ecx
jmp 0x100086a5
xor edi, edi
inc edi
cmp dword [0x10068ca8], ebx
mov dword [ebp - 0x14], edi
jg 0x100086a5
push 0x10055b28
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x10], ebx
call fcn.10002be7
lea eax, [ebp + 0x588]
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x1a
call fcn.10002c2f
push str.No_replies_received_from_host__
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x1b
call fcn.10002be7
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xdc]
push eax
mov byte [ebp - 4], 0x1c
call fcn.10003429
lea ecx, [ebp - 0x84]
push ecx
push eax
lea eax, [ebp - 0xbc]
push eax
mov byte [ebp - 4], 0x1d
call fcn.10003429
add esp, 0x18
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 0x1e
jb 0x10008653
mov eax, dword [eax + 4]
jmp 0x10008656
add eax, 4
push ebx
push ebx
push eax
push 0x421
push str.._src_sysNetworkAFIndependent.cpp
push ebx
push 2
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.1000655c
add esp, 0x24
push ebx
push edi
lea ecx, [ebp - 0xbc]
call fcn.10001c69
push ebx
push edi
lea ecx, [ebp - 0xdc]
call fcn.10001c69
push ebx
push edi
lea ecx, [ebp - 0x68]
call fcn.10001c69
lea ecx, [ebp - 0xa0]
jmp 0x10008418
xor edi, edi
inc edi
push dword [ebp - 0x18]
call fcn.10038f50
push dword [ebp - 0x20]
call fcn.10038f50
mov eax, dword [ebp - 0x14]
pop ecx
mov dword [ebp - 0x14], eax
jmp 0x10008271
cmp dword [0x10068ca8], 4
jg 0x10008071
push str.sysNetworkAFIndependent::hostPresent_ERROR___Could_not_find_the_required_functions_in_Icmp_dll
lea ecx, [ebp + 0x33c]
mov dword [ebp - 0x10], ebx
call fcn.10002be7
cmp dword [ebp + 0x354], 0x10
mov eax, dword [ebp + 0x340]
mov byte [ebp - 4], 6
jae 0x100086fa
lea eax, [ebp + 0x340]
push ebx
push ebx
push eax
push 0x3b1
jmp 0x10008031
cmp dword [0x10068ca8], 4
jg 0x10008784
push str.sysNetworkAFIndependent::hostPresent_ERROR___Could_not_load_ICMP.DLL
lea ecx, [ebp + 0x33c]
mov dword [ebp - 0x10], ebx
call fcn.10002be7
cmp dword [ebp + 0x354], 0x10
mov eax, dword [ebp + 0x340]
mov byte [ebp - 4], 7
jae 0x1000873c
lea eax, [ebp + 0x340]
push ebx
push ebx
push eax
push 0x3bc
push str.._src_sysNetworkAFIndependent.cpp
push 4
push 2
lea eax, [ebp - 0x10]
push 1
push eax
call fcn.1000655c
add esp, 0x24
push ebx
push 1
lea ecx, [ebp + 0x33c]
mov byte [ebp - 4], 1
call fcn.10001c69
push dword [ebp - 0x10]
call fcn.10001242
cmp dword [ebp - 0x10], ebx
pop ecx
je 0x10008784
push dword [ebp - 0x10]
call fcn.10038f50
pop ecx
push ebx
push 1
lea ecx, [ebp + 0x320]
call fcn.10001c69
push ebx
push 1
lea ecx, [ebp + 0x588]
call fcn.10001c69
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x57c]
xor ecx, ebp
call fcn.1003942d
add ebp, 0x580
leave
ret 0x24