Function at 0x41cce0
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 [0x0046d048]
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 0x41ce22
mov qword [rbp + 8], r15
mov dword [rbp + 0x10], r15d
lea rsi, [0x004555a0]
mov qword [rbp], rsi
mov dword [rbp + 0x18], r15d
xor edx, edx
mov rcx, rbp
call qword [0x004555a8]
nop
lea rax, [0x004555d8]
mov qword [rbp], rax
movsxd rbx, dword [rbp + 0x10]
mov edx, ebx
mov rcx, rbp
call qword [0x004555e0]
cmp ebx, ebx
jge 0x41cde8
mov rcx, rbx
add rcx, qword [rbp + 8]
mov eax, ebx
sub eax, ebx
movsxd r8, eax
mov rdx, rcx
call fcn.00429770
nop
lea rax, [0x00455668]
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 0x41ce10
call fcn.00429ab0
lea rbx, [0x00455570]
mov qword [rdi], rbx
mov rax, rbp
jmp 0x41d4ec
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 0x41cefa
mov qword [rbp + 8], r15
mov dword [rbp + 0x10], r15d
lea rsi, [0x004555a0]
mov qword [rbp], rsi
mov dword [rbp + 0x18], r15d
xor edx, edx
mov rcx, rbp
call qword [0x004555a8]
nop
lea rax, [0x004555d8]
mov qword [rbp], rax
movsxd rbx, dword [rbp + 0x10]
mov edx, ebx
mov rcx, rbp
call qword [0x004555e0]
cmp ebx, ebx
jge 0x41cec0
mov rcx, rbx
add rcx, qword [rbp + 8]
mov eax, ebx
sub eax, ebx
movsxd r8, eax
mov rdx, rcx
call fcn.00429770
nop
lea rax, [0x00455668]
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 0x41cee8
call fcn.00429ab0
lea rbx, [0x00455570]
mov qword [rdi], rbx
mov rax, rbp
jmp 0x41d4ec
lea r13, [0x00456a00]
mov qword [rsp + 0x68], r13
lea rax, [0x004555b0]
mov qword [rsp + 0x60], rax
mov ebx, r15d
nop
nop
nop
inc ebx
movsxd rax, ebx
cmp byte [rax + r13], 0
jne 0x41cf20
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 0x41cf5d
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.00429770
movsxd r8, ebx
mov rcx, rsi
add rcx, qword [rdi + 8]
mov rdx, r13
call fcn.00429770
nop
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x68], rax
lea rax, [0x004555b0]
mov qword [rsp + 0x60], rax
mov ebx, r15d
mov dword [rsp + 0x70], r15d
cmp byte [rsp + 0xa0], bl
je 0x41cfb3
nop
nop
inc ebx
movsxd rax, ebx
cmp byte [rsp + rax + 0xa0], 0
jne 0x41cfa0
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 0x41cfe0
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.00429770
movsxd r8, ebx
mov rcx, rsi
add rcx, qword [rdi + 8]
lea rdx, [rsp + 0xa0]
call fcn.00429770
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 0x41d072
lea rdx, [0x00455c5c]
mov rcx, rbp
call fcn.004026c0
nop
lea rsi, [0x004555a0]
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 0x41d060
call fcn.00429ab0
lea rbx, [0x00455570]
mov qword [rdi], rbx
mov rax, rbp
jmp 0x41d4ec
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 0x41d1e9
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, [0x004555a0]
test ebx, ebx
jne 0x41d1aa
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x38]
mov rcx, r14
call fcn.0041bff0
nop
lea rdx, [0x00455c5c]
lea rcx, [rsp + 0x38]
call fcn.0040b720
test al, al
je 0x41d187
lea rdx, [rsp + 0x38]
mov rcx, rbp
call fcn.00404010
nop
lea rsi, [0x004555a0]
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 0x41d16b
call fcn.00429ab0
lea rbx, [0x00455570]
mov qword [rsp + 0x38], rbx
mov rcx, rdi
call fcn.00401c50
mov rax, rbp
jmp 0x41d4ec
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 0x41d1aa
call fcn.00429ab0
lea rdx, [0x00455c5c]
mov rcx, rbp
call fcn.004026c0
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 0x41d1d7
call fcn.00429ab0
lea rbx, [0x00455570]
mov qword [rdi], rbx
mov rax, rbp
jmp 0x41d4ec
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, 4
lea rcx, [rsp + 0xa0]
call fcn.00452080
mov r13d, 2
test eax, eax
jne 0x41d22a
lea rdx, [rsp + 0x38]
mov rcx, r14
call fcn.0041a5f0
mov r12d, r13d
cmp dword [rax + 0x10], 1
jg 0x41d22a
mov bl, 1
jmp 0x41d22c
xor bl, bl
lea rsi, [0x004555a0]
test r13b, r12b
je 0x41d25b
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 0x41d25b
call fcn.00429ab0
test bl, bl
je 0x41d280
lea rdx, [rsp + 0xa0]
mov rcx, rbp
call fcn.004026c0
nop
mov rcx, rdi
call fcn.00401c50
mov rax, rbp
jmp 0x41d4ec
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x60]
call fcn.004026c0
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 0x41d344
nop
movzx edx, byte [r9 + r8]
mov al, 0x5c
lea rcx, [0x00456d80]
nop
cmp al, dl
je 0x41d2e7
inc rcx
movzx eax, byte [rcx]
test al, al
jne 0x41d2d0
dec ebx
dec r8
js 0x41d344
jmp 0x41d2c0
test ebx, ebx
jle 0x41d344
lea eax, [rbx + 1]
mov edx, dword [rsp + 0x78]
cmp eax, edx
jle 0x41d330
cmp edx, r12d
cmovl edx, r12d
mov dword [rsp + 0x78], edx
cmp eax, edx
jle 0x41d31d
add edx, edx
mov dword [rsp + 0x78], edx
cmp eax, edx
jle 0x41d31d
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.004296b0
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 0x41d2b0
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.0041bff0
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 0x41d3bc
mov rcx, r11
lea r9, [0x00455c5c]
sub r9, r11
nop
nop
movzx eax, byte [r9 + rcx]
cmp byte [rcx], al
jne 0x41d3b7
inc r8d
inc rdx
inc rcx
cmp rdx, r10
jl 0x41d3a0
test r8d, r8d
js 0x41d3cb
cmp r8d, ebx
jge 0x41d3cb
movsxd rax, r8d
movzx ecx, byte [rax + r11]
jmp 0x41d3cd
xor cl, cl
test cl, cl
je 0x41d462
lea rdx, [rsp + 0x38]
mov rcx, rbp
call fcn.00404010
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 0x41d406
call fcn.00429ab0
lea rbx, [0x00455570]
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 0x41d435
call fcn.00429ab0
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 0x41d457
call fcn.00429ab0
mov qword [rdi], rbx
mov rax, rbp
jmp 0x41d4ec
lea rdx, [0x00455c5c]
mov rcx, rbp
call fcn.004026c0
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 0x41d495
call fcn.00429ab0
lea rbx, [0x00455570]
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 0x41d4c4
call fcn.00429ab0
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 0x41d4e6
call fcn.00429ab0
mov qword [rdi], rbx
mov rax, rbp
mov rcx, qword [rsp + 0x1b0]
call fcn.004541d0
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