Function at 0x140011da8
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
lea rbp, [rsp - 0x1f60]
mov eax, 0x2060
call fcn.140013be0
sub rsp, rax
mov rax, qword [0x140040bb0]
xor rax, rsp
mov qword [rbp + 0x1f50], rax
xor ebx, ebx
mov rsi, rcx
mov rdi, rdx
mov dword [rsp + 0x44], r8d
lea r13d, [rbx + 1]
lea rcx, [rbp + 0xf52]
xor edx, edx
mov r8d, 0xffe
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], r13d
mov word [rbp + 0xf50], bx
call fcn.140013c40
lea rcx, [rsp + 0x52]
xor edx, edx
mov r8d, 0xffe
mov word [rsp + 0x50], bx
call fcn.140013c40
mov rcx, rsi
call fcn.140014518
test rax, rax
je 0x140011e4a
mov edx, dword [rsp + 0x44]
mov r8, rax
mov rcx, rdi
call fcn.140017ec0
test eax, eax
sete bl
mov eax, ebx
jmp 0x140012063
call fcn.140011768
mov rdx, qword [str.SOFTWAREJavaSoftDeploymentProperties]
mov r9d, 0x20019
test eax, eax
lea rax, [rsp + 0x38]
mov rcx, 0xffffffff80000001
cmovne rdx, qword [str.SOFTWAREAppDataLowSOFTWAREJavaSoftDeploymentProperties]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140011e8b
xor eax, eax
jmp 0x140012063
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x44]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001203a
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xf50]
lea rdx, [0x140032038]
xor r8d, r8d
mov dword [rsp + 0x30], 0x800
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140011efc
mov ebx, r13d
jmp 0x14001203a
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x38]
lea rdx, str.SOFTWAREOracleJavaDeploy
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140011ef4
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea rdx, str.deployment.modified.timestamp
xor r8d, r8d
mov dword [rsp + 0x30], 0x800
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140011ef4
lea rax, [rsp + 0x50]
lea r8, [rbp + 0xf50]
mov dword [rsp + 0x30], 0x800
sub r8, rax
movzx ecx, word [rax]
movzx edx, word [rax + r8]
sub ecx, edx
jne 0x140011f97
add rax, 2
test edx, edx
jne 0x140011f83
test ecx, ecx
js 0x140012060
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140011ef4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.140011768
mov rdx, qword [str.SOFTWAREJavaSoftDeploymentProperties]
test eax, eax
lea rax, [rsp + 0x38]
mov r9d, 0x20006
cmovne rdx, qword [str.SOFTWAREAppDataLowSOFTWAREJavaSoftDeploymentProperties]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140011e84
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov r9d, r13d
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14001204a
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140011e43
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, rsi
call fcn.140011ce8
mov eax, r13d
mov rcx, qword [rbp + 0x1f50]
xor rcx, rsp
call fcn.140013300
add rsp, 0x2060
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret