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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x1402e0ed0]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov rbx, rcx
mov qword [rsp + 0x58], rcx
xor r12d, r12d
mov dword [rsp + 0x54], edx
mov r15d, 0x2c0
mov dword [rsp + 0x50], r12d
mov ecx, r15d
mov edi, edx
mov esi, r12d
call fcn.1401d6c94
mov r14, rax
test rax, rax
je 0x140011522
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], r15d
mov rcx, rax
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
je 0x1400114ac
mov rcx, r14
call fcn.1401d5838
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x140011522
mov ecx, eax
call fcn.1401d6c94
mov r14, rax
lea rdx, [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x14001151a
cmp dword [rsp + 0x50], r12d
je 0x14001151a
mov r13d, 0x1c0
mov ecx, r13d
call fcn.1401d6c94
mov r15, rax
test rax, rax
je 0x14001151a
mov dword [rsp + 0x50], r13d
lea rax, [rsp + 0x50]
mov r13d, 0x90
mov qword [rsp + 0x20], rax
mov edx, r13d
mov r9, r15
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
test eax, eax
je 0x140011559
mov rcx, r15
call fcn.1401d5838
mov eax, dword [rsp + 0x50]
test eax, eax
jne 0x14001154e
test r14, r14
je 0x140011522
mov rcx, r14
call fcn.1401d5838
xor eax, eax
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.1401cce50
mov rbx, qword [rsp + 0x4f0]
add rsp, 0x4a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, rax
call fcn.1401d6c94
mov r15, rax
lea rax, [rsp + 0x50]
mov r9, r15
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, r13d
xor ecx, ecx
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
test eax, eax
jne 0x14001192a
cmp dword [rsp + 0x50], r12d
je 0x14001192a
mov r13d, r12d
mov ecx, r12d
mov r12, r14
test r14, r14
jmp 0x140011901
mov r13, r15
test r15, r15
je 0x14001192a
mov eax, dword [r12 + 0x1a0]
cmp dword [r13 + 4], eax
je 0x1400115bb
mov r13, qword [r13 + 8]
test r13, r13
jne 0x1400115ac
test r13, r13
je 0x14001192a
test ecx, ecx
je 0x1400115e3
mov eax, edi
movsxd rcx, esi
sub eax, esi
lea r8, [0x1402595cc]
movsxd rdx, eax
add rcx, rbx
call fcn.140001138
add esi, eax
mov eax, edi
movsxd rcx, esi
sub eax, esi
lea r8, [0x14025c980]
movsxd rdx, eax
add rcx, rbx
call fcn.140001138
mov r9d, dword [r12 + 0x1a4]
lea r8, str._type_:_d
add esi, eax
mov eax, edi
sub eax, esi
movsxd rcx, esi
movsxd rdx, eax
add rcx, rbx
call fcn.140001138
mov r9, qword [r13 + 0x48]
add esi, eax
or rdx, 0xffffffffffffffff
mov rax, rdx
xor ecx, ecx
inc rax
cmp word [r9 + rax*2], cx
jne 0x14001162e
test rax, rax
je 0x140011688
mov rax, rdx
inc rax
cmp word [r9 + rax*2], cx
jne 0x140011640
mov r8d, 0x3ff
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x78]
call fcn.1401dc4b4
mov eax, edi
movsxd rcx, esi
sub eax, esi
lea r9, [rbp - 0x70]
movsxd rdx, eax
lea r8, str.__name_:__s_
add rcx, rbx
call fcn.140001138
add esi, eax
xor ecx, ecx
or rdx, 0xffffffffffffffff
mov r9, qword [r13 + 0x40]
mov rax, rdx
inc rax
cmp word [r9 + rax*2], cx
jne 0x14001168f
test rax, rax
je 0x1400116e3
mov rax, rdx
inc rax
cmp word [r9 + rax*2], cx
jne 0x1400116a1
mov r8d, 0x3ff
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x78]
call fcn.1401dc4b4
mov eax, edi
movsxd rcx, esi
sub eax, esi
lea r9, [rbp - 0x70]
movsxd rdx, eax
lea r8, str.__desc_:__s_
add rcx, rbx
call fcn.140001138
add esi, eax
cmp dword [r12 + 0x194], 6
jne 0x140011763
movzx r8d, byte [r12 + 0x19d]
movzx r10d, byte [r12 + 0x19c]
mov eax, dword [rsp + 0x54]
movzx r11d, byte [r12 + 0x19b]
sub eax, esi
movzx ebx, byte [r12 + 0x19a]
movzx edi, byte [r12 + 0x199]
movzx r9d, byte [r12 + 0x198]
mov dword [rsp + 0x40], r8d
lea r8, str.__mac_:__02x_02x_02x_02x_02x_02x_
mov dword [rsp + 0x38], r10d
mov dword [rsp + 0x30], r11d
movsxd rcx, esi
add rcx, qword [rsp + 0x58]
mov dword [rsp + 0x28], ebx
movsxd rdx, eax
mov dword [rsp + 0x20], edi
call fcn.140001138
mov rbx, qword [rsp + 0x58]
add esi, eax
mov edi, dword [rsp + 0x54]
mov r9, qword [r13 + 0x38]
or rax, 0xffffffffffffffff
xor ecx, ecx
inc rax
cmp word [r9 + rax*2], cx
jne 0x14001176d
test rax, rax
je 0x1400117c2
or rax, 0xffffffffffffffff
inc rax
cmp word [r9 + rax*2], cx
jne 0x140011780
mov r8d, 0x3ff
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x78]
call fcn.1401dc4b4
mov eax, edi
movsxd rcx, esi
sub eax, esi
lea r9, [rbp - 0x70]
movsxd rdx, eax
lea r8, str.__dnssuffix_:__s_
add rcx, rbx
call fcn.140001138
add esi, eax
mov r13d, dword [rsp + 0x54]
lea rdi, [r12 + 0x1c0]
mov eax, r13d
movsxd rcx, esi
sub eax, esi
lea r8, str.__v4addr_:__s_
movsxd rdx, eax
add rcx, rbx
mov r9, rdi
call fcn.140001138
add esi, eax
lea r9, [r12 + 0x1d0]
mov eax, r13d
movsxd rcx, esi
sub eax, esi
lea r8, str.__v4mask_:__s_
movsxd rdx, eax
add rcx, rbx
call fcn.140001138
add esi, eax
lea rbx, [r12 + 0x1f0]
mov eax, r13d
movsxd rcx, esi
mov r13, qword [rsp + 0x58]
lea r8, str.__v4gateway_:__s_
sub eax, esi
add rcx, r13
movsxd rdx, eax
mov r9, rbx
call fcn.140001138
mov rdx, rdi
lea r8, [rsp + 0x68]
mov edi, 2
add esi, eax
mov ecx, edi
call fcn.1400a38e8
lea r8, [rsp + 0x6c]
mov rdx, rbx
mov ecx, edi
call fcn.1400a38e8
mov edx, dword [rsp + 0x68]
lea r9, [rsp + 0x70]
mov ecx, dword [rsp + 0x6c]
lea r8, [rbp - 0x80]
call qword [sym.imp.IPHLPAPI.DLL_SendARP]
cmp dword [rsp + 0x70], 6
jne 0x1400118cf
movzx r8d, byte [rbp - 0x7b]
movzx r10d, byte [rbp - 0x7c]
mov eax, dword [rsp + 0x54]
movzx r11d, byte [rbp - 0x7d]
sub eax, esi
movzx ebx, byte [rbp - 0x7e]
movzx edi, byte [rbp - 0x7f]
movzx r9d, byte [rbp - 0x80]
mov dword [rsp + 0x40], r8d
lea r8, str.__gatewaymac_:__02x_02x_02x_02x_02x_02x_
mov dword [rsp + 0x38], r10d
mov dword [rsp + 0x30], r11d
movsxd rcx, esi
mov dword [rsp + 0x28], ebx
add rcx, r13
movsxd rdx, eax
mov dword [rsp + 0x20], edi
call fcn.140001138
add esi, eax
mov edi, dword [rsp + 0x54]
lea r8, [0x14025ca5c]
mov eax, edi
movsxd rcx, esi
sub eax, esi
mov rbx, r13
movsxd rdx, eax
add rcx, rbx
call fcn.140001138
mov ecx, dword [rsp + 0x60]
add esi, eax
mov r12, qword [r12]
inc ecx
test r12, r12
mov r13d, eax
mov dword [rsp + 0x60], ecx
jne 0x140011598
mov rcx, r14
call fcn.1401d5838
mov rcx, r15
call fcn.1401d5838
xor ecx, ecx
test r13d, r13d
cmovs esi, ecx
mov eax, esi
jmp 0x140011524
mov rcx, r14
call fcn.1401d5838
mov rcx, r15
jmp 0x14001151d