Function at 0x140063108
Capabilities:
Get local ipv4 addresses
Get socket information
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
lea rbp, [rsp - 0xf]
sub rsp, 0x90
mov rax, qword [0x1401ff510]
xor rax, rsp
mov qword [rbp - 1], rax
and dword [rbp - 0x41], 0
lea r8, [rbp - 0x31]
mov r13d, 0x1c
mov dword [rbp - 0x3d], 1
mov rdi, r9
mov dword [rbp - 0x39], r13d
mov rsi, rcx
lea r9, [rbp - 0x29]
mov ecx, 0xa8
lea edx, [r13 - 0x14]
call fcn.1400686a4
mov rbx, qword [rbp - 0x31]
lea ecx, [r13 + 0x34]
mov rax, qword [rbp - 0x29]
mov qword [rbx + 0x20], rax
lea rax, [0x140062c68]
mov qword [rbx], rax
lea rax, [0x140062cd0]
mov qword [rbx + 8], rax
lea rax, [0x140062f00]
mov qword [rbx + 0x10], rax
lea rax, [0x140052940]
mov qword [rbx + 0x60], rax
lea rax, [0x140052c30]
mov qword [rbx + 0x68], rax
lea rax, [fcn.140002bd0]
mov qword [rbx + 0x70], rax
lea rax, [0x140052cb0]
mov qword [rbx + 0x78], rax
lea rax, [0x140052c50]
mov qword [rbx + 0x58], rax
mov qword [rbx + 0x18], rsi
mov dword [rbx + 0x28], 0xa
call fcn.140164508
mov qword [rbx + 0x30], rax
test rax, rax
jne 0x140063214
mov rcx, rbx
call fcn.1401630c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 0xfd
lea rdx, str...microstackILibAsyncServerSocket.c
mov r8d, 0x27e
mov dword [rsp + 0x20], eax
xor ecx, ecx
call fcn.14006ddcc
xor eax, eax
jmp 0x14006339a
movzx ecx, word [rdi + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
mov edx, 1
mov word [rbx + 0x48], ax
mov word [rbx + 0x4a], ax
movzx ecx, word [rdi]
lea r8d, [rdx + 5]
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbx + 0x40], rax
cmp rax, 0xffffffffffffffff
jne 0x140063255
mov rcx, qword [rbx + 0x30]
call fcn.1401630c0
mov rcx, rbx
call fcn.1401630c0
jmp 0x14006320d
cmp word [rdi], 0x17
jne 0x140063281
mov edx, 0x29
mov dword [rsp + 0x20], 4
lea r9, [rbp - 0x41]
mov rcx, rax
lea r8d, [rdx - 0xe]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x1400633be
mov rcx, qword [rbx + 0x40]
lea r9, [rbp - 0x3d]
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0xfffffffb
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x1400633eb
cmp word [rdi], 0x17
lea r8d, [rax + 0x10]
mov rcx, qword [rbx + 0x40]
mov rdx, rdi
cmove r8d, r13d
call qword [sym.imp.WS2_32.dll_bind]
mov rcx, qword [rbx + 0x40]
test eax, eax
je 0x1400632d6
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x140063242
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x21]
call qword [sym.imp.WS2_32.dll_getsockname]
movzx ecx, word [rbp - 0x1f]
call qword [sym.imp.WS2_32.dll_ntohs]
mov word [rbx + 0x48], ax
xor edi, edi
lea rax, [0x140063054]
mov dword [rsp + 0x30], 8
mov qword [rsp + 0x28], rax
lea r9, [0x140062fc8]
lea rax, [0x140063000]
mov edx, 0x1000
lea r8, [0x140062f34]
mov qword [rsp + 0x20], rax
mov rcx, rsi
call fcn.14006353c
mov rcx, qword [rbx + 0x30]
mov qword [rdi + rcx], rax
mov rax, qword [rbx + 0x30]
mov rcx, qword [rdi + rax]
test rcx, rcx
je 0x140063352
lea rax, [0x14006307c]
mov qword [rcx + 0x218], rax
add rdi, 8
cmp rdi, 0x50
jl 0x1400632f4
mov dword [rbp - 0x35], 1
lea r8, [rbp - 0x35]
mov rcx, qword [rbx + 0x40]
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rcx, qword [rbx + 0x40]
mov edx, 4
mov dword [rbx + 0x4c], 1
call qword [sym.imp.WS2_32.dll_listen]
mov rdx, rbx
mov rcx, rsi
call fcn.140068ac0
mov rax, rbx
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.14015bde0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop rdi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
and dword [rsp + 0x20], 0
lea rdx, str...microstackILibAsyncServerSocket.c
mov r9d, eax
mov r8d, 0x286
xor ecx, ecx
call fcn.14006ddcc
mov ecx, 0xfd
call fcn.14015e4d8
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
and dword [rsp + 0x20], 0
lea rdx, str...microstackILibAsyncServerSocket.c
mov r9d, eax
mov r8d, 0x28e
xor ecx, ecx
call fcn.14006ddcc
mov ecx, 0xfd
call fcn.14015e4d8
int3