Function at 0x1400011d0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14000f010]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14, rcx
lea r8, str.JBridgeProxy64.dll
mov rdx, rcx
lea rcx, [rbp - 0x28]
call fcn.140001850
nop
mov eax, dword [rbp - 0x18]
lea esi, [rax*2 + 2]
lea rbx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rbx, qword [rbp - 0x28]
xor edi, edi
mov qword [rbp - 0x30], rdi
lea r8, [rbp - 0x30]
lea rdx, str.SOFTWAREJBridge
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x14000125c
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14000176b
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, str.Proxy64
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov rcx, qword [rbp - 0x30]
test eax, eax
je 0x1400012a4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14000176b
call qword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rbp - 0x10]
cmp rax, 5
jb 0x1400012ee
lea rbx, [rbp - 0x28]
cmp rax, 8
cmovae rbx, qword [rbp - 0x28]
mov qword [rbp - 0x18], 5
mov r8d, 0xa
lea rdx, str.v1.74
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + 0xa], di
jmp 0x1400012fc
mov edx, 5
lea rcx, [rbp - 0x28]
call fcn.1400019e0
mov eax, dword [rbp - 0x18]
lea esi, [rax*2 + 2]
lea rbx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rbx, qword [rbp - 0x28]
mov qword [rbp - 0x30], rdi
lea r8, [rbp - 0x30]
lea rdx, str.SOFTWAREJBridge
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x140001349
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14000176b
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, str.Version
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov rcx, qword [rbp - 0x30]
test eax, eax
je 0x140001391
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14000176b
call qword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r8, str.JBridgeProxy32.dll
mov rdx, r14
lea rcx, [rbp - 0x50]
call fcn.140001850
mov rbx, rax
lea rax, [rbp - 0x28]
cmp rax, rbx
je 0x14000142a
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1400013fc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400013f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001461
call fcn.1400081fc
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], di
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x14000146d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001468
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001468
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400081fc
mov eax, dword [rbp - 0x18]
lea esi, [rax*2 + 2]
lea rbx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rbx, qword [rbp - 0x28]
mov qword [rbp - 0x30], rdi
lea r8, [rbp - 0x30]
lea rdx, str.SOFTWAREWOW6432NodeJBridge
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x1400014ba
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14000176b
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, str.Proxy64
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov rcx, qword [rbp - 0x30]
test eax, eax
je 0x140001502
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14000176b
call qword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rbp - 0x10]
cmp rax, 5
jb 0x14000154c
lea rbx, [rbp - 0x28]
cmp rax, 8
cmovae rbx, qword [rbp - 0x28]
mov qword [rbp - 0x18], 5
mov r8d, 0xa
lea rdx, str.v1.74
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + 0xa], di
jmp 0x14000155a
mov edx, 5
lea rcx, [rbp - 0x28]
call fcn.1400019e0
mov eax, dword [rbp - 0x18]
lea esi, [rax*2 + 2]
lea rbx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rbx, qword [rbp - 0x28]
mov qword [rbp - 0x30], rdi
lea r8, [rbp - 0x30]
lea rdx, str.SOFTWAREWOW6432NodeJBridge
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x1400015a7
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14000176b
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, str.Version
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov rcx, qword [rbp - 0x30]
test eax, eax
je 0x1400015ef
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14000176b
call qword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r8, str.JBridgeProxy64.dll
mov rdx, r14
lea rcx, [rbp - 0x50]
call fcn.140001850
mov rbx, rax
lea rax, [rbp - 0x28]
cmp rax, rbx
je 0x140001688
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x14000165a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001655
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400016bf
call fcn.1400081fc
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], di
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x1400016cb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400016c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400016c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400081fc
mov eax, dword [rbp - 0x18]
lea esi, [rax*2 + 2]
lea rbx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rbx, qword [rbp - 0x28]
mov qword [rbp - 0x30], rdi
lea r8, [rbp - 0x30]
lea rdx, str.SOFTWAREWOW6432NodeJBridgeInstallDir
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x140001715
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14000176b
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, str.JBridge
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov rcx, qword [rbp - 0x30]
test eax, eax
je 0x14000175a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14000176b
call qword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1400017ae
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400017a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400017a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400081fc
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400081a0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret