Function at 0x140014200
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x168
mov rax, qword [0x140034180]
xor rax, rsp
mov qword [rsp + 0x158], rax
lea rdx, str.Attempting_to_undo_protection...
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001870
mov qword [rsp + 0x88], rax
lea rdx, [0x140009e00]
mov rcx, qword [rsp + 0x88]
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 [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov dword [rsp + 0x34], eax
lea rax, str.NtQueryAttributesFile
mov qword [rsp + 0x108], rax
lea rax, str.NtCreateThread
mov qword [rsp + 0x110], rax
lea rax, str.NtCreateThreadEx
mov qword [rsp + 0x118], rax
lea rax, str.LdrInitializeThunk
mov qword [rsp + 0x120], rax
lea rax, [rsp + 0x108]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x128]
mov qword [rsp + 0x70], rax
movabs rax, 0x4c8bd1b83d000000
bswap rax
mov qword [rsp + 0x130], rax
movabs rax, 0x4c8bd1b84e000000
bswap rax
mov qword [rsp + 0x138], rax
movabs rax, 0x4c8bd1b8c2000000
bswap rax
mov qword [rsp + 0x140], rax
movabs rax, 0x40534883ec20488b
bswap rax
mov qword [rsp + 0x148], rax
lea rax, [rsp + 0x130]
mov qword [rsp + 0xf0], rax
lea rax, [rsp + 0x150]
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov byte [rsp + 0x30], 0
mov edx, dword [rsp + 0x34]
mov ecx, 0x18
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x60], rax
lea rdx, str.QRSL_es.dll
mov rcx, qword [rsp + 0x60]
call fcn.14000df90
mov qword [rsp + 0x50], rax
lea rdx, [0x140029d40]
mov rcx, qword [rsp + 0x60]
call fcn.14000df90
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rsp + 0x50], 0
je 0x140014341
cmp qword [rsp + 0x48], 0
je 0x140014341
lea rdx, [0x140012130]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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]
lea rdx, str.QRSL_es.dll:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001870
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x90]
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_long_unsigned___int64_____ptr64]
mov qword [rsp + 0x98], rax
lea rdx, [0x140009e00]
mov rcx, qword [rsp + 0x98]
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, str.ntdll.dll:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001870
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xa0]
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_long_unsigned___int64_____ptr64]
mov qword [rsp + 0xa8], rax
lea rdx, [0x140009e00]
mov rcx, qword [rsp + 0xa8]
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, str.Waiting_for_a_few_seconds_before_restoring_hooked_functions...
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001870
mov qword [rsp + 0xb0], rax
lea rdx, [0x140009e00]
mov rcx, qword [rsp + 0xb0]
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]
nop
mov dword [rsp + 0x58], 0xa
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x100]
call fcn.140001330
mov rcx, rax
call fcn.14000adb0
nop
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
sub rcx, rax
mov rax, rcx
sar rax, 3
mov qword [rsp + 0xb8], rax
movzx eax, byte [rsp + 0x30]
mov rcx, qword [rsp + 0xb8]
cmp rax, rcx
jae 0x14001469d
mov qword [rsp + 0x38], 0
jmp 0x1400144e4
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
sub rcx, rax
mov rax, rcx
sar rax, 3
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
cmp qword [rsp + 0x38], rax
jae 0x140014698
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rax + rcx*8]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rax + rcx*8]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0xe8], rax
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140014693
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rsp + 0xd8]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
nop
mov rax, qword [rsp + 0xd8]
cmp qword [rsp + 0x78], rax
je 0x140014693
lea rdx, str.Restoring
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001870
mov rdx, qword [rsp + 0x80]
mov rcx, rax
call fcn.140001870
mov qword [rsp + 0xe0], rax
lea rdx, [0x140009e00]
mov rcx, qword [rsp + 0xe0]
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 rax, [rsp + 0x5c]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
mov r8d, 8
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov qword [rsp + 0x20], 0
mov r9d, 8
mov r8, qword [rsp + 0xe8]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x5c]
mov r8d, 8
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
movzx eax, byte [rsp + 0x30]
inc al
mov byte [rsp + 0x30], al
jmp 0x1400144d7
jmp 0x14001449a
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x50]
mov edx, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x170]
call fcn.14000e920
nop
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.140026650
add rsp, 0x168
ret