Function at 0x14000bb84
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x140041c50]
xor rax, rsp
mov qword [rbp + 0x390], rax
and dword [rdx], 0
mov rbx, rdx
lea rax, [rsp + 0x48]
mov r12, rcx
lea rdx, [0x14003eaa0]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000be0e
mov rcx, qword [rsp + 0x48]
xor esi, esi
lea r9, [rsp + 0x40]
and qword [rsp + 0x38], rsi
and qword [rsp + 0x30], rsi
and qword [rsp + 0x28], rsi
and qword [rsp + 0x20], rsi
lea r8, [rsp + 0x70]
xor edx, edx
mov dword [rsp + 0x40], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14000be03
or r15, 0xffffffffffffffff
lea rdx, [0x14003eaf8]
lea rcx, [rsp + 0x70]
mov r8d, 3
mov dword [rsp + 0x50], 0x104
call fcn.140014924
test eax, eax
js 0x14000bdc2
xor eax, eax
lea rdi, [rsp + 0x70]
mov rcx, r15
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp rcx, 3
jbe 0x14000bdc2
lea rax, [rsp + 0x70]
lea r9, str._s_s
lea rcx, [rbp + 0x180]
mov qword [rsp + 0x28], rax
lea rax, str.SOFTWAREJavaSoftJava_Runtime_Environment
mov r8, r15
mov edx, 0x104
mov qword [rsp + 0x20], rax
call fcn.140014f14
lea rdx, [rsp + 0x58]
mov r9d, 0x20019
mov qword [rsp + 0x20], rdx
lea rdx, [rbp + 0x180]
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000bdc2
mov ecx, 0x208
call fcn.1400140e8
movsxd rcx, dword [rbx]
lea rdx, [rcx + rcx*2]
add rdx, rdx
mov qword [r12 + rdx*8 + 0x18], rax
movsxd rax, dword [rbx]
lea rcx, [rax + rax*2]
add rcx, rcx
mov rax, qword [r12 + rcx*8 + 0x18]
test rax, rax
je 0x14000be8f
lea rcx, [rsp + 0x50]
lea r9, [rsp + 0x60]
lea rdx, str.JavaHome
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x58]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
movsxd rax, dword [rbx]
jne 0x14000bda6
lea rdi, [rax + rax*2]
xor eax, eax
mov rcx, r15
add rdi, rdi
lea rdx, str._binjavaw.exe
mov rdi, qword [r12 + rdi*8 + 0x18]
repne scasw ax, word [rdi]
xor ecx, ecx
movzx eax, word [rdx + rcx]
add rcx, 2
mov word [rdi + rcx - 4], ax
test ax, ax
jne 0x14000bd4b
lea rcx, [rsp + 0x70]
call fcn.140013f38
movsxd rcx, dword [rbx]
lea rdx, [rcx + rcx*2]
add rdx, rdx
mov qword [r12 + rdx*8 + 8], rax
movsxd rax, dword [rbx]
lea rcx, [rax + rax*2]
lea rax, [0x14003eba0]
add rcx, rcx
mov qword [r12 + rcx*8 + 0x28], rax
movsxd rax, dword [rbx]
lea rcx, [rax + rax*2]
lea rax, [0x14003ebb0]
add rcx, rcx
mov qword [r12 + rcx*8 + 0x20], rax
inc dword [rbx]
jmp 0x14000bdb7
lea rcx, [rax + rax*2]
add rcx, rcx
mov rcx, qword [r12 + rcx*8 + 0x18]
call fcn.140013e28
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x48]
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
inc esi
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov edx, esi
mov dword [rsp + 0x40], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x14000bc29
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
cmp edi, dword [rbx]
jae 0x14000be39
lea rsi, [r12 + 0x18]
call fcn.14000b844
mov rcx, qword [rsi]
mov rdx, rax
call fcn.140015868
test eax, eax
je 0x14000be37
inc edi
add rsi, 0x30
cmp edi, dword [rbx]
jb 0x14000be19
cmp edi, dword [rbx]
jne 0x14000be8f
call fcn.14000b844
mov rcx, rax
call fcn.140013f38
movsxd rcx, dword [rbx]
lea rdx, [rcx + rcx*2]
lea rcx, str.amd64
add rdx, rdx
mov qword [r12 + rdx*8 + 0x18], rax
call fcn.140013f38
movsxd rcx, dword [rbx]
lea rdx, [rcx + rcx*2]
lea rcx, str.Windows
add rdx, rdx
mov qword [r12 + rdx*8 + 0x28], rax
call fcn.140013f38
movsxd rcx, dword [rbx]
lea rdx, [rcx + rcx*2]
add rdx, rdx
mov qword [r12 + rdx*8 + 0x20], rax
inc dword [rbx]
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.1400133f0
mov rbx, qword [rsp + 0x4e0]
add rsp, 0x4a0
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret