Function at 0x416880
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 [0x00449028]
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 0x4169c2
mov qword [rbp + 8], r15
mov dword [rbp + 0x10], r15d
lea rsi, [0x004395c8]
mov qword [rbp], rsi
mov dword [rbp + 0x18], r15d
xor edx, edx
mov rcx, rbp
call qword [0x004395d0]
nop
lea rax, [0x00439608]
mov qword [rbp], rax
movsxd rbx, dword [rbp + 0x10]
mov edx, ebx
mov rcx, rbp
call qword [0x00439610]
cmp ebx, ebx
jge 0x416988
mov rcx, rbx
add rcx, qword [rbp + 8]
mov eax, ebx
sub eax, ebx
movsxd r8, eax
mov rdx, rcx
call fcn.004230d0
nop
lea rax, [0x00439658]
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 0x4169b0
call fcn.004230a0
lea rbx, [0x004395a0]
mov qword [rdi], rbx
mov rax, rbp
jmp 0x41708c
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 0x416a9a
mov qword [rbp + 8], r15
mov dword [rbp + 0x10], r15d
lea rsi, [0x004395c8]
mov qword [rbp], rsi
mov dword [rbp + 0x18], r15d
xor edx, edx
mov rcx, rbp
call qword [0x004395d0]
nop
lea rax, [0x00439608]
mov qword [rbp], rax
movsxd rbx, dword [rbp + 0x10]
mov edx, ebx
mov rcx, rbp
call qword [0x00439610]
cmp ebx, ebx
jge 0x416a60
mov rcx, rbx
add rcx, qword [rbp + 8]
mov eax, ebx
sub eax, ebx
movsxd r8, eax
mov rdx, rcx
call fcn.004230d0
nop
lea rax, [0x00439658]
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 0x416a88
call fcn.004230a0
lea rbx, [0x004395a0]
mov qword [rdi], rbx
mov rax, rbp
jmp 0x41708c
lea r13, [0x0043a2d4]
mov qword [rsp + 0x68], r13
lea rax, [0x00439740]
mov qword [rsp + 0x60], rax
mov ebx, r15d
nop
nop
nop
inc ebx
movsxd rax, ebx
cmp byte [rax + r13], 0
jne 0x416ac0
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 0x416afd
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.004230d0
movsxd r8, ebx
mov rcx, rsi
add rcx, qword [rdi + 8]
mov rdx, r13
call fcn.004230d0
nop
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x68], rax
lea rax, [0x00439740]
mov qword [rsp + 0x60], rax
mov ebx, r15d
mov dword [rsp + 0x70], r15d
cmp byte [rsp + 0xa0], bl
je 0x416b53
nop
nop
inc ebx
movsxd rax, ebx
cmp byte [rsp + rax + 0xa0], 0
jne 0x416b40
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 0x416b80
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.004230d0
movsxd r8, ebx
mov rcx, rsi
add rcx, qword [rdi + 8]
lea rdx, [rsp + 0xa0]
call fcn.004230d0
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 0x416c12
lea rdx, [0x00439a81]
mov rcx, rbp
call fcn.00403060
nop
lea rsi, [0x004395c8]
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 0x416c00
call fcn.004230a0
lea rbx, [0x004395a0]
mov qword [rdi], rbx
mov rax, rbp
jmp 0x41708c
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 0x416d89
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, [0x004395c8]
test ebx, ebx
jne 0x416d4a
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x38]
mov rcx, r14
call fcn.00415b90
nop
lea rdx, [0x00439a81]
lea rcx, [rsp + 0x38]
call fcn.00406900
test al, al
je 0x416d27
lea rdx, [rsp + 0x38]
mov rcx, rbp
call fcn.00403aa0
nop
lea rsi, [0x004395c8]
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 0x416d0b
call fcn.004230a0
lea rbx, [0x004395a0]
mov qword [rsp + 0x38], rbx
mov rcx, rdi
call fcn.00401440
mov rax, rbp
jmp 0x41708c
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 0x416d4a
call fcn.004230a0
lea rdx, [0x00439a81]
mov rcx, rbp
call fcn.00403060
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 0x416d77
call fcn.004230a0
lea rbx, [0x004395a0]
mov qword [rdi], rbx
mov rax, rbp
jmp 0x41708c
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, 4
lea rcx, [rsp + 0xa0]
call fcn.00436bb0
mov r13d, 2
test eax, eax
jne 0x416dca
lea rdx, [rsp + 0x38]
mov rcx, r14
call fcn.00414180
mov r12d, r13d
cmp dword [rax + 0x10], 1
jg 0x416dca
mov bl, 1
jmp 0x416dcc
xor bl, bl
lea rsi, [0x004395c8]
test r13b, r12b
je 0x416dfb
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 0x416dfb
call fcn.004230a0
test bl, bl
je 0x416e20
lea rdx, [rsp + 0xa0]
mov rcx, rbp
call fcn.00403060
nop
mov rcx, rdi
call fcn.00401440
mov rax, rbp
jmp 0x41708c
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x60]
call fcn.00403060
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 0x416ee4
nop
movzx edx, byte [r9 + r8]
mov al, 0x5c
lea rcx, [0x0043a668]
nop
cmp al, dl
je 0x416e87
inc rcx
movzx eax, byte [rcx]
test al, al
jne 0x416e70
dec ebx
dec r8
js 0x416ee4
jmp 0x416e60
test ebx, ebx
jle 0x416ee4
lea eax, [rbx + 1]
mov edx, dword [rsp + 0x78]
cmp eax, edx
jle 0x416ed0
cmp edx, r12d
cmovl edx, r12d
mov dword [rsp + 0x78], edx
cmp eax, edx
jle 0x416ebd
add edx, edx
mov dword [rsp + 0x78], edx
cmp eax, edx
jle 0x416ebd
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.00423410
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 0x416e50
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.00415b90
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 0x416f5c
mov rcx, r11
lea r9, [0x00439a81]
sub r9, r11
nop
nop
movzx eax, byte [r9 + rcx]
cmp byte [rcx], al
jne 0x416f57
inc r8d
inc rdx
inc rcx
cmp rdx, r10
jl 0x416f40
test r8d, r8d
js 0x416f6b
cmp r8d, ebx
jge 0x416f6b
movsxd rax, r8d
movzx ecx, byte [rax + r11]
jmp 0x416f6d
xor cl, cl
test cl, cl
je 0x417002
lea rdx, [rsp + 0x38]
mov rcx, rbp
call fcn.00403aa0
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 0x416fa6
call fcn.004230a0
lea rbx, [0x004395a0]
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 0x416fd5
call fcn.004230a0
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 0x416ff7
call fcn.004230a0
mov qword [rdi], rbx
mov rax, rbp
jmp 0x41708c
lea rdx, [0x00439a81]
mov rcx, rbp
call fcn.00403060
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 0x417035
call fcn.004230a0
lea rbx, [0x004395a0]
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 0x417064
call fcn.004230a0
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 0x417086
call fcn.004230a0
mov qword [rdi], rbx
mov rax, rbp
mov rcx, qword [rsp + 0x1b0]
call fcn.00437a60
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