Function at 0x14000bc90
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 [0x140040bb0]
xor rax, rsp
mov qword [rbp + 0x390], rax
and dword [rdx], 0
mov rbx, rdx
lea rax, [rsp + 0x48]
mov rsi, rcx
lea rdx, [0x14003dad0]
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 0x14000bf1d
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 0x14000bf12
or r15, 0xffffffffffffffff
lea rdx, [0x14003db28]
lea rcx, [rsp + 0x70]
mov r8d, 3
mov dword [rsp + 0x50], 0x104
call fcn.140014834
test eax, eax
js 0x14000becf
xor eax, eax
lea rdi, [rsp + 0x70]
mov rcx, r15
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp rcx, 3
jbe 0x14000becf
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.140014e24
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 0x14000becf
mov ecx, 0x208
call fcn.140013ff8
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 0x14000bf8c
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 0x14000beb3
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 0x14000be58
lea rcx, [rsp + 0x70]
call fcn.140013e48
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, [0x14003dbd0]
add rcx, rcx
mov qword [rsi + rcx*8 + 0x28], rax
movsxd rax, dword [rbx]
lea rcx, [rax + rax*2]
lea rax, [0x14003dbe0]
add rcx, rcx
mov qword [rsi + rcx*8 + 0x20], rax
inc dword [rbx]
jmp 0x14000bec4
lea rcx, [rax + rax*2]
add rcx, rcx
mov rcx, qword [rsi + rcx*8 + 0x18]
call fcn.140013d38
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 0x14000bd36
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
cmp edi, dword [rbx]
jae 0x14000bf48
lea r12, [rsi + 0x18]
call fcn.14000b950
mov rcx, qword [r12]
mov rdx, rax
call fcn.140015778
test eax, eax
je 0x14000bf46
inc edi
add r12, 0x30
cmp edi, dword [rbx]
jb 0x14000bf27
cmp edi, dword [rbx]
jne 0x14000bf8c
call fcn.14000b950
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.140013300
mov rbx, qword [rsp + 0x4e0]
add rsp, 0x4a0
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret