Function at 0x4264c0
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
lea ebp, [esp - 0x554]
sub esp, 0x5d4
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp + 0x550], eax
mov eax, dword [ebp + 0x55c]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x560]
mov dword [ebp - 0x48], eax
test eax, eax
je 0x426538
push eax
lea eax, [ebp + 0x150]
push 0x400
push eax
call fcn.0046fcbd
add esp, 0xc
lea ecx, [ebp + 0x150]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jg 0x426538
lea eax, [esi + esi]
call fcn.004704a0
mov eax, esp
push 0
push esi
lea edx, [ebp + 0x150]
push edx
push eax
call fcn.00431390
push str.ICMP.DLL
mov byte [ebp - 0x41], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
jne 0x426560
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
je 0x426559
mov dword [edi], eax
xor al, al
jmp 0x4266c0
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IcmpCreateFile
push esi
call ebx
mov dword [ebp - 0x64], eax
test eax, eax
jne 0x426591
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x42658a
mov dword [edi], ebx
xor al, al
jmp 0x4266c0
push str.IcmpCloseHandle
push esi
call ebx
mov dword [ebp - 0x60], eax
test eax, eax
je 0x426575
push str.IcmpSendEcho
push esi
call ebx
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x426575
lea eax, [ebp - 0x40]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ebx, eax
mov dword [ebp - 0x4c], ebx
test ebx, ebx
je 0x4265cf
call dword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x42657d
mov ecx, 0x101
cmp cx, word [ebp - 0x40]
je 0x4265f8
call dword [sym.imp.WS2_32.dll_WSACleanup]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x42658a
mov dword [edi], 0x32
xor al, al
jmp 0x4266c0
mov ebx, dword [ebp - 0x48]
push ebx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x58], eax
cmp eax, 0xffffffff
jne 0x426613
push ebx
call dword [sym.imp.WS2_32.dll_gethostbyname]
jmp 0x426621
push 2
push 4
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyaddr]
test eax, eax
jne 0x426644
call dword [sym.imp.WS2_32.dll_WSACleanup]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x42658a
mov dword [edi], 0x57
xor al, al
jmp 0x4266c0
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x48], ecx
call dword [ebp - 0x64]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42669a
mov ecx, dword [ebp - 0x48]
push 0x1388
push 0x1c
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp - 0x54]
push eax
push 0
mov byte [ebp - 0x54], 0xff
mov byte [ebp - 0x53], 0
mov byte [ebp - 0x52], 0
mov byte [ebp - 0x51], 0
mov dword [ebp - 0x50], 0
mov edx, dword [ecx]
push 0
push edx
push ebx
call dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x58], ecx
test eax, eax
je 0x42669a
mov byte [ebp - 0x41], 1
jmp 0x4266a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x4c], eax
push ebx
call dword [ebp - 0x60]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.WS2_32.dll_WSACleanup]
test edi, edi
je 0x4266bd
mov edx, dword [ebp - 0x4c]
mov dword [edi], edx
mov al, byte [ebp - 0x41]
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x550]
xor ecx, ebp
call fcn.0046ebfa
add ebp, 0x554
mov esp, ebp
pop ebp
ret