Function at 0x43e119
Capabilities:
Initialize winsock library
Link many functions at runtime
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c8
mov eax, dword [0x5025d0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 0x103
xor esi, esi
lea eax, [ebp - 0x113]
mov edi, ecx
push esi
push eax
mov dword [ebp - 0x3bc], edi
mov byte [ebp - 0x114], 0
call fcn.004a8c80
push 0x18e
lea eax, [ebp - 0x3aa]
push esi
push eax
mov word [ebp - 0x3ac], si
call fcn.004a8c80
add esp, 0x18
mov edx, edi
call fcn.00477a16
test eax, eax
jne 0x43e1ee
cmp dword [0x5fbb2c], esi
jne 0x43e194
push str.Iphlpapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x3b0], eax
jmp 0x43e19a
mov dword [ebp - 0x3b0], esi
cmp dword [ebp - 0x3b0], esi
jne 0x43e1ff
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.ICMP.DLL
mov dword [ebp - 0x3b8], esi
call edi
cmp eax, esi
mov dword [ebp - 0x3b0], eax
jne 0x43e209
push esi
push esi
call fcn.0045ba18
push eax
lea eax, [ebp - 0x114]
push str._sICMP.DLL
push eax
call fcn.004a8bfe
add esp, 0x14
lea eax, [ebp - 0x114]
push eax
call edi
cmp eax, esi
mov dword [ebp - 0x3b0], eax
jne 0x43e209
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a8565
leave
ret
mov dword [ebp - 0x3b8], 1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IcmpCreateFile
push dword [ebp - 0x3b0]
call esi
mov ebx, str.IcmpCloseHandle
push ebx
push dword [ebp - 0x3b0]
mov dword [ebp - 0x3b4], eax
call esi
mov edi, str.IcmpSendEcho
push edi
push dword [ebp - 0x3b0]
mov dword [ebp - 0x3c0], eax
call esi
cmp dword [ebp - 0x3b4], 0
mov dword [ebp - 0x3c4], eax
je 0x43e264
cmp dword [ebp - 0x3c0], 0
je 0x43e264
test eax, eax
jne 0x43e2f5
push dword [ebp - 0x3b0]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
cmp dword [ebp - 0x3b8], eax
je 0x43e32d
push str.ICMP.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [ebp - 0x3b0], eax
je 0x43e1ee
push str.IcmpCreateFile
push eax
call esi
push ebx
push dword [ebp - 0x3b0]
mov dword [ebp - 0x3b4], eax
call esi
push edi
push dword [ebp - 0x3b0]
mov dword [ebp - 0x3c0], eax
call esi
xor ecx, ecx
cmp dword [ebp - 0x3b4], ecx
mov dword [ebp - 0x3c4], eax
je 0x43e1ee
cmp dword [ebp - 0x3c0], ecx
je 0x43e1ee
cmp eax, ecx
je 0x43e1ee
xor eax, eax
cmp dword [ebp - 0x3b8], ecx
setne al
mov dword [0x5fbb2c], eax
lea eax, [ebp - 0x3ac]
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
jne 0x43e1ee
mov ecx, dword [ebp - 0x3bc]
call fcn.00441ecf
test eax, eax
je 0x43e355
mov ecx, dword [ebp - 0x3bc]
call fcn.0044262c
jmp 0x43e3ec
push eax
push eax
call fcn.0045ba18
push eax
lea eax, [ebp - 0x114]
push str._sICMP.DLL
push eax
call fcn.004a8bfe
add esp, 0x14
lea eax, [ebp - 0x114]
push eax
jmp 0x43e283
push 0x103
lea eax, [ebp - 0x21b]
push 0
push eax
mov byte [ebp - 0x21c], 0
call fcn.004a8c80
push dword [ebp - 0x3bc]
mov edi, 0x104
mov ecx, edi
lea eax, [ebp - 0x21c]
call fcn.00477a48
mov esi, 0x5f8ea8
add esp, 0x10
mov edx, esi
call fcn.00477a16
test eax, eax
jne 0x43e3c0
lea eax, [ebp - 0x21c]
push 0x5f8da0
push eax
call fcn.004a8a6f
test eax, eax
pop ecx
pop ecx
jne 0x43e3c0
push esi
mov ecx, edi
lea eax, [ebp - 0x21c]
call fcn.00477a48
pop ecx
lea eax, [ebp - 0x21c]
push eax
call sub.WSOCK32.dll_gethostbyname
test eax, eax
je 0x43e1ee
mov eax, dword [eax + 0xc]
test eax, eax
je 0x43e1ee
cmp dword [eax], 0
je 0x43e1ee
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x3b8], eax
call dword [ebp - 0x3b4]
cmp eax, 0xffffffff
mov dword [ebp - 0x3b4], eax
je 0x43e1ee
mov esi, 0x80
push esi
lea eax, [ebp - 0x114]
push 0xffffffffffffffaa
push eax
call fcn.004a8c80
lea ebx, [esi + 0x1c]
push ebx
push 1
call fcn.004a7b08
mov edi, eax
add esp, 0x14
test edi, edi
je 0x43e482
push dword [ebp + 8]
mov eax, dword [ebp - 0x3bc]
push ebx
push edi
push 0
push esi
mov dword [edi + 0x10], eax
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x3b8]
mov word [edi + 0xc], si
push dword [ebp - 0x3b4]
call dword [ebp - 0x3c4]
test eax, eax
je 0x43e477
mov ebx, dword [edi + 8]
test ebx, ebx
ja 0x43e46b
xor ebx, ebx
inc ebx
mov esi, dword [edi + 4]
call fcn.0043e4a8
test eax, eax
je 0x43e479
xor ebx, ebx
push edi
call fcn.004a795c
pop ecx
jmp 0x43e484
xor ebx, ebx
push dword [ebp - 0x3b4]
call dword [ebp - 0x3c0]
push dword [ebp - 0x3b0]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call sub.WSOCK32.dll_WSACleanup
mov eax, ebx
jmp 0x43e1f0