Function at 0x1400313a0
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov r15, rdx
mov rbx, rcx
call fcn.140002000
mov r10, rax
mov rax, qword [rbx + 8]
mov r14d, 0xffffffff
cmp dword [rax - 0x10], 0
jg 0x1400313dc
mov r8, qword [r10]
mov rcx, r10
call qword [r8 + 0x30]
jmp 0x14003141a
mov eax, dword [rax - 8]
mov rcx, qword [rbx + 8]
cmp eax, r14d
jne 0x14003140c
mov rax, qword [r10]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, r14d
mov r8d, dword [rcx - 0x10]
mov rdx, rcx
mov rcx, r10
call qword [rax + 0x28]
jmp 0x14003141a
cmp r10, qword [rcx - 0x18]
jne 0x1400313e8
lock inc dword [rcx - 8]
mov rax, qword [rbx + 8]
mov qword [rbp + 0x50], rax
xor r12d, r12d
mov qword [rbp - 0x18], r12
mov dword [rbp - 0x10], r14d
mov qword [rbp - 8], r12
lea rax, vtable.JRStringArray.0
mov qword [rbp - 0x20], rax
call fcn.140002000
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x30]
mov qword [rbp + 0x48], rax
mov esi, r12d
nop dword [rax]
lea rcx, [rbp + 0x48]
call fcn.1400106f0
cmp qword [r15], 0
je 0x140031542
mov dword [rbp + 0x40], 0x400
mov r9b, 1
xor r8d, r8d
mov edx, 0x401
lea rcx, [rbp + 0x48]
call fcn.140010590
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x40]
mov r8, rax
mov edx, esi
mov rcx, qword [r15]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov r8d, eax
mov rcx, qword [rbp + 0x48]
test rcx, rcx
jne 0x1400314b5
mov edx, r12d
jmp 0x1400314d4
mov rdx, rcx
nop dword [rax + rax]
movzx eax, word [rdx]
add rdx, 2
test ax, ax
jne 0x1400314c0
sub rdx, rcx
sar rdx, 1
dec edx
mov dword [rcx - 0x10], edx
mov eax, dword [rcx - 8]
cmp eax, 0xffffffff
jne 0x1400314e7
mov eax, 1
xchg dword [rcx - 8], eax
test r8d, r8d
jne 0x140031542
mov rbx, qword [rbp + 0x50]
test rbx, rbx
je 0x14003152e
cmp word [rbx], r8w
je 0x14003152e
mov rdi, rbx
nop
movzx eax, word [rdi]
add rdi, 2
test ax, ax
jne 0x140031500
sub rdi, rbx
sar rdi, 1
call fcn.140002000
mov rcx, rax
lea r9d, [rdi - 1]
mov r8, rbx
mov rdx, qword [rbp + 0x48]
call fcn.1400183a0
test eax, eax
jne 0x14003153b
lea rdx, [rbp + 0x48]
lea rcx, [rbp - 0x20]
call fcn.14000bec0
inc esi
jmp 0x140031450
mov ebx, r12d
mov r8d, dword [rbp - 0x18]
test r8d, r8d
jle 0x140031576
mov rdi, r12
mov rax, qword [rbp - 8]
mov rcx, qword [r15]
test rcx, rcx
je 0x14003156b
mov rdx, qword [rdi + rax]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov r8d, dword [rbp - 0x18]
inc ebx
add rdi, 8
cmp ebx, r8d
jl 0x140031551
mov rdx, qword [rbp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x1400315a7
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14003159d
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400315a7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rax, vtable.JRCoreArray_class_JRString__class_JRString_const____ptr64__0_.0
mov qword [rbp - 0x20], rax
cmp qword [rbp - 8], 0
je 0x140031638
mov ebx, r12d
cmp dword [rbp - 0x18], r12d
jle 0x140031627
mov rdi, r12
lea rsi, [fcn.1400022d0]
nop dword [rax]
mov rax, qword [rax + 0x10]
cmp rax, rsi
je 0x1400315e1
mov edx, ebx
lea rcx, [rbp - 0x20]
call rax
mov rax, qword [rbp - 8]
mov rdx, qword [rdi + rax]
sub rdx, 0x18
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140031616
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14003160c
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140031616
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
inc ebx
add rdi, 8
cmp ebx, dword [rbp - 0x18]
jge 0x140031627
mov rax, qword [rbp - 0x20]
jmp 0x1400315d0
mov rcx, qword [rbp - 8]
call fcn.14008d9d8
mov qword [rbp - 8], r12
mov dword [rbp - 0x14], r12d
mov dword [rbp - 0x18], r12d
mov rdx, qword [rbp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14003166c
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140031662
lock xadd dword [rdx + 0x10], r14d
sub r14d, 1
jg 0x14003166c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret