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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x4e0
mov rax, qword [0x1400e2cd8]
xor rax, rsp
mov qword [rsp + 0x4d0], rax
mov rax, qword [rsp + 0x4f0]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x50], 0
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x4f0]
movzx eax, word [rax + 0x238]
mov word [rsp + 0x34], ax
mov rax, qword [rsp + 0x4f0]
mov eax, dword [rax + 0x23c]
mov dword [rsp + 0x54], eax
mov eax, 8
imul rax, rax, 8
mov rcx, qword [rsp + 0x4f0]
mov rax, qword [rcx + rax + 0x738]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14003bb6c
movzx eax, word [rsp + 0x34]
test eax, eax
jne 0x14003bb6c
xor eax, eax
jmp 0x14003c12b
lea rax, [rsp + 0xd0]
mov rdi, rax
xor eax, eax
mov ecx, 0x80
rep stosb byte [rdi], al
cmp qword [rsp + 0x40], 0
je 0x14003bf6f
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x68], 0xffffffffffffffff
inc qword [rsp + 0x68]
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x68]
cmp byte [rax + rcx], 0
jne 0x14003bba2
mov rax, qword [rsp + 0x68]
cmp rax, 0xff
jae 0x14003bf6f
movzx eax, byte [0x1400e3eec]
mov byte [rsp + 0x1d0], al
lea rax, [rsp + 0x1d1]
mov rdi, rax
xor eax, eax
mov ecx, 0xff
rep stosb byte [rdi], al
mov dword [rsp + 0x48], 0
mov byte [rsp + 0x30], 0
mov byte [rsp + 0x38], 0
mov rax, qword [0x1400ddb78]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x70], 0xffffffffffffffff
inc qword [rsp + 0x70]
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x70]
cmp byte [rax + rcx], 0
jne 0x14003bc17
mov rax, qword [rsp + 0x70]
mov r8, rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [0x1400ddb78]
call fcn.140089470
test eax, eax
jne 0x14003bc9b
mov rax, qword [0x1400ddb78]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0x78], 0xffffffffffffffff
inc qword [rsp + 0x78]
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x78]
cmp byte [rax + rcx], 0
jne 0x14003bc64
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov byte [rsp + 0x30], 1
jmp 0x14003bd4a
mov rax, qword [str.host_]
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0x80], 0xffffffffffffffff
inc qword [rsp + 0x80]
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x80]
cmp byte [rax + rcx], 0
jne 0x14003bcb6
mov rax, qword [rsp + 0x80]
mov r8, rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [str.host_]
call fcn.140089470
test eax, eax
jne 0x14003bd4a
mov rax, qword [str.host_]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0x88], 0xffffffffffffffff
inc qword [rsp + 0x88]
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x88]
cmp byte [rax + rcx], 0
jne 0x14003bd0f
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov byte [rsp + 0x38], 1
movzx eax, byte [rsp + 0x38]
test eax, eax
jne 0x14003bddc
mov r9d, 0x100
lea r8, [rsp + 0x1d0]
mov rdx, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x500]
call fcn.14006a280
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
je 0x14003bd91
cmp dword [rsp + 0x4c], 1
je 0x14003bdbf
cmp dword [rsp + 0x4c], 2
je 0x14003bdc9
jmp 0x14003bddc
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14003bdbd
mov r8, qword [rsp + 0x40]
lea rdx, str.Couldnt_bind_to_interface__s
mov rcx, qword [rsp + 0x4f0]
call fcn.1400385d0
mov eax, 0x2d
jmp 0x14003c12b
jmp 0x14003bddc
mov eax, 1
jmp 0x14003c12b
mov byte [rsp + 0x30], 1
xor eax, eax
test eax, eax
jne 0x14003bdce
mov dword [rsp + 0x48], 1
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x14003bed8
mov rax, qword [rsp + 0x90]
movzx eax, byte [rax + 0x716]
mov byte [rsp + 0x39], al
cmp dword [rsp + 0x500], 2
jne 0x14003be15
mov rax, qword [rsp + 0x90]
mov byte [rax + 0x716], 1
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x4f0]
call fcn.140047650
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x98], 1
jne 0x14003be5a
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x4f0]
call fcn.140025b70
mov rax, qword [rsp + 0x90]
movzx ecx, byte [rsp + 0x39]
mov byte [rax + 0x716], cl
cmp qword [rsp + 0x58], 0
je 0x14003bed0
mov r8d, 0x100
lea rdx, [rsp + 0x1d0]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax]
call fcn.140047c80
xor eax, eax
test eax, eax
jne 0x14003be90
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x4f0]
call fcn.140047a30
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov eax, dword [rax + 4]
cmp dword [rsp + 0x500], eax
je 0x14003bec6
mov eax, 1
jmp 0x14003c12b
mov dword [rsp + 0x48], 1
jmp 0x14003bed8
mov dword [rsp + 0x48], 0xffffffff
cmp dword [rsp + 0x48], 0
jle 0x14003bf34
cmp dword [rsp + 0x500], 2
jne 0x14003bf34
mov rax, qword [rsp + 0x60]
add rax, 4
mov r8, rax
lea rdx, [rsp + 0x1d0]
mov ecx, 2
call fcn.14006a520
test eax, eax
jle 0x14003bf34
mov eax, 2
mov rcx, qword [rsp + 0x60]
mov word [rcx], ax
movzx ecx, word [rsp + 0x34]
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [rsp + 0x60]
mov word [rcx + 2], ax
mov dword [rsp + 0x50], reloc.WS2_32.dll_recv
cmp dword [rsp + 0x48], 1
jge 0x14003bf6d
mov rax, qword [rsp + 0x4f0]
mov byte [rax + 0x1283], 0
mov r8, qword [rsp + 0x40]
lea rdx, str.Couldnt_bind_to__s
mov rcx, qword [rsp + 0x4f0]
call fcn.1400385d0
mov eax, 0x2d
jmp 0x14003c12b
jmp 0x14003bfa2
cmp dword [rsp + 0x500], 2
jne 0x14003bfa2
mov eax, 2
mov rcx, qword [rsp + 0x60]
mov word [rcx], ax
movzx ecx, word [rsp + 0x34]
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [rsp + 0x60]
mov word [rcx + 2], ax
mov dword [rsp + 0x50], reloc.WS2_32.dll_recv
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x4f8]
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
jl 0x14003c07b
mov dword [rsp + 0x9c], 0x80
lea rax, [rsp + 0x150]
mov rdi, rax
xor eax, eax
mov ecx, 0x80
rep stosb byte [rdi], al
lea r8, [rsp + 0x9c]
lea rdx, [rsp + 0x150]
mov rcx, qword [rsp + 0x4f8]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jge 0x14003c05f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x4f0]
mov ecx, dword [rsp + 0x3c]
mov dword [rax + 0xd24], ecx
mov r8d, 0x100
lea rdx, [rsp + 0x2d0]
mov ecx, dword [rsp + 0x3c]
call fcn.140067250
mov r9, rax
mov r8d, dword [rsp + 0x3c]
lea rdx, [0x1400ddbc0]
mov rcx, qword [rsp + 0x4f0]
call fcn.1400385d0
mov eax, 0x2d
jmp 0x14003c12b
xor eax, eax
test eax, eax
jne 0x14003c05f
mov rax, qword [rsp + 0x90]
mov byte [rax + 0x3b7], 1
xor eax, eax
jmp 0x14003c12b
mov eax, dword [rsp + 0x54]
dec eax
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jle 0x14003c0d0
movzx eax, word [rsp + 0x34]
inc ax
mov word [rsp + 0x34], ax
movzx eax, word [rsp + 0x34]
test eax, eax
jne 0x14003c0a4
jmp 0x14003c0d7
xor eax, eax
test eax, eax
jne 0x14003c0a4
mov rax, qword [rsp + 0xa0]
movzx eax, word [rax]
cmp eax, 2
jne 0x14003c0ce
movzx ecx, word [rsp + 0x34]
call qword [sym.imp.WS2_32.dll_ntohs]
mov rcx, qword [rsp + 0x60]
mov word [rcx + 2], ax
jmp 0x14003c0d2
jmp 0x14003c0d7
jmp 0x14003bfa2
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x4f0]
mov ecx, dword [rsp + 0x3c]
mov dword [rax + 0xd24], ecx
mov r8d, 0x100
lea rdx, [rsp + 0x3d0]
mov ecx, dword [rsp + 0x3c]
call fcn.140067250
mov r9, rax
mov r8d, dword [rsp + 0x3c]
lea rdx, str.bind_failed_with_errno__d:__s
mov rcx, qword [rsp + 0x4f0]
call fcn.1400385d0
mov eax, 0x2d
mov rcx, qword [rsp + 0x4d0]
xor rcx, rsp
call fcn.14007dc00
add rsp, 0x4e0
pop rdi
ret