Function at 0x4606f0
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.0045fc80
test eax, eax
mov r12d, eax
je 0x4607e3
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 0x460830
mov rcx, r14
call fcn.0043ebd0
cmp ebx, 0x6f
je 0x460810
jbe 0x4607d0
cmp ebx, 0xe8
je 0x4607a0
cmp ebx, 0x4cc
mov eax, 0xfffff008
jne 0x4607da
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.0043ebc0
test rax, rax
je 0x460825
mov rsi, qword [rsp + 0xd8]
mov dword [rsi], 0
mov rsi, qword [rsp + 0xd0]
mov qword [rsi], rax
xor eax, eax
jmp 0x460788
cmp ebx, 0x57
mov eax, 0xfffff024
je 0x460788
mov ecx, ebx
call fcn.00441a00
jmp 0x460788
mov r8d, 1
mov edx, 1
mov ecx, 5
call fcn.0045fc80
test eax, eax
je 0x460c67
mov esi, 0x1e
jmp 0x460732
mov ecx, dword [rsp + 0x7c]
call fcn.0043ebc0
test rax, rax
mov r14, rax
jne 0x460742
mov eax, 0xfffff027
jmp 0x460788
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 0x460cb4
nop
cmp dword [rdi + 0x68], 1
jne 0x4608d1
cmp qword [rdi + 0x18], 0
je 0x4608d1
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 0x460c71
cdqe
add rbp, rax
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x4608d1
nop word cs:[rax + rax]
mov rax, qword [rax + 8]
add r13d, 1
add rbp, 0x50
test rax, rax
jne 0x4608c0
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x460860
mov rcx, rbp
mov dword [rsp + 0x64], r13d
mov qword [rsp + 0x50], rbp
call fcn.0043ebc0
test rax, rax
mov qword [rsp + 0x58], rax
je 0x460cc9
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 0x460b78
cmp qword [rdi + 0x18], 0
je 0x460b78
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 0x460c8b
mov rbp, qword [rdi + 0x18]
test rbp, rbp
jne 0x460a4b
jmp 0x460b70
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 0x460c31
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 0x460be0
mov eax, 2
mov word [r13 + 0x30], ax
xor eax, eax
test ebx, ebx
jne 0x460bc0
mov dword [r13 + 0x34], eax
mov rbp, qword [rbp + 8]
add r13, 0x50
test rbp, rbp
je 0x460b70
test r12d, r12d
mov r8, qword [rbp + 0x10]
jne 0x4609a1
mov rdx, qword [rdi + 0xb0]
xor ebx, ebx
movzx esi, word [r8]
test rdx, rdx
je 0x460b57
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 0x460b42
mov r11d, dword [rdx + 0x20]
cmp r11d, ebx
jbe 0x460b42
cmp si, 0x17
mov r10, qword [rsp + 0x40]
lea r15, [rax + 4]
jne 0x460ab2
mov r10, qword [rsp + 0x48]
lea r15, [rax + 8]
mov eax, r11d
sar eax, 3
test eax, eax
jle 0x460c60
movzx ecx, byte [r10]
cmp byte [r15], cl
jne 0x460b42
lea r9d, [rax - 1]
mov eax, 1
add r9, 1
jmp 0x460af0
movzx ecx, byte [r10 + rax]
add rax, 1
cmp cl, byte [r15 + rax - 1]
jne 0x460b42
cmp r9, rax
mov ecx, eax
jne 0x460ae0
test r11b, 7
je 0x460c50
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 0x460a80
test ebx, ebx
jne 0x4609a5
cmp si, 0x17
mov ebx, 0x20
mov eax, pe_nt_image_headers64
cmove ebx, eax
jmp 0x4609a5
movsxd rax, dword [rsp + 0x60]
add r14, rax
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x460920
mov r14, qword [rsp + 0x68]
mov rcx, r14
call fcn.0043ebd0
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 0x460788
mov ecx, 0x20
mov eax, 0xffffffff
sub ecx, ebx
shl eax, cl
mov ecx, eax
call qword [sym.imp.WS2_32.dll_htonl]
jmp 0x460a36
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 0x460a3a
mov ecx, 8
mov eax, 0xff
sub ecx, ebx
shl eax, cl
mov byte [r13 + rsi + 0x38], al
jmp 0x460a3a
mov edx, dword [rdi + 0x50]
mov dword [r13 + 8], edx
movzx edx, word [rdi + 0x54]
mov word [r13 + 0xc], dx
jmp 0x4609fb
mov ebx, r11d
jmp 0x460b42
xor ecx, ecx
jmp 0x460af7
mov eax, 0xfffff02f
jmp 0x460788
mov rcx, r14
call fcn.0043ebd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00441a00
jmp 0x460788
mov r14, qword [rsp + 0x68]
mov rcx, r14
call fcn.0043ebd0
mov rcx, qword [rsp + 0x58]
call fcn.0043ebd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00441a00
jmp 0x460788
xor ecx, ecx
call fcn.0043ebc0
test rax, rax
mov qword [rsp + 0x58], rax
jne 0x460b8a
mov rcx, r14
call fcn.0043ebd0
jmp 0x460825