Function at 0x6d7790b7
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
lea ebp, [esp - 0xbc]
sub esp, 0x13c
mov eax, dword [0x6d781098]
xor eax, ebp
mov dword [ebp + 0xb8], eax
or dword [ebp - 0x6c], 0xffffffff
push ebx
mov ebx, dword [ebp + 0xcc]
push esi
mov esi, dword [ebp + 0xc4]
push edi
mov edi, dword [ebp + 0xc8]
call sym.net.dll__ipv6_available_0
push edi
mov dword [ebp - 0x70], eax
call fcn.6d776d4c
cmp dword [ebp - 0x70], 0
pop ecx
mov dword [ebp - 0x68], eax
je 0x6d77910d
push edi
call fcn.6d776d78
pop ecx
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x68], 0
jge 0x6d779130
cmp dword [ebp - 0x6c], 0
jge 0x6d779130
push str.Socket_closed
push str.java_net_SocketException
push esi
call sub.java.dll__JNU_ThrowByName_12
xor eax, eax
jmp 0x6d779282
push 0x10
pop eax
cmp ebx, eax
je 0x6d779271
cmp ebx, 0x1f
je 0x6d779271
cmp ebx, 0xf
jne 0x6d77919d
cmp dword [ebp - 0x68], 0xffffffff
mov dword [ebp - 0x70], eax
jne 0x6d77915f
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x70], 0x1c
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.ws2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x6d77918a
push str.Error_getting_socket_name
push str.java_net_SocketException
push esi
call sym.net.dll__Java_java_net_Inet4AddressImpl_isReachable0_24
add esp, 0xc
jmp 0x6d779129
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
call sym.net.dll__Java_java_net_Inet4AddressImpl_isReachable0_24
jmp 0x6d779282
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
call sym.net.dll__NET_MapSocketOption_12
test eax, eax
je 0x6d7791b9
push str.Invalid_option
jmp 0x6d77911e
cmp dword [ebp - 0x68], 0xffffffff
jne 0x6d7791d7
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
call sym.net.dll__Java_java_net_Inet4AddressImpl_isReachable0_24
test eax, eax
jne 0x6d7791af
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x68], eax
push 4
pop edi
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x78]
mov dword [ebp - 0x80], edi
push dword [ebp - 0x7c]
push dword [ebp - 0x68]
call sym.net.dll__Java_java_net_Inet4AddressImpl_isReachable0_24
test eax, eax
jns 0x6d779221
call dword [sym.imp.msvcr100.dll__errno]
push dword [eax]
call dword [sym.imp.msvcr100.dll_strerror]
push eax
lea eax, [ebp - 0x48]
push str.error_getting_socket_option:__s_n
push eax
call dword [sym.imp.msvcr100.dll_sprintf]
add esp, 0x10
lea eax, [ebp - 0x48]
push eax
jmp 0x6d77911e
cmp ebx, 3
je 0x6d779266
cmp ebx, edi
je 0x6d779259
cmp ebx, 0x12
je 0x6d77924e
cmp ebx, 0x20
je 0x6d779259
cmp ebx, 0x1000
jle 0x6d779244
cmp ebx, 0x1002
jle 0x6d779266
push str.Socket_option_not_supported_by_TwoStacksPlainDatagramSocketImpl
jmp 0x6d77911e
xor eax, eax
cmp dword [ebp - 0x74], eax
sete al
push eax
jmp 0x6d77925c
push dword [ebp - 0x74]
push esi
call fcn.6d776cde
pop ecx
pop ecx
jmp 0x6d779282
push dword [ebp - 0x74]
push esi
call fcn.6d776c76
jmp 0x6d779262
push ebx
push dword [ebp - 0x6c]
push dword [ebp - 0x68]
push edi
push esi
call fcn.6d778c27
add esp, 0x14
mov ecx, dword [ebp + 0xb8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d77b1da
add ebp, 0xbc
leave
ret 0xc