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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push r12
push r14
sub rsp, 0x98
mov r14, rdx
mov r12, rcx
xor edx, edx
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.18000d340
movsxd rbp, eax
test eax, eax
je 0x18000d518
mov esi, recv
jmp 0x18000d544
mov edx, 1
mov r8d, edx
lea ecx, [rdx + 4]
call fcn.18000d340
test eax, eax
jne 0x18000d53f
mov eax, 0xfffff02f
add rsp, 0x98
pop r14
pop r12
pop rsi
pop rbp
ret
mov esi, 0x1e
mov qword [rsp + 0x90], rbx
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x88], rdi
xor r9d, r9d
mov qword [rsp + 0x80], r13
xor r8d, r8d
xor r13d, r13d
mov qword [rsp + 0x78], r15
mov edx, esi
mov dword [rsp + 0xd0], r13d
xor ecx, ecx
mov qword [rsp + 0x58], r13
mov r15d, r13d
mov qword [rsp + 0x20], rax
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov edi, eax
test eax, eax
je 0x18000d603
call fcn.180035640
mov rcx, r15
mov ebx, dword [rax]
call qword [fcn.18002fdc4]
call fcn.180035640
mov ecx, edi
mov dword [rax], ebx
sub ecx, 0x57
je 0x18000d70a
sub ecx, 0x18
jne 0x18000d6cb
mov ecx, dword [rsp + 0xd0]
call qword [fcn.1800300a4]
mov qword [rsp + 0x58], rax
mov r15, rax
test rax, rax
je 0x18000d6c1
lea rax, [rsp + 0xd0]
mov r9, r15
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, esi
xor ecx, ecx
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov edi, eax
test eax, eax
jne 0x18000d597
mov dword [rsp + 0xd8], r13d
mov esi, r13d
mov qword [rsp + 0x48], r13
mov rdi, r13
mov rbx, r15
test r15, r15
je 0x18000d694
nop
cmp dword [rbx + 0x68], 1
jne 0x18000d68b
cmp qword [rbx + 0x18], r13
je 0x18000d68b
mov r8, qword [rbx + 0x48]
or r9d, 0xffffffff
mov qword [rsp + 0x38], r13
xor edx, edx
mov qword [rsp + 0x30], r13
mov ecx, 0xfde9
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x18000d714
cdqe
add rdi, rax
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x48], rdi
test rax, rax
je 0x18000d68b
mov rax, qword [rax + 8]
inc esi
add rdi, 0x50
test rax, rax
jne 0x18000d670
mov dword [rsp + 0xd8], esi
mov qword [rsp + 0x48], rdi
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x18000d620
mov rcx, rdi
call qword [fcn.1800300a4]
mov qword [rsp + 0x68], rax
mov r12, rax
test rax, rax
jne 0x18000d721
call fcn.180035640
mov rcx, r15
mov ebx, dword [rax]
call qword [fcn.18002fdc4]
call fcn.180035640
mov dword [rax], ebx
mov eax, 0xfffff027
jmp 0x18000d96d
sub ecx, 0x79
je 0x18000d6ee
cmp ecx, 0x3e4
je 0x18000d6e4
mov ecx, edi
call fcn.180019d80
jmp 0x18000d96d
mov eax, 0xfffff008
jmp 0x18000d96d
mov ecx, 1
call qword [fcn.1800300a4]
test rax, rax
je 0x18000d6c1
mov dword [r14], r13d
mov qword [r12], rax
jmp 0x18000d96b
mov eax, 0xfffff024
jmp 0x18000d96d
call fcn.180035640
mov rcx, r15
jmp 0x18000d9b9
mov r14, rax
mov rbx, rbp
movsxd rax, esi
mov r13, r15
mov qword [rsp + 0x60], rbx
lea rcx, [rax + rax*4]
shl rcx, 4
add rcx, r12
mov qword [rsp + 0x50], rcx
test r15, r15
je 0x18000d93f
mov edx, 0x7fffffff
cmp dword [r13 + 0x68], 1
jne 0x18000d926
cmp qword [r13 + 0x18], 0
je 0x18000d926
mov r8, qword [r13 + 0x48]
mov rax, rdi
sub rax, rcx
mov qword [rsp + 0x38], 0
add rax, r12
mov qword [rsp + 0x30], 0
cmp rax, rdx
cmova rax, rdx
or r9d, 0xffffffff
mov dword [rsp + 0x28], eax
xor edx, edx
mov qword [rsp + 0x20], rcx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [rsp + 0x40], eax
test eax, eax
jle 0x18000d998
mov r12, qword [r13 + 0x18]
test r12, r12
je 0x18000d90d
nop
mov r15, qword [r12 + 0x10]
test rbx, rbx
je 0x18000d7d2
movzx edi, byte [r12 + 0x38]
jmp 0x18000d827
mov rbx, qword [r13 + 0xb0]
xor edi, edi
test rbx, rbx
je 0x18000d815
movzx ebp, word [r15]
mov r8, qword [rbx + 0x10]
cmp word [r8], bp
jne 0x18000d808
mov esi, dword [rbx + 0x20]
cmp esi, edi
jbe 0x18000d808
movzx ecx, bp
mov r9d, esi
mov rdx, r15
call fcn.18000d410
test eax, eax
cmovne edi, esi
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x18000d7e4
test edi, edi
jne 0x18000d827
cmp word [r15], 0x17
mov edi, 0x20
mov eax, 0x80
cmove edi, eax
xor edx, edx
mov rcx, r14
lea r8d, [rdx + 0x50]
call fcn.18002f5e0
mov rax, qword [rsp + 0x50]
mov qword [r14], rax
cmp dword [r13 + 0x58], 6
jne 0x18000d856
mov eax, dword [r13 + 0x50]
mov dword [r14 + 8], eax
movzx eax, word [r13 + 0x54]
mov word [r14 + 0xc], ax
xor eax, eax
cmp dword [r13 + 0x64], 0x18
sete al
mov dword [r14 + 0x10], eax
movups xmm0, xmmword [r15]
cmp word [r15], 0x17
movups xmmword [r14 + 0x14], xmm0
jne 0x18000d8c3
movsd xmm1, qword [r15 + 0x10]
lea rcx, [r14 + 0x38]
movsd qword [r14 + 0x24], xmm1
mov edx, 0xff
mov eax, dword [r15 + 0x18]
mov dword [r14 + 0x2c], eax
mov eax, reloc.WS2_32.dll_socket
mov ebx, edi
shr rbx, 3
mov r8, rbx
mov word [r14 + 0x30], ax
call fcn.18002f5e0
and edi, 7
je 0x18000d8ed
mov ecx, 8
mov edx, 0xff
sub ecx, edi
shl dl, cl
mov byte [rbx + r14 + 0x38], dl
jmp 0x18000d8ed
mov eax, 2
mov word [r14 + 0x30], ax
test edi, edi
je 0x18000d8e7
mov ecx, 0x20
or edx, 0xffffffff
sub ecx, edi
shl edx, cl
mov ecx, edx
call qword [sym.imp.WS2_32.dll_htonl]
jmp 0x18000d8e9
xor eax, eax
mov dword [r14 + 0x34], eax
mov r12, qword [r12 + 8]
add r14, 0x50
mov rbx, qword [rsp + 0x60]
test r12, r12
jne 0x18000d7c0
mov rdi, qword [rsp + 0x48]
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
mov edx, 0x7fffffff
mov r12, qword [rsp + 0x68]
cdqe
add rcx, rax
mov qword [rsp + 0x50], rcx
mov r13, qword [r13 + 8]
test r13, r13
jne 0x18000d750
mov esi, dword [rsp + 0xd8]
mov r15, qword [rsp + 0x58]
call fcn.180035640
mov rcx, r15
mov ebx, dword [rax]
call qword [fcn.18002fdc4]
call fcn.180035640
mov dword [rax], ebx
mov rax, qword [rsp + 0xc0]
mov qword [rax], r12
mov rax, qword [rsp + 0xc8]
mov dword [rax], esi
xor eax, eax
mov r13, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x90]
mov r15, qword [rsp + 0x78]
add rsp, 0x98
pop r14
pop r12
pop rsi
pop rbp
ret
call fcn.180035640
mov rcx, qword [rsp + 0x58]
mov ebx, dword [rax]
call qword [fcn.18002fdc4]
call fcn.180035640
mov dword [rax], ebx
call fcn.180035640
mov rcx, r12
mov ebx, dword [rax]
call qword [fcn.18002fdc4]
call fcn.180035640
mov dword [rax], ebx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.180019d80
jmp 0x18000d96d