Function at 0x14000d85c
Capabilities:
Query environment variable
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xf60]
mov eax, 0x1060
call fcn.14000fca0
sub rsp, rax
mov rax, qword [0x1400234e8]
xor rax, rsp
mov qword [rbp + 0xf50], rax
xor ebx, ebx
mov dword [rsp + 0x48], r8d
mov rdi, rdx
mov qword [rsp + 0x38], rbx
mov rsi, rcx
mov r15d, 0x800
mov r8d, r15d
lea rcx, [rsp + 0x50]
lea r14d, [rbx + 1]
xor edx, edx
mov dword [rsp + 0x40], r14d
call sub.VCRUNTIME140.dll_memset
mov r8d, r15d
lea rcx, [rbp + 0x750]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x14000d91d
mov edx, dword [rsp + 0x48]
mov r8, rax
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
test eax, eax
je 0x14000daff
xor eax, eax
mov rcx, qword [rbp + 0xf50]
xor rcx, rsp
call fcn.14000fd10
mov rbx, qword [rsp + 0x10a8]
add rsp, 0x1060
pop r15
pop r14
pop rdi
pop rsi
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_RegOpenKeyExA]
test eax, eax
jne 0x14000d8f5
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_RegQueryValueExA]
test eax, eax
jne 0x14000dad7
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], r15d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x140019728]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x14000d9b4
mov ebx, r14d
jmp 0x14000dad7
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, str.SOFTWAREOracleJavaDeploy
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000d9ac
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rbp + 0x750]
mov dword [rsp + 0x30], r15d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.deployment.modified.timestamp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000d9ac
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x30], r15d
lea rcx, [rbp + 0x750]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
test eax, eax
js 0x14000daff
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_RegQueryValueExA]
test eax, eax
jne 0x14000d9ac
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.14000be8c
test eax, eax
jne 0x14000daff
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_RegOpenKeyExA]
test eax, eax
jne 0x14000d8f5
mov eax, dword [rsp + 0x30]
mov r9d, r14d
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_RegSetValueExA]
test eax, eax
je 0x14000dae9
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x14000d8f7
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, rsi
call fcn.14000d7ac
mov eax, r14d
jmp 0x14000d8f7