Function at 0x140022180
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
mov r11, rsp
push rbp
push rdi
lea rbp, [r11 - 0x5f]
sub rsp, 0xa8
mov rax, qword [0x1400bc0f8]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rcx
mov qword [r11 + 0x10], rbx
xorps xmm0, xmm0
mov qword [r11 + 0x18], rsi
xor eax, eax
mov dword [rbp - 0x19], 0x2c0
mov ecx, 0x2c0
mov dword [rbp + 7], eax
movups xmmword [rbp - 9], xmm0
call fcn.14005f49c
mov rsi, rax
test rax, rax
je 0x140022242
lea rdx, [rbp - 0x19]
mov rcx, rax
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x1400221f8
mov rcx, rsi
call fcn.14005f488
mov ecx, dword [rbp - 0x19]
call fcn.14005f49c
mov rsi, rax
test rax, rax
je 0x140022242
lea rdx, [rbp - 0x19]
mov rcx, rsi
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x14002223a
mov rbx, rsi
test rsi, rsi
je 0x14002223a
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
jb 0x14002221e
mov rdx, qword [rdi]
lea rcx, [rbx + 0x1c0]
call fcn.14006aaac
test eax, eax
je 0x14002243c
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140022211
mov rcx, rsi
call fcn.14005f488
mov ecx, 0x1c0
mov dword [rbp - 0x15], 0x1c0
call fcn.14005f49c
mov rbx, rax
test rax, rax
je 0x1400222dc
lea rax, [rbp - 0x15]
mov r9, rbx
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
cmp eax, 0x6f
jne 0x140022295
mov rcx, rbx
call fcn.14005f488
mov ecx, dword [rbp - 0x15]
call fcn.14005f49c
mov rbx, rax
test rax, rax
je 0x1400222dc
lea rax, [rbp - 0x15]
mov r9, rbx
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
test eax, eax
jne 0x1400222d4
mov r8, rbx
test rbx, rbx
je 0x1400222d4
nop word [rax + rax]
cmp dword [r8 + 0x58], 6
je 0x1400224c1
mov r8, qword [r8 + 8]
test r8, r8
jne 0x1400222c0
mov rcx, rbx
call fcn.14005f488
xor ebx, ebx
lea rdx, [rbp - 0x11]
xor ecx, ecx
mov dword [rbp - 0x11], ebx
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov ecx, dword [rbp - 0x11]
call fcn.14005f49c
lea rdx, [rbp - 0x11]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test rsi, rsi
je 0x1400223cf
movsxd rax, dword [rsi + 0x194]
mov r10d, ebx
mov r11, rax
test eax, eax
jle 0x1400223cf
mov qword [rsp + 0xa0], r12
mov r8d, ebx
mov qword [rsp + 0x98], r14
lea r12d, [rbx + 0x23]
mov qword [rsp + 0x90], r15
lea r14d, [rax - 1]
lea r15d, [rbx + 0x37]
mov r9d, ebx
nop dword [rax]
movzx eax, byte [rsi + r8 + 0x198]
mov edx, eax
shr edx, 4
and eax, 0x8000000f
jge 0x14002236c
dec eax
or eax, 0xfffffff0
inc eax
cmp edx, 0xa
mov ecx, gethostbyname
cmovae ecx, r15d
add cl, dl
lea edx, [rbx + 3]
mov byte [rbp + r9 - 9], cl
cmp eax, 0xa
mov ecx, gethostbyname
mov ebx, edx
cmovge ecx, r15d
add cl, al
mov eax, 0x3a
cmp r10d, r14d
mov byte [rbp + r9 - 8], cl
cmovge eax, r12d
inc r10d
mov byte [rbp + r9 - 7], al
inc r8
add r9, 3
cmp r8, r11
jl 0x140022350
mov r15, qword [rsp + 0x90]
mov r14, qword [rsp + 0x98]
mov r12, qword [rsp + 0xa0]
mov rcx, rsi
call fcn.14005f488
test ebx, ebx
jle 0x1400223e3
movsxd rax, ebx
mov byte [rbp + rax - 0xa], 0
mov r8, qword [rdi + 0x38]
add rdi, 0x20
mov rsi, qword [rsp + 0xd0]
mov rax, r8
mov rbx, qword [rsp + 0xc8]
mov rcx, qword [rdi + 0x10]
sub rax, rcx
cmp rax, 0x14
jb 0x140022527
lea rax, [rcx + 0x14]
mov rdx, rdi
mov qword [rdi + 0x10], rax
cmp r8, 0x10
jb 0x140022423
mov rdx, qword [rdi]
movups xmm0, xmmword [rbp - 9]
mov eax, dword [rbp + 7]
movups xmmword [rdx + rcx], xmm0
mov dword [rdx + rcx + 0x10], eax
mov byte [rdx + rcx + 0x14], 0
jmp 0x140022543
lea rdx, [rbx + 0x1f0]
lea rcx, [rdi + 0x40]
call fcn.140021e50
movzx ecx, byte [rbx + 0x19c]
xor eax, eax
movzx edx, byte [rbx + 0x19b]
xorps xmm0, xmm0
movzx r10d, byte [rbx + 0x19a]
movzx r9d, byte [rbx + 0x199]
movzx r8d, byte [rbx + 0x198]
mov dword [rbp + 0x1f], eax
movzx eax, byte [rbx + 0x19d]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
lea rcx, [rbp + 0xf]
mov dword [rsp + 0x28], edx
lea rdx, str._02X:_02X:_02X:_02X:_02X:_02X
movups xmmword [rbp + 0xf], xmm0
mov dword [rsp + 0x20], r10d
call fcn.140015050
movups xmm0, xmmword [rbp + 0xf]
mov eax, dword [rbp + 0x1f]
mov rcx, rsi
mov dword [rbp + 7], eax
movups xmmword [rbp - 9], xmm0
call fcn.14005f488
jmp 0x1400223e3
movzx ecx, byte [r8 + 0x54]
xor eax, eax
movzx edx, byte [r8 + 0x53]
xorps xmm0, xmm0
movzx r10d, byte [r8 + 0x52]
movzx r9d, byte [r8 + 0x51]
mov dword [rbp + 0x1f], eax
movzx eax, byte [r8 + 0x55]
movzx r8d, byte [r8 + 0x50]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
lea rcx, [rbp + 0xf]
mov dword [rsp + 0x28], edx
lea rdx, str._02X:_02X:_02X:_02X:_02X:_02X
movups xmmword [rbp + 0xf], xmm0
mov dword [rsp + 0x20], r10d
call fcn.140015050
movups xmm0, xmmword [rbp + 0xf]
mov eax, dword [rbp + 0x1f]
mov rcx, rbx
mov dword [rbp + 7], eax
movups xmmword [rbp - 9], xmm0
call fcn.14005f488
jmp 0x1400223e3
xor r8d, r8d
mov qword [rsp + 0x20], reloc.WS2_32.dll_sendto
lea r9, [rbp - 9]
mov rcx, rdi
lea edx, [r8 + 0x14]
call fcn.140015de0
mov rax, rdi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14003fb10
add rsp, 0xa8
pop rdi
pop rbp
ret