Function at 0x1400010c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x140005028]
xor rax, rsp
mov qword [rbp + 0x4f], rax
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
call fcn.14000178e
lea rcx, str.ntdll
mov qword [0x140005720], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.TpAllocWork
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.ntdll
mov qword [0x140005728], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.TpPostWork
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.ntdll
mov qword [0x140005730], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.TpReleaseWork
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edi, edi
mov qword [rbp - 0x31], 0x1000
mov qword [0x140005718], rax
lea r8, [rbp - 0x19]
mov rax, qword [0x140005720]
lea rdx, [0x140001020]
mov qword [rbp - 0x19], rax
lea rcx, [rbp - 0x39]
lea rax, [rbp - 0x29]
mov qword [rbp - 0x29], rdi
mov qword [rbp - 9], rax
xor r9d, r9d
lea rax, [rbp - 0x31]
mov qword [rbp - 0x11], 0xffffffffffffffff
mov qword [rbp - 1], rax
mov qword [rbp + 7], rdi
mov dword [rbp + 0xf], 0x3000
mov dword [rbp + 0x13], 0x40
mov qword [rbp - 0x39], rdi
call qword [0x140005728]
mov rcx, qword [rbp - 0x39]
call qword [0x140005730]
mov rcx, qword [rbp - 0x39]
call qword [0x140005718]
mov edx, 0x1000
lea rcx, [rdi - 1]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.NtAllocateVirtualMemory:_0x
mov rbx, qword [rbp - 0x29]
call fcn.140001500
mov rcx, rax
lea rdx, section..text
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 rdx, rbx
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___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x1400016d0]
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]
movdqa xmm2, xmmword [str.PPPPPPPPPPPPPPPP_]
lea rax, [0x140005070]
mov ecx, edi
mov dword [rbp + 0x47], edi
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
lea rax, [rax + 0x40]
add ecx, 0x40
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x40]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x40], xmm1
movdqu xmm0, xmmword [rax - 0x30]
pxor xmm0, xmm2
movdqu xmmword [rax - 0x30], xmm0
movdqu xmm0, xmmword [rax - 0x20]
pxor xmm0, xmm2
movdqu xmmword [rax - 0x20], xmm0
cmp ecx, 0xc0
jb 0x140001250
movsxd rax, ecx
lea rdx, [0x140005060]
cmp rax, 0xcf
jae 0x1400012d1
add rax, rdx
nop dword [rax]
nop dword [rax + rax]
xor byte [rax], 0x50
lea rax, [rax + 1]
inc ecx
cmp ecx, 0xcf
jb 0x1400012c0
mov rax, qword [0x140005720]
lea r8, [rbp - 0x19]
mov qword [rbp - 0x19], rax
lea rcx, [rbp - 0x39]
lea rax, [rbp + 0x47]
mov qword [rbp - 1], rdx
xor r9d, r9d
mov qword [rbp + 0xf], rax
lea rdx, [0x140001722]
mov qword [rbp + 7], 0x190
mov qword [rbp - 0x11], 0xffffffffffffffff
mov qword [rbp - 9], rbx
mov qword [rbp - 0x39], rdi
call qword [0x140005728]
mov rcx, qword [rbp - 0x39]
call qword [0x140005730]
mov rcx, qword [rbp - 0x39]
call qword [0x140005718]
mov edx, 0x1000
mov rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.NtWriteVirtualMemory_completed
call fcn.140001500
mov rcx, rax
lea rdx, [0x1400016d0]
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]
xor eax, eax
mov qword [rbp - 0x31], rdi
mov qword [rbp + 0x1f], rax
lea r8, [rbp - 0x19]
mov rax, qword [0x140005720]
lea rdx, [0x140001060]
mov qword [rbp - 0x19], rax
lea rcx, [rbp - 0x39]
lea rax, [rbp - 0x31]
mov qword [rbp - 9], 0x20000000
xor r9d, r9d
mov qword [rbp - 0x11], rax
mov qword [rbp - 1], rdi
mov qword [rbp + 7], 0xffffffffffffffff
mov qword [rbp + 0xf], rbx
mov qword [rbp + 0x17], rdi
mov qword [rbp + 0x27], rdi
mov qword [rbp + 0x2f], rdi
mov qword [rbp + 0x37], rdi
mov qword [rbp + 0x3f], rdi
mov qword [rbp - 0x39], rdi
call qword [0x140005728]
mov rcx, qword [rbp - 0x39]
call qword [0x140005730]
mov rcx, qword [rbp - 0x39]
call qword [0x140005718]
mov edx, 0x1000
mov rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.NtCreateThreadEx_completed
call fcn.140001500
mov rcx, rax
lea rdx, [0x1400016d0]
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]
mov edx, 0x1000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x140003378]
call fcn.140001500
mov rcx, rax
lea rdx, [0x1400016d0]
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]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x14000338c]
call fcn.140001500
mov rcx, rax
lea rdx, [0x1400016d0]
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]
xor eax, eax
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400017d0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret