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

Disassembly:
push rbp
push rbx
push r12
lea rbp, [rsp - 0x5b0]
sub rsp, 0x6b0
mov rax, qword [0x140492fc0]
xor rax, rsp
mov qword [rbp + 0x580], rax
mov rax, rcx
mov qword [rsp + 0x50], rcx
lea rcx, [0x140484e18]
mov dword [rsp + 0x40], 0x380
xor r12d, r12d
lea rbx, [rbp - 0x10]
lea r9, [rbp - 0x10]
mov dword [rsp + 0x30], r12d
mov qword [rax], rcx
xor r8d, r8d
lea rax, [rsp + 0x40]
mov qword [rbp - 0x68], rbx
mov edx, 0x1c
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
cmp eax, 0x6f
jne 0x140049ee9
mov ecx, dword [rsp + 0x40]
call fcn.14023c100
mov qword [rbp - 0x68], rax
mov rbx, rax
test rax, rax
je 0x14004a61a
lea rax, [rsp + 0x40]
mov r9, rbx
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x1c
xor ecx, ecx
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
test eax, eax
je 0x140049ef1
mov rcx, rbx
call fcn.14023c0f0
jmp 0x14004a61a
test eax, eax
jne 0x14004a61a
mov qword [rsp + 0x6e8], r13
mov r13, rbx
mov qword [rsp + 0x6a0], r15
mov r15, 0xffffffffffffffff
mov qword [rbp - 0x70], rbx
test rbx, rbx
je 0x14004a5d6
mov qword [rsp + 0x6d8], rsi
mov rsi, qword [rbp - 0x18]
mov qword [rsp + 0x6e0], rdi
mov rdi, qword [rbp - 0x20]
mov qword [rsp + 0x6a8], r14
movaps xmmword [rsp + 0x690], xmm6
mov ecx, gethostname
call fcn.140229da8
mov rcx, qword [rsp + 0x50]
lea rdx, [rbp - 0x80]
mov r14, rax
xor ebx, ebx
mov qword [rbp - 0x80], r14
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov dword [rax + 0x10], ebx
lea rax, [0x140484d90]
mov qword [r14 + 0x18], rax
mov qword [r14 + 0x20], rax
mov qword [r14 + 0x28], rax
lea rax, [r14 + 0x30]
mov qword [rbp - 0x60], rax
lea rax, [0x140484e18]
mov qword [r14 + 0x30], rax
call fcn.140049af0
mov dword [r14 + 4], ebx
mov eax, dword [r13 + 0x6c]
test eax, eax
jne 0x140049fa5
mov eax, dword [r13 + 4]
test eax, eax
je 0x140049fa9
mov dword [r14 + 4], eax
mov eax, 0x7fffffff
mov edx, 4
cmp dword [r13 + 0x60], eax
cmovb eax, dword [r13 + 0x60]
mov dword [r14 + 8], eax
mov dword [r14 + 0xc], 4
cmp dword [r13 + 0x68], 1
jne 0x140049fdc
mov dword [r14 + 0xc], 7
mov edx, 7
test byte [r13 + 0x5c], 0x10
jne 0x140049fea
or edx, 0x20
mov dword [r14 + 0xc], edx
cmp dword [r13 + 0x64], 0x17
jne 0x140049ff8
or edx, 0x10
mov dword [r14 + 0xc], edx
mov eax, dword [r13 + 0x64]
add eax, 0xfffffffa
cmp eax, 0xfd
ja case.0x14004a021.7
lea r8, [0x140000000]
movzx eax, byte [r8 + rax + 0x4a664]
mov ecx, dword [r8 + rax*4 + 0x4a63c]
add rcx, r8
jmp rcx
mov dword [r14 + 0x10], 3
jmp case.0x14004a021.7
mov dword [r14 + 0x10], 7
jmp case.0x14004a021.7
mov dword [r14 + 0x10], 6
jmp case.0x14004a021.7
mov dword [r14 + 0x10], 4
jmp case.0x14004a021.7
or edx, 8
mov dword [r14 + 0x10], 1
mov dword [r14 + 0xc], edx
jmp case.0x14004a021.7
mov dword [r14 + 0x10], 8
jmp case.0x14004a021.7
mov dword [r14 + 0x10], reloc.WS2_32.dll_listen
jmp case.0x14004a021.7
mov dword [r14 + 0x10], select
jmp case.0x14004a021.7
mov dword [r14 + 0x10], 0xa
lea rcx, [r13 + 0xe0]
mov r8d, 0x101
lea rdx, [rbp + 0x370]
call qword [sym.imp.IPHLPAPI.DLL_ConvertInterfaceLuidToNameW]
test eax, eax
jne 0x14004a166
mov r8d, r15d
lea rdx, [rbp + 0x370]
lea rcx, [rsp + 0x58]
or r12d, 8
call fcn.1400ba830
lea rcx, [0x140484d90]
mov rbx, qword [rax]
mov qword [rax], rcx
test r12b, 0x10
je 0x14004a0fd
mov eax, dword [rsi]
and r12d, 0xffffffef
test eax, eax
je 0x14004a0ea
cmp eax, 0xffffffff
je 0x14004a0fd
mov eax, r15d
lock xadd dword [rsi], eax
cmp eax, 1
jne 0x14004a0fd
mov edx, 2
mov r8d, 8
mov rcx, rsi
call fcn.1400affb0
mov rax, qword [rsp + 0x58]
and r12d, 0xfffffff7
mov ecx, dword [rax]
test ecx, ecx
je 0x14004a122
cmp ecx, 0xffffffff
je 0x14004a137
mov rax, qword [rsp + 0x58]
mov ecx, r15d
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x14004a137
mov rcx, qword [rsp + 0x58]
mov edx, 2
mov r8d, 8
call fcn.1400affb0
mov rcx, qword [r14 + 0x18]
mov qword [r14 + 0x18], rbx
mov eax, dword [rcx]
test eax, eax
je 0x14004a156
cmp eax, 0xffffffff
je 0x14004a166
mov eax, r15d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14004a166
mov edx, 2
mov r8d, 8
call fcn.1400affb0
mov rax, qword [r14 + 0x18]
cmp dword [rax + 4], 0
jne 0x14004a1d7
mov rdx, qword [r13 + 0x10]
test rdx, rdx
je 0x14004a18c
mov r8, r15
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14004a180
jmp 0x14004a18f
mov r8d, r15d
lea rcx, [rsp + 0x60]
call fcn.1400ba690
mov rcx, qword [r14 + 0x18]
mov rax, qword [rsp + 0x60]
mov qword [r14 + 0x18], rax
mov qword [rsp + 0x60], rcx
mov eax, dword [rcx]
test eax, eax
je 0x14004a1c2
cmp eax, 0xffffffff
je 0x14004a1d7
mov eax, r15d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14004a1d7
mov rcx, qword [rsp + 0x60]
mov edx, 2
mov r8d, 8
call fcn.1400affb0
mov rdx, qword [r13 + 0x48]
lea rcx, [rsp + 0x68]
mov r8d, r15d
or r12d, 2
call fcn.1400ba830
lea rcx, [0x140484d90]
mov rbx, qword [rax]
mov qword [rax], rcx
test r12b, 4
je 0x14004a22d
mov eax, dword [rdi]
and r12d, 0xfffffffb
test eax, eax
je 0x14004a21a
cmp eax, 0xffffffff
je 0x14004a22d
mov eax, r15d
lock xadd dword [rdi], eax
cmp eax, 1
jne 0x14004a22d
mov edx, 2
mov r8d, 8
mov rcx, rdi
call fcn.1400affb0
mov rax, qword [rsp + 0x68]
and r12d, 0xfffffffd
mov dword [rsp + 0x30], r12d
mov ecx, dword [rax]
test ecx, ecx
je 0x14004a257
cmp ecx, 0xffffffff
je 0x14004a26c
mov rax, qword [rsp + 0x68]
mov ecx, r15d
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x14004a26c
mov rcx, qword [rsp + 0x68]
mov edx, 2
mov r8d, 8
call fcn.1400affb0
mov rcx, qword [r14 + 0x20]
mov qword [r14 + 0x20], rbx
mov eax, dword [rcx]
test eax, eax
je 0x14004a28b
cmp eax, 0xffffffff
je 0x14004a29b
mov eax, r15d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14004a29b
mov edx, 2
mov r8d, 8
call fcn.1400affb0
mov edx, dword [r13 + 0x58]
test edx, edx
je 0x14004a2f5
lea r8, [r13 + 0x50]
lea rcx, [rsp + 0x70]
call fcn.1400143a0
mov rdx, qword [r14 + 0x28]
mov rcx, qword [rax]
mov qword [r14 + 0x28], rcx
mov qword [rax], rdx
mov rax, qword [rsp + 0x70]
mov ecx, dword [rax]
test ecx, ecx
je 0x14004a2e0
cmp ecx, 0xffffffff
je 0x14004a2f5
mov rax, qword [rsp + 0x70]
mov ecx, r15d
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x14004a2f5
mov rcx, qword [rsp + 0x70]
mov edx, 2
mov r8d, 8
call fcn.1400affb0
mov r13, qword [r13 + 0x18]
test r13, r13
je 0x14004a594
mov rdi, qword [rbp - 0x60]
mov rsi, 0xffffffffffffffff
nop dword [rax]
cmp dword [r13 + 0x28], 0
je 0x14004a573
lea rcx, [rsp + 0x48]
call fcn.140012a50
mov rdx, qword [r13 + 0x10]
lea rcx, [rbp - 0x30]
call fcn.140049c30
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140014840
lea rcx, [rbp - 0x30]
call fcn.1400482a0
movzx edx, byte [r13 + 0x38]
lea rcx, [rsp + 0x48]
call fcn.140014850
mov eax, dword [r13 + 0x30]
cmp eax, 0xffffffff
jne 0x14004a37e
movabs rcx, 0x7fffffffffffffff
mov dword [rbp - 0x48], 0
mov qword [rbp - 0x50], rcx
mov dword [rbp - 0x44], 1
jmp 0x14004a39d
imul edx, eax, 0x3e8
lea rcx, [rbp - 0x50]
mov r8d, 1
call fcn.140108620
movabs rcx, 0x7fffffffffffffff
mov eax, dword [r13 + 0x2c]
movups xmm6, xmmword [rbp - 0x50]
cmp eax, 0xffffffff
jne 0x14004a3be
mov qword [rbp - 0x40], rcx
mov dword [rbp - 0x38], 0
mov dword [rbp - 0x34], 1
jmp 0x14004a3d3
imul edx, eax, 0x3e8
lea rcx, [rbp - 0x40]
mov r8d, 1
call fcn.140108620
movaps xmm0, xmmword [rbp - 0x40]
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
lea rcx, [rsp + 0x48]
movaps xmmword [rbp - 0x60], xmm6
call fcn.140014810
movzx edx, byte [r13 + 4]
lea rcx, [rsp + 0x48]
and dl, 1
call fcn.140014830
mov rax, qword [rdi]
mov ecx, dword [rax]
cmp ecx, 1
jbe 0x14004a54c
mov rcx, qword [rdi]
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x38], 0x7fffffff
mov r8d, 1
movsxd rax, dword [rcx + 8]
add rcx, 0x10
lea rbx, [rcx + rax*8]
mov rcx, rdi
mov qword [rbp - 0x60], rbx
call fcn.1400c6d20
mov rdx, qword [rdi]
mov r14, rbx
movsxd r8, dword [rsp + 0x38]
mov r12, rax
movsxd rcx, dword [rdx + 8]
lea rbx, [rdx + 0x10]
lea r15, [r8 + 2]
add r15, rcx
lea rbx, [rbx + rcx*8]
lea r15, [rdx + r15*8]
cmp rbx, r15
je 0x14004a48d
nop word [rax + rax]
mov rdx, r14
mov rcx, rbx
call fcn.1400129d0
add rbx, 8
add r14, 8
cmp rbx, r15
jne 0x14004a470
mov r8d, dword [rsp + 0x38]
mov rcx, qword [rdi]
mov rax, qword [rbp - 0x60]
movsxd rdx, r8d
movsxd rbx, dword [rcx + 8]
movsxd r15, dword [rcx + 0xc]
add rbx, 3
add rbx, rdx
lea r14, [rax + rdx*8]
add r15, 2
lea rbx, [rcx + rbx*8]
lea r15, [rcx + r15*8]
cmp rbx, r15
je 0x14004a4d8
nop dword [rax + rax]
mov rdx, r14
mov rcx, rbx
call fcn.1400129d0
add rbx, 8
add r14, 8
cmp rbx, r15
jne 0x14004a4c0
mov eax, dword [r12]
test eax, eax
je 0x14004a4f1
cmp eax, esi
je 0x14004a529
mov eax, esi
lock xadd dword [r12], eax
cmp eax, 1
jne 0x14004a529
movsxd r14, dword [r12 + 8]
movsxd rbx, dword [r12 + 0xc]
add r14, 2
add rbx, 2
lea r14, [r12 + r14*8]
lea rbx, [r12 + rbx*8]
cmp rbx, r14
je 0x14004a521
sub rbx, 8
mov rcx, rbx
call fcn.140012ac0
cmp rbx, r14
jne 0x14004a510
mov rcx, r12
call fcn.1400c6df0
mov rdx, qword [rdi]
movsxd rax, dword [rsp + 0x38]
movsxd rcx, dword [rdx + 8]
add rdx, 0x10
add rcx, rax
lea rcx, [rdx + rcx*8]
lea rdx, [rsp + 0x48]
call fcn.1400129d0
jmp 0x14004a569
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x28]
call fcn.1400129d0
mov rcx, rdi
call fcn.1400c6be0
mov rcx, qword [rbp - 0x28]
mov qword [rax], rcx
lea rcx, [rsp + 0x48]
call fcn.140012ac0
mov r13, qword [r13 + 8]
test r13, r13
jne 0x14004a310
mov rdi, qword [rbp - 0x20]
mov r15, 0xffffffffffffffff
mov rsi, qword [rbp - 0x18]
mov r12d, dword [rsp + 0x30]
mov r13, qword [rbp - 0x70]
mov r13, qword [r13 + 8]
mov qword [rbp - 0x70], r13
test r13, r13
jne 0x140049f40
mov rbx, qword [rbp - 0x68]
lea rax, [rbp - 0x10]
movaps xmm6, xmmword [rsp + 0x690]
mov r14, qword [rsp + 0x6a8]
mov rdi, qword [rsp + 0x6e0]
mov rsi, qword [rsp + 0x6d8]
cmp rbx, rax
je 0x14004a5de
mov rcx, rbx
call fcn.14023c0f0
mov r13, qword [rsp + 0x6e8]
test r12b, 1
je 0x14004a612
mov rdx, qword [rsp + 0x50]
mov rax, qword [rdx]
mov ecx, dword [rax]
test ecx, ecx
je 0x14004a60a
cmp ecx, 0xffffffff
je 0x14004a612
lock xadd dword [rax], r15d
cmp r15d, 1
jne 0x14004a612
mov rcx, qword [rdx]
call fcn.1400c6df0
mov r15, qword [rsp + 0x6a0]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rbp + 0x580]
xor rcx, rsp
call fcn.140229fa0
add rsp, 0x6b0
pop r12
pop rbx
pop rbp
ret