Function at 0x4160f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x1f8
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov qword [r11 - 8], rbp
mov qword [r11 - 0x10], rsi
mov qword [r11 - 0x18], rdi
mov qword [r11 - 0x20], r12
mov qword [r11 - 0x28], r13
mov qword [r11 - 0x30], r14
mov qword [r11 - 0x38], r15
mov rax, qword [0x00445028]
mov qword [rsp + 0x1b0], rax
mov rdi, r8
mov rbp, rdx
mov r14, rcx
mov qword [r11 - 0x178], rdx
mov qword [r11 - 0x170], r8
xor r15d, r15d
mov r12d, r15d
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x34], 0x104
mov rax, qword [r8]
mov edx, dword [r8 + 0x10]
mov rcx, r8
call qword [rax + 8]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rdi + 8]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x416232
mov qword [rbp + 8], r15
mov dword [rbp + 0x10], r15d
lea rsi, [0x004366a8]
mov qword [rbp], rsi
mov dword [rbp + 0x18], r15d
xor edx, edx
mov rcx, rbp
call qword [0x004366b0]
nop
lea rax, [0x004366e8]
mov qword [rbp], rax
movsxd rbx, dword [rbp + 0x10]
mov edx, ebx
mov rcx, rbp
call qword [0x004366f0]
cmp ebx, ebx
jge 0x4161f8
mov rcx, rbx
add rcx, qword [rbp + 8]
mov eax, ebx
sub eax, ebx
movsxd r8, eax
mov rdx, rcx
call fcn.00421230
nop
lea rax, [0x00436768]
mov qword [rbp], rax
mov qword [rdi], rsi
mov rcx, qword [rdi + 8]
mov qword [rdi + 8], r15
mov dword [rdi + 0x10], r15d
mov dword [rdi + 0x18], r15d
test rcx, rcx
je 0x416220
call fcn.00421200
lea rbx, [0x00436678]
mov qword [rdi], rbx
mov rax, rbp
jmp 0x4168fc
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.CurrentVersion
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x41630a
mov qword [rbp + 8], r15
mov dword [rbp + 0x10], r15d
lea rsi, [0x004366a8]
mov qword [rbp], rsi
mov dword [rbp + 0x18], r15d
xor edx, edx
mov rcx, rbp
call qword [0x004366b0]
nop
lea rax, [0x004366e8]
mov qword [rbp], rax
movsxd rbx, dword [rbp + 0x10]
mov edx, ebx
mov rcx, rbp
call qword [0x004366f0]
cmp ebx, ebx
jge 0x4162d0
mov rcx, rbx
add rcx, qword [rbp + 8]
mov eax, ebx
sub eax, ebx
movsxd r8, eax
mov rdx, rcx
call fcn.00421230
nop
lea rax, [0x00436768]
mov qword [rbp], rax
mov qword [rdi], rsi
mov rcx, qword [rdi + 8]
mov qword [rdi + 8], r15
mov dword [rdi + 0x10], r15d
mov dword [rdi + 0x18], r15d
test rcx, rcx
je 0x4162f8
call fcn.00421200
lea rbx, [0x00436678]
mov qword [rdi], rbx
mov rax, rbp
jmp 0x4168fc
lea r13, [0x004373c4]
mov qword [rsp + 0x68], r13
lea rax, [0x004366a0]
mov qword [rsp + 0x60], rax
mov ebx, r15d
nop
nop
nop
inc ebx
movsxd rax, ebx
cmp byte [rax + r13], 0
jne 0x416330
mov dword [rsp + 0x70], ebx
movsxd rsi, dword [rdi + 0x10]
lea edx, [rsi + rbx]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
cmp esi, esi
jge 0x41636d
mov rdx, rsi
add rdx, qword [rdi + 8]
movsxd rcx, ebx
add rcx, rdx
mov eax, esi
sub eax, esi
movsxd r8, eax
call fcn.00421230
movsxd r8, ebx
mov rcx, rsi
add rcx, qword [rdi + 8]
mov rdx, r13
call fcn.00421230
nop
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x68], rax
lea rax, [0x004366a0]
mov qword [rsp + 0x60], rax
mov ebx, r15d
mov dword [rsp + 0x70], r15d
cmp byte [rsp + 0xa0], bl
je 0x4163c3
nop
nop
inc ebx
movsxd rax, ebx
cmp byte [rsp + rax + 0xa0], 0
jne 0x4163b0
mov dword [rsp + 0x70], ebx
movsxd rsi, dword [rdi + 0x10]
lea edx, [rsi + rbx]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
cmp esi, esi
jge 0x4163f0
mov rdx, rsi
add rdx, qword [rdi + 8]
movsxd rcx, ebx
add rcx, rdx
mov eax, esi
sub eax, esi
movsxd r8, eax
call fcn.00421230
movsxd r8, ebx
mov rcx, rsi
add rcx, qword [rdi + 8]
lea rdx, [rsp + 0xa0]
call fcn.00421230
nop
mov rax, qword [rdi]
mov edx, dword [rdi + 0x10]
mov rcx, rdi
call qword [rax + 8]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rdi + 8]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x416482
lea rdx, [0x00436a61]
mov rcx, rbp
call fcn.004021a0
nop
lea rsi, [0x004366a8]
mov qword [rdi], rsi
mov rcx, qword [rdi + 8]
mov qword [rdi + 8], r15
mov dword [rdi + 0x10], r15d
mov dword [rdi + 0x18], r15d
test rcx, rcx
je 0x416470
call fcn.00421200
lea rbx, [0x00436678]
mov qword [rdi], rbx
mov rax, rbp
jmp 0x4168fc
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x34], 0x104
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.RuntimeLib
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4165f9
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.JavaHome
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rsi, [0x004366a8]
test ebx, ebx
jne 0x4165ba
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x38]
mov rcx, r14
call fcn.00415400
nop
lea rdx, [0x00436a61]
lea rcx, [rsp + 0x38]
call fcn.00405ab0
test al, al
je 0x416597
lea rdx, [rsp + 0x38]
mov rcx, rbp
call fcn.00402c50
nop
lea rsi, [0x004366a8]
mov qword [rsp + 0x38], rsi
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x50], r15d
test rcx, rcx
je 0x41657b
call fcn.00421200
lea rbx, [0x00436678]
mov qword [rsp + 0x38], rbx
mov rcx, rdi
call fcn.00401bf0
mov rax, rbp
jmp 0x4168fc
mov qword [rsp + 0x38], rsi
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x50], r15d
test rcx, rcx
je 0x4165ba
call fcn.00421200
lea rdx, [0x00436a61]
mov rcx, rbp
call fcn.004021a0
nop
mov qword [rdi], rsi
mov rcx, qword [rdi + 8]
mov qword [rdi + 8], r15
mov dword [rdi + 0x10], r15d
mov dword [rdi + 0x18], r15d
test rcx, rcx
je 0x4165e7
call fcn.00421200
lea rbx, [0x00436678]
mov qword [rdi], rbx
mov rax, rbp
jmp 0x4168fc
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, 4
lea rcx, [rsp + 0xa0]
call fcn.004344e0
mov r13d, 2
test eax, eax
jne 0x41663a
lea rdx, [rsp + 0x38]
mov rcx, r14
call fcn.00413a00
mov r12d, r13d
cmp dword [rax + 0x10], 1
jg 0x41663a
mov bl, 1
jmp 0x41663c
xor bl, bl
lea rsi, [0x004366a8]
test r13b, r12b
je 0x41666b
mov qword [rsp + 0x38], rsi
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x50], r15d
test rcx, rcx
je 0x41666b
call fcn.00421200
test bl, bl
je 0x416690
lea rdx, [rsp + 0xa0]
mov rcx, rbp
call fcn.004021a0
nop
mov rcx, rdi
call fcn.00401bf0
mov rax, rbp
jmp 0x4168fc
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x60]
call fcn.004021a0
nop
mov r12d, 8
mov r10d, dword [rsp + 0x70]
mov r9, qword [rsp + 0x68]
nop
nop
nop
nop
lea ebx, [r10 - 1]
movsxd r8, ebx
test ebx, ebx
js 0x416754
nop
movzx edx, byte [r9 + r8]
mov al, 0x5c
lea rcx, [0x00437748]
nop
cmp al, dl
je 0x4166f7
inc rcx
movzx eax, byte [rcx]
test al, al
jne 0x4166e0
dec ebx
dec r8
js 0x416754
jmp 0x4166d0
test ebx, ebx
jle 0x416754
lea eax, [rbx + 1]
mov edx, dword [rsp + 0x78]
cmp eax, edx
jle 0x416740
cmp edx, r12d
cmovl edx, r12d
mov dword [rsp + 0x78], edx
cmp eax, edx
jle 0x41672d
add edx, edx
mov dword [rsp + 0x78], edx
cmp eax, edx
jle 0x41672d
lea edx, [rax + 0xb]
mov eax, edx
and eax, 7
sub edx, eax
mov dword [rsp + 0x78], edx
movsxd rdx, edx
mov rcx, r9
call fcn.00421150
mov r9, rax
mov qword [rsp + 0x68], rax
movsxd rax, ebx
mov byte [rax + r9], 0
mov r10d, ebx
mov dword [rsp + 0x70], ebx
mov r9, qword [rsp + 0x68]
dec r13
jne 0x4166c0
mov edx, r10d
lea rcx, [rsp + 0x60]
mov rax, qword [rsp + 0x60]
call qword [rax + 8]
mov r8, qword [rsp + 0x68]
lea rdx, [rsp + 0x38]
mov rcx, r14
call fcn.00415400
nop
mov eax, r15d
mov ebx, dword [rsp + 0x48]
test ebx, ebx
cmovs eax, ebx
mov r8d, r15d
mov rdx, r15
movsxd r10, eax
mov r11, qword [rsp + 0x40]
test eax, eax
jle 0x4167cc
mov rcx, r11
lea r9, [0x00436a61]
sub r9, r11
nop
nop
movzx eax, byte [r9 + rcx]
cmp byte [rcx], al
jne 0x4167c7
inc r8d
inc rdx
inc rcx
cmp rdx, r10
jl 0x4167b0
test r8d, r8d
js 0x4167db
cmp r8d, ebx
jge 0x4167db
movsxd rax, r8d
movzx ecx, byte [rax + r11]
jmp 0x4167dd
xor cl, cl
test cl, cl
je 0x416872
lea rdx, [rsp + 0x38]
mov rcx, rbp
call fcn.00402c50
nop
mov qword [rsp + 0x38], rsi
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x50], r15d
test rcx, rcx
je 0x416816
call fcn.00421200
lea rbx, [0x00436678]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x60], rsi
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x68], r15
mov dword [rsp + 0x70], r15d
mov dword [rsp + 0x78], r15d
test rcx, rcx
je 0x416845
call fcn.00421200
mov qword [rsp + 0x60], rbx
mov qword [rdi], rsi
mov rcx, qword [rdi + 8]
mov qword [rdi + 8], r15
mov dword [rdi + 0x10], r15d
mov dword [rdi + 0x18], r15d
test rcx, rcx
je 0x416867
call fcn.00421200
mov qword [rdi], rbx
mov rax, rbp
jmp 0x4168fc
lea rdx, [0x00436a61]
mov rcx, rbp
call fcn.004021a0
nop
mov qword [rsp + 0x38], rsi
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x50], r15d
test rcx, rcx
je 0x4168a5
call fcn.00421200
lea rbx, [0x00436678]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x60], rsi
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x68], r15
mov dword [rsp + 0x70], r15d
mov dword [rsp + 0x78], r15d
test rcx, rcx
je 0x4168d4
call fcn.00421200
mov qword [rsp + 0x60], rbx
mov qword [rdi], rsi
mov rcx, qword [rdi + 8]
mov qword [rdi + 8], r15
mov dword [rdi + 0x10], r15d
mov dword [rdi + 0x18], r15d
test rcx, rcx
je 0x4168f6
call fcn.00421200
mov qword [rdi], rbx
mov rax, rbp
mov rcx, qword [rsp + 0x1b0]
call fcn.00435170
mov rbx, qword [rsp + 0x218]
mov rbp, qword [rsp + 0x1f0]
mov rsi, qword [rsp + 0x1e8]
mov rdi, qword [rsp + 0x1e0]
mov r12, qword [rsp + 0x1d8]
mov r13, qword [rsp + 0x1d0]
mov r14, qword [rsp + 0x1c8]
mov r15, qword [rsp + 0x1c0]
add rsp, 0x1f8
ret