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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x5c0]
sub rsp, 0x6c0
mov rax, qword [0x141992390]
xor rax, rsp
mov qword [rbp + 0x5a0], rax
xor esi, esi
mov qword [rbp - 0x20], rcx
mov rdi, rcx
mov dword [rsp + 0x58], esi
lea rax, [rsp + 0x48]
mov dword [rsp + 0x48], 0x380
lea r15, [0x14016e190]
mov qword [rsp + 0x20], rax
lea rbx, [rbp + 0x10]
mov qword [rsp + 0x30], r15
lea edx, [rsi + 0x1c]
mov qword [rbp - 0x70], rbx
lea r9, [rbp + 0x10]
xor r8d, r8d
xor ecx, ecx
mov r12d, esi
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
cmp eax, 0x6f
jne 0x1400268c4
mov ecx, dword [rsp + 0x48]
call fcn.14012ab94
mov qword [rbp - 0x70], rax
mov rbx, rax
test rax, rax
jne 0x14002689a
mov rax, qword [rsp + 0x30]
mov qword [rdi], rax
mov eax, dword [0x14016e190]
test eax, eax
je 0x140027030
cmp eax, 0xffffffff
je 0x14002703a
mov rax, 0xffffffffffffffff
lock xadd dword [0x14016e190], eax
cmp eax, 1
jmp 0x14002702e
xor r8d, r8d
lea rax, [rsp + 0x48]
mov r9, rbx
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r8 + 0x1c]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
test eax, eax
je 0x1400268c8
mov rcx, rbx
call fcn.1401297e8
jmp 0x140026864
test eax, eax
jne 0x140026864
mov qword [rsp + 0x6f8], r13
mov r13, rbx
mov r14, 0xffffffffffffffff
test rbx, rbx
je 0x140026fea
movaps xmmword [rsp + 0x6b0], xmm6
lea rdi, [0x1401a1e20]
mov ecx, 0x38
call fcn.140121cb0
mov rbx, rax
mov qword [rax], 0
lea r15, [rax + 0x30]
mov qword [rax + 8], 0
mov dword [rax + 0x10], esi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], rdi
mov qword [rax + 0x28], rdi
lea rax, [0x14016e190]
mov qword [r15], rax
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
cmp ecx, 1
seta al
test al, al
je 0x140026a3d
mov rax, qword [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x38], 0x7fffffff
mov r8d, 1
movsxd rcx, dword [rax + 8]
add rax, 0x10
lea rsi, [rax + rcx*8]
lea rcx, [rsp + 0x30]
call fcn.140039f80
movsxd r9, dword [rsp + 0x38]
mov rdi, rax
mov rax, qword [rsp + 0x30]
lea rcx, [r9 + 2]
movsxd rdx, dword [rax + 8]
add rcx, rdx
lea r8, [rax + rcx*8]
lea rcx, [rax + 0x10]
lea rcx, [rcx + rdx*8]
cmp rsi, rcx
je 0x1400269bd
sub r8, rcx
sar r8, 3
test r8, r8
jle 0x1400269bd
lea r8, [r8*8]
mov rdx, rsi
call fcn.140123ea0
mov rax, qword [rsp + 0x30]
mov r9d, dword [rsp + 0x38]
movsxd rcx, dword [rax + 0xc]
add rcx, 2
movsxd r8, r9d
lea r9, [rax + rcx*8]
movsxd rcx, dword [rax + 8]
add rcx, 3
lea rdx, [rsi + r8*8]
add rcx, r8
lea rcx, [rax + rcx*8]
cmp rdx, rcx
je 0x1400269fd
sub r9, rcx
sar r9, 3
test r9, r9
jle 0x1400269fd
lea r8, [r9*8]
call fcn.140123ea0
mov eax, dword [rdi]
test eax, eax
je 0x140026a14
cmp eax, r14d
je 0x140026a1c
mov eax, r14d
lock xadd dword [rdi], eax
cmp eax, 1
jne 0x140026a1c
mov rcx, rdi
call fcn.14003a040
mov rax, qword [rsp + 0x30]
lea rdi, [0x1401a1e20]
movsxd rcx, dword [rsp + 0x38]
movsxd rdx, dword [rax + 8]
add rdx, rcx
xor esi, esi
mov qword [rax + rdx*8 + 0x10], rbx
jmp 0x140026a4a
lea rcx, [rsp + 0x30]
call fcn.140039ef0
mov qword [rax], rbx
mov dword [rbx + 4], esi
mov eax, dword [r13 + 0x6c]
test eax, eax
jne 0x140026a60
mov ecx, dword [r13 + 4]
mov eax, esi
test ecx, ecx
cmovne eax, ecx
mov dword [rbx + 4], eax
mov eax, 0x7fffffff
cmp dword [r13 + 0x60], eax
cmovb eax, dword [r13 + 0x60]
mov dword [rbx + 8], eax
mov eax, 4
mov dword [rbx + 0xc], 4
cmp dword [r13 + 0x68], 1
jne 0x140026a93
mov dword [rbx + 0xc], 7
mov eax, 7
test byte [r13 + 0x5c], 0x10
jne 0x140026aa0
or eax, 0x20
mov dword [rbx + 0xc], eax
mov ecx, dword [r13 + 0x64]
cmp ecx, 0x17
jne 0x140026ab3
or eax, 0x10
mov dword [rbx + 0xc], eax
mov ecx, dword [r13 + 0x64]
add ecx, 0xfffffffa
cmp ecx, 0xfd
ja case.0x140026ad7.7
lea rdx, [0x140000000]
movzx eax, byte [rdx + rcx + 0x27090]
mov ecx, dword [rdx + rax*4 + 0x27068]
add rcx, rdx
jmp rcx
mov dword [rbx + 0x10], 3
jmp case.0x140026ad7.7
mov dword [rbx + 0x10], 7
jmp case.0x140026ad7.7
mov dword [rbx + 0x10], 6
jmp case.0x140026ad7.7
mov dword [rbx + 0x10], 4
jmp case.0x140026ad7.7
mov dword [rbx + 0x10], 1
or dword [rbx + 0xc], 8
jmp case.0x140026ad7.7
mov dword [rbx + 0x10], 8
jmp case.0x140026ad7.7
mov dword [rbx + 0x10], 0xd
jmp case.0x140026ad7.7
mov dword [rbx + 0x10], 0xc
jmp case.0x140026ad7.7
mov dword [rbx + 0x10], 0xa
lea rcx, [r13 + 0xe0]
mov r8d, 0x101
lea rdx, [rbp + 0x390]
call qword [sym.imp.IPHLPAPI.DLL_ConvertInterfaceLuidToNameW]
test eax, eax
jne 0x140026c1b
mov r8d, r14d
lea rdx, [rbp + 0x390]
lea rcx, [rsp + 0x60]
or r12d, 1
call fcn.140040590
mov rcx, rax
mov rax, qword [rax]
mov qword [rbp - 0x40], rax
mov qword [rcx], rdi
test r12b, 2
je 0x140026bb0
mov rax, qword [rbp - 0x80]
and r12d, 0xfffffffd
mov ecx, dword [rax]
test ecx, ecx
je 0x140026b9e
cmp ecx, r14d
je 0x140026bb0
mov rax, qword [rbp - 0x80]
mov ecx, r14d
lock xadd dword [rax], ecx
lea eax, [rcx - 1]
test eax, eax
jne 0x140026bb0
mov rcx, qword [rbp - 0x80]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140049bf0
mov rax, qword [rsp + 0x60]
and r12d, 0xfffffffe
mov ecx, dword [rax]
test ecx, ecx
je 0x140026bd7
cmp ecx, r14d
je 0x140026bea
mov rax, qword [rsp + 0x60]
mov ecx, r14d
lock xadd dword [rax], ecx
lea eax, [rcx - 1]
test eax, eax
jne 0x140026bea
mov rcx, qword [rsp + 0x60]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140049bf0
mov rcx, qword [rbx + 0x18]
mov rax, qword [rbp - 0x40]
mov qword [rbx + 0x18], rax
mov eax, dword [rcx]
test eax, eax
je 0x140026c0d
cmp eax, r14d
je 0x140026c1b
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140026c1b
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140049bf0
mov rax, qword [rbx + 0x18]
cmp dword [rax + 4], 0
jne 0x140026c88
mov rdx, qword [r13 + 0x10]
test rdx, rdx
je 0x140026c3c
mov rax, r14
inc rax
cmp byte [rdx + rax], 0
jne 0x140026c31
jmp 0x140026c3f
mov eax, r14d
mov r8d, eax
lea rcx, [rsp + 0x68]
call fcn.1400403f0
mov rcx, qword [rbx + 0x18]
mov rax, qword [rsp + 0x68]
mov qword [rbx + 0x18], rax
mov qword [rsp + 0x68], rcx
mov eax, dword [rcx]
test eax, eax
je 0x140026c75
cmp eax, r14d
je 0x140026c88
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140026c88
mov rcx, qword [rsp + 0x68]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140049bf0
mov rdx, qword [r13 + 0x48]
lea rcx, [rsp + 0x70]
mov r8d, r14d
or r12d, 4
call fcn.140040590
mov rcx, rax
mov rax, qword [rax]
mov qword [rbp - 0x38], rax
mov qword [rcx], rdi
test r12b, 8
je 0x140026ce7
mov rax, qword [rbp - 0x78]
and r12d, 0xfffffff7
mov ecx, dword [rax]
test ecx, ecx
je 0x140026cd5
cmp ecx, r14d
je 0x140026ce7
mov rax, qword [rbp - 0x78]
mov ecx, r14d
lock xadd dword [rax], ecx
lea eax, [rcx - 1]
test eax, eax
jne 0x140026ce7
mov rcx, qword [rbp - 0x78]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140049bf0
mov rax, qword [rsp + 0x70]
and r12d, 0xfffffffb
mov dword [rsp + 0x58], r12d
mov ecx, dword [rax]
test ecx, ecx
je 0x140026d13
cmp ecx, r14d
je 0x140026d26
mov rax, qword [rsp + 0x70]
mov ecx, r14d
lock xadd dword [rax], ecx
lea eax, [rcx - 1]
test eax, eax
jne 0x140026d26
mov rcx, qword [rsp + 0x70]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140049bf0
mov rcx, qword [rbx + 0x20]
mov rax, qword [rbp - 0x38]
mov qword [rbx + 0x20], rax
mov eax, dword [rcx]
test eax, eax
je 0x140026d49
cmp eax, r14d
je 0x140026d57
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140026d57
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140049bf0
mov edx, dword [r13 + 0x58]
test edx, edx
je 0x140026db4
lea r8, [r13 + 0x50]
lea rcx, [rsp + 0x78]
call fcn.1400223e0
mov rcx, qword [rbx + 0x28]
mov rdx, rax
mov rax, qword [rax]
mov qword [rbx + 0x28], rax
mov qword [rdx], rcx
mov rax, qword [rsp + 0x78]
mov ecx, dword [rax]
test ecx, ecx
je 0x140026da1
cmp ecx, r14d
je 0x140026db4
mov rax, qword [rsp + 0x78]
mov ecx, r14d
lock xadd dword [rax], ecx
lea eax, [rcx - 1]
test eax, eax
jne 0x140026db4
mov rcx, qword [rsp + 0x78]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140049bf0
mov rbx, qword [r13 + 0x18]
test rbx, rbx
je 0x140026fc6
movabs r12, 0x7fffffffffffffff
nop dword [rax + rax]
cmp dword [rbx + 0x28], 0
je 0x140026fad
lea rcx, [rsp + 0x50]
call fcn.140020db0
mov rdx, qword [rbx + 0x10]
lea rcx, [rbp - 0x30]
call fcn.1400265f0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140022870
lea rcx, [rbp - 0x30]
call fcn.140025ff0
movzx edx, byte [rbx + 0x38]
lea rcx, [rsp + 0x50]
call fcn.140022880
mov eax, dword [rbx + 0x30]
cmp eax, 0xffffffff
jne 0x140026e2d
mov qword [rbp - 0x68], r12
mov dword [rbp - 0x60], esi
mov dword [rbp - 0x5c], 1
jmp 0x140026e42
imul edx, eax, 0x3e8
lea rcx, [rbp - 0x68]
mov r8d, 1
call fcn.140086bb0
mov eax, dword [rbx + 0x2c]
movups xmm6, xmmword [rbp - 0x68]
cmp eax, 0xffffffff
jne 0x140026e5e
mov qword [rbp - 0x50], r12
mov dword [rbp - 0x48], esi
mov dword [rbp - 0x44], 1
jmp 0x140026e73
imul edx, eax, 0x3e8
lea rcx, [rbp - 0x50]
mov r8d, 1
call fcn.140086bb0
movaps xmm0, xmmword [rbp - 0x50]
lea r8, [rbp - 0x10]
lea rdx, [rbp]
movdqa xmmword [rbp], xmm0
lea rcx, [rsp + 0x50]
movaps xmmword [rbp - 0x10], xmm6
call fcn.140022840
movzx edx, byte [rbx + 4]
lea rcx, [rsp + 0x50]
and dl, 1
call fcn.140022860
mov rax, qword [r15]
mov ecx, dword [rax]
cmp ecx, 1
seta al
test al, al
je 0x140026f83
mov rcx, qword [r15]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x7fffffff
mov r8d, 1
movsxd rax, dword [rcx + 8]
add rax, 2
lea rdi, [rcx + rax*8]
mov rcx, r15
call fcn.140039f80
mov rdx, qword [r15]
mov rsi, rax
movsxd rax, dword [rsp + 0x40]
mov r9, rdi
add rax, 2
movsxd rcx, dword [rdx + 8]
add rax, rcx
lea r8, [rdx + rax*8]
lea rdx, [rdx + rcx*8]
mov rcx, r15
add rdx, 0x10
call fcn.140027190
mov rdx, qword [r15]
movsxd rcx, dword [rsp + 0x40]
movsxd rax, dword [rdx + 0xc]
add rax, 2
lea r9, [rdi + rcx*8]
lea r8, [rdx + rax*8]
movsxd rax, dword [rdx + 8]
add rax, rcx
mov rcx, r15
lea rdx, [rdx + rax*8]
add rdx, 0x18
call fcn.140027190
mov eax, dword [rsi]
test eax, eax
je 0x140026f53
cmp eax, r14d
je 0x140026f5e
mov eax, r14d
lock xadd dword [rsi], eax
cmp eax, 1
jne 0x140026f5e
mov rdx, rsi
mov rcx, r15
call fcn.140021870
mov rdx, qword [r15]
movsxd rax, dword [rsp + 0x40]
movsxd rcx, dword [rdx + 8]
add rdx, 0x10
add rcx, rax
lea rcx, [rdx + rcx*8]
lea rdx, [rsp + 0x50]
call fcn.140020d30
xor esi, esi
jmp 0x140026fa3
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x28]
call fcn.140020d30
mov rcx, r15
call fcn.140039ef0
mov rcx, rax
mov rax, qword [rbp - 0x28]
mov qword [rcx], rax
lea rcx, [rsp + 0x50]
call fcn.140020e40
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x140026dd0
mov r12d, dword [rsp + 0x58]
lea rdi, [0x1401a1e20]
mov r13, qword [r13 + 8]
test r13, r13
jne 0x1400268f2
mov rbx, qword [rbp - 0x70]
lea r15, [0x14016e190]
mov rdi, qword [rbp - 0x20]
movaps xmm6, xmmword [rsp + 0x6b0]
mov r13, qword [rsp + 0x6f8]
lea rax, [rbp + 0x10]
cmp rbx, rax
je 0x140027003
mov rcx, rbx
call fcn.1401297e8
mov rax, qword [rsp + 0x30]
mov qword [rdi], rax
mov eax, dword [0x14016e190]
mov qword [rsp + 0x30], r15
test eax, eax
je 0x140027030
cmp eax, r14d
je 0x14002703a
lock xadd dword [0x14016e190], r14d
lea ecx, [r14 - 1]
test ecx, ecx
jne 0x14002703a
mov rcx, qword [rsp + 0x30]
call fcn.14003a040
mov rax, rdi
mov rcx, qword [rbp + 0x5a0]
xor rcx, rsp
call fcn.140121c90
lea r11, [rsp + 0x6c0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret