Function at 0x140106d30
Capabilities:
Encode data using xor
Get mac address on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x148]
sub rsp, 0x220
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x14012d010]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov r13, rcx
mov qword [rbp - 0x70], rcx
xor esi, esi
mov dword [rsp + 0x20], esi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], esi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
lea ecx, [rsi + 0x50]
call fcn.14010f12c
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [r13 + 8], rax
lea rcx, [r13 + 0x18]
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov qword [r13 + 0x30], 7
mov qword [r13 + 0x38], 8
mov dword [r13], 0x3f800000
mov r8, qword [r13 + 8]
lea edx, [rsi + 0x10]
call fcn.14010ce80
nop
mov dword [rsp + 0x20], 1
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x10]
call fcn.14010fb17
lea rax, [0x1401208b8]
mov qword [rbp - 0x10], rax
lea rax, [0x140120820]
mov qword [rbp], rax
lea rcx, [rbp + 0x88]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov r14d, 9
mov dword [rsp + 0x20], r14d
xor r8d, r8d
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x10]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x10], rax
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x14], edx
lea rcx, [rbp + 8]
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 [rbp + 8], rax
mov qword [rbp + 0x70], rsi
mov dword [rbp + 0x78], esi
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rsi
mov r15d, 0xf
mov qword [rbp - 0x20], r15
mov byte [rbp - 0x38], sil
mov dword [rbp - 0x40], 0x2c0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
xor edx, edx
mov r8d, 0x2c0
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r12, rax
test rax, rax
jne 0x140106f49
mov r9, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov ecx, 0x36
mov dword [rsp + 0x30], ecx
movdqa xmm0, xmmword [0x140121e60]
movdqu xmmword [rsp + 0x34], xmm0
movdqa xmm1, xmmword [0x1401219f0]
movdqu xmmword [rsp + 0x44], xmm1
movdqa xmm0, xmmword [0x140121a30]
movdqu xmmword [rsp + 0x54], xmm0
mov dword [rsp + 0x64], 0xdadac1c3
mov dword [rsp + 0x68], 0xb7d9d3
mov r8d, esi
nop dword [rax + rax]
mov edx, r8d
lea eax, [r8 - 0x7f]
xor byte [rsp + rdx + 0x34], al
inc r8d
mov ecx, dword [rsp + 0x30]
cmp r8d, ecx
jb 0x140106f10
mov byte [rsp + rcx + 0x34], 0
lea rdx, [rsp + 0x34]
mov rcx, r9
call fcn.14004f570
lea rdx, [0x14004f740]
mov rcx, rax
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [rbp - 0x40]
mov rcx, r12
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x140107018
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, r12
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r12, rax
test rax, rax
jne 0x140107018
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov dword [rsp + 0x30], 0x37
movdqa xmm0, xmmword [0x140121e60]
movdqu xmmword [rsp + 0x34], xmm0
movdqa xmm1, xmmword [0x1401219f0]
movdqu xmmword [rsp + 0x44], xmm1
movdqa xmm0, xmmword [0x140121a30]
movdqu xmmword [rsp + 0x54], xmm0
mov dword [rsp + 0x64], 0xdadac1c3
mov dword [rsp + 0x68], 0xb8bdd9d3
mov r8d, esi
mov edx, r8d
lea eax, [r8 - 0x7f]
xor byte [rsp + rdx + 0x34], al
inc r8d
mov eax, dword [rsp + 0x30]
cmp r8d, eax
jb 0x140106fe2
mov byte [rsp + rax + 0x34], 0
lea rdx, [rsp + 0x34]
call fcn.14004f570
lea rdx, [0x14004f740]
mov rcx, rax
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [rbp - 0x40]
mov rcx, r12
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov ebx, eax
test eax, eax
jne 0x140107319
mov rdi, r12
test r12, r12
je 0x1401073a7
nop dword [rax + rax]
mov ebx, esi
cmp dword [rdi + 0x194], esi
jbe 0x1401070cf
nop
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
mov byte [rbp + rcx + 0x58], 0x30
mov edx, 2
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rdx, qword [rax + 8]
mov r8, qword [rax]
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea rax, [rbp]
add rcx, rax
call r8
lea rdx, [0x140052350]
lea rcx, [rbp]
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 eax, ebx
movzx edx, byte [rax + rdi + 0x198]
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___int____ptr64]
mov eax, dword [rdi + 0x194]
dec eax
cmp ebx, eax
je 0x1401070c5
lea rdx, [0x14011fcfc]
lea rcx, [rbp]
call fcn.14004f570
inc ebx
cmp ebx, dword [rdi + 0x194]
jb 0x140107050
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
or r14d, 4
mov dword [rsp + 0x20], r14d
movups xmmword [rsp + 0x70], xmm0
mov ecx, dword [rbp + 0x78]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140107124
mov rax, qword [rbp + 0x48]
mov r8, qword [rax]
test r8, r8
je 0x140107124
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x70]
cmovb r8, qword [rbp + 0x70]
sub r8, rdx
jmp 0x140107155
test cl, 4
jne 0x14010714b
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x14010714b
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x58]
movsxd r8, dword [rax]
add r8, rcx
sub r8, rdx
jmp 0x140107155
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x140107164
lea rcx, [rsp + 0x30]
call fcn.14010d110
and r14d, 0xfffffffb
or r14d, 2
mov dword [rsp + 0x20], r14d
cmp r15, 0x10
jb 0x1401071a9
lea rdx, [r15 + 1]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401071a4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140107312
call fcn.14010ef38
movups xmm6, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x38], xmm6
movups xmm7, xmmword [rsp + 0x40]
movups xmmword [rbp - 0x28], xmm7
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.14004f470
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
xor r8d, r8d
lea rdx, [0x140112b86]
lea rcx, [rsp + 0x30]
call fcn.14004f9b0
nop
lea rcx, [rbp + 8]
call fcn.14010cd80
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rdx, qword [rsp + 0x30]
mov r9d, dword [rbp + 0x78]
mov r8, qword [rsp + 0x40]
lea rcx, [rbp + 8]
call fcn.14010cfc0
nop
lea rcx, [rsp + 0x30]
call fcn.14004f470
mov rax, qword [rbp + 8]
mov edx, 1
lea rcx, [rbp + 8]
call qword [rax]
lea rbx, [rbp - 0x38]
movdqa xmm0, xmm7
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
setae r8b
movq rdx, xmm6
cmovae rbx, rdx
lea r15, [rbp - 0x38]
test r8b, r8b
cmovne r15, rdx
movq rax, xmm7
add r15, rax
cmp rbx, r15
je 0x140107293
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
mov byte [rbx], al
inc rbx
cmp rbx, r15
jne 0x140107280
lea rdx, [rdi + 0x110]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x1401072b3
lea rcx, [rsp + 0x30]
call fcn.14004f9b0
nop
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x50]
call fcn.14010cb30
nop
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x50]
mov rcx, r13
call fcn.14010d940
nop
lea rcx, [rsp + 0x50]
call fcn.14004f470
lea rcx, [rsp + 0x30]
call fcn.14004f470
mov rdi, qword [rdi]
test rdi, rdi
je 0x140107392
mov r15, qword [rbp - 0x20]
jmp 0x140107040
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov dword [rsp + 0x30], 0x23
movdqa xmm0, xmmword [0x140121480]
movdqu xmmword [rsp + 0x34], xmm0
movdqa xmm1, xmmword [0x140121960]
movdqu xmmword [rsp + 0x44], xmm1
mov dword [rsp + 0x54], 0xa48398d3
nop dword [rax]
mov edx, esi
lea eax, [rsi - 0x7f]
xor byte [rsp + rdx + 0x34], al
inc esi
mov eax, dword [rsp + 0x30]
cmp esi, eax
jb 0x140107350
mov byte [rsp + rax + 0x34], 0
lea rdx, [rsp + 0x34]
call fcn.14004f570
mov edx, ebx
mov rcx, rax
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_long_int____ptr64]
lea rdx, [0x14004f740]
mov rcx, rax
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
test r12, r12
je 0x1401073a7
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, r12
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
lea rcx, [rbp - 0x38]
call fcn.14004f470
nop
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x10], rax
mov rcx, qword [rbp - 0x10]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x98]
mov dword [rbp + rdx - 0x14], r8d
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 8], rax
lea rcx, [rbp + 8]
call fcn.14010cd80
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x88]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rax, r13
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.14010e990
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret