Function at 0x4281b0
Capabilities:
Get local ipv4 addresses
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457fd7
mov eax, dword fs:[0]
push eax
sub esp, 0x1f4
mov eax, dword [0x472008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x1b0]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x42821b
push 0x402580
push str.WSAStartup_failed
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.004021b0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
jmp 0x4285ee
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push 0x288
mov dword [ebp - 0x1b4], 0x288
call edi
mov esi, eax
add esp, 4
mov dword [ebp - 0x1bc], esi
test esi, esi
jne 0x428266
push 0x402580
push str.Memory_allocation_failed
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.004021b0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
jmp 0x4285e9
lea eax, [ebp - 0x1b4]
push eax
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x428295
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push dword [ebp - 0x1b4]
call edi
mov esi, eax
mov dword [ebp - 0x1bc], eax
add esp, 8
test esi, esi
je 0x428241
lea eax, [ebp - 0x1b4]
push eax
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x4285da
mov edi, esi
test esi, esi
je 0x4285d1
lea ecx, [edi + 0x1b0]
mov eax, str.0.0.0.0
mov dword [ebp - 0x1b8], ecx
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4282e5
test dl, dl
je 0x4282e1
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4282e5
add ecx, 2
add eax, 2
test dl, dl
jne 0x4282c5
xor eax, eax
jmp 0x4282ea
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4282f5
mov edi, dword [edi]
jmp 0x4285b9
push 0
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
mov byte [ebp - 0x20], 0
call fcn.00406d10
mov byte [ebp - 0x1cc], 0
lea ecx, [ebp - 0x1c4]
push dword [ebp - 0x1cc]
xorps xmm0, xmm0
mov dword [ebp - 4], 1
movq qword [ebp - 0x1c4], xmm0
call fcn.0040a110
lea eax, [ebp - 0x1b8]
mov byte [ebp - 0x1cc], 3
push eax
call fcn.00425370
mov dword [ebp - 0x1c4], eax
sub esp, 0x14
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x42836e
mov eax, dword [ecx]
jmp 0x428370
mov eax, ecx
push 2
push 0x45b6cc
mov byte [eax], 0
call fcn.00403d00
lea ecx, [ebp - 0x20]
call fcn.00407440
mov esi, eax
mov eax, dword [ebp - 0x1c4]
mov cl, byte [esi]
mov byte [esi], 3
mov edx, dword [esi + 0xc]
mov byte [ebp - 0x1f0], cl
mov byte [ebp - 0x1cc], cl
mov ecx, dword [esi + 8]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x1c0]
mov dword [esi + 0xc], eax
mov dword [ebp - 0x1c4], ecx
mov dword [ebp - 0x1c0], edx
push dword [ebp - 0x1f0]
lea ecx, [ebp - 0x1c4]
mov byte [ebp - 4], 3
call fcn.0040a110
mov byte [ebp - 0x1dc], 0
lea ecx, [ebp - 0x1d4]
push dword [ebp - 0x1dc]
xorps xmm0, xmm0
mov byte [ebp - 4], 1
movq qword [ebp - 0x1d4], xmm0
lea esi, [edi + 0x10c]
call fcn.0040a110
push esi
mov byte [ebp - 0x1dc], 3
call fcn.00405c40
mov dword [ebp - 0x1d4], eax
sub esp, 0x14
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x428434
mov eax, dword [ecx]
jmp 0x428436
mov eax, ecx
push 4
push str.desc
mov byte [eax], 0
call fcn.00403d00
lea ecx, [ebp - 0x20]
call fcn.00407440
mov esi, eax
mov eax, dword [ebp - 0x1d4]
mov cl, byte [esi]
mov byte [esi], 3
mov edx, dword [esi + 0xc]
mov byte [ebp - 0x1f4], cl
mov byte [ebp - 0x1dc], cl
mov ecx, dword [esi + 8]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x1d0]
mov dword [esi + 0xc], eax
mov dword [ebp - 0x1d4], ecx
mov dword [ebp - 0x1d0], edx
push dword [ebp - 0x1f4]
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 5
call fcn.0040a110
mov byte [ebp - 0x1ec], 0
lea ecx, [ebp - 0x1e4]
push dword [ebp - 0x1ec]
xorps xmm0, xmm0
mov byte [ebp - 4], 1
movq qword [ebp - 0x1e4], xmm0
lea esi, [edi + 8]
call fcn.0040a110
push esi
mov byte [ebp - 0x1ec], 3
call fcn.00405c40
mov dword [ebp - 0x1e4], eax
sub esp, 0x14
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x4284f7
mov eax, dword [ecx]
jmp 0x4284f9
mov eax, ecx
push 4
push str.name
mov byte [eax], 0
call fcn.00403d00
lea ecx, [ebp - 0x20]
call fcn.00407440
mov esi, eax
mov eax, dword [ebp - 0x1e4]
mov cl, byte [esi]
mov byte [esi], 3
mov edx, dword [esi + 0xc]
mov byte [ebp - 0x1f8], cl
mov byte [ebp - 0x1ec], cl
mov ecx, dword [esi + 8]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x1e0]
mov dword [esi + 0xc], eax
mov dword [ebp - 0x1e4], ecx
mov dword [ebp - 0x1e0], edx
push dword [ebp - 0x1f8]
lea ecx, [ebp - 0x1e4]
mov byte [ebp - 4], 7
call fcn.0040a110
mov al, byte [ebx]
mov byte [ebp - 4], 1
test al, al
je 0x428570
cmp al, 2
je 0x428592
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
push 2
lea ecx, [ebp - 0x200]
mov byte [ebx], 2
call fcn.00406d10
mov eax, dword [ebp - 0x200]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x1fc]
mov dword [ebx + 0xc], eax
mov ecx, dword [ebx + 8]
lea eax, [ebp - 0x20]
push eax
call fcn.0040b690
mov edi, dword [edi]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 8
call fcn.0040a110
mov dword [ebp - 4], 0xffffffff
test edi, edi
jne 0x4282b4
push dword [ebp - 0x1bc]
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call eax
add esp, 4
call sub.WS2_32.dll_WSACleanup
xor eax, eax
jmp 0x4285f3
test esi, esi
je 0x4285e9
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push esi
call eax
add esp, 4
call sub.WS2_32.dll_WSACleanup
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040219c
mov esp, ebp
pop ebp
ret