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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r15
lea rbp, [rsp - 0x1f60]
mov eax, 0x2060
call fcn.1400132c0
sub rsp, rax
mov rax, qword [0x140061568]
xor rax, rsp
mov qword [rbp + 0x1f50], rax
xor ebx, ebx
mov dword [rsp + 0x48], r8d
mov rdi, rdx
mov qword [rsp + 0x38], rbx
mov rsi, rcx
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0xf50]
lea r15d, [rbx + 1]
mov dword [rsp + 0x40], r15d
call fcn.140014f40
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x1000
call fcn.140014f40
mov rcx, rsi
call fcn.140024c10
test rax, rax
je 0x1400112fd
mov edx, dword [rsp + 0x48]
mov r8, rax
mov rcx, rdi
call fcn.140029758
test eax, eax
je 0x1400114f9
xor eax, eax
mov rcx, qword [rbp + 0x1f50]
xor rcx, rsp
call fcn.140013330
add rsp, 0x2060
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rdx, qword [str.SOFTWAREJavaSoftDeploymentProperties]
lea rax, [rsp + 0x38]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400112de
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400114d1
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rbp + 0xf50]
mov dword [rsp + 0x30], 0x800
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x140048b28]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140011399
mov ebx, r15d
jmp 0x1400114d1
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x140048b68]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140011391
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x30], 0x800
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.deployment.modified.timestamp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140011391
lea rax, [rsp + 0x50]
mov dword [rsp + 0x30], 0x800
lea r8, [rbp + 0xf50]
sub r8, rax
movzx ecx, word [rax]
movzx edx, word [rax + r8]
sub ecx, edx
jne 0x140011434
add rax, 2
test edx, edx
jne 0x140011420
test ecx, ecx
js 0x1400114f9
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140011391
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.14000ecf4
test eax, eax
jne 0x1400114f9
mov rdx, qword [str.SOFTWAREJavaSoftDeploymentProperties]
lea rax, [rsp + 0x38]
mov r9d, 0x20006
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400112de
mov eax, dword [rsp + 0x30]
mov r9d, r15d
mov rcx, qword [rsp + 0x38]
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rdx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1400114e3
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x1400112e0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, rsi
call fcn.140011198
mov eax, r15d
jmp 0x1400112e0