Function at 0x418d60
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 [0x0044d028]
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 0x418ea2
mov qword [rbp + 8], r15
mov dword [rbp + 0x10], r15d
lea rsi, [0x0043d608]
mov qword [rbp], rsi
mov dword [rbp + 0x18], r15d
xor edx, edx
mov rcx, rbp
call qword [0x0043d610]
nop
lea rax, [0x0043d648]
mov qword [rbp], rax
movsxd rbx, dword [rbp + 0x10]
mov edx, ebx
mov rcx, rbp
call qword [0x0043d650]
cmp ebx, ebx
jge 0x418e68
mov rcx, rbx
add rcx, qword [rbp + 8]
mov eax, ebx
sub eax, ebx
movsxd r8, eax
mov rdx, rcx
call fcn.004254c0
nop
lea rax, [0x0043d698]
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 0x418e90
call fcn.00425490
lea rbx, [0x0043d5e0]
mov qword [rdi], rbx
mov rax, rbp
jmp 0x41956c
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 0x418f7a
mov qword [rbp + 8], r15
mov dword [rbp + 0x10], r15d
lea rsi, [0x0043d608]
mov qword [rbp], rsi
mov dword [rbp + 0x18], r15d
xor edx, edx
mov rcx, rbp
call qword [0x0043d610]
nop
lea rax, [0x0043d648]
mov qword [rbp], rax
movsxd rbx, dword [rbp + 0x10]
mov edx, ebx
mov rcx, rbp
call qword [0x0043d650]
cmp ebx, ebx
jge 0x418f40
mov rcx, rbx
add rcx, qword [rbp + 8]
mov eax, ebx
sub eax, ebx
movsxd r8, eax
mov rdx, rcx
call fcn.004254c0
nop
lea rax, [0x0043d698]
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 0x418f68
call fcn.00425490
lea rbx, [0x0043d5e0]
mov qword [rdi], rbx
mov rax, rbp
jmp 0x41956c
lea r13, [0x0043e590]
mov qword [rsp + 0x68], r13
lea rax, [0x0043d780]
mov qword [rsp + 0x60], rax
mov ebx, r15d
nop
nop
nop
inc ebx
movsxd rax, ebx
cmp byte [rax + r13], 0
jne 0x418fa0
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 0x418fdd
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.004254c0
movsxd r8, ebx
mov rcx, rsi
add rcx, qword [rdi + 8]
mov rdx, r13
call fcn.004254c0
nop
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x68], rax
lea rax, [0x0043d780]
mov qword [rsp + 0x60], rax
mov ebx, r15d
mov dword [rsp + 0x70], r15d
cmp byte [rsp + 0xa0], bl
je 0x419033
nop
nop
inc ebx
movsxd rax, ebx
cmp byte [rsp + rax + 0xa0], 0
jne 0x419020
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 0x419060
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.004254c0
movsxd r8, ebx
mov rcx, rsi
add rcx, qword [rdi + 8]
lea rdx, [rsp + 0xa0]
call fcn.004254c0
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 0x4190f2
lea rdx, [0x0043dac1]
mov rcx, rbp
call fcn.00403060
nop
lea rsi, [0x0043d608]
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 0x4190e0
call fcn.00425490
lea rbx, [0x0043d5e0]
mov qword [rdi], rbx
mov rax, rbp
jmp 0x41956c
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 0x419269
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, [0x0043d608]
test ebx, ebx
jne 0x41922a
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x38]
mov rcx, r14
call fcn.00418070
nop
lea rdx, [0x0043dac1]
lea rcx, [rsp + 0x38]
call fcn.00406800
test al, al
je 0x419207
lea rdx, [rsp + 0x38]
mov rcx, rbp
call fcn.00403aa0
nop
lea rsi, [0x0043d608]
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 0x4191eb
call fcn.00425490
lea rbx, [0x0043d5e0]
mov qword [rsp + 0x38], rbx
mov rcx, rdi
call fcn.00401440
mov rax, rbp
jmp 0x41956c
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 0x41922a
call fcn.00425490
lea rdx, [0x0043dac1]
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 0x419257
call fcn.00425490
lea rbx, [0x0043d5e0]
mov qword [rdi], rbx
mov rax, rbp
jmp 0x41956c
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, 4
lea rcx, [rsp + 0xa0]
call fcn.0043b870
mov r13d, 2
test eax, eax
jne 0x4192aa
lea rdx, [rsp + 0x38]
mov rcx, r14
call fcn.00416660
mov r12d, r13d
cmp dword [rax + 0x10], 1
jg 0x4192aa
mov bl, 1
jmp 0x4192ac
xor bl, bl
lea rsi, [0x0043d608]
test r13b, r12b
je 0x4192db
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 0x4192db
call fcn.00425490
test bl, bl
je 0x419300
lea rdx, [rsp + 0xa0]
mov rcx, rbp
call fcn.00403060
nop
mov rcx, rdi
call fcn.00401440
mov rax, rbp
jmp 0x41956c
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 0x4193c4
nop
movzx edx, byte [r9 + r8]
mov al, 0x5c
lea rcx, [0x0043e920]
nop
cmp al, dl
je 0x419367
inc rcx
movzx eax, byte [rcx]
test al, al
jne 0x419350
dec ebx
dec r8
js 0x4193c4
jmp 0x419340
test ebx, ebx
jle 0x4193c4
lea eax, [rbx + 1]
mov edx, dword [rsp + 0x78]
cmp eax, edx
jle 0x4193b0
cmp edx, r12d
cmovl edx, r12d
mov dword [rsp + 0x78], edx
cmp eax, edx
jle 0x41939d
add edx, edx
mov dword [rsp + 0x78], edx
cmp eax, edx
jle 0x41939d
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.00425800
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 0x419330
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.00418070
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 0x41943c
mov rcx, r11
lea r9, [0x0043dac1]
sub r9, r11
nop
nop
movzx eax, byte [r9 + rcx]
cmp byte [rcx], al
jne 0x419437
inc r8d
inc rdx
inc rcx
cmp rdx, r10
jl 0x419420
test r8d, r8d
js 0x41944b
cmp r8d, ebx
jge 0x41944b
movsxd rax, r8d
movzx ecx, byte [rax + r11]
jmp 0x41944d
xor cl, cl
test cl, cl
je 0x4194e2
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 0x419486
call fcn.00425490
lea rbx, [0x0043d5e0]
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 0x4194b5
call fcn.00425490
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 0x4194d7
call fcn.00425490
mov qword [rdi], rbx
mov rax, rbp
jmp 0x41956c
lea rdx, [0x0043dac1]
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 0x419515
call fcn.00425490
lea rbx, [0x0043d5e0]
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 0x419544
call fcn.00425490
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 0x419566
call fcn.00425490
mov qword [rdi], rbx
mov rax, rbp
mov rcx, qword [rsp + 0x1b0]
call fcn.0043c500
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