Function at 0x14000b88c
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 [0x14003f8c0]
xor rax, rsp
mov qword [rbp + 0x390], rax
and dword [rdx], 0
mov rbx, rdx
lea rax, [rsp + 0x48]
mov rsi, rcx
lea rdx, [0x14003dd00]
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 0x14000bb19
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 0x14000bb0e
or r15, 0xffffffffffffffff
lea rdx, [0x14003dd58]
lea rcx, [rsp + 0x70]
mov r8d, 3
mov dword [rsp + 0x50], 0x104
call fcn.140013a28
test eax, eax
js 0x14000bacb
xor eax, eax
lea rdi, [rsp + 0x70]
mov rcx, r15
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp rcx, 3
jbe 0x14000bacb
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.140014018
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 0x14000bacb
mov ecx, 0x208
call fcn.140013530
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 0x14000bb88
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 0x14000baaf
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 0x14000ba54
lea rcx, [rsp + 0x70]
call fcn.140013380
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, [0x14003de00]
add rcx, rcx
mov qword [rsi + rcx*8 + 0x28], rax
movsxd rax, dword [rbx]
lea rcx, [rax + rax*2]
lea rax, [0x14003de10]
add rcx, rcx
mov qword [rsi + rcx*8 + 0x20], rax
inc dword [rbx]
jmp 0x14000bac0
lea rcx, [rax + rax*2]
add rcx, rcx
mov rcx, qword [rsi + rcx*8 + 0x18]
call fcn.140013340
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 0x14000b932
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
cmp edi, dword [rbx]
jae 0x14000bb44
lea r12, [rsi + 0x18]
call fcn.14000b74c
mov rcx, qword [r12]
mov rdx, rax
call fcn.140014b44
test eax, eax
je 0x14000bb42
inc edi
add r12, 0x30
cmp edi, dword [rbx]
jb 0x14000bb23
cmp edi, dword [rbx]
jne 0x14000bb88
call fcn.14000b74c
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.1400126a0
mov rbx, qword [rsp + 0x4e0]
add rsp, 0x4a0
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret