Function at 0x140011e9c
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.140013cd0
sub rsp, rax
mov rax, qword [0x140041c50]
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.140013d30
lea rcx, [rsp + 0x52]
xor edx, edx
mov r8d, 0xffe
mov word [rsp + 0x50], bx
call fcn.140013d30
mov rcx, rsi
call fcn.140014608
test rax, rax
je 0x140011f3e
mov edx, dword [rsp + 0x44]
mov r8, rax
mov rcx, rdi
call fcn.140017fb0
test eax, eax
sete bl
mov eax, ebx
jmp 0x140012157
call fcn.14001185c
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 0x140011f7f
xor eax, eax
jmp 0x140012157
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 0x14001212e
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xf50]
lea rdx, [0x140032198]
xor r8d, r8d
mov dword [rsp + 0x30], 0x800
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140011ff0
mov ebx, r13d
jmp 0x14001212e
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 0x140011fe8
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 0x140011fe8
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 0x14001208b
add rax, 2
test edx, edx
jne 0x140012077
test ecx, ecx
js 0x140012154
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 0x140011fe8
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.14001185c
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 0x140011f78
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 0x14001213e
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140011f37
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, rsi
call fcn.140011ddc
mov eax, r13d
mov rcx, qword [rbp + 0x1f50]
xor rcx, rsp
call fcn.1400133f0
add rsp, 0x2060
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret