Function at 0x14000b210
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 [0x14003f930]
xor rax, rsp
mov qword [rbp + 0x390], rax
and dword [rdx], 0
mov rbx, rdx
lea rax, [rsp + 0x48]
mov rsi, rcx
lea rdx, [0x14003c8c0]
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 0x14000b49d
mov rcx, qword [rsp + 0x48]
xor r12d, r12d
lea r9, [rsp + 0x40]
and qword [rsp + 0x38], r12
and qword [rsp + 0x30], r12
and qword [rsp + 0x28], r12
and qword [rsp + 0x20], r12
lea r8, [rsp + 0x70]
xor edx, edx
mov dword [rsp + 0x40], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14000b492
or r15, 0xffffffffffffffff
lea rdx, [0x14003c918]
lea rcx, [rsp + 0x70]
mov r8d, 3
mov dword [rsp + 0x50], 0x104
call fcn.1400136e0
test eax, eax
js 0x14000b44f
xor eax, eax
lea rdi, [rsp + 0x70]
mov rcx, r15
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp rcx, 3
jbe 0x14000b44f
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.140013cd0
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 0x14000b44f
mov ecx, 0x208
call fcn.1400131e8
movsxd rcx, dword [rbx]
lea rdx, [rcx + rcx*2]
add rdx, rdx
mov qword [rsi + rdx*8 + 0x18], rax
movsxd rax, dword [rbx]
lea rcx, [rax + rax*2]
add rcx, rcx
mov rax, qword [rsi + rcx*8 + 0x18]
test rax, rax
je 0x14000b50c
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 0x14000b433
lea rdi, [rax + rax*2]
xor eax, eax
mov rcx, r15
add rdi, rdi
lea rdx, str._binjavaw.exe
mov rdi, qword [rsi + 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 0x14000b3d8
lea rcx, [rsp + 0x70]
call fcn.140013038
movsxd rcx, dword [rbx]
lea rdx, [rcx + rcx*2]
add rdx, rdx
mov qword [rsi + rdx*8 + 8], rax
movsxd rax, dword [rbx]
lea rcx, [rax + rax*2]
lea rax, [0x14003c9c0]
add rcx, rcx
mov qword [rsi + rcx*8 + 0x28], rax
movsxd rax, dword [rbx]
lea rcx, [rax + rax*2]
lea rax, [0x14003c9d0]
add rcx, rcx
mov qword [rsi + rcx*8 + 0x20], rax
inc dword [rbx]
jmp 0x14000b444
lea rcx, [rax + rax*2]
add rcx, rcx
mov rcx, qword [rsi + rcx*8 + 0x18]
call fcn.140012ff8
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 r12d
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov edx, r12d
mov dword [rsp + 0x40], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x14000b2b6
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
cmp edi, dword [rbx]
jae 0x14000b4c8
lea r12, [rsi + 0x18]
call fcn.14000b0d0
mov rcx, qword [r12]
mov rdx, rax
call fcn.1400146f4
test eax, eax
je 0x14000b4c6
inc edi
add r12, 0x30
cmp edi, dword [rbx]
jb 0x14000b4a7
cmp edi, dword [rbx]
jne 0x14000b50c
call fcn.14000b0d0
movsxd rcx, dword [rbx]
lea rdx, [rcx + rcx*2]
add rdx, rdx
mov qword [rsi + rdx*8 + 0x18], rax
movsxd rax, dword [rbx]
lea rcx, [rax + rax*2]
lea rax, str.amd64
add rcx, rcx
mov qword [rsi + rcx*8 + 0x28], rax
movsxd rax, dword [rbx]
lea rcx, [rax + rax*2]
lea rax, str.Windows
add rcx, rcx
mov qword [rsi + rcx*8 + 0x20], rax
inc dword [rbx]
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.1400125c0
mov rbx, qword [rsp + 0x4e0]
add rsp, 0x4a0
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret