Function at 0x14001182c
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.140013a50
sub rsp, rax
mov rax, qword [0x140065610]
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.140015770
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x1000
call fcn.140015770
mov rcx, rsi
call fcn.140027650
test rax, rax
je 0x1400118dd
mov edx, dword [rsp + 0x48]
mov r8, rax
mov rcx, rdi
call fcn.14002c020
test eax, eax
je 0x140011ad9
xor eax, eax
mov rcx, qword [rbp + 0x1f50]
xor rcx, rsp
call fcn.140013ab0
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 0x1400118be
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 0x140011ab1
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, [0x14004b9a8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140011979
mov ebx, r15d
jmp 0x140011ab1
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, [0x14004b9e8]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140011971
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 0x140011971
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 0x140011a14
add rax, 2
test edx, edx
jne 0x140011a00
test ecx, ecx
js 0x140011ad9
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 0x140011971
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.14000ed30
test eax, eax
jne 0x140011ad9
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 0x1400118be
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 0x140011ac3
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x1400118c0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, rsi
call fcn.140011778
mov eax, r15d
jmp 0x1400118c0