Function at 0x140001090
Capabilities:
Encode data using xor
Link many functions at runtime
Patch event tracing for windows function

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rcx, str._n_n_t________________________________________________________________n_t___________________________________________________n_t____________________________________________________n_t_________________________________________________n_t_________________________________________________n_t_____________________________________________n_t__________________________________________________n_t_____________________________________________________________n________________________________________________________________n_t_t_t_t_Made_by_sorahed__n_t_t_t_t_t_v1.0__n_n_n_t
call fcn.140001030
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.CreateFileMappingA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.kernel32.dll
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.MapViewOfFile
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.kernel32.dll
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.UnmapViewOfFile
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.kernel32.dll
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.VirtualProtect
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [0x1400056f8]
lea rcx, str._n_i__Hooked_Ntdll_Base_Address_:_0x_p__n
mov qword [0x1400056f0], rax
call fcn.140001030
movsx edx, byte [0x14000510d]
lea r14, [0x1400050f0]
xor r12d, r12d
mov rcx, r14
mov eax, r12d
movd xmm1, edx
punpcklbw xmm1, xmm1
punpcklwd xmm1, xmm1
pshufd xmm1, xmm1, 0
nop dword [rax]
nop word [rax + rax]
movdqu xmm0, xmmword [rcx]
add eax, 0x10
lea rcx, [rcx + 0x10]
xorps xmm0, xmm1
movdqu xmmword [rcx - 0x10], xmm0
cmp eax, 0x10
jb 0x140001190
movsxd rcx, eax
cmp rcx, 0x1e
jae 0x1400011cd
add rcx, r14
nop dword [rax]
nop dword [rax + rax]
xor byte [rcx], dl
lea rcx, [rcx + 1]
inc eax
cmp eax, 0x1e
jb 0x1400011c0
xor r9d, r9d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov edx, 0x80000000
mov rcx, r14
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140001202
jmp 0x140001449
mov qword [rsp + 0x28], r12
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], r12d
mov r8d, 0x1000002
mov qword [rsp + 0x70], rbp
mov rcx, rsi
call rbx
mov rbp, rax
test rax, rax
je 0x14000124e
xor r9d, r9d
mov qword [rsp + 0x20], r12
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 4]
call rdi
mov rdi, rax
test rax, rax
jne 0x140001261
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xffffffff
jmp 0x140001444
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movsxd r8, dword [rdi + 0x3c]
mov edx, r12d
add r8, rdi
mov dword [rsp + 0x40], r12d
mov r14, rax
movzx r9d, word [r8 + 6]
test r9d, r9d
je 0x140001316
movzx r10d, word [r8 + 0x14]
lea r11, str..text
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rax + rax*4]
mov rax, r12
lea rbx, [r10 + rcx*8]
add rbx, r8
movzx ecx, byte [rbx + rax + 0x18]
inc rax
cmp cl, byte [r11 + rax - 1]
jne 0x1400013be
cmp rax, 6
jne 0x1400012b1
mov ecx, dword [rbx + 0x24]
lea r9, [rsp + 0x40]
mov edx, dword [rbx + 0x20]
lea r8d, [rax + 0x3a]
add rcx, r14
call qword [0x1400056f0]
cmp dword [rsp + 0x40], r12d
je 0x140001316
mov eax, dword [rbx + 0x24]
mov r8d, dword [rbx + 0x20]
lea rdx, [rax + rdi]
lea rcx, [rax + r14]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [rbx + 0x24]
lea r9, [rsp + 0x40]
mov edx, dword [rbx + 0x20]
add rcx, r14
mov r8d, dword [rsp + 0x40]
call qword [0x1400056f0]
lea rdx, str.ntdll.dll
lea rcx, str._i__Unhooked_Ntdll_Base_Address:_0x_p__n
call fcn.140001030
mov rcx, rdi
call r15
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea rcx, str._n___PID_Of_The_Current_Proccess:___d__n
call fcn.140001030
lea rcx, str._n___Ready_For_ETW_Patch._n
call fcn.140001030
lea rcx, str.___Press__Enter__To_Patch_ETW_..._n
call fcn.140001030
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
lea rcx, [0x140003508]
mov dword [rsp + 0x40], r12d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.EtwEventWrite
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea r9, [rsp + 0x40]
mov edx, 0x1000
mov rcx, rax
mov r8d, 0x40
mov rbx, rax
call qword [0x1400056f0]
test eax, eax
jne 0x1400013ce
lea rbx, str.____VirtualProtect_Failed_With_Error_:__d__n
jmp 0x140001413
inc edx
cmp edx, r9d
jl 0x1400012a0
jmp 0x140001316
mov dword [rbx], 0xc3c03348
lea r9, [rsp + 0x40]
mov r8d, dword [rsp + 0x40]
mov edx, 0x1000
mov rcx, rbx
call qword [0x1400056f0]
test eax, eax
je 0x1400013b5
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, 0x1000
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
jne 0x14000142a
lea rbx, str.____FlushInstructionCache_Failed_With_Error_:__d__n
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.140001030
mov eax, 1
jmp 0x140001444
lea rcx, str._n___ETW_Patched__No_Logs_No_Crime____n
call fcn.140001030
lea rcx, [0x140003668]
call fcn.140001030
xor eax, eax
mov rbp, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140001490
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret