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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x100120b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push edi
push dword [0x100125a0]
mov edi, dword [ebp + 0x14]
push ebx
push esi
mov dword [ebp - 0x24], ebx
call dword [eax + 0x17c]
push dword [0x100125ac]
mov dword [ebp - 0x30], eax
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x17c]
mov dword [ebp - 0x34], eax
call sym.net.dll__ipv6_available_0
push 0x1c
mov dword [ebp - 0x28], eax
pop eax
push eax
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x20]
push 0
push eax
call sub.msvcr100.dll_memset
push edi
push esi
call fcn.1000aba4
add esp, 0x14
mov ebx, eax
mov eax, dword [esi]
push esi
call dword [eax + 0x390]
test al, al
jne 0x10006dca
cmp ebx, 2
jne 0x10006bd5
cmp dword [ebp - 0x28], 0
jne 0x10006bd5
push str.Protocol_family_not_supported
jmp 0x10006dbf
xor eax, eax
cmp dword [ebp - 0x30], eax
je 0x10006dba
cmp dword [ebp - 0x28], eax
je 0x10006bee
cmp dword [ebp - 0x34], eax
je 0x10006dba
push dword [0x100121e0]
mov eax, dword [esi]
push dword [ebp - 0x30]
push esi
call dword [eax + 0x190]
cmp dword [ebp - 0x28], 0
mov ebx, eax
je 0x10006c1d
push dword [0x100121e0]
mov eax, dword [esi]
push dword [ebp - 0x34]
push esi
call dword [eax + 0x190]
mov dword [ebp - 0x2c], eax
test edi, edi
jne 0x10006c31
push str.argument_address
push esi
call sub.java.dll__JNU_ThrowNullPointerException_8
jmp 0x10006dca
push edi
push esi
call fcn.1000ab66
mov eax, dword [esi]
pop ecx
pop ecx
push esi
call dword [eax + 0x390]
test al, al
jne 0x10006dca
push 0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x10]
push edi
push esi
call fcn.10008744
test eax, eax
jne 0x10006dca
push dword [ebp + 0x18]
xor edi, edi
lea eax, [ebp - 0x20]
cmp dword [ebp - 0x28], edi
je 0x10006d65
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x40], ebx
call fcn.10008744
cmp eax, 0xffffffff
je 0x10006d30
mov eax, dword [ebp - 0x40]
cmp eax, ebx
je 0x10006ccc
mov ebx, eax
cmp eax, 0xffffffff
jne 0x10006cb9
mov eax, dword [esi]
push edi
push dword [0x100125a0]
push dword [ebp - 0x24]
push esi
call dword [eax + 0x1a0]
jmp 0x10006ccc
mov ecx, dword [esi]
push eax
push dword [0x100121e0]
push dword [ebp - 0x30]
push esi
call dword [ecx + 0x1b4]
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x2c]
je 0x10006cef
mov dword [ebp - 0x2c], eax
cmp eax, 0xffffffff
jne 0x10006d1b
mov eax, dword [esi]
push edi
push dword [0x100125ac]
push dword [ebp - 0x24]
push esi
call dword [eax + 0x1a0]
cmp dword [ebp + 0x10], edi
jne 0x10006da3
cmp ebx, 0xffffffff
jne 0x10006d00
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.ws2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x10006d92
push str.JVM_GetSockName
jmp 0x10006d5b
mov ecx, dword [esi]
push eax
push dword [0x100121e0]
push dword [ebp - 0x34]
push esi
call dword [ecx + 0x1b4]
jmp 0x10006cef
mov eax, dword [esi]
push edi
push dword [0x100125a0]
push dword [ebp - 0x24]
push esi
call dword [eax + 0x1a0]
mov eax, dword [esi]
push edi
push dword [0x100125ac]
push dword [ebp - 0x24]
push esi
call dword [eax + 0x1a0]
push str.Cannot_bind
push esi
call fcn.1000afaa
pop ecx
pop ecx
jmp 0x10006dca
push dword [ebp - 0x38]
push eax
push ebx
call fcn.10008744
cmp eax, 0xffffffff
jne 0x10006cef
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x271d
jne 0x10006d56
push 0x2740
call dword [sym.imp.ws2_32.dll_WSASetLastError]
jmp 0x10006d56
movzx eax, word [ebp - 0x1e]
push eax
call dword [sym.imp.ws2_32.dll_ntohs]
movzx eax, ax
mov dword [ebp + 0x10], eax
push dword [ebp + 0x10]
mov eax, dword [esi]
push dword [0x1001259c]
push dword [ebp - 0x24]
push esi
call dword [eax + 0x1b4]
jmp 0x10006dca
push str.socket_closed
push str.java_net_SocketException
push esi
call sub.java.dll__JNU_ThrowByName_12
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000c212
leave
ret 0x14