Function at 0x421df0
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 [0x004792e8]
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 0x421f32
mov qword [rbp + 8], r15
mov dword [rbp + 0x10], r15d
lea rsi, [0x0045e628]
mov qword [rbp], rsi
mov dword [rbp + 0x18], r15d
xor edx, edx
mov rcx, rbp
call qword [0x0045e630]
nop
lea rax, [0x0045e668]
mov qword [rbp], rax
movsxd rbx, dword [rbp + 0x10]
mov edx, ebx
mov rcx, rbp
call qword [0x0045e670]
cmp ebx, ebx
jge 0x421ef8
mov rcx, rbx
add rcx, qword [rbp + 8]
mov eax, ebx
sub eax, ebx
movsxd r8, eax
mov rdx, rcx
call fcn.00446c20
nop
lea rax, [0x0045e6b8]
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 0x421f20
call fcn.00446bf0
lea rbx, [0x0045e600]
mov qword [rdi], rbx
mov rax, rbp
jmp 0x4225fc
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 0x42200a
mov qword [rbp + 8], r15
mov dword [rbp + 0x10], r15d
lea rsi, [0x0045e628]
mov qword [rbp], rsi
mov dword [rbp + 0x18], r15d
xor edx, edx
mov rcx, rbp
call qword [0x0045e630]
nop
lea rax, [0x0045e668]
mov qword [rbp], rax
movsxd rbx, dword [rbp + 0x10]
mov edx, ebx
mov rcx, rbp
call qword [0x0045e670]
cmp ebx, ebx
jge 0x421fd0
mov rcx, rbx
add rcx, qword [rbp + 8]
mov eax, ebx
sub eax, ebx
movsxd r8, eax
mov rdx, rcx
call fcn.00446c20
nop
lea rax, [0x0045e6b8]
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 0x421ff8
call fcn.00446bf0
lea rbx, [0x0045e600]
mov qword [rdi], rbx
mov rax, rbp
jmp 0x4225fc
lea r13, [0x0046002c]
mov qword [rsp + 0x68], r13
lea rax, [0x0045e728]
mov qword [rsp + 0x60], rax
mov ebx, r15d
nop
nop
nop
inc ebx
movsxd rax, ebx
cmp byte [rax + r13], 0
jne 0x422030
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 0x42206d
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.00446c20
movsxd r8, ebx
mov rcx, rsi
add rcx, qword [rdi + 8]
mov rdx, r13
call fcn.00446c20
nop
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x68], rax
lea rax, [0x0045e728]
mov qword [rsp + 0x60], rax
mov ebx, r15d
mov dword [rsp + 0x70], r15d
cmp byte [rsp + 0xa0], bl
je 0x4220c3
nop
nop
inc ebx
movsxd rax, ebx
cmp byte [rsp + rax + 0xa0], 0
jne 0x4220b0
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 0x4220f0
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.00446c20
movsxd r8, ebx
mov rcx, rsi
add rcx, qword [rdi + 8]
lea rdx, [rsp + 0xa0]
call fcn.00446c20
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 0x422182
lea rdx, [0x0045ee84]
mov rcx, rbp
call fcn.00404040
nop
lea rsi, [0x0045e628]
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 0x422170
call fcn.00446bf0
lea rbx, [0x0045e600]
mov qword [rdi], rbx
mov rax, rbp
jmp 0x4225fc
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 0x4222f9
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, [0x0045e628]
test ebx, ebx
jne 0x4222ba
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x38]
mov rcx, r14
call fcn.00421100
nop
lea rdx, [0x0045ee84]
lea rcx, [rsp + 0x38]
call fcn.0040f4b0
test al, al
je 0x422297
lea rdx, [rsp + 0x38]
mov rcx, rbp
call fcn.00406260
nop
lea rsi, [0x0045e628]
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 0x42227b
call fcn.00446bf0
lea rbx, [0x0045e600]
mov qword [rsp + 0x38], rbx
mov rcx, rdi
call fcn.00401e80
mov rax, rbp
jmp 0x4225fc
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 0x4222ba
call fcn.00446bf0
lea rdx, [0x0045ee84]
mov rcx, rbp
call fcn.00404040
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 0x4222e7
call fcn.00446bf0
lea rbx, [0x0045e600]
mov qword [rdi], rbx
mov rax, rbp
jmp 0x4225fc
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, 4
lea rcx, [rsp + 0xa0]
call fcn.0044c570
mov r13d, 2
test eax, eax
jne 0x42233a
lea rdx, [rsp + 0x38]
mov rcx, r14
call fcn.0041f6f0
mov r12d, r13d
cmp dword [rax + 0x10], 1
jg 0x42233a
mov bl, 1
jmp 0x42233c
xor bl, bl
lea rsi, [0x0045e628]
test r13b, r12b
je 0x42236b
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 0x42236b
call fcn.00446bf0
test bl, bl
je 0x422390
lea rdx, [rsp + 0xa0]
mov rcx, rbp
call fcn.00404040
nop
mov rcx, rdi
call fcn.00401e80
mov rax, rbp
jmp 0x4225fc
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x60]
call fcn.00404040
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 0x422454
nop
movzx edx, byte [r9 + r8]
mov al, 0x5c
lea rcx, [0x004603b0]
nop
cmp al, dl
je 0x4223f7
inc rcx
movzx eax, byte [rcx]
test al, al
jne 0x4223e0
dec ebx
dec r8
js 0x422454
jmp 0x4223d0
test ebx, ebx
jle 0x422454
lea eax, [rbx + 1]
mov edx, dword [rsp + 0x78]
cmp eax, edx
jle 0x422440
cmp edx, r12d
cmovl edx, r12d
mov dword [rsp + 0x78], edx
cmp eax, edx
jle 0x42242d
add edx, edx
mov dword [rsp + 0x78], edx
cmp eax, edx
jle 0x42242d
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.00446f60
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 0x4223c0
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.00421100
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 0x4224cc
mov rcx, r11
lea r9, [0x0045ee84]
sub r9, r11
nop
nop
movzx eax, byte [r9 + rcx]
cmp byte [rcx], al
jne 0x4224c7
inc r8d
inc rdx
inc rcx
cmp rdx, r10
jl 0x4224b0
test r8d, r8d
js 0x4224db
cmp r8d, ebx
jge 0x4224db
movsxd rax, r8d
movzx ecx, byte [rax + r11]
jmp 0x4224dd
xor cl, cl
test cl, cl
je 0x422572
lea rdx, [rsp + 0x38]
mov rcx, rbp
call fcn.00406260
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 0x422516
call fcn.00446bf0
lea rbx, [0x0045e600]
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 0x422545
call fcn.00446bf0
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 0x422567
call fcn.00446bf0
mov qword [rdi], rbx
mov rax, rbp
jmp 0x4225fc
lea rdx, [0x0045ee84]
mov rcx, rbp
call fcn.00404040
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 0x4225a5
call fcn.00446bf0
lea rbx, [0x0045e600]
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 0x4225d4
call fcn.00446bf0
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 0x4225f6
call fcn.00446bf0
mov qword [rdi], rbx
mov rax, rbp
mov rcx, qword [rsp + 0x1b0]
call fcn.0045d640
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