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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
xor r8d, r8d
mov esi, 0xe
mov qword [rsp + 0xd0], rcx
mov qword [rsp + 0xd8], rdx
mov ecx, 6
xor edx, edx
call fcn.0046ad60
test eax, eax
mov r12d, eax
je 0x46b8d3
lea rdi, [rsp + 0x7c]
mov dword [rsp + 0x7c], 0
xor r14d, r14d
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], rdi
mov r9, r14
mov edx, esi
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
test eax, eax
mov ebx, eax
je 0x46b920
mov rcx, r14
call fcn.00449740
cmp ebx, 0x6f
je 0x46b900
jbe 0x46b8c0
cmp ebx, 0xe8
je 0x46b890
cmp ebx, 0x4cc
mov eax, 0xfffff008
jne 0x46b8ca
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 1
call fcn.00449730
test rax, rax
je 0x46b915
mov rsi, qword [rsp + 0xd8]
mov dword [rsi], 0
mov rsi, qword [rsp + 0xd0]
mov qword [rsi], rax
xor eax, eax
jmp 0x46b878
cmp ebx, 0x57
mov eax, 0xfffff024
je 0x46b878
mov ecx, ebx
call fcn.0044c5f0
jmp 0x46b878
mov r8d, 1
mov edx, 1
mov ecx, 5
call fcn.0046ad60
test eax, eax
je 0x46bd57
mov esi, 0x1e
jmp 0x46b822
mov ecx, dword [rsp + 0x7c]
call fcn.00449730
test rax, rax
mov r14, rax
jne 0x46b832
mov eax, 0xfffff027
jmp 0x46b878
xor r13d, r13d
xor ebp, ebp
test r14, r14
mov rdi, r14
mov dword [rsp + 0x64], 0
mov qword [rsp + 0x50], 0
mov esi, 0xffffffff
mov rbx, qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
je 0x46bda4
nop
cmp dword [rdi + 0x68], 1
jne 0x46b9c1
cmp qword [rdi + 0x18], 0
je 0x46b9c1
mov r8, qword [rdi + 0x48]
xor edx, edx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov r9d, esi
mov qword [rsp + 0x20], 0
mov ecx, 0xfde9
call rbx
test eax, eax
jle 0x46bd61
cdqe
add rbp, rax
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x46b9c1
nop word cs:[rax + rax]
mov rax, qword [rax + 8]
add r13d, 1
add rbp, 0x50
test rax, rax
jne 0x46b9b0
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x46b950
mov rcx, rbp
mov dword [rsp + 0x64], r13d
mov qword [rsp + 0x50], rbp
call fcn.00449730
test rax, rax
mov qword [rsp + 0x58], rax
je 0x46bdb9
movsxd rax, dword [rsp + 0x64]
mov r13, qword [rsp + 0x58]
mov rdi, r14
mov qword [rsp + 0x68], r14
lea rax, [rax + rax*4]
shl rax, 4
add rax, r13
mov r14, rax
nop word [rax + rax]
cmp dword [rdi + 0x68], 1
jne 0x46bc68
cmp qword [rdi + 0x18], 0
je 0x46bc68
mov rax, qword [rsp + 0x58]
add rax, qword [rsp + 0x50]
mov edx, 0x7fffffff
mov r8, qword [rdi + 0x48]
mov r9d, 0xffffffff
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x20], r14
mov ecx, 0xfde9
sub rax, r14
cmp rax, 0x7fffffff
cmova rax, rdx
xor edx, edx
mov dword [rsp + 0x28], eax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
mov dword [rsp + 0x60], eax
jle 0x46bd7b
mov rbp, qword [rdi + 0x18]
test rbp, rbp
jne 0x46bb3b
jmp 0x46bc60
movzx ebx, byte [rbp + 0x38]
mov qword [r13 + 8], 0
mov qword [r13 + 0x10], 0
mov qword [r13 + 0x18], 0
mov qword [r13 + 0x20], 0
mov qword [r13 + 0x28], 0
mov qword [r13 + 0x30], 0
mov qword [r13 + 0x38], 0
mov qword [r13 + 0x40], 0
mov qword [r13 + 0x48], 0
cmp dword [rdi + 0x58], 6
mov qword [r13], r14
je 0x46bd21
xor eax, eax
cmp dword [rdi + 0x64], 0x18
sete al
cmp word [r8], 0x17
mov dword [r13 + 0x10], eax
mov rax, qword [r8]
mov rdx, qword [r8 + 8]
mov qword [r13 + 0x14], rax
mov qword [r13 + 0x1c], rdx
je 0x46bcd0
mov eax, 2
mov word [r13 + 0x30], ax
xor eax, eax
test ebx, ebx
jne 0x46bcb0
mov dword [r13 + 0x34], eax
mov rbp, qword [rbp + 8]
add r13, 0x50
test rbp, rbp
je 0x46bc60
test r12d, r12d
mov r8, qword [rbp + 0x10]
jne 0x46ba91
mov rdx, qword [rdi + 0xb0]
xor ebx, ebx
movzx esi, word [r8]
test rdx, rdx
je 0x46bc47
lea rax, [r8 + 4]
mov qword [rsp + 0x40], rax
lea rax, [r8 + 8]
mov qword [rsp + 0x48], rax
mov rax, qword [rdx + 0x10]
cmp word [rax], si
jne 0x46bc32
mov r11d, dword [rdx + 0x20]
cmp r11d, ebx
jbe 0x46bc32
cmp si, 0x17
mov r10, qword [rsp + 0x40]
lea r15, [rax + 4]
jne 0x46bba2
mov r10, qword [rsp + 0x48]
lea r15, [rax + 8]
mov eax, r11d
sar eax, 3
test eax, eax
jle 0x46bd50
movzx ecx, byte [r10]
cmp byte [r15], cl
jne 0x46bc32
lea r9d, [rax - 1]
mov eax, 1
add r9, 1
jmp 0x46bbe0
movzx ecx, byte [r10 + rax]
add rax, 1
cmp cl, byte [r15 + rax - 1]
jne 0x46bc32
cmp r9, rax
mov ecx, eax
jne 0x46bbd0
test r11b, 7
je 0x46bd40
movsxd rax, ecx
movzx r9d, byte [r15 + rax]
mov r15d, r11d
movzx eax, byte [r10 + rax]
sar r15d, 0x1f
shr r15d, 0x1d
lea ecx, [r11 + r15]
and ecx, 7
sub ecx, r15d
mov r15d, 8
sub r15d, ecx
mov ecx, r15d
mov r15d, 0xff
shl r15d, cl
and eax, r15d
cmp r9d, eax
cmove ebx, r11d
mov rdx, qword [rdx + 8]
test rdx, rdx
jne 0x46bb70
test ebx, ebx
jne 0x46ba95
cmp si, 0x17
mov ebx, 0x20
mov eax, pe_nt_image_headers64
cmove ebx, eax
jmp 0x46ba95
movsxd rax, dword [rsp + 0x60]
add r14, rax
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x46ba10
mov r14, qword [rsp + 0x68]
mov rcx, r14
call fcn.00449740
mov rax, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0x58]
mov qword [rax], rdx
mov rax, qword [rsp + 0xd8]
mov edx, dword [rsp + 0x64]
mov dword [rax], edx
xor eax, eax
jmp 0x46b878
mov ecx, 0x20
mov eax, 0xffffffff
sub ecx, ebx
shl eax, cl
mov ecx, eax
call qword [sym.imp.WS2_32.dll_htonl]
jmp 0x46bb26
mov rax, qword [r8 + 0x10]
mov esi, ebx
mov edx, 0x17
shr esi, 3
lea rcx, [r13 + 0x38]
mov qword [r13 + 0x24], rax
mov eax, dword [r8 + 0x18]
mov r8, rsi
mov word [r13 + 0x30], dx
mov edx, 0xff
mov dword [r13 + 0x2c], eax
call sub.msvcrt.dll_memset
and ebx, 7
je 0x46bb2a
mov ecx, 8
mov eax, 0xff
sub ecx, ebx
shl eax, cl
mov byte [r13 + rsi + 0x38], al
jmp 0x46bb2a
mov edx, dword [rdi + 0x50]
mov dword [r13 + 8], edx
movzx edx, word [rdi + 0x54]
mov word [r13 + 0xc], dx
jmp 0x46baeb
mov ebx, r11d
jmp 0x46bc32
xor ecx, ecx
jmp 0x46bbe7
mov eax, 0xfffff02f
jmp 0x46b878
mov rcx, r14
call fcn.00449740
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.0044c5f0
jmp 0x46b878
mov r14, qword [rsp + 0x68]
mov rcx, r14
call fcn.00449740
mov rcx, qword [rsp + 0x58]
call fcn.00449740
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.0044c5f0
jmp 0x46b878
xor ecx, ecx
call fcn.00449730
test rax, rax
mov qword [rsp + 0x58], rax
jne 0x46bc7a
mov rcx, r14
call fcn.00449740
jmp 0x46b915