Function at 0x14000b540
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], r12
push rbp
lea rbp, [rax - 0x1f98]
mov eax, 0x2090
call fcn.140013be0
sub rsp, rax
mov rax, qword [0x140040bb0]
xor rax, rsp
mov qword [rbp + 0x1f80], rax
xor ebx, ebx
lea rsi, [0x140051e10]
cmp dword [0x140055ea4], ebx
jne 0x14000b8bb
mov r8d, 0x800
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edi, [rbx + 0x5c]
mov rcx, rsi
mov edx, edi
call fcn.1400159b0
mov ecx, ebx
mov word [rax], bx
movzx eax, word [rcx + rsi]
add rcx, 2
mov word [rsp + rcx + 0x7e], ax
test ax, ax
jne 0x14000b5b1
lea rcx, [rbp - 0x80]
mov edx, edi
call fcn.1400159b0
test rax, rax
je 0x14000b5e1
lea rcx, [rbp - 0x80]
mov edx, edi
call fcn.1400159b0
mov word [rax], bx
lea rax, [0x14003d5c8]
lea r8, [rbp - 0x80]
lea rdx, [0x14003d5e8]
mov qword [rsp + 0x30], rax
lea rax, [0x14003d5e0]
lea rcx, [rbp + 0x1780]
mov r9d, edi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
call fcn.140014d3c
lea rdx, [0x14003d600]
lea rax, [0x14003d618]
mov qword [rsp + 0x30], rdx
lea r8, [rbp - 0x80]
lea rcx, [rbp + 0x780]
lea rdx, [0x14003d620]
mov r9d, edi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
call fcn.140014d3c
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x1780]
call fcn.140012e7c
mov r12d, 1
test eax, eax
jne 0x14000b68d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x780]
call fcn.140012e7c
mov ecx, dword [0x140055ea4]
test eax, eax
cmove ecx, r12d
mov dword [0x140055ea4], ecx
jmp 0x14000b693
mov ecx, dword [0x140055ea4]
test ecx, ecx
jne 0x14000b8bb
lea r9, str.10.80.2
lea r8, str.SoftwareJavaSoftJava_Web_Start_
lea rdx, [0x14003d6a8]
lea rcx, [0x140054e10]
call fcn.140014d3c
lea rcx, [rsp + 0x48]
lea rdx, [0x140054e10]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000b79d
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rdx, str.Home
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x40], 0x800
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000b79d
lea rax, [0x14003d648]
lea rdx, [0x14003d6c8]
lea rcx, [rbp + 0x780]
mov r9d, edi
mov r8, rsi
mov qword [rsp + 0x20], rax
call fcn.140014d3c
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x780]
call fcn.140012e7c
test eax, eax
je 0x14000b792
call fcn.14000a700
test eax, eax
jne 0x14000b8b4
lea rcx, [rbp + 0xf80]
mov edx, 0x400
call fcn.14000ae00
test eax, eax
je 0x14000b79d
lea r8, [rbp + 0xf80]
lea rdx, [0x14003d6d8]
mov rcx, rsi
call fcn.140014d3c
mov edx, r12d
mov dword [0x140055ea4], edx
jmp 0x14000b7a3
mov edx, dword [0x140055ea4]
test edx, edx
jne 0x14000b8bb
mov r8d, 0x800
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [0x14003d6e8]
mov rcx, rsi
call fcn.140013ec0
test rax, rax
je 0x14000b87f
lea rdx, str.binjavaws.exe
mov rcx, rsi
call fcn.140013ec0
mov rcx, rbx
mov word [rax], bx
movzx eax, word [rcx + rsi]
add rcx, 2
mov word [rsp + rcx + 0x7e], ax
test ax, ax
jne 0x14000b7e9
or r8, 0xffffffffffffffff
xor eax, eax
lea rdi, [rbp - 0x80]
mov rcx, r8
repne scasw ax, word [rdi]
lea rcx, str.jrelib
xor edx, edx
movzx eax, word [rcx + rdx]
add rdx, 2
mov word [rdi + rdx - 4], ax
test ax, ax
jne 0x14000b814
xor eax, eax
mov rdi, rsi
mov rcx, r8
repne scasw ax, word [rdi]
xor ecx, ecx
lea rdx, str.jre_bin
movzx eax, word [rdx + rcx]
add rcx, 2
mov word [rdi + rcx - 4], ax
test ax, ax
jne 0x14000b83a
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140012e7c
test eax, eax
jne 0x14000b87f
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x80]
call fcn.140012e7c
mov ecx, dword [0x140055ea4]
test eax, eax
cmove ecx, r12d
mov dword [0x140055ea4], ecx
jmp 0x14000b885
mov ecx, dword [0x140055ea4]
test ecx, ecx
jne 0x14000b8bb
lea rcx, [rbp + 0xf80]
mov edx, 0x400
call fcn.14000ae00
test eax, eax
je 0x14000b8bb
lea r8, [rbp + 0xf80]
lea rdx, str._s_bin
mov rcx, rsi
call fcn.140014d3c
mov dword [0x140055ea4], r12d
mov rax, rsi
mov rcx, qword [rbp + 0x1f80]
xor rcx, rsp
call fcn.140013300
lea r11, [rsp + 0x2090]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r12, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret