Function at 0x140011078
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.140012ea0
sub rsp, rax
mov rax, qword [0x14003f930]
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.140012f00
lea rcx, [rsp + 0x52]
xor edx, edx
mov r8d, 0xffe
mov word [rsp + 0x50], bx
call fcn.140012f00
mov rcx, rsi
call fcn.1400133c4
test rax, rax
je 0x14001111a
mov edx, dword [rsp + 0x44]
mov r8, rax
mov rcx, rdi
call fcn.140016bb8
test eax, eax
sete bl
mov eax, ebx
jmp 0x140011333
call fcn.140010a38
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 0x14001115b
xor eax, eax
jmp 0x140011333
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 0x14001130a
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xf50]
lea rdx, [0x140030fc8]
xor r8d, r8d
mov dword [rsp + 0x30], 0x800
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1400111cc
mov ebx, r13d
jmp 0x14001130a
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 0x1400111c4
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 0x1400111c4
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 0x140011267
add rax, 2
test edx, edx
jne 0x140011253
test ecx, ecx
js 0x140011330
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 0x1400111c4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.140010a38
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 0x140011154
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 0x14001131a
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140011113
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, rsi
call fcn.140010fb8
mov eax, r13d
mov rcx, qword [rbp + 0x1f50]
xor rcx, rsp
call fcn.1400125c0
add rsp, 0x2060
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret