Function at 0x140011258
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.1400132f0
sub rsp, rax
mov rax, qword [0x14003f8c0]
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.140014210
lea rcx, [rsp + 0x52]
xor edx, edx
mov r8d, 0xffe
mov word [rsp + 0x50], bx
call fcn.140014210
mov rcx, rsi
call fcn.14001370c
test rax, rax
je 0x1400112fa
mov edx, dword [rsp + 0x44]
mov r8, rax
mov rcx, rdi
call fcn.140017424
test eax, eax
sete bl
mov eax, ebx
jmp 0x140011513
call fcn.140010928
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 0x14001133b
xor eax, eax
jmp 0x140011513
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 0x1400114ea
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xf50]
lea rdx, [0x140030f58]
xor r8d, r8d
mov dword [rsp + 0x30], 0x800
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1400113ac
mov ebx, r13d
jmp 0x1400114ea
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 0x1400113a4
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 0x1400113a4
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 0x140011447
add rax, 2
test edx, edx
jne 0x140011433
test ecx, ecx
js 0x140011510
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 0x1400113a4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.140010928
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 0x140011334
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 0x1400114fa
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400112f3
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, rsi
call fcn.140011198
mov eax, r13d
mov rcx, qword [rbp + 0x1f50]
xor rcx, rsp
call fcn.1400126a0
add rsp, 0x2060
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret