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

Disassembly:
sub esp, 0x1bc
mov eax, dword [0x1026e004]
xor eax, esp
mov dword [esp + 0x1b8], eax
push ebx
mov ebx, dword [esp + 0x1c4]
lea eax, [esp + 0x8c]
push ebp
mov ebp, dword [esp + 0x1cc]
push 0x2e
push 0
push eax
call fcn.100e19a0
add esp, 0xc
or ecx, 0xffffffff
cmp dword [ebp + 0x58], 3
jne 0x1014b209
cmp byte [ebp + 0x25e], 0
jne 0x1014b209
cmp byte [ebp + 0x272], 0
jne 0x1014b209
push esi
push edi
push 0x80
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], 0x80
push 0
push eax
call fcn.100e19a0
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x1e0]
call dword [sym.imp.WS2_32.dll_getpeername]
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x1014b0ce
call esi
mov esi, eax
lea eax, [esp + 0xc8]
push 0x100
push eax
push esi
call fcn.1016d470
push eax
push esi
push str.getpeername___failed_with_errno__d:__s
jmp 0x1014b118
lea eax, [esp + 0x14]
push eax
lea eax, [ebp + 0xd2]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
call fcn.1014a110
add esp, 0x10
test al, al
jne 0x1014b127
call fcn.100f1c88
mov esi, dword [eax]
call fcn.100f1c88
mov edi, eax
lea eax, [esp + 0xc8]
push 0x100
push eax
push esi
call fcn.1016d470
push eax
push dword [edi]
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.1014d3d0
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
add esp, 0x1c
push 0x80
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], 0x80
push 0
push eax
call fcn.100e19a0
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x1e0]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x1014b18a
call esi
mov esi, eax
lea eax, [esp + 0xc8]
push 0x100
push eax
push esi
call fcn.1016d470
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push ebx
call fcn.1014d3d0
add esp, 0x1c
or ecx, 0xffffffff
jmp 0x1014b207
movzx eax, word [esp + 0x18]
sub eax, 2
jne 0x1014b1c0
push 0x2e
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x24]
push eax
push 2
call fcn.101690a0
add esp, 0x10
test eax, eax
je 0x1014b1c0
push dword [esp + 0x1a]
call dword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, ax
jmp 0x1014b207
mov byte [esp + 0x98], 0
call fcn.100f1c88
mov dword [eax], 0x273f
call fcn.100f1c88
mov esi, dword [eax]
call fcn.100f1c88
mov edi, eax
lea eax, [esp + 0xc8]
push 0x100
push eax
push esi
call fcn.1016d470
push eax
push dword [edi]
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.1014d3d0
add esp, 0x1c
xor ecx, ecx
pop edi
pop esi
cmp byte [esp + 0x90], 0
movups xmm0, xmmword [ebp + 0xd2]
movups xmmword [ebx + 0xdb0], xmm0
movups xmm0, xmmword [ebp + 0xe2]
movups xmmword [ebx + 0xdc0], xmm0
movq xmm0, qword [ebp + 0xf2]
movq qword [ebx + 0xdd0], xmm0
mov eax, dword [ebp + 0xfa]
mov dword [ebx + 0xdd8], eax
mov ax, word [ebp + 0xfe]
mov word [ebx + 0xddc], ax
je 0x1014b2a6
movups xmm0, xmmword [esp + 0x90]
mov eax, dword [esp + 0xb8]
movups xmmword [ebx + 0xde4], xmm0
movups xmm0, xmmword [esp + 0xa0]
movups xmmword [ebx + 0xdf4], xmm0
movq xmm0, qword [esp + 0xb0]
movq qword [ebx + 0xe04], xmm0
mov dword [ebx + 0xe0c], eax
mov ax, word [esp + 0xbc]
mov word [ebx + 0xe10], ax
jmp 0x1014b2ad
mov byte [ebx + 0xde4], 0
mov eax, dword [ebp + 0x2a0]
mov eax, dword [eax]
mov dword [ebx + 0xe18], eax
mov eax, dword [ebp + 0x2a0]
mov eax, dword [eax + 0x44]
mov dword [ebx + 0xe1c], eax
mov eax, dword [ebp + 0xc4]
mov dword [ebx + 0xe14], ecx
mov ecx, dword [esp + 0x1c0]
pop ebp
mov dword [ebx + 0xde0], eax
pop ebx
xor ecx, esp
call fcn.100e04a9
add esp, 0x1bc
ret