Function at 0x18000beb0
Capabilities:
Query or enumerate registry value
Write file on windows

Disassembly:
push rbp
push rbx
push rsi
push r12
push r13
push r14
lea rbp, [rsp - 0x248]
sub rsp, 0x388
mov rax, qword [0x180093630]
xor rax, rsp
mov qword [rbp + 0x220], rax
xor eax, eax
mov qword [rbp - 0x48], r8
xor r14d, r14d
mov word [rbp - 0x80], 0xfeff
mov r12, rdx
mov qword [rbp - 0x60], r14
mov r13, rcx
mov dword [rbp - 0x7c], r14d
mov esi, 1
mov dword [rbp - 0x64], r14d
mov edx, esi
mov dword [rbp - 0x78], r14d
lea r8, [0x18005e120]
mov qword [rbp - 0x38], rax
lea rcx, [rbp - 0x60]
mov qword [rbp - 0x30], rax
mov rbx, r9
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov dword [rbp - 0x68], r14d
call qword [sym.imp.ntdll.dll_NtOpenKey]
test eax, eax
js 0x18000bf88
mov rcx, qword [rbp - 0x60]
lea rax, [rbp - 0x68]
mov qword [rsp + 0x28], rax
lea r9, [rbp]
lea r8d, [r14 + 2]
mov dword [rsp + 0x20], 0x218
lea rdx, [0x18005e110]
mov qword [rsp + 0x380], rdi
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
mov rcx, qword [rbp - 0x60]
mov edi, eax
call qword [sym.imp.ntdll.dll_NtClose]
test edi, edi
jns 0x18001e712
mov rdi, qword [rsp + 0x380]
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.180017170
add rsp, 0x388
pop r14
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret
cmp dword [rbp + 4], esi
jne 0x18000bf80
mov qword [rsp + 0x30], r14
lea rcx, [rbp + 0xc]
mov dword [rsp + 0x28], r14d
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 4
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp - 0x70], rax
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18000bf80
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea r9, [rbp - 0x78]
mov qword [rsp + 0x20], r14
mov r8d, 2
lea rdx, [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea rax, [rbp - 0x7c]
or rdi, 0xffffffffffffffff
mov rcx, rdi
mov qword [rsp + 0x20], rax
mov r9d, 0x218
lea r8, [rbp]
mov edx, 0x1b
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x18001e9ba
mov eax, dword [rbp - 0x7c]
lea rdx, [rbp]
mov dword [rbp - 0x7c], esi
mov ecx, esi
lea rax, [rbp + rax - 2]
mov qword [rbp - 0x50], rax
cmp rax, rdx
jbe 0x18001e7f9
add rax, 0xfffffffffffffffe
cmp word [rax], 0x5c
je 0x18001e7f9
inc esi
mov qword [rbp - 0x50], rax
lea rdx, [rbp]
mov dword [rbp - 0x7c], esi
mov ecx, esi
cmp rax, rdx
ja 0x18001e7db
mov rax, rdi
inc rax
cmp word [r12 + rax*2], r14w
jne 0x18001e7fc
mov rdx, rdi
inc rdx
cmp word [r13 + rdx*2], r14w
jne 0x18001e809
add edx, 0x79
lea r8, [rbp - 0x38]
add eax, edx
mov r9d, 0x30
xor edx, edx
lea esi, [rcx + rax*2]
mov rcx, rdi
lea rax, [rbp - 0x64]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x18001e9ba
mov rcx, qword gs:[0x60]
xor edx, edx
mov eax, esi
mov r8d, esi
mov qword [rbp - 0x58], rax
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rbp - 0x40], rax
test rax, rax
je 0x18001e9ba
movzx ecx, byte [rbx + 0xf]
movzx edx, byte [rbx + 0xe]
movzx r8d, byte [rbx + 0xd]
movzx r9d, byte [rbx + 0xc]
mov eax, dword [rbx]
movzx r10d, byte [rbx + 0xb]
movzx r11d, byte [rbx + 0xa]
movzx edi, byte [rbx + 9]
movzx esi, byte [rbx + 8]
movzx r14d, word [rbx + 6]
shr qword [rbp - 0x58], 1
mov dword [rsp + 0xb8], ecx
mov dword [rsp + 0xb0], edx
mov rdx, qword [rbp - 0x58]
mov dword [rsp + 0xa8], r8d
lea r8, str._s_s_Id_s_s_s_s_s_s_s_08lx__04x__04x__02x_02x__02x_02x_02x_02x_02x_02x_r_n
mov dword [rsp + 0xa0], r9d
mov r9, qword [rbp - 0x50]
mov dword [rsp + 0x98], r10d
mov dword [rsp + 0x90], r11d
mov dword [rsp + 0x88], edi
mov dword [rsp + 0x80], esi
mov dword [rsp + 0x78], r14d
mov qword [rsp + 0x378], r15
movzx r15d, word [rbx + 4]
mov rbx, qword [rbp - 0x40]
mov dword [rsp + 0x70], r15d
mov rcx, rbx
mov dword [rsp + 0x68], eax
lea rax, str._rule__Guid_
mov qword [rsp + 0x60], rax
mov rax, qword [rbp - 0x48]
mov qword [rsp + 0x58], rax
lea rax, str._using
mov qword [rsp + 0x50], rax
lea rax, str._as
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], rax
lea rax, str.__identified
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rsp + 0x28], rax
lea rax, str.__PID_
mov qword [rsp + 0x20], rax
call qword [sym.imp.msvcrt.dll_swprintf_s]
mov r15, qword [rsp + 0x378]
or rax, 0xffffffffffffffff
cmp word [rbx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x18001e973
mov rdi, qword [rbp - 0x70]
lea r8d, [rax + rax]
mov rcx, rdi
mov qword [rsp + 0x20], 0
lea r9, [rbp - 0x78]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword gs:[0x60]
mov r8, rbx
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x18001e9be
mov rdi, qword [rbp - 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x18000bf80