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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x4730
call fcn.14002d9b0
sub rsp, rax
mov qword [rsp + 0xc8], 0xfffffffffffffffe
mov rax, qword [0x14003b9c0]
xor rax, rsp
mov qword [rsp + 0x4720], rax
mov r13, r9
mov r12, r8
mov r14, rdx
mov rbp, rcx
mov rdx, qword [rsp + 0x4790]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000f67f
lea ecx, [rax + 8]
call fcn.140014f28
test rax, rax
je 0x14000f339
lea rcx, [rsp + 0x58]
mov qword [rax], rcx
jmp 0x14000f33b
xor eax, eax
mov qword [rsp + 0x58], rax
and qword [rsp + 0x70], 0
and qword [rsp + 0x78], 0
and qword [rsp + 0x80], 0
mov edi, 0x1770
mov dword [rsp + 0x44], edi
mov dword [rsp + 0x40], edi
xor ebx, ebx
lea rax, [rsp + 0x90]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x1840]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], rbx
lea r9, [rsp + 0x40]
lea r8, [rsp + 0xd0]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov esi, 0x103
cmp eax, esi
je 0x14000f48f
mov r8, r13
mov rdx, r12
lea rcx, [rsp + 0xd0]
call fcn.14000da00
test al, al
je 0x14000f439
mov qword [rsp + 0xc0], 0xf
and qword [rsp + 0xb8], 0
mov byte [rsp + 0xa8], 0
lea rcx, [rsp + 0xd0]
call fcn.140014610
mov r8, rax
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xa0]
call fcn.1400032d8
nop
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x58]
call fcn.14000f1d0
nop
cmp qword [rsp + 0xc0], 0x10
jb 0x14000f439
mov rcx, qword [rsp + 0xa8]
call fcn.1400149a0
inc ebx
mov dword [rsp + 0x44], edi
mov dword [rsp + 0x40], edi
lea rax, [rsp + 0x90]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x1840]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0xd0]
mov edx, ebx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, esi
jne 0x14000f3b4
mov rax, qword [rsp + 0x78]
mov rsi, rax
mov rbx, qword [rsp + 0x70]
cmp rbx, rax
jbe 0x14000f4b0
call fcn.140014f08
mov rax, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
mov rdi, rcx
cmp rbx, rax
jbe 0x14000f4c7
call fcn.140014f08
mov rcx, qword [rsp + 0x58]
test rdi, rdi
je 0x14000f4d1
cmp rdi, rcx
je 0x14000f4d6
call fcn.140014f08
mov r8, rsi
sub r8, rbx
movabs rdi, 0x6666666666666667
mov rax, rdi
imul r8
sar rdx, 4
mov r8, rdx
shr r8, 0x3f
add r8, rdx
mov rdx, rsi
mov rcx, rbx
call fcn.14000ec28
mov r11, qword [rsp + 0x78]
mov rcx, r11
mov r8, qword [rsp + 0x70]
sub rcx, r8
mov rax, rdi
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
sub edx, 1
movsxd rdi, edx
js 0x14000f65f
lea rbx, [rdi + rdi*4]
shl rbx, 3
movabs rsi, 0x6666666666666667
sub r11, r8
mov rax, rsi
imul r11
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdi, rdx
jb 0x14000f56d
call fcn.140014f08
mov r8, qword [rsp + 0x70]
cmp qword [rbx + r8 + 0x20], 0x10
jb 0x14000f57c
mov rdx, qword [rbx + r8 + 8]
jmp 0x14000f581
lea rdx, [rbx + r8 + 8]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000f62e
mov dword [rsp + 0x50], 0x1770
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x2fb0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x98]
xor r8d, r8d
lea rdx, str.JavaHome
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000f620
lea rdx, [rsp + 0x2fb0]
mov rcx, rbp
call fcn.14000b650
test al, al
je 0x14000f620
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 0
mov r9, r13
mov r8, r12
mov rdx, r14
mov rcx, rbp
call fcn.14000df20
test al, al
jne 0x14000f647
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub rbx, 0x28
sub rdi, 1
js 0x14000f65f
mov r11, qword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
jmp 0x14000f547
lea rcx, [rsp + 0x58]
call fcn.14000d41c
mov rcx, qword [rsp + 0x58]
call fcn.1400149a0
mov al, 1
jmp 0x14000f681
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x58]
call fcn.14000d41c
mov rcx, qword [rsp + 0x58]
call fcn.1400149a0
xor al, al
mov rcx, qword [rsp + 0x4720]
xor rcx, rsp
call fcn.140014d30
add rsp, 0x4730
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret