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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
lea rbp, [rsp - 0xf60]
mov eax, 0x1060
call fcn.140007fa0
sub rsp, rax
mov rax, qword [0x14000ed68]
xor rax, rsp
mov qword [rbp + 0xf50], rax
xor ebx, ebx
mov rsi, rcx
mov rdi, rdx
mov dword [rsp + 0x44], r8d
lea r13d, [rbx + 1]
lea rcx, [rsp + 0x51]
xor edx, edx
mov r8d, 0x7ff
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], r13d
mov byte [rsp + 0x50], bl
call sub.MSVCR100.dll_memset
lea rcx, [rbp + 0x751]
xor edx, edx
mov r8d, 0x7ff
mov byte [rbp + 0x750], bl
call sub.MSVCR100.dll_memset
mov rcx, rsi
call qword [sym.imp.MSVCR100.dll_getenv]
test rax, rax
je 0x140006702
mov edx, dword [rsp + 0x44]
mov r8, rax
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll_strcpy_s]
test eax, eax
sete bl
mov eax, ebx
jmp 0x14000690a
call fcn.140005fe0
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_RegOpenKeyExA]
test eax, eax
je 0x140006743
xor eax, eax
jmp 0x14000690a
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_RegQueryValueExA]
test eax, eax
jne 0x1400068e1
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea rdx, [0x14000b8a8]
xor r8d, r8d
mov dword [rsp + 0x30], 0x800
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1400067b2
mov ebx, r13d
jmp 0x1400068e1
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_RegOpenKeyExA]
test eax, eax
jne 0x1400067aa
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x750]
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_RegQueryValueExA]
test eax, eax
jne 0x1400067aa
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x750]
mov dword [rsp + 0x30], 0x800
call qword [sym.imp.MSVCR100.dll__mbscmp]
test eax, eax
js 0x140006907
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_RegQueryValueExA]
test eax, eax
jne 0x1400067aa
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.140005fe0
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_RegOpenKeyExA]
test eax, eax
jne 0x14000673c
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_RegSetValueExA]
test eax, eax
je 0x1400068f1
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400066fb
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, rsi
call fcn.1400065a0
mov eax, r13d
mov rcx, qword [rbp + 0xf50]
xor rcx, rsp
call fcn.140007e30
add rsp, 0x1060
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret