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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x14012d010]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov r15, rcx
mov qword [rsp + 0x78], rcx
mov qword [rbp - 0x60], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
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], edi
mov qword [rcx + 8], rdi
mov qword [rcx + 0x10], rdi
lea ecx, [rdi + 0x50]
call fcn.14010f1bc
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [r15 + 8], rax
lea rcx, [r15 + 0x18]
mov qword [rcx], rdi
mov qword [rcx + 8], rdi
mov qword [rcx + 0x10], rdi
mov qword [r15 + 0x30], 7
mov qword [r15 + 0x38], 8
mov dword [r15], 0x3f800000
mov r8, qword [r15 + 8]
lea edx, [rdi + 0x10]
call fcn.14010d340
nop
mov dword [rsp + 0x20], 1
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp]
call fcn.14010faca
lea rax, [0x140120058]
mov qword [rbp], rax
lea rax, [0x14011ff88]
mov qword [rbp + 0x10], rax
lea rcx, [rbp + 0x98]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov r13d, 3
mov dword [rsp + 0x20], r13d
xor r8d, r8d
lea rdx, [rbp + 0x18]
lea rcx, [rbp]
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]
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], rax
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 4], edx
lea rcx, [rbp + 0x18]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea r12, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x80], rdi
mov dword [rbp + 0x88], edi
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], dil
mov dword [rbp - 0x30], 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 r14, rax
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x140107309
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 [0x140121e50]
movdqu xmmword [rsp + 0x34], xmm0
movdqa xmm1, xmmword [0x1401219d0]
movdqu xmmword [rsp + 0x44], xmm1
movdqa xmm0, xmmword [0x140121a10]
movdqu xmmword [rsp + 0x54], xmm0
mov dword [rsp + 0x64], 0xdadac1c3
mov dword [rsp + 0x68], 0xb7d9d3
mov r8d, edi
nop
mov edx, r8d
lea eax, [r8 - 0x7f]
xor byte [rsp + rdx + 0x34], al
inc r8d
mov ecx, dword [rsp + 0x30]
cmp r8d, ecx
jb 0x1401072d0
mov byte [rsp + rcx + 0x34], 0
lea rdx, [rsp + 0x34]
mov rcx, r9
call fcn.14004f1e0
lea rdx, [0x14004f3b0]
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 - 0x30]
mov rcx, r14
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x1401073e6
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x1401073e6
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 [0x140121e50]
movdqu xmmword [rsp + 0x34], xmm0
movdqa xmm1, xmmword [0x1401219d0]
movdqu xmmword [rsp + 0x44], xmm1
movdqa xmm0, xmmword [0x140121a10]
movdqu xmmword [rsp + 0x54], xmm0
mov dword [rsp + 0x64], 0xdadac1c3
mov dword [rsp + 0x68], 0xb8bdd9d3
mov r8d, edi
nop word [rax + rax]
mov edx, r8d
lea eax, [r8 - 0x7f]
xor byte [rsp + rdx + 0x34], al
inc r8d
mov eax, dword [rsp + 0x30]
cmp r8d, eax
jb 0x1401073b0
mov byte [rsp + rax + 0x34], 0
lea rdx, [rsp + 0x34]
call fcn.14004f1e0
lea rdx, [0x14004f3b0]
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 - 0x30]
mov rcx, r14
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov ebx, eax
test eax, eax
jne 0x14010786d
mov rsi, r14
test r14, r14
je 0x1401077cc
nop dword [rax]
mov ebx, edi
cmp dword [rsi + 0x194], edi
jbe 0x1401074a6
nop
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
mov byte [rbp + rcx + 0x68], 0x30
mov edx, 2
lea rcx, [rbp - 0x50]
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 + 0x10]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x10]
add rcx, rax
call r8
lea rdx, [0x140051da0]
lea rcx, [rbp + 0x10]
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 + rsi + 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 ecx, dword [rsi + 0x194]
lea eax, [rcx - 1]
cmp ebx, eax
je 0x14010749c
lea rdx, [0x14011fcec]
lea rcx, [rbp + 0x10]
call fcn.14004f1e0
mov ecx, dword [rsi + 0x194]
inc ebx
cmp ebx, ecx
jb 0x140107420
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
or r13d, 8
mov dword [rsp + 0x20], r13d
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov ecx, dword [rbp + 0x88]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140107503
mov rax, qword [rbp + 0x58]
mov r8, qword [rax]
test r8, r8
je 0x140107503
mov rax, qword [rbp + 0x38]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x80]
cmovb r8, qword [rbp + 0x80]
sub r8, rdx
jmp 0x140107532
test cl, 4
jne 0x14010752a
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax]
test rcx, rcx
je 0x14010752a
mov rax, qword [rbp + 0x30]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x68]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x140107532
mov r8, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x80]
test rdx, rdx
je 0x140107541
lea rcx, [rsp + 0x30]
call fcn.14004efe0
and r13d, 0xfffffff7
or r13d, 4
mov dword [rsp + 0x20], r13d
lea rcx, [rbp - 0x28]
call fcn.14004ef80
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rbp - 0x18], xmm1
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.14004ef80
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
xor r8d, r8d
lea rdx, [0x140112b66]
lea rcx, [rsp + 0x30]
call fcn.14004efe0
nop
lea rcx, [rbp + 0x18]
call fcn.14010d200
lea r12, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae r12, qword [rsp + 0x30]
mov r15d, dword [rbp + 0x88]
and r15d, 0xffffffdf
mov r14, qword [rsp + 0x40]
cmp r14, 0x7fffffff
ja 0x140107866
test r14, r14
je 0x1401076c7
mov eax, r15d
and eax, 6
cmp al, 6
je 0x1401076c7
cmp r14, 0x1000
jb 0x140107633
lea rcx, [r14 + 0x27]
cmp rcx, r14
jbe 0x1401078eb
call fcn.14010f1bc
test rax, rax
je 0x14010785f
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14010763e
mov rcx, r14
call fcn.14010f1bc
mov rbx, rax
mov r8, r14
mov rdx, r12
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [rbx + r14]
mov qword [rbp + 0x80], rdx
mov r8d, r15d
and r8d, 4
mov r9d, ebx
jne 0x140107680
mov rax, qword [rbp + 0x30]
mov qword [rax], rbx
mov rax, qword [rbp + 0x50]
mov qword [rax], rbx
sub edx, ebx
mov rax, qword [rbp + 0x68]
mov dword [rax], edx
mov rdx, qword [rbp + 0x80]
test r15b, 2
jne 0x1401076c1
test r15b, 0x18
mov rcx, rdx
cmove rcx, rbx
mov rax, qword [rbp + 0x38]
mov qword [rax], rbx
mov rax, qword [rbp + 0x58]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp + 0x70]
mov dword [rax], edx
test r8d, r8d
je 0x1401076c1
mov rax, qword [rbp + 0x30]
mov qword [rax], rbx
mov rax, qword [rbp + 0x50]
mov qword [rax], rdi
mov rax, qword [rbp + 0x68]
mov dword [rax], r9d
or r15d, 1
jmp 0x1401076ce
mov qword [rbp + 0x80], rdi
mov dword [rbp + 0x88], r15d
lea rcx, [rsp + 0x30]
call fcn.14004ef80
mov rax, qword [rbp + 0x18]
mov edx, 1
lea rcx, [rbp + 0x18]
call qword [rax]
lea rbx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rbx, qword [rbp - 0x28]
lea r14, [rbp - 0x28]
cmovae r14, qword [rbp - 0x28]
add r14, qword [rbp - 0x18]
cmp rbx, r14
je 0x140107723
nop
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, r14
jne 0x140107710
lea rdx, [rsi + 0x110]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140107750
lea rcx, [rsp + 0x30]
call fcn.14004efe0
nop
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x50]
call fcn.14010d070
nop
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x40]
mov r15, qword [rsp + 0x78]
mov rcx, r15
call fcn.14010dce0
nop
lea rcx, [rsp + 0x50]
call fcn.14004ef80
lea rcx, [rsp + 0x30]
call fcn.14004ef80
mov rsi, qword [rsi]
test rsi, rsi
jne 0x140107410
mov r14, qword [rsp + 0x70]
lea r12, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
lea rcx, [rbp - 0x28]
call fcn.14004ef80
nop
mov rax, qword [rbp]
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], rax
mov rcx, qword [rbp]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x98]
mov dword [rbp + rdx - 4], r8d
mov qword [rbp + 0x18], r12
lea rcx, [rbp + 0x18]
call fcn.14010d200
lea rcx, [rbp + 0x18]
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 + 0x20]
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 + 0x98]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rax, r15
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.14010ea20
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_alloc_void_]
nop
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 [0x140121460]
movdqu xmmword [rsp + 0x34], xmm0
movdqa xmm1, xmmword [0x140121940]
movdqu xmmword [rsp + 0x44], xmm1
mov dword [rsp + 0x54], 0xa48398d3
mov edx, edi
lea eax, [rdi - 0x7f]
xor byte [rsp + rdx + 0x34], al
inc edi
mov eax, dword [rsp + 0x30]
cmp edi, eax
jb 0x1401078a0
mov byte [rsp + rax + 0x34], 0
lea rdx, [rsp + 0x34]
call fcn.14004f1e0
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, [0x14004f3b0]
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 r14, r14
je 0x1401077cc
jmp 0x1401077b7
call fcn.14004bcd0
int3