Function at 0x1400147f0
Capabilities:
Get mac address on windows
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rsi, rcx
mov qword [rbp + 0x30], rcx
xor r15d, r15d
mov dword [rsp + 0x24], r15d
lea rax, [0x1400803e0]
mov qword [rsp + 0x40], rax
lea rcx, [rbp - 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x24], 2
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x40], r12
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x3c], edx
lea rcx, [rsp + 0x48]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x48], rax
mov qword [rbp - 0x50], r15
mov dword [rbp - 0x48], 4
mov dword [rsp + 0x20], r15d
mov r14d, r15d
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x1400148d1
mov ecx, dword [rsp + 0x20]
call fcn.14006d514
mov r14, rax
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
je 0x1400148de
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rbx, r14
test r14, r14
je 0x140014987
nop word [rax + rax]
cmp dword [rbx + 0x194], 6
je 0x140014906
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400148f0
jmp 0x140014987
lea rdx, [0x140017830]
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov rax, qword [rax]
movsxd rdx, dword [rax + 4]
mov byte [rdx + rcx + 0x58], Ordinal_50
mov rdi, r15
nop word [rax + rax]
mov edx, 2
lea rcx, [rsp + 0x28]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov r8, rax
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x40]
add rcx, rax
mov rdx, qword [r8 + 8]
call qword [r8]
movzx edx, byte [rdi + rbx + 0x198]
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int____ptr64]
cmp rdi, 5
jae 0x14001497e
lea rcx, [rsp + 0x40]
call fcn.1400172c0
inc rdi
cmp rdi, 6
jl 0x140014930
mov rcx, r14
call fcn.14006cd20
nop
mov qword [rsi], r15
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov dword [rsp + 0x24], 0xa
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov ecx, dword [rbp - 0x48]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1400149df
mov rax, qword [rbp - 0x78]
mov r8, qword [rax]
test r8, r8
je 0x1400149df
mov rax, qword [rsp + 0x68]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x50]
cmovb r8, qword [rbp - 0x50]
sub r8, rdx
jmp 0x140014a11
test cl, 4
jne 0x140014a07
mov rax, qword [rbp - 0x80]
mov rcx, qword [rax]
test rcx, rcx
je 0x140014a07
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x68]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x140014a11
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x140014a1f
mov rcx, rsi
call fcn.1400067c0
nop
mov rcx, qword [rsp + 0x40]
movsxd rdx, dword [rcx + 4]
mov qword [rsp + rdx + 0x40], r12
mov rcx, qword [rsp + 0x40]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x88]
mov dword [rsp + rdx + 0x3c], r8d
lea rcx, [rsp + 0x48]
call fcn.140004060
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 0x38]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rax, rsi
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret