Function at 0x140009330
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0xf58]
mov eax, 0x1050
call fcn.1400132c0
sub rsp, rax
mov rax, qword [0x140061568]
xor rax, rsp
mov qword [rbp + 0xf40], rax
xor ebx, ebx
lea rdi, [0x140071040]
cmp dword [0x140070834], ebx
jne 0x140009616
mov r8d, 0x800
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea esi, [rbx + 0x5c]
mov rcx, rdi
mov edx, esi
call fcn.1400150d0
mov ecx, ebx
mov word [rax], bx
movzx eax, word [rcx + rdi]
mov word [rsp + rcx + 0x40], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400093a1
mov edx, esi
lea rcx, [rsp + 0x40]
call fcn.1400150d0
test rax, rax
je 0x1400093d3
mov edx, esi
lea rcx, [rsp + 0x40]
call fcn.1400150d0
mov word [rax], bx
lea rcx, [rsp + 0x40]
call fcn.14000a64c
mov ecx, dword [0x140070834]
test eax, eax
mov r14d, 1
cmovne ecx, r14d
mov dword [0x140070834], ecx
test ecx, ecx
jne 0x140009616
lea rax, str.11.261.2
mov edx, 0x400
lea r9, str.SoftwareJavaSoftJava_Web_Start_
mov qword [rsp + 0x20], rax
lea r8, [0x14005dc78]
lea rcx, [0x140071840]
call fcn.14000ad4c
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x140071840]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400094df
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
lea rdx, str.Home
mov dword [rsp + 0x30], 0x800
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400094df
mov rcx, rbx
movzx eax, word [rcx + rdi]
mov word [rsp + rcx + 0x40], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14000948f
mov edx, esi
lea rcx, [rsp + 0x40]
call fcn.1400150d0
test rax, rax
je 0x1400094c1
mov edx, esi
lea rcx, [rsp + 0x40]
call fcn.1400150d0
mov word [rax], bx
lea rcx, [rsp + 0x40]
call fcn.14000a64c
mov ecx, dword [0x140070834]
test eax, eax
cmovne ecx, r14d
mov dword [0x140070834], ecx
jmp 0x1400094e5
mov ecx, dword [0x140070834]
test ecx, ecx
jne 0x140009616
mov r8d, 0x800
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [0x14005dc08]
mov rcx, rdi
call fcn.140014894
test rax, rax
je 0x1400095ae
lea rdx, str.binjavaws.exe
mov rcx, rdi
call fcn.140014894
mov rcx, rbx
mov word [rax], bx
movzx eax, word [rcx + rdi]
mov word [rsp + rcx + 0x40], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14000952b
lea rcx, [rsp + 0x40]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], bx
jne 0x140009546
lea r8, [0x14005dc28]
xor edx, edx
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
inc rdx
test ax, ax
jne 0x140009558
lea rcx, [rdi - 2]
lea rcx, [rcx + 2]
cmp word [rcx], bx
jne 0x14000956d
lea r8, str.jre_bin
xor edx, edx
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
inc rdx
test ax, ax
jne 0x14000957f
lea rcx, [rsp + 0x40]
call fcn.14000a64c
mov ecx, dword [0x140070834]
test eax, eax
cmovne ecx, r14d
mov dword [0x140070834], ecx
jmp 0x1400095b4
mov ecx, dword [0x140070834]
test ecx, ecx
jne 0x140009616
mov edx, 0x400
lea rcx, [rbp + 0x740]
call fcn.14000a790
test eax, eax
je 0x140009608
lea r9, [rbp + 0x740]
mov edx, 0x400
lea r8, str._s_bin
mov rcx, rdi
call fcn.14000ad4c
lea rcx, [rbp + 0x740]
call fcn.14000a64c
mov ecx, dword [0x140070834]
test eax, eax
cmovne ecx, r14d
mov dword [0x140070834], ecx
jmp 0x14000960e
mov ecx, dword [0x140070834]
test ecx, ecx
jne 0x140009616
xor eax, eax
jmp 0x140009619
mov rax, rdi
mov rcx, qword [rbp + 0xf40]
xor rcx, rsp
call fcn.140013330
lea r11, [rsp + 0x1050]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret