Function at 0x14005bcf0
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401bee90]
xor rax, rsp
mov qword [rbp + 0x27], rax
movzx r13d, dl
mov rsi, rcx
xor r12d, r12d
mov edi, r12d
mov dword [rbp - 0x69], r12d
mov r8d, dword [0x1401c6d80]
imul r8d, r8d
mov eax, 0x2aaaaaab
imul r8d
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub r8d, eax
cmp r8d, 5
jne 0x14005bd8b
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
lea rax, [rsi + 0x138]
mov qword [rbp - 0x31], rax
lea rbx, [rax + 8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
lea rcx, [rsi + 0x168]
call fcn.14005d000
lea rcx, [rsi + 0x178]
call fcn.14005d000
mov dl, 1
mov rcx, rsi
call fcn.14005c890
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r8d, dword [0x1401c6d80]
mov ecx, r8d
imul ecx, r8d
mov eax, 0x78787879
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x11
sub ecx, edx
or r14, 0xffffffffffffffff
cmp ecx, 0xb
jne 0x14005be38
mov eax, 0x51eb851f
imul r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x64
sub r8d, edx
add r8d, 0x7b
movsxd rcx, r8d
mov eax, 4
mul rcx
cmovo rax, r14
mov rcx, rax
call fcn.1400cbef8
mov rcx, rax
call fcn.1400cd9ec
mov edx, 0x5c
mov rcx, qword [rsi + 0x1b8]
call fcn.1400cf2b4
test rax, rax
jne 0x14005be53
mov eax, r14d
jmp 0x14005be5d
sub rax, qword [rsi + 0x1b8]
sar rax, 1
lea r8d, [rax + 1]
lea rdx, [rbp - 0x51]
lea rcx, [rsi + 0x1b8]
call fcn.14002a800
nop
lea rax, [rbp - 0x59]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, qword [rsi + 0x1b8]
mov rcx, qword [rsi + 0x2e0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14005bf81
mov qword [rsp + 0x40], r12
lea rax, [rbp - 0x59]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsi + 0x1b8]
mov rcx, qword [rsi + 0x2e0]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x14005bf81
mov edx, eax
lea rcx, [rbp + 7]
call fcn.1400513d0
mov rbx, rax
lea rax, [rbp - 0x41]
mov qword [rbp - 0x31], rax
lea rcx, [0x1401be9a8]
mov rdx, qword [0x1401be9a8]
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rbp - 0x41], rax
lea rax, [rbp - 0x39]
mov qword [rbp - 0x31], rax
lea rcx, [0x1401be9a8]
mov rax, qword [0x1401be9a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x39], rax
lea rdx, str.error_in_clearRegKeysOfInject:
lea rcx, [rbp - 0x41]
call fcn.140003550
cmp qword [rbx + 0x18], 0x10
jb 0x14005bf4c
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rbp - 0x39]
call fcn.140003550
lea r8, [0x140153434]
lea rdx, [0x140153430]
lea rcx, [rbp - 0x41]
call fcn.14000f0e0
nop
lea rdx, [0x140189250]
lea rcx, [rbp - 0x41]
call fcn.1400d4788
nop
test r13b, r13b
je 0x14005bfc4
lea r8, [0x140150d08]
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 9]
call fcn.14001b610
nop
mov rdx, qword [rax]
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop
mov rdx, qword [rbp - 9]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14005bfc1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edi, dword [rbp - 0x69]
mov r15d, r12d
lea rcx, [0x1401be9a8]
mov rax, qword [0x1401be9a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x61], rbx
jmp 0x14005bff3
xor r12d, r12d
mov dword [rbp - 0x49], 0x7ffe
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, 0x7ffe
or eax, ecx
jge 0x14005c020
mov edx, 0x7ffe
lea rcx, [rbp - 0x61]
call fcn.1400024e0
mov rbx, qword [rbp - 0x61]
cmp dword [rbx - 0xc], 0x7ffe
jl 0x14005c2ef
mov dword [rbx - 0x10], 0x7ffe
mov word [rbx + 0xfffc], r12w
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x49]
mov r8, rbx
mov edx, r15d
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov r12d, eax
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.1400cd52c
test eax, eax
js 0x14005c2e4
cmp eax, dword [rbx - 0xc]
jg 0x14005c2e4
mov dword [rbx - 0x10], eax
movsxd rcx, eax
xor eax, eax
mov word [rbx + rcx*2], ax
call fcn.1400534d0
mov r8, rax
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x19]
call fcn.14001b610
nop
or edi, 1
mov dword [rbp - 0x69], edi
mov rdx, qword [rax]
test rdx, rdx
je 0x14005c0d6
cmp dword [rbx - 0x10], 0
jl 0x14005c0d6
mov rcx, rbx
call fcn.1400cd6fc
test rax, rax
je 0x14005c0d6
sub rax, rbx
sar rax, 1
cmp eax, 0xffffffff
jne 0x14005c1a1
call fcn.140055930
mov r8, rax
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x11]
call fcn.14001b610
nop
or edi, 2
mov dword [rbp - 0x69], edi
mov rdx, qword [rax]
test rdx, rdx
je 0x14005c11c
cmp dword [rbx - 0x10], 0
jl 0x14005c11c
mov rcx, rbx
call fcn.1400cd6fc
test rax, rax
je 0x14005c11c
sub rax, rbx
sar rax, 1
cmp eax, 0xffffffff
jne 0x14005c1a1
cmp byte [0x1401c7f9b], 0
jne 0x14005c160
movzx eax, byte [0x1401c1da0]
xor al, 0x5d
movzx eax, al
mov word [0x1401c24c0], ax
movzx eax, byte [0x1401c1da1]
xor al, 0x16
movzx eax, al
mov word [0x1401c24c2], ax
movzx eax, byte [0x1401c1da2]
mov word [0x1401c24c4], ax
mov byte [0x1401c7f9b], 1
lea r8, [0x1401c24c0]
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x29]
call fcn.14001b610
nop
or edi, 4
mov dword [rbp - 0x69], edi
mov rdx, qword [rax]
test rdx, rdx
je 0x14005c1a6
cmp dword [rbx - 0x10], 0
jl 0x14005c1a6
mov rcx, rbx
call fcn.1400cd6fc
test rax, rax
je 0x14005c1a6
sub rax, rbx
sar rax, 1
cmp eax, 0xffffffff
je 0x14005c1a6
mov sil, 1
jmp 0x14005c1a9
xor sil, sil
test dil, 4
je 0x14005c1d4
and edi, 0xfffffffb
mov dword [rbp - 0x69], edi
mov rdx, qword [rbp - 0x29]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14005c1cd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edi, dword [rbp - 0x69]
mov rbx, qword [rbp - 0x61]
test dil, 2
je 0x14005c1ff
and edi, 0xfffffffd
mov dword [rbp - 0x69], edi
mov rdx, qword [rbp - 0x11]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14005c1f8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edi, dword [rbp - 0x69]
mov rbx, qword [rbp - 0x61]
test dil, 1
je 0x14005c22a
and edi, 0xfffffffe
mov dword [rbp - 0x69], edi
mov rdx, qword [rbp - 0x19]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14005c223
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edi, dword [rbp - 0x69]
mov rbx, qword [rbp - 0x61]
test sil, sil
je 0x14005c243
xor esi, esi
mov r15d, esi
mov rdx, rbx
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x14005c248
inc r15d
xor esi, esi
test r12d, r12d
je 0x14005bff0
test r13b, r13b
je 0x14005c2a8
call fcn.140051e20
mov r8, rax
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x21]
call fcn.14001b610
nop
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
mov r9d, 3
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
mov rdx, qword [rbp - 0x21]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14005c2a4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rbp - 0x61]
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14005c2c8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x51]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14005c2e0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x14005c2fa
mov ecx, 0x80070057
call fcn.140001920
int3
mov ecx, 0x80070057
call fcn.140001920
nop
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400cc8b0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret