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

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x20], r9d
push rbp
push rsi
push r12
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov dword [rbp + 0xd8], 0x80
xorps xmm0, xmm0
lea rbx, [rbp - 0x30]
mov r12, r8
mov r14, rdx
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
test rdx, rdx
je 0x1403bf1c4
lea rbx, [rdx + 0x328]
mov ecx, dword [rbp + 0xf8]
mov r15d, 1
mov qword [rsp + 0x1d0], rdi
mov rsi, 0xffffffffffffffff
sub ecx, r15d
je 0x1403bf24c
cmp ecx, r15d
jne 0x1403bf2d9
mov rdi, qword [rbp + 0xf0]
lea r15d, [rsi + 0x11]
mov eax, 2
movups xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x50], ax
test rdi, rdi
je 0x1403bf230
mov r9d, r15d
lea r8, [rsp + 0x50]
mov rdx, rdi
xor ecx, ecx
call fcn.1403a7190
cmp eax, 0xfffffffe
jne 0x1403bf228
jmp 0x1403bf2db
cmp eax, esi
je 0x1403bf2d9
movzx ecx, word [rbp + 0xe8]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x52], ax
lea r9, [rsp + 0x50]
jmp 0x1403bf34a
mov rdi, qword [rbp + 0xf0]
lea r9, [rsp + 0x60]
xor eax, eax
mov word [rsp + 0x60], r15w
mov qword [rbp - 0x3e], rax
mov dword [rbp - 0x36], eax
movups xmmword [rsp + 0x62], xmm0
movups xmmword [rsp + 0x72], xmm0
movups xmmword [rbp - 0x7e], xmm0
movups xmmword [rbp - 0x6e], xmm0
movups xmmword [rbp - 0x5e], xmm0
movups xmmword [rbp - 0x4e], xmm0
test rdi, rdi
je 0x1403bf2d9
mov rax, rsi
nop dword [rax]
inc rax
cmp byte [rdi + rax], 0
jne 0x1403bf290
cmp rax, 0x6c
jb 0x1403bf2fb
mov rcx, r14
call fcn.1403a5e40
mov rcx, rax
mov qword [rsp + 0x30], rdi
lea rax, str.__s__too_long_for_UNIX_domain_socket
mov r9d, r15d
lea rdx, str.lws_socket_bind
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
mov r8, r14
lea rdx, [0x1403a5e50]
call fcn.1403a8a40
mov eax, esi
mov rdi, qword [rsp + 0x1d0]
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x1a0
pop r15
pop r14
pop r12
pop rsi
pop rbp
ret
mov rax, rsi
nop
cmp byte [rdi + rax + 1], 0
lea rax, [rax + 1]
jne 0x1403bf300
lea rdx, [rsp + 0x62]
mov rcx, rdi
sub rdx, rdi
lea r15d, [rax + 2]
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x1403bf320
cmp byte [rsp + 0x62], 0x40
jne 0x1403bf33b
mov byte [rsp + 0x62], al
jmp 0x1403bf34a
lea rcx, [rsp + 0x62]
call fcn.14055e9cc
lea r9, [rsp + 0x60]
cmp r12, rsi
jne 0x1403bf353
xor eax, eax
jmp 0x1403bf2db
mov r8d, r15d
mov rdx, r9
mov rcx, r12
call qword [sym.imp.WS2_32.dll_bind]
mov r15d, eax
test eax, eax
jns 0x1403bf40d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, r14
mov ebx, eax
call fcn.1403a5e40
mov r9d, 1
mov dword [rsp + 0x48], ebx
lea rdx, str.lws_socket_bind
mov rcx, rax
mov r8, r14
mov dword [rsp + 0x40], r15d
cmp dword [rbp + 0xf8], r9d
jne 0x1403bf3ce
mov qword [rsp + 0x38], rdi
lea rax, str.ERROR_on_binding_fd__d_to___s____d__d_
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rdx, [0x1403a5e50]
call fcn.1403a8a40
jmp 0x1403bf2d9
mov eax, dword [rbp + 0xe8]
mov dword [rsp + 0x38], eax
lea rax, str.ERROR_on_binding_fd__d_to_port__d___d__d_
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rdx, [0x1403a5e50]
call fcn.1403a8a40
cmp ebx, 0x2740
mov eax, 0xfffffffd
cmove esi, eax
jmp 0x1403bf2d9
lea r8, [rbp + 0xd8]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, esi
je 0x1403bf43a
mov rcx, qword [rbx]
shr rcx, 0x10
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov dword [rbp + 0xe8], eax
mov r8d, 0x48
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.1403bf090
mov eax, dword [rbp + 0xe8]
jmp 0x1403bf2db